CN116056176A - APN switching method and related equipment - Google Patents

APN switching method and related equipment Download PDF

Info

Publication number
CN116056176A
CN116056176A CN202210945198.5A CN202210945198A CN116056176A CN 116056176 A CN116056176 A CN 116056176A CN 202210945198 A CN202210945198 A CN 202210945198A CN 116056176 A CN116056176 A CN 116056176A
Authority
CN
China
Prior art keywords
apn
imsi
application
electronic device
sim card
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.)
Granted
Application number
CN202210945198.5A
Other languages
Chinese (zh)
Other versions
CN116056176B (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.)
Honor Device Co Ltd
Original Assignee
Honor Device 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 Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202311075203.2A priority Critical patent/CN117354884A/en
Priority to CN202210945198.5A priority patent/CN116056176B/en
Publication of CN116056176A publication Critical patent/CN116056176A/en
Application granted granted Critical
Publication of CN116056176B publication Critical patent/CN116056176B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/08Reselecting an access point
    • 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/133Protocols for remote procedure calls [RPC]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/16Performing reselection for specific purposes
    • H04W36/18Performing reselection for specific purposes for allowing seamless reselection, e.g. soft reselection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/183Processing at user equipment or user record carrier

Landscapes

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

Abstract

The application provides an APN switching method and related equipment. According to the APN switching method, the electronic equipment can detect and respond to APN switching operation to switch the APN corresponding to the first number to the first APN. Under the condition that the SIM card corresponding to the first number is the SIM card with a plurality of numbers, the electronic equipment can reset the process identifier of the remote calling party to the identifier of the current process and determine the IMSI corresponding to the first number, namely the first IMSI. The electronic device may further restore the remote caller process identifier to an initial identifier of the remote caller process, and update an APN corresponding to the first IMSI to the first APN. For a SIM card with multiple numbers, in this way, the electronic device may switch the APN of at least one number corresponding to the SIM card without affecting the APNs of other numbers corresponding to the SIM card.

Description

APN switching method and related equipment
Technical Field
The present disclosure relates to the field of mobile communications, and in particular, to an APN handover method and related devices.
Background
An access point (Access Point Name, APN) refers to a network access technology that determines which access mode a terminal such as a mobile phone accesses a network. There are many types of external networks that can be accessed for the handset user, for example: internet, WAP website, group enterprise intranet, industry intranet. The access ranges and access modes of different access points are different, and the network side can distinguish the networks which need to be accessed after the mobile phone is activated according to the APN, so that the IP of the corresponding network segment is distributed. It can be appreciated that an APN is a parameter that a user must configure when surfing the internet through a cell phone. The APN service is provided for electronic equipment such as mobile phones by operators, and the electronic equipment can be accessed into different networks through different APNs.
In a scenario where a plurality of phone numbers (abbreviated as "one-card-multiple-number") are opened on one subscriber identification (Subscriber Identity Module, SIM) card, when a subscriber uses different numbers on the SIM card, the subscriber can access different networks through different APNs. After the user modifies the APN corresponding to a certain number opened on the SIM card, when the user switches to another number opened on the SIM card, the APN corresponding to the other number also changes. That is, once the user modifies the APN corresponding to one number opened on the SIM card, the APNs corresponding to other numbers will also change.
Therefore, how to switch an APN corresponding to a certain number opened on one SIM card without affecting APNs corresponding to other numbers opened on the SIM card is a current urgent problem to be solved.
Disclosure of Invention
The application provides an APN switching method and related equipment. According to the APN switching method, the electronic equipment can detect and respond to APN switching operation to switch the APN corresponding to the first number to the first APN. Under the condition that the SIM card corresponding to the first number is the SIM card with a plurality of numbers, the electronic equipment can reset the process identifier of the remote calling party to the identifier of the current process and determine the IMSI corresponding to the first number, namely the first IMSI. The electronic device may further restore the remote caller process identifier to an initial identifier of the remote caller process, and update an APN corresponding to the first IMSI to the first APN. For a SIM card with multiple numbers, in this way, the electronic device may switch the APN of at least one number corresponding to the SIM card without affecting the APNs of other numbers corresponding to the SIM card.
In a first aspect, the present application provides an APN handover method. According to the method, the electronic equipment can respond to the operation of switching the APN corresponding to the first number based on the first application, and switch the APN corresponding to the first number to the first APN. And under the condition that the SIM card corresponding to the first number is the SIM card with a plurality of numbers, the electronic equipment can reset the process identifier of the remote calling party to the identifier of the current process based on the second application. In the case that the remote caller process identifier is the same as the direct caller process identifier, the electronic device may invoke the IMSI interface based on the second application, determine the first IMSI, and update the APN corresponding to the first IMSI to the first APN. The remote calling party process is a process corresponding to the first application. The current process is a process corresponding to the second application. The direct calling party process is a process corresponding to an application calling the IMSI interface. The first IMSI is the IMSI corresponding to the first number.
It can be understood that after updating the APN corresponding to the first IMSI to the first APN, the APN corresponding to the IMSI corresponding to the other numbers except the first number in the SIM card corresponding to the first number is not updated.
In the scheme provided by the application, before determining the IMSI corresponding to the first number, the electronic device may reset the remote caller process identifier to the identifier of the current process, so as to determine the IMSI corresponding to the first number and update the APN corresponding to the IMSI corresponding to the first number when the remote caller process identifier is the same as the direct caller process identifier. For the SIM card with a plurality of numbers, the APN corresponding to any number opened on the SIM card can be switched by the method, and the APNs corresponding to other numbers are not changed, namely the APNs corresponding to the plurality of numbers opened on the SIM card are independently switched.
It is understood that the first number may be number-1, which is mentioned later.
In some embodiments of the present application, the first application may be a setup application and the second application may be a TP application.
With reference to the first aspect, in one possible implementation manner, after the electronic device determines the first IMSI, the method may further include: the electronic device can restore the remote caller process identification to the initial identification of the remote caller process based on the second application.
In the scheme provided by the application, the electronic device can restore the process identifier of the remote calling party after determining the IMSI corresponding to the first number, so that the influence on the smooth proceeding of the subsequent flow due to the same identifier of the two processes is avoided.
With reference to the first aspect, in one possible implementation manner, before the electronic device determines the first IMSI, the method may further include: the second application may send a package name of the second application to an IMSI obtaining module in the electronic device, and may also send an IMSI obtaining request to the IMSI obtaining module. The IMSI get request is used to get the first IMSI. The IMSI retrieval module may determine the direct caller process identity based on the package name of the second application. The IMSI retrieval module may also determine a remote caller process identity. The IMSI retrieval module may determine whether the remote caller process identity is the same as the direct caller process identity.
In the scheme provided by the application, the second application in the electronic device can request to the IMSI obtaining module to obtain the first IMSI. After the IMSI obtaining module receives the request sent by the second application, it may determine whether the remote caller process identifier and the direct caller identifier are the same.
In some embodiments of the present application, the IMSI obtaining module may be a phone manager.
With reference to the first aspect, in one possible implementation manner, when the remote caller process identifier is the same as the direct caller process identifier, the electronic device invokes the IMSI interface based on the second application, determines the first IMSI, and updates the APN corresponding to the first IMSI to the first APN, which specifically may include: when the IMSI obtaining module determines that the remote caller process identifier is the same as the direct caller process identifier, the IMSI obtaining module may determine a first IMSI and send the first IMSI to the second application. The second application may update an APN corresponding to the first IMSI to the first APN.
In the scheme provided by the application, under the condition that the remote calling party process identifier is the same as the direct calling party process identifier, the IMSI obtaining module can determine the first IMSI without the problem of security abnormality.
With reference to the first aspect, in a possible implementation manner, the method may further include: when the SIM card corresponding to the first number is the SIM card with one number or when the SIM card corresponding to the first number is the SIM card with a plurality of numbers, and the process identifier of the remote caller is different from the process identifier of the direct caller, the electronic device may determine the first card slot, and update the APN corresponding to the first card slot to the first APN. The first clamping groove is a clamping groove corresponding to the first number.
In the scheme provided by the application, under the condition that the SIM card corresponding to the first number is the SIM card with one number or under the condition that the SIM card corresponding to the first number is the SIM card with a plurality of numbers, and the remote caller process identifier is different from the direct caller process identifier, the electronic equipment can update the APN corresponding to the first card slot, and in the follow-up process, the electronic equipment can determine the APN corresponding to the number in the SIM card corresponding to the first card slot based on the APN corresponding to the first card slot.
With reference to the first aspect, in one possible implementation manner, before the electronic device resets the remote caller process identifier to the identifier of the current process based on the second application, the method may further include: the electronic device may determine whether first configuration information exists in the SIM card corresponding to the first number. If the first configuration information exists in the SIM card corresponding to the first number, the SIM card corresponding to the first number is the SIM card provided with a plurality of numbers. If the first configuration information does not exist in the SIM card corresponding to the first number, the SIM card corresponding to the first number is the SIM card with one number.
In the scheme provided by the application, the electronic device can determine whether the first configuration information exists in the SIM card corresponding to the first number. If the first configuration information exists in the SIM card corresponding to the first number, the electronic equipment can determine that the SIM card corresponding to the first number is the SIM card with a plurality of numbers. If the first configuration information does not exist in the SIM card corresponding to the first number, the electronic equipment can determine that the SIM card corresponding to the first number is the SIM card with one number.
As can be appreciated, the first configuration information refers to: configuration information related to the SIM card having a plurality of numbers opened (i.e., configuration information related to "one-card-multiple-number") may be referred to as post Wen Buzhou S202 for a specific description thereof, which is not explained herein.
With reference to the first aspect, in one possible implementation manner, the remote caller process is a setup process, and the direct caller process is a Phone process.
With reference to the first aspect, in one possible implementation manner, before the electronic device responds to an operation of switching an APN corresponding to the first number based on the first application, the APN corresponding to the second number is the second APN. The second number and the first number are numbers opened on the same SIM card. After the electronic device switches the APN corresponding to the first number to the first APN, the method may further include: the electronic device may switch the currently used number from the first number to the second number in response to the operation of switching the numbers, and access the network through the second APN.
In the scheme provided by the application, after the electronic equipment switches the APN corresponding to the first number, when the second number is switched, the APN corresponding to the second number is still the APN corresponding to the prior APN, and the APN after the switching of the first number cannot be influenced.
With reference to the first aspect, in one possible implementation manner, before the electronic device responds to the operation of switching the APN corresponding to the first number based on the first application, the method may further include: the electronic equipment can detect a first operation of switching numbers, and can switch the currently used number from the second number to the first number and access the network through an APN corresponding to the first number in response to the first operation. The second number and the first number are numbers opened on the same SIM card. The APN corresponding to the second number is the second APN. After the electronic device switches the APN corresponding to the first number to the first APN, the method may further include: the electronic device may detect a second operation of switching numbers, and in response to the second operation, the electronic device may switch the currently used number from the first number to the second number and access the network through the second APN.
In a second aspect, the present application provides an electronic device. The electronic device may include a display screen, a memory, and one or more processors. Wherein the memory may be used for storing a computer program. A processor, operable to: responding to an operation of switching the APN corresponding to the first number based on the first application, and switching the APN corresponding to the first number to the first APN; resetting the process identifier of the remote caller to the identifier of the current process based on the second application under the condition that the SIM card corresponding to the first number is the SIM card provided with a plurality of numbers; and under the condition that the remote caller process identifier is the same as the direct caller process identifier, calling the IMSI interface based on the second application, determining the first IMSI, and updating the APN corresponding to the first IMSI to the first APN. The remote calling party process is a process corresponding to the first application. The current process is a process corresponding to the second application. The direct calling party process is a process corresponding to an application calling the IMSI interface. The first IMSI is the IMSI corresponding to the first number.
With reference to the second aspect, in one possible implementation manner, the processor, after being configured to determine the first IMSI, may be further configured to: and restoring the remote caller process identification to the initial identification of the remote caller process based on the second application.
With reference to the second aspect, in one possible implementation manner, the electronic device may further include a second application and an IMSI obtaining module. Before the processor is used to determine the first IMSI, the second application may be used to: sending the packet name of the second application to the IMSI acquisition module; and sending an IMSI acquisition request to an IMSI acquisition module. The IMSI get request is used to get the first IMSI. The IMSI obtaining module may be configured to: determining a direct caller process identification based on the package name of the second application; determining a remote caller process identification; it is determined whether the remote caller process identification is the same as the direct caller process identification.
With reference to the second aspect, in one possible implementation manner, the processor is configured to, when the remote caller process identifier is the same as the direct caller process identifier, determine the first IMSI based on the second application calling the IMSI interface, and update the APN corresponding to the first IMSI to the first APN, specifically: under the condition that the IMSI acquisition module determines that the remote calling party process identifier is the same as the direct calling party process identifier, determining a first IMSI based on the IMSI acquisition module, and sending the first IMSI to a second application; and updating the APN corresponding to the first IMSI to the first APN based on the second application.
With reference to the second aspect, in one possible implementation manner, the processor may be further configured to: and when the SIM card corresponding to the first number is the SIM card with one number or the SIM card corresponding to the first number is the SIM card with a plurality of numbers, and the process identifier of the remote calling party is different from the process identifier of the direct calling party, determining a first card slot, and updating the APN corresponding to the first card slot into the first APN. The first clamping groove is a clamping groove corresponding to the first number.
With reference to the second aspect, in one possible implementation manner, before the processor is configured to reset the remote caller process identifier to the identifier of the current process based on the second application, the processor is further configured to: and determining whether first configuration information exists in the SIM card corresponding to the first number. If the first configuration information exists in the SIM card corresponding to the first number, the SIM card corresponding to the first number is the SIM card provided with a plurality of numbers. If the first configuration information does not exist in the SIM card corresponding to the first number, the SIM card corresponding to the first number is the SIM card with one number.
With reference to the second aspect, in one possible implementation manner, the remote caller process is a setup process, and the direct caller process is a Phone process.
With reference to the second aspect, in one possible implementation manner, before the processor is configured to respond to an operation of switching an APN corresponding to the first number based on the first application, the APN corresponding to the second number is the second APN. The second number and the first number are numbers opened on the same SIM card. After the processor is configured to switch the APN corresponding to the first number to the first APN, the processor may be further configured to: and responding to the operation of switching the numbers, switching the currently used number from the first number to the second number, and accessing the network through the second APN.
In a third aspect, the present application provides a computer storage medium comprising instructions that, when executed on an electronic device, cause the electronic device to perform any one of the possible implementations of the first aspect.
In a fourth aspect, embodiments of the present application provide a chip for application to an electronic device, the chip including one or more processors configured to invoke computer instructions to cause the electronic device to perform any of the possible implementations of the first aspect.
In a fifth aspect, embodiments of the present application provide a computer program product comprising instructions that, when run on a device, cause the electronic device to perform any one of the possible implementations of the first aspect.
It will be appreciated that the electronic device provided in the second aspect, the computer storage medium provided in the third aspect, the chip provided in the fourth aspect, and the computer program product provided in the fifth aspect are all configured to perform any one of the possible implementations of the first aspect. Thus, reference may be made to the advantages of any one of the possible implementation manners of the first aspect, and the description is omitted here.
Drawings
FIGS. 1A-1M are a set of user interface diagrams provided in embodiments of the present application;
fig. 2 is a flowchart of an APN switching method provided in an embodiment of the present application;
fig. 3 is a flowchart of another APN switching method provided in an embodiment of the present application;
fig. 4 is a schematic hardware structure of an electronic device according to an embodiment of the present application;
fig. 5 is a schematic software structure of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. Wherein, in the description of the embodiments of the present application, "/" means or is meant unless otherwise indicated, for example, a/B may represent a or B; the text "and/or" is merely an association relation describing the associated object, and indicates that three relations may exist, for example, a and/or B may indicate: the three cases where a exists alone, a and B exist together, and B exists alone, and in addition, in the description of the embodiments of the present application, "plural" means two or more than two.
It should be understood that the terms first, second, and the like in the description and in the claims and drawings of the present application are used for distinguishing between different objects and not necessarily for describing a particular sequential or chronological order. Furthermore, the terms "comprise" and "have," as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those listed steps or elements but may include other steps or elements not listed or inherent to such process, method, article, or apparatus.
Reference in the specification to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the application. The appearances of such phrases in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of skill in the art will explicitly and implicitly understand that the embodiments described herein may be combined with other embodiments.
It should be noted that, in the present application, the meaning of "number opened on SIM card" and "number corresponding to SIM card" are the same.
When a plurality of telephone numbers are opened on one SIM card in electronic equipment such as a mobile phone and the like, a user can access a network through APNs corresponding to different numbers when using different numbers corresponding to the SIM card. When the user wants to switch the APN corresponding to a certain number of the SIM card, the APN corresponding to the number can be switched to other APNs in the APN list, a new APN can be added, and the APN corresponding to the number can be switched to the new APN, so that the electronic equipment can access other networks through the switched APN. In this case, the electronic device may update the APN profile based on the APN after the handover. In this updating process, the electronic device may trigger a procedure for updating the APN corresponding to the card slot. That is, the electronic device may update the APN corresponding to the card slot in which the SIM card is located. That is, the electronic device may update the APN corresponding to the card slot in which the SIM card is located to the APN after the switching. And the SIM card corresponds to a card slot. This means that the APN corresponding to the plurality of numbers on the SIM card will become the APN corresponding to the updated card slot (i.e. the APN after the above-mentioned switching). Therefore, when the user uses other numbers corresponding to the SIM card, the electronic equipment can also access the corresponding network through the APN after the switching.
It can be appreciated that the electronic device mentioned in the present application is a device provided with a SIM card, and may specifically be a device such as a mobile phone, a tablet computer, a wearable device, a vehicle-mounted device, an Augmented Reality (AR)/Virtual Reality (VR) device, a notebook computer, an Ultra-Mobile Personal Computer (UMPC), a netbook, a personal digital assistant (Personal Digital Assistant, PDA), an artificial intelligence (artificial intelligence, AI) device, a wearable device, a vehicle-mounted device, a smart home device, and/or a smart city device, and the specific type of the electronic device is not limited in the embodiments of the present application.
The application provides an APN switching method. The APN switching method can be applied to electronic equipment such as mobile phones and the like. According to the APN switching method, the electronic equipment can detect the user operation of switching the APN corresponding to the number-1 and determine the switched APN corresponding to the number-1. Under the condition that the SIM card corresponding to the number-1 is the SIM card with a plurality of telephone numbers, the electronic equipment can reset the process identifier of the remote calling party to the identifier of the current process and determine the IMSI corresponding to the number-1. The electronic device may also restore the remote caller process identifier to the initial identifier of the remote caller process, and update the APN corresponding to the IMSI corresponding to the number-1 to the APN corresponding to the number-1 after the handover. For a SIM card with multiple phone numbers, in this way, the electronic device may switch the APN of at least one number corresponding to the SIM card without affecting the APNs of other numbers corresponding to the SIM card.
The following describes an APN handover scenario provided in the embodiments of the present application.
It will be appreciated that the terms "interface" and "user interface" in the description and claims of this application and in the drawings are media interfaces for interaction and exchange of information between an application or operating system and a user, which enable conversion between an internal form of information and a form acceptable to the user. A commonly used presentation form of the user interface is a graphical user interface (graphic user interface, GUI), which refers to a user interface related to computer operations that is displayed in a graphical manner. It may be an interface element such as an icon, a window, a control, etc. displayed in a display screen of the electronic device, where the control may include a visual interface element such as an icon, a button, a menu, a tab, a text box, a dialog box, a status bar, a navigation bar, a Widget, etc.
An APN handover scenario of "one-card double number" is exemplarily described below.
The double numbers of one card are that two digital mobile phone numbers are opened on one SIM card (two groups of different IMSI, ICCID, KI data and the like are simultaneously stored in the same SIM card), and a user can switch and select any one number in the SIM card to carry out conversation, so that the communication requirements of the user on using different numbers at different times and different places are met. The English of IMSI is International Mobile Subscriber Identity, which refers to international mobile subscriber identity. IMSI is an identification number that is used to distinguish between different users in a cellular network and is not repeated in all cellular networks. The english language of ICCID is known as Integrate Circuit Card Identity and refers to the integrated circuit card identification code. I.e. the SIM card number. The english of KI is called Key identifier, and refers to the Key used for encrypting data transfer between the SIM card and the operator.
For convenience of description, a SIM card with two phone numbers opened in an electronic device is denoted as a card 1, and two numbers opened by the card 1 are denoted as a number-1 and a number-2, respectively.
1. APN setting interface for entering number-2
FIG. 1A illustrates a user interface 100 for exposing an application installed by an electronic device.
The user interface 100 displays a page on which application icons are placed, which may include a plurality of application icons (e.g., weather application icons, calendar application icons, album application icons, note application icons, email application icons, application store application icons, setup application icons 101, etc.). Page indicators can be displayed below the application icons to indicate the positional relationship between the currently displayed page and other pages. Below the page indicator are a plurality of application icons (e.g., camera application icon, browser application icon, information application icon, dial-up application icon). The application icon under the page indicator remains displayed upon the page switch.
It is understood that the setting application icon 101 is an icon of a setting application program (i.e., a setting application). The setup application icon 101 may be used to trigger the launching of a setup application. The setup application may provide setup items for several functions (e.g., network, display, sound, etc.) for the user to make corresponding adjustments to those functions.
The electronic device can detect a user operation acting on the setting application icon 101. In response to this operation, the electronic device may launch the setup application and display the user interface 200 as shown in fig. 1B. The user interface 200 is a main interface of the setup application. The user interface 200 may include a mobile network settings control 201. The mobile network settings control 201 may be used to trigger entry into the mobile network settings interface.
It is to be appreciated that the user operations referred to in this application may include, but are not limited to, touch (e.g., tap, etc.), voice control, gesture, etc., as this application is not limited in this regard.
The electronic device can detect a user operation acting on the mobile network settings control 201. In response to this operation, the electronic device may display a user interface 300 as shown in fig. 1C. The user interface 300 may interface for a mobile network. User interface 300 may include a mobile data setting control 301. Movement data setup control 301 may be used to trigger entry into a movement data setup interface.
The electronic device can detect a user operation on the mobile data setting control 301. In response to this operation, the electronic device may display a user interface 400 as shown in fig. 1D. The user interface 400 may include a display area 401. The display area 401 may be used to display network setup options for the card 1. It will be appreciated that the card 1 is a SIM card in an electronic device. The card 1 is provided with a number-1 and a number-2. The display area 401 may include a display area 4011, a display area 4012, and a control 4013. The display area 4011 is used to display network setting options of the number-1 corresponding to the card 1. The display area 4011 can include controls 40111. The control 40111 is used for triggering an APN setting interface corresponding to the access number-1. The display area 4012 is used to display network setting options of the number-2 corresponding to the card 1. The display area 4012 can include a control 40121. The control 40121 is used for triggering an APN setting interface corresponding to the access number-2. Control 4013 can be used to switch numbers when card 1 is used.
As shown in FIG. 1D, control 4013 displays "number-2," which illustrates that the electronic device is currently using number-2 in card 1. In this case, the display area 4012 is in a modifiable state, and the display area 4011 is in a locked state. That is, the network setup option for number-2 may change, while the network setup option for number-1 may not.
The electronic device can detect a user operation acting on the control 40121 as shown in fig. 1D. In response to this operation, the electronic device may display a user interface 500 as shown in fig. 1E. The user interface 500 may set an interface for the APN of number-2. The user interface 500 may include a display area 501 and a control 502. The display area 501 is used to display a list of APNs. Several APN options may be included in the APN list displayed in the display area 501. The display area 501 may include an APN option 5011 and an APN option 5012.APN indicated by APN option 5011 is APN-1. The APN indicated by APN option 5012 is APN-2. Control 502 is used to add an APN.
It will be appreciated that as shown in FIG. 1E, APN option 5011 is in a selected state, that is, APN currently used by number-2 is APN-1.
The electronic device can detect a user operation acting on the control 4013 as shown in fig. 1D. In response to this operation, the electronic device may display a user interface 600 as shown in fig. 1F. User interface 600 may include control 601 and control 602. Control 601 is used to switch to number-1. Control 602 is used to switch to number-2.
2. Switching use number-1
The electronic device can detect a user operation acting on control 601 as shown in fig. 1F. In response to this operation, the electronic device may switch to number-1 and display a user interface 700 as shown in FIG. 1G. Similar to the user interface 400 shown in FIG. 1D, the user interface 700 may also include a display area 4011, a display area 4012, and controls 4013. In contrast, the display area 4011 in the user interface 700 is in a modifiable state, while the display area 4012 is in a locked state. Also, control 4013 displays "number-1," which indicates that the electronic device is currently using number-1 in card 1.
The electronic device can detect a user operation acting on the control 40111 as shown in fig. 1G. In response to this operation, the electronic device may display an APN setup interface for number-1. The APN setting interface of number-1 may be the same as the APN setting interface of number-2. That is, the electronic device may display the user interface 500 as shown in fig. 1E. The user interface 500 may also set an interface for the APN of number-1.
3. APN corresponding to switching number-1 and switching using number-2
The electronic device may detect a user operation acting on APN option 5012 as shown in fig. 1E. In response to this operation, the electronic device may switch the APN corresponding to number-1 from APN-1 to APN-2 and display the user interface 800 as shown in fig. 1H. It can be appreciated that in user interface 800, APN option 5012 is in a selected state, that is, APN currently used by number-1 is APN-2.
It should be noted that, after the electronic device switches the APN corresponding to the number-1 from the APN-1 to the APN-2, the APN corresponding to the IMSI corresponding to the number-1 may be updated, that is, the APN corresponding to the IMSI corresponding to the number-1 is updated to the APN-2, and the specific manner may refer to the following description and will not be explained here.
As shown in fig. 1H, the user interface 800 may include a return control 4013. The return control 4013 can be used to return to the previous level interface. The electronic device can detect a user operation acting on the return control 4013 as shown in fig. 1H. In response to this operation, the electronic device may exit the current interface and return to the previous interface, i.e., to the user interface 700 shown in fig. 1G.
The electronic device can detect a user operation acting on the control 4013 as shown in fig. 1G. In response to this operation, the electronic device may display a user interface 900 as shown in fig. 1I. Similar to user interface 600 shown in FIG. 1F, user interface 900 can include control 601 and control 602. In contrast, number-2 in user interface 800 is in the selected state and number-1 in user interface 900 is in the selected state. This means that the electronic device uses the number-2 of card 1 when displaying the user interface 800 and the electronic device uses the number-1 of card 1 when displaying the user interface 900.
The electronic device can detect a user operation acting on control 602 as shown in fig. 1I. In response to this operation, the electronic device may switch to number-2 and display a user interface 400 as shown in FIG. 1D. In the event that the electronic device reuses the number-2, the electronic device can detect a user operation acting on the control 40111 as shown in fig. 1D. In response to this operation, the electronic device may display a user interface 500 as shown in fig. 1E. APN option 5011 in user interface 500 is in the selected state. That is, when the electronic device switches the APN corresponding to the number-1 from the APN-1 to the APN-2 and then switches the APN corresponding to the number-2 to the APN-2, the APN corresponding to the number-2 is still the APN-1. This means that the APN corresponding to the handover number-1 does not affect the APN corresponding to the number-2.
In some embodiments of the present application, the user may add a new APN and switch the APN corresponding to number-1 to the new APN.
According to the above, after the electronic device switches from number-2 to number-1, an APN setting interface of number-1, i.e., a user interface 500 as shown in fig. 1E, may be displayed.
The electronic device can detect a user operation acting on control 502 as shown in fig. 1E. In response to this operation, the electronic device may display a user interface 1000 as shown in fig. 1J. User interface 1000 adds an interface for the APN corresponding to number-1. The user interface 1000 may include several APN settings. Such as name (i.e., APN configuration name), APN (i.e., APN access point), proxy, port, username, password, server, MCC, MNC, authentication type, APN type, etc. The user may edit the several APN settings. Accordingly, the electronic device can display a user interface 1100 as shown in FIG. 1K. As shown in fig. 1K, the configuration name of the APN added by the user is APN-1-new, APN access point is 333xxx, mcc is 460, and mnc is 00. The user interface 1100 may include a control 1101. Control 1101 is used to determine and save the APN added by the user.
The electronic device can detect a user operation acting on control 1101 as shown in fig. 1K. In response to this operation, the electronic device may display a user interface 1200 as shown in fig. 1L. The user interface 1200 may display a list of APNs corresponding to number-1. The user interface 1200 may include an APN option 1201.APN represented by APN option 1201 is APN-1-new. That is, after the user adds a new APN, the electronic device updates the APN list, and the updated APN list displays the new APN added.
The electronic device may detect a user operation acting on APN option 1201 as shown in fig. 1L. In response to this operation, the electronic device may switch the APN corresponding to number-1 to APN-1-new and display the user interface 1300 as shown in fig. 1M. In user interface 1300, APN option 1201 is in the selected state. That is, the APN corresponding to the current number-1 is APN-1-new.
It should be noted that, after the electronic device switches the APN corresponding to the number-1 from the APN-1 to the APN-1-new, the APN corresponding to the IMSI corresponding to the number-1 may be updated, that is, the APN corresponding to the IMSI corresponding to the number-1 is updated to the APN-1-new, and the specific manner will be referred to later and will not be described herein.
On the basis of switching the APN corresponding to the number-1 to the APN-1-new, when the electronic equipment switches to use the number-2, the APN corresponding to the number-2 is still the APN-1, and the specific description can refer to the above and is not repeated here. That is, the APN corresponding to the handover number-1 does not affect the APN corresponding to the number-2.
It should be noted that the above user interfaces are only some examples provided in the present application, and should not be construed as limiting the present application. That is, the user interfaces described above may each display more or less content, which is not limited in this application.
An APN switching method provided in the embodiments of the present application is described below.
Referring to fig. 2, fig. 2 is a flowchart of an APN switching method according to an embodiment of the present application. The APN switching method comprises the following steps:
s201: the electronic equipment detects the user operation of the APN corresponding to the switching number-1 and determines the APN after the switching of the number-1.
It can be appreciated that the user can switch the APN corresponding to number-1 in the setup application. The electronic device may detect a user operation for switching an APN corresponding to the number-1, and determine a switched APN corresponding to the number-1, that is, an APN after the number-1 is switched.
For example, the user may click on the APN option 5012 shown in fig. 1E, and accordingly, the electronic device may detect the clicking operation for the APN option 5012, and in response to the clicking operation, switch the APN corresponding to the number-1 to the APN-2. It can be appreciated that the electronic device may determine that the APN after the handover corresponding to the number-1 is APN-2.
In some embodiments of the present application, the user may switch the APN corresponding to number-1 to another APN in the APN list.
In some embodiments of the present application, the user may add a new APN and switch the APN corresponding to the number-1 to the new APN.
It can be understood that the manner of switching the APN corresponding to the number-1 is only an example provided in the present application, and should not be taken as a limitation of the present application.
S202: the electronic equipment determines whether the SIM card corresponding to the number-1 is the SIM card provided with a plurality of telephone numbers.
It can be appreciated that the electronic device can check whether the configuration information related to the "one-card-multiple-number" exists in the configuration information in the SIM card corresponding to the number-1. If the relevant configuration information exists in the mobile terminal, the electronic device can determine that the SIM card corresponding to the number-1 is the SIM card provided with a plurality of telephone numbers (namely numbers). If the relevant configuration information does not exist in the mobile terminal, the electronic device can determine that the SIM card corresponding to the number-1 is the SIM card with only one telephone number.
In some embodiments of the present application, for a SIM card with two phone numbers open, there is a "one-card-double-number" configuration item path in the configuration information of its MCC and MNC. That is, the electronic device may determine whether the SIM card corresponding to the number-1 is the SIM card with two phone numbers opened by determining whether the configuration item path of "one-card double-number" exists in the SIM card corresponding to the number-1.
For example, the electronic device may determine whether the configuration item carrier_preferred_ apn _by_imsi exists in the SIM card corresponding to the number-1. If the configuration item exists in the SIM card corresponding to the number-1, the electronic equipment can determine that the SIM card corresponding to the number-1 is the SIM card with two telephone numbers.
S203: the electronic device resets the remote caller process identification to the identification of the current process. The remote caller process is a process when switching APNs.
It is understood that the procedure when switching APNs is not the same as the current procedure. The process when switching APNs (i.e. the remote caller process) may be understood in this application as the caller process that initially initiates the call. The remote caller process is not the same as the current process.
In the case that the electronic device determines that the SIM card corresponding to the number-1 is the SIM card with a plurality of phone numbers opened, the electronic device may reset the remote caller process identifier (i.e., the identifier of the remote caller process) to the identifier of the current process.
In some embodiments of the present application, the electronic device may reset the remote caller process identification to the identification of the current process through a binder. For example, the electronic device may reset the remote caller process identification to the identification of the current process by calling binder.
Of course, the electronic device may also reset the remote caller process identification to the identification of the current process by other means (e.g., invoking other functions), which is not limited in this application.
In some embodiments of the present application, the remote caller process refers to a setup process, i.e., a process corresponding to a setup application. The current process is referred to as a telephone (Phone) process. The relevant description of the Phone process may refer to the relevant technical document, which is not explained in the present application.
In some embodiments of the present application, the remote caller process identification may be a pid of the remote caller process. The identity of the current process may be the pid of the current process. For example, the remote caller process identification may be the pid of the set process and the current process identification may be the pid of the Phone process. Illustratively, the pid of the setup process may be 3000 and the pid of the phone process may be 3001.
It is understood that pid refers to a process identification (Process Identification) in the operating system. Each process has a unique pid. An application program will automatically assign a pid to the process to which the program corresponds upon running the system. The pid is assigned by the process runtime system and does not represent a specialized process. When the process runs, its pid will not change, but after the process is terminated, its pid will be reclaimed by the system. The system may reassign the reclaimed pid to other newly running programs.
In some embodiments of the present application, the remote caller process identification may be a uid of the remote caller process. The identity of the current process may be a uid of the current process. For example, the remote caller process identification may be the uid of the set process, and the current process identification may be the uid of the Phone process. Illustratively, the uid of the setup process may be 1000 and the uid of the phone process may be 1001.
It is understood that uid refers to a user identification (User Identification). The uid may be used to identify the application.
In some embodiments of the present application, the remote caller process identification may include the pid and uid of the remote caller process. The identification of the current process may include the pid and uid of the current process. For example, the remote caller process identification may include the pid and uid of the set process, and the identification of the current process may include the pid and uid of the Phone process.
S204: the electronic device determines whether the remote caller process identification is the same as the direct caller process identification. The direct calling party process is a process corresponding to an application for calling the IMSI interface.
The electronic device may determine a remote caller process identification and a direct caller process identification and determine whether the remote caller process identification is the same as the direct caller process identification. The direct calling party process is a process corresponding to an application for calling the IMSI interface.
In some embodiments of the present application, the electronic device may determine the remote caller process identification through a binder. For example, in the case where the remote caller process is identified as the pid of the remote caller process, the electronic device may determine the remote caller process identification by calling binder. For another example, in the case where the remote caller process identification is a uid of the remote caller process, the electronic device may determine the remote caller process identification by calling binder.
It can be understood that the electronic device can determine the identifier of the process corresponding to the application calling the IMSI interface, that is, the identifier of the directly calling party process, by the package name of the application calling the IMSI interface.
Of course, the electronic device may determine the remote caller process identification and the direct caller process identification in other manners, which are not limited in this application.
S205: the electronic device determines the IMSI corresponding to the number-1.
It will be appreciated that in the case where the identity of the remote caller process is consistent with the identity of the current process, the electronic device may determine the IMSI corresponding to number-1.
In some embodiments of the present application, the electronic device may obtain the IMSI corresponding to the number through an interface in the PhoneSubInfoController class. The electronic device may store a correspondence between the number and the IMSI. For example, a table of numbers versus IMSIs. In this case, the electronic device may look up the IMSI corresponding to number-1 in the corresponding table of numbers and IMSIs through an interface in the phoneubrinfocontroller class.
S206: the electronic device restores the remote caller process identification to the original identification of the remote caller process.
It can be appreciated that after the electronic device determines the IMSI corresponding to the number-1, the remote caller process identifier may be restored to the initial identifier of the remote caller process. The initial identification of the remote caller process refers to: the identity of the remote caller process is reset to the identity of the current process before the remote caller process identity is reset to the identity of the current process.
In some embodiments of the present application, the electronic device may restore the identity of the remote caller process to the original identity of the remote caller process through a binder. For example, the electronic device may restore the remote caller process identity to the original identity of the remote caller process by calling binder.
Of course, the electronic device may also restore the remote caller process identity to the original identity of the remote caller process by other means (e.g., invoking other functions), which is not limited in this application.
S207: and the electronic equipment updates the APN corresponding to the IMSI corresponding to the number-1 into the APN switched by the number-1.
After the electronic device determines the IMSI corresponding to the number-1, the APN corresponding to the IMSI may be updated to the APN after the number-1 is switched.
It will be appreciated that each number has a corresponding IMSI. For a SIM card with a plurality of phone numbers, the electronic device may determine correspondence between a plurality of IMSIs corresponding to the plurality of numbers and a plurality of APNs corresponding to the plurality of numbers, and determine an APN corresponding to the number according to the IMSI corresponding to the number when the user switches to use of the number.
The following is an exemplary description of the correspondence between IMSI and APN before and after APN handover corresponding to number-1 in conjunction with table 1 and table 2.
For example, there may be a card slot 1 and a card slot 2 in the electronic device. The SIM card in the card slot 1 is SIM-1. The SIM card in the card slot 2 is SIM-2.SIM-1 is opened with number-1 and number-2, and SIM-2 is opened with number-3. The IMSI corresponding to the number-1 is IMSI-1, the IMSI corresponding to the number-2 is IMSI-2, and the IMSI corresponding to the number-3 is IMSI-3. As shown in table 1, before switching the APN of the number-1, the APN corresponding to the IMSI-1 is APN-1. The APN corresponding to the IMSI-2 is APN-2. The APN corresponding to IMSI-3 is APN-3.
TABLE 1
Figure BDA0003786959100000111
Figure BDA0003786959100000121
It can be appreciated that after the user switches the APN corresponding to the number-1 to APN-1-new, the electronic device can update the APN corresponding to IMSI-1 (i.e., IMSI corresponding to the number-1). As shown in table 2, the electronic device may update the APN corresponding to IMSI-1 to APN-1-new.
TABLE 2
Figure BDA0003786959100000122
In the subsequent use of number-1, the electronic device may determine the corresponding APN based on the IMSI corresponding to number-1. Specifically, the electronic device may determine that the IMSI corresponding to the number-1 is IMSI-1 and determine that the APN corresponding to the IMSI-1 is APN-1-new, so that the electronic device may access the network based on the APN-1-new. Similarly, in the case of a handover using number-2, the electronic device may determine the corresponding APN according to the IMSI corresponding to number-2. Specifically, the electronic device may determine that the IMSI corresponding to the number-2 is IMSI-2, and determine that the APN corresponding to the IMSI-2 is APN-2, so that the electronic device may access the network based on the APN-2.
It can be understood that the correspondence relationship between the number, the IMSI corresponding to the number, and the APN corresponding to the number may be stored in the electronic device. For example, the electronic device may determine and store a mapping table of the number, the IMSI corresponding to the number, and the APN corresponding to the number (e.g., table 1 and table 2 above).
In some embodiments of the present application, in the case where the electronic device does not use the number-1, the APN corresponding to the number-1 may be understood as the APN corresponding to the last time the number-1 was used. In the case where the electronic device uses the number-1, the APN corresponding to the number-1 may be understood as the APN currently corresponding to the number-1.
In some embodiments of the present application, the APN corresponding to number-1 may be understood as the default APN corresponding to number-1.
It can be appreciated that the electronic device may determine the APN corresponding to the number according to the card slot corresponding to the number. For example, the APN corresponding to the card slot-1 is APN-1, and the APN corresponding to the card slot-2 is APN-3. In the case of switching to use of SIM-2 in card slot-2, the phone number currently used by the electronic device is number-3. The electronic device may determine, according to the APN corresponding to the card slot-2, that the APN corresponding to the number-3 is APN-3.
S208: the electronic equipment determines the clamping groove corresponding to the number-1, and updates the APN corresponding to the clamping groove corresponding to the number-1 into the APN after the number-1 is switched.
When the electronic device determines that the SIM card corresponding to the number-1 is the SIM card with only one phone number, or when the electronic device determines that the SIM card corresponding to the number-1 is the SIM card with a plurality of phone numbers, and the process identifier of the remote caller is different from the process identifier of the direct caller, the electronic device may determine a card slot corresponding to the number-1, and update the APN corresponding to the card slot corresponding to the number-1 to the APN after switching corresponding to the number-1.
For example, the electronic device may determine that the card slot corresponding to the number-1 is card slot-1, and update the APN corresponding to card slot-1 to APN-1-new.
Another APN handover method provided in the embodiments of the present application is described below.
Referring to fig. 3, fig. 3 is a flowchart of another APN switching method according to an embodiment of the present application. The APN switching method comprises the following steps:
s301: the setting application detects the operation of the APN corresponding to the switching number-1.
It can be understood that the user can switch the APN corresponding to the number-1 in the setting application, and correspondingly, the setting application can detect the user operation of the APN corresponding to the switching number-1. It is understood that the settings application is used to provide settings operations (including operations of modification, deletion, addition, etc.) for various functions in the electronic device.
S302: setting the APN after the application determining number-1 is switched.
After the setting application detects the operation of switching the APN corresponding to the number-1, the APN after switching corresponding to the number-1, that is, the APN after switching the number-1 can be determined.
It can be appreciated that the description of step S301 and step S302 may refer to step S201, and will not be repeated here.
S303: the setting application sends prompt information that the APN corresponding to the number-1 is switched to the TP application.
It can be understood that after the setting application detects the operation of switching the APN corresponding to the number-1, the setting application may send a prompt message that the APN corresponding to the number-1 has been switched to the TP application.
The TP application refers to a telephone provider (Telephony Provider, TP) application. The TP application runs in a Phone process. TP applications mainly provide database operations for carriers tables and silnfo. The carriers table is mainly used for storing APN attributes, namely the attributes obtained from the APNs-conf.xml, and the SIM card attributes are mainly stored in the SIM card.
In some embodiments of the present application, the electronic device may not perform step S303.
In some embodiments of the present application, the prompt message that the APN corresponding to the number-1 sent by the setting application to the TP application is switched may include the APN corresponding to the number-1 after switching. In this case, the electronic apparatus may not perform step S304.
S304: the setting application sends the APN after the number-1 switching to the TP application.
It can be appreciated that after the setting application determines the APN after the handover corresponding to the number-1, that is, the APN after the handover of the number-1, can be sent to the TP application.
It can be appreciated that the present application does not limit the sequence of executing step S303 and step S304 by the electronic device.
S305: the TP application determines whether the SIM card corresponding to the number-1 is the SIM card with a plurality of telephone numbers opened.
It is understood that the TP application may determine whether the SIM card corresponding to the currently used number (i.e., number-1) is a SIM card that has multiple phone numbers open. In the case that the SIM card corresponding to the number-1 is the SIM card with a plurality of phone numbers opened, the electronic device may continue to execute the subsequent steps S306-S312. In the case that the SIM card corresponding to the number-1 is the SIM card with one phone number, the electronic device may continue to execute the subsequent step S313.
It is understood that the description of step S305 may refer to step S202, and will not be repeated herein.
S306: the TP application resets the identity of the remote caller process to the identity of the current process.
It can be appreciated that in the case where the SIM card corresponding to the number-1 is the SIM card with a plurality of phone numbers opened, the TP application may reset the identity of the remote caller process to the identity of the current process.
It is understood that the description of step S306 may refer to step S203, and will not be repeated herein.
S307: the TP application sends a request to the telephony manager to obtain the IMSI corresponding to number-1.
The TP application may send a request to the telephony manager to obtain the IMSI corresponding to number-1, to request that the IMSI corresponding to number-1 be obtained.
It will be appreciated that the telephone manager may be used to determine the IMSI corresponding to the number. For example, the phone manager may determine the IMSI corresponding to the number through a phonesubinfofontroller-like interface. The relevant description of PhoneSubInfoController may refer to the relevant technical document, which is not limited in this application.
Of course, the phone manager may also obtain the IMSI through other components or interfaces, which the present application is not limited to.
Correspondingly, the phone manager can receive a request sent by the TP application to obtain the IMSI corresponding to the number-1.
S308: the telephony manager determines a remote caller process identity and a direct caller process identity and determines whether the remote caller process identity and the direct caller process identity are the same.
It can be appreciated that after receiving the request sent by the TP application to obtain the IMSI corresponding to the number-1, the phone manager may determine the remote caller process identifier and the direct caller process identifier, and determine whether the remote caller process identifier and the direct caller process identifier are the same. In the case where the remote caller process identification and the direct caller process identification are the same, the telephony manager may perform step S309.
It is understood that the description of step S308 may refer to step S204, and will not be repeated herein.
S309: in the case where the remote caller process identity and the direct caller process identity are the same, the telephony manager determines the IMSI corresponding to number-1.
It can be appreciated that the correspondence between the number and the IMSI may be stored in the electronic device, and the phone manager may determine the IMSI corresponding to the currently used number (i.e. number-1) based on the correspondence between the number and the IMSI when the remote caller process identifier and the direct caller process identifier are the same.
S310: the phone manager sends the IMSI corresponding to number-1 to the TP application.
It is appreciated that after determining the IMSI corresponding to number-1, the phone manager may send the IMSI corresponding to number-1 to the TP application.
Correspondingly, the TP application may receive the IMSI corresponding to number-1 sent by the telephony manager.
S311: the TP application restores the remote caller process identity to the original identity of the remote caller process.
It can be appreciated that after the TP application receives the IMSI corresponding to the number-1 sent by the telephony manager, the identity of the remote caller process may be restored to the original identity of the remote caller process.
It is understood that the description of step S311 may refer to step S206, and will not be repeated herein.
S312: and the TP application updates the APN corresponding to the card slot corresponding to the number-1 into the APN switched by the number-1.
Under the condition that the SIM card corresponding to the number-1 is the SIM card with only one telephone number, the TP application can determine the card slot corresponding to the number-1 and update the APN corresponding to the card slot corresponding to the number-1 into the APN corresponding to the number-1 after switching.
S313: and the TP application updates the APN corresponding to the card slot corresponding to the number-1 into the APN switched by the number-1.
It can be understood that, in the case that the SIM card corresponding to the number-1 is the SIM card with only one phone number, or in the case that the SIM card corresponding to the number-1 is the SIM card with a plurality of phone numbers, and the remote caller process identifier and the direct caller process identifier are different, the TP application may update the APN corresponding to the card slot corresponding to the number-1 to the APN after the switching corresponding to the number-1.
The following describes the apparatus according to the embodiments of the present application.
Fig. 4 is a schematic hardware structure of an electronic device according to an embodiment of the present application.
The electronic device may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (Universal Serial Bus, USB) interface 130, a charge management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, keys 190, a motor 191, an indicator 192, a camera 193, a display 194, and a subscriber identity module (Subscriber Identification Module, SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyro sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
It should be understood that the structure illustrated in the embodiments of the present invention does not constitute a specific limitation on the electronic device. In other embodiments of the present application, the electronic device may include more or less components than illustrated, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The processor 110 may include one or more processing units, such as: the processor 110 may include an application processor (Application Processor, AP), a modem processor, a graphics processor (Graphics Processing unit, GPU), an image signal processor (Image Signal Processor, ISP), a controller, a memory, a video codec, a digital signal processor (Digital Signal Processor, DSP), a baseband processor, and/or a Neural network processor (Neural-network Processing Unit, NPU), etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors.
The controller can be a neural center and a command center of the electronic device. The controller can generate operation control signals according to the instruction operation codes and the time sequence signals to finish the control of instruction fetching and instruction execution.
In the embodiments provided herein, the electronic device may execute the APN handover method through the processor 110.
A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby improving the efficiency of the system.
In some embodiments, the processor 110 may include one or more interfaces. The USB interface 130 is an interface conforming to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like. The USB interface 130 may be used to connect a charger to charge an electronic device, or may be used to transfer data between the electronic device and a peripheral device. And can also be used for connecting with a headset, and playing audio through the headset. The interface may also be used to connect other electronic devices, such as AR devices, etc.
The charge management module 140 is configured to receive a charge input from a charger. The charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charge management module 140 may receive a charging input of a wired charger through the USB interface 130. In some wireless charging embodiments, the charge management module 140 may receive wireless charging input through a wireless charging coil of the electronic device 100. The charging management module 140 may also supply power to the electronic device 100 through the power management module 141 while charging the battery 142.
The power management module 141 is used for connecting the battery 142, and the charge management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charge management module 140 and provides power to the processor 110, the internal memory 121, the external memory, the display 194, the camera 193, the wireless communication module 160, and the like. The power management module 141 may also be configured to monitor battery capacity, battery cycle number, battery health (leakage, impedance) and other parameters. In other embodiments, the power management module 141 may also be provided in the processor 110. In other embodiments, the power management module 141 and the charge management module 140 may be disposed in the same device.
The wireless communication function of the electronic device may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the electronic device may be used to cover a single or multiple communication bands. Different antennas may also be multiplexed to improve the utilization of the antennas.
The mobile communication module 150 may provide a solution for wireless communication including 2G/3G/4G/5G, etc. applied on an electronic device. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (Low Noise Amplifier, LNA), etc. The mobile communication module 150 may receive electromagnetic waves from the antenna 1, perform processes such as filtering, amplifying, and the like on the received electromagnetic waves, and transmit the processed electromagnetic waves to the modem processor for demodulation. The mobile communication module 150 can amplify the signal modulated by the modem processor, and convert the signal into electromagnetic waves through the antenna 1 to radiate.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low frequency baseband signal to the baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor outputs sound signals through an audio device (not limited to the speaker 170A, the receiver 170B, etc.), or displays images or video through the display screen 194.
The wireless communication module 160 may provide solutions for wireless communication including wireless local area network (Wireless Local Area Networks, WLAN) (e.g., wireless fidelity (Wireless Fidelity, wi-Fi) network), bluetooth (BT), global navigation satellite system (Global Navigation Satellite System, GNSS), frequency modulation (Frequency Modulation, FM), near field wireless communication technology (Near Field Communication, NFC), infrared technology (IR), etc., as applied to electronic devices. The wireless communication module 160 may be one or more devices that integrate at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the electromagnetic wave signals, filters the electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, frequency modulate it, amplify it, and convert it to electromagnetic waves for radiation via the antenna 2.
In some embodiments, the antenna 1 and the mobile communication module 150 of the electronic device are coupled, and the antenna 2 and the wireless communication module 160 are coupled, so that the electronic device can communicate with the network and other devices through wireless communication technology.
The electronic device implements display functions via a GPU, a display screen 194, an application processor, and the like. The GPU is a microprocessor for image processing, and is connected to the display 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
The display screen 194 is used to display images, videos, and the like. The display 194 includes a display panel. The display panel may employ a liquid crystal display (Liquid Crystal Display, LCD), an Organic Light-Emitting Diode (OLED), an Active-matrix Organic Light-Emitting Diode (AMOLED) or an Active-matrix Organic Light-Emitting Diode (Matrix Organic Light Emitting Diode), a flexible Light-Emitting Diode (Flex), a Mini LED, a Micro-OLED, a quantum dot Light-Emitting Diode (Quantum Dot Light Emitting Diodes, QLED), or the like. In some embodiments, the electronic device may include 1 or N display screens 194, N being a positive integer greater than 1.
The electronic device may implement the acquisition function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, an application processor, and the like.
The ISP is used to process data fed back by the camera 193. For example, when photographing, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, the optical signal is converted into an electric signal, and the camera photosensitive element transmits the electric signal to the ISP for processing and is converted into an image or video visible to naked eyes. ISP can also optimize the noise, brightness and skin color of the image. The ISP can also optimize parameters such as exposure, color temperature and the like of a shooting scene. In some embodiments, the ISP may be provided in the camera 193.
The camera 193 is used to capture still images or video. The object generates an optical image through the lens and projects the optical image onto the photosensitive element. The photosensitive element may be a charge coupled device (Charge Coupled Device, CCD) or a Complementary Metal Oxide Semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, which is then transferred to an ISP to be converted into a digital image or video signal. The ISP outputs digital image or video signals to the DSP for processing. The DSP converts digital image or video signals into standard RGB, YUV, etc. format image or video signals. In some embodiments, the electronic device may include 1 or N cameras 193, N being a positive integer greater than 1.
The digital signal processor is used to process digital signals, and may process other digital signals in addition to digital image or video signals. For example, when the electronic device selects a frequency bin, the digital signal processor is used to fourier transform the frequency bin energy, and so on.
Video codecs are used to compress or decompress digital video. The electronic device may support one or more video codecs. In this way, the electronic device may play or record video in a variety of encoding formats, such as: dynamic picture experts group (Moving Picture Experts Group, MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
The NPU is a Neural-Network (NN) computing processor, and can rapidly process input information by referencing a biological Neural Network structure, for example, referencing a transmission mode between human brain neurons, and can also continuously perform self-learning. Applications such as intelligent cognition of electronic devices can be realized through the NPU, for example: image recognition, face recognition, speech recognition, text understanding, etc.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to enable expansion of the memory capabilities of the electronic device. The external memory card communicates with the processor 110 through an external memory interface 120 to implement data storage functions. For example, files such as music, video, etc. are stored in an external memory card.
The internal memory 121 may be used to store computer executable program code including instructions. The processor 110 executes various functional applications of the electronic device and data processing by executing instructions stored in the internal memory 121. The internal memory 121 may include a storage program area and a storage data area. The storage program area may store an application program (such as a sound playing function, an image video playing function, etc.) required for at least one function of the operating system, etc. The storage data area may store data created during use of the electronic device (e.g., audio data, phonebook, etc.), and so forth.
The electronic device may implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, an application processor, and the like. Such as music playing, recording, etc.
The audio module 170 is used to convert digital audio information into an analog audio signal output and also to convert an analog audio input into a digital audio signal.
The speaker 170A, also referred to as a "horn," is used to convert audio electrical signals into sound signals.
A receiver 170B, also referred to as a "earpiece", is used to convert the audio electrical signal into a sound signal.
Microphone 170C, also referred to as a "microphone" or "microphone", is used to convert sound signals into electrical signals. The electronic device may be provided with at least one microphone 170C.
The earphone interface 170D is used to connect a wired earphone.
The sensor module 180 may include 1 or more sensors, which may be of the same type or different types. It is to be understood that the sensor module 180 shown in fig. 4 is only an exemplary division, and other divisions are possible, which the present application is not limited to.
The pressure sensor 180A is used to sense a pressure signal, and may convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A may be disposed on the display screen 194. When a touch operation is applied to the display screen 194, the electronic apparatus detects the intensity of the touch operation according to the pressure sensor 180A. The electronic device may also calculate the location of the touch based on the detection signal of the pressure sensor 180A. In some embodiments, touch operations that act on the same touch location, but at different touch operation strengths, may correspond to different operation instructions.
The gyro sensor 180B may be used to determine a motion gesture of the electronic device. In some embodiments, the angular velocity of the electronic device about three axes (i.e., x, y, and z axes) may be determined by the gyro sensor 180B. The gyro sensor 180B may be used for photographing anti-shake.
The air pressure sensor 180C is used to measure air pressure. In some embodiments, the electronics calculate altitude from barometric pressure values measured by barometric pressure sensor 180C, aiding in positioning and navigation.
The magnetic sensor 180D includes a hall sensor. The electronic device may detect the opening and closing of the flip holster using the magnetic sensor 180D.
The acceleration sensor 180E may detect the magnitude of acceleration of the electronic device in various directions (typically three axes). The magnitude and direction of gravity can be detected when the electronic device is stationary. The electronic equipment gesture recognition method can also be used for recognizing the gesture of the electronic equipment, and is applied to horizontal and vertical screen switching, pedometers and other applications.
A distance sensor 180F for measuring a distance. The electronic device may measure the distance by infrared or laser. In some embodiments, the scene is photographed and the electronic device can range using the distance sensor 180F to achieve quick focus.
The proximity light sensor 180G may include, for example, a Light Emitting Diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The electronic device emits infrared light outwards through the light emitting diode. The electronic device uses a photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it may be determined that an object is in the vicinity of the electronic device. When insufficient reflected light is detected, the electronic device may determine that there is no object in the vicinity of the electronic device.
The ambient light sensor 180L is used to sense ambient light level.
The fingerprint sensor 180H is used to acquire a fingerprint.
The temperature sensor 180J is for detecting temperature.
The touch sensor 180K, also referred to as a "touch panel". The touch sensor 180K may be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, which is also called a "touch screen". The touch sensor 180K is for detecting a touch operation acting thereon or thereabout. The touch sensor may communicate the detected touch operation to the application processor to determine the touch event type. Visual output related to touch operations may be provided through the display 194. In other embodiments, the touch sensor 180K may also be disposed on the surface of the electronic device at a different location than the display 194.
The bone conduction sensor 180M may acquire a vibration signal.
The keys 190 include a power-on key, a volume key, etc. The keys 190 may be mechanical keys. Or may be a touch key. The electronic device may receive key inputs, generating key signal inputs related to user settings and function controls of the electronic device.
The motor 191 may generate a vibration cue. The motor 191 may be used for incoming call vibration alerting as well as for touch vibration feedback. For example, touch operations acting on different applications (e.g., photographing, audio playing, etc.) may correspond to different vibration feedback effects. The motor 191 may also correspond to different vibration feedback effects by touching different areas of the display screen 194. Different application scenarios (such as time reminding, receiving information, alarm clock, game, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect may also support customization.
The indicator 192 may be an indicator light, may be used to indicate a state of charge, a change in charge, a message indicating a missed call, a notification, etc.
The SIM card interface 195 is used to connect a SIM card. The SIM card may be inserted into the SIM card interface 195, or removed from the SIM card interface 195 to enable contact and separation with the electronic device. The electronic device may support 1 or N SIM card interfaces, N being a positive integer greater than 1. The electronic equipment interacts with the network through the SIM card, so that the functions of communication, data communication and the like are realized. In some embodiments, the electronic device employs esims, namely: an embedded SIM card. The eSIM card can be embedded in the electronic device and cannot be separated from the electronic device.
The software architecture of the electronic device may employ a layered architecture, an event driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture.
Fig. 5 is a schematic software structure of an electronic device according to an embodiment of the present application.
As shown in fig. 5, the software framework of the electronic device related to the present application may include an application layer, an application framework layer (FWK), a system library, a An Zhuoyun row, a hardware abstraction layer, and a kernel layer (kernel).
The application layer may include a series of application packages, among other things. Such as camera, gallery, calendar, settings, conversation, map, navigation, WLAN, bluetooth, music, video, and short message applications (which may also be referred to as applications). For other applications of the application layer, reference may be made to the description and illustrations in conventional techniques, which are not developed herein. It is understood that the application layer may also include TP applications.
The application framework layer provides an application programming interface (Application Programming Interface, API) and programming framework for application programs of the application layer. The application framework layer includes a number of predefined functions.
As shown in fig. 5, the application framework layer may include a window manager, a content provider, a view system, a telephony manager, a resource manager, a notification manager, and the like.
The window manager is used for managing window programs. The window manager can acquire the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like.
The content provider is used to store and retrieve data and make such data accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phonebooks, etc.
The view system includes visual controls, such as controls to display text, controls to display pictures, and the like. The view system may be used to build applications. The display interface may be composed of one or more views. For example, a display interface including a text message notification icon may include a view displaying text and a view displaying a picture.
The phone manager is used for providing communication functions of the electronic device and managing the call state (including on, off, etc.) of the mobile phone. The telephony manager may also be used to obtain telephony information (device information, SIM card information, and network information), listen to telephony states (call state service states, signal strength states, etc.), and invoke a telephony dialer to place a call.
The resource manager provides various resources for the application program, such as localization strings, icons, pictures, layout files, video files, and the like.
The notification manager allows the application to display notification information in a status bar, can be used to communicate notification type messages, can automatically disappear after a short dwell, and does not require user interaction. Such as notification manager is used to inform that the download is complete, message alerts, etc. The notification manager may also be a notification presented in the form of a chart or scroll bar text in the system top status bar, such as a notification of a background running application, or a notification presented on a screen in the form of a dialog interface. For example, a text message is prompted in a status bar, a prompt tone is emitted, the electronic device vibrates, and an indicator light blinks, etc.
The Runtime (run time) includes core libraries and virtual machines. Run time is responsible for scheduling and management of the system.
The core library consists of two parts: one part is the function that the programming language (e.g., java language) needs to call, and the other part is the core library of the system.
The application layer and the application framework layer run in a virtual machine. The virtual machine executes the programming files (e.g., java files) of the application layer and the application framework layer as binary files. The virtual machine is used for executing the functions of object life cycle management, stack management, thread management, security and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface Manager (Surface Manager), media library (Media Libraries), three-dimensional graphics processing library (e.g., openGL ES), two-dimensional graphics engine (e.g., SGL), etc.
The surface manager is used to manage the display subsystem and provides a fusion of two-Dimensional (2D) and three-Dimensional (3D) layers for multiple applications.
Media libraries support a variety of commonly used audio, video format playback and recording, still image files, and the like. The media library may support a variety of audio and video encoding formats, such as MPEG4, h.264, MP3, AAC, AMR, JPG, PNG, etc.
The three-dimensional graphic processing library is used for realizing 3D graphic drawing, image rendering, synthesis, layer processing and the like.
The 2D graphics engine is a drawing engine for 2D drawing.
A Hardware Abstraction Layer (HAL) is an interface layer located between the operating system kernel and upper layer software, which aims at abstracting the hardware. The hardware abstraction layer is a device kernel driven abstraction interface for enabling application programming interfaces that provide higher level Java API frameworks with access to the underlying devices. The HAL comprises a plurality of library modules, such as camera HAL modules, display screens, bluetooth, audio, etc. Wherein each library module implements an interface for a particular type of hardware component. When the system framework layer API requires access to the hardware of the portable device, the Android operating system will load the library module for that hardware component.
The kernel layer is the basis of the Android operating system, and the final functions of the Android operating system are completed through the kernel layer. The kernel layer at least comprises a display driver, a camera driver, an audio driver, a sensor driver and a virtual card driver.
It should be noted that, the software structure schematic diagram of the electronic device shown in fig. 5 provided in the present application is only used as an example, and is not limited to specific module division in different layers of the Android operating system, and the description of the software structure of the Android operating system in the conventional technology may be referred to specifically. In addition, the shooting method provided by the application can be realized based on other operating systems, and the application is not exemplified one by one.
The above embodiments are only for illustrating the technical solution of the present application, and are not limiting thereof; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application.

Claims (10)

1. An APN handover method, the method comprising:
The method comprises the steps that the electronic equipment responds to an operation of switching an APN corresponding to a first number based on a first application, and the APN corresponding to the first number is switched to the first APN;
under the condition that the SIM card corresponding to the first number is the SIM card provided with a plurality of numbers, the electronic equipment resets the process identifier of the remote calling party to the identifier of the current process based on the second application; the remote caller process is a process corresponding to the first application; the current process is a process corresponding to the second application;
when the remote caller process identifier is the same as the direct caller process identifier, the electronic equipment invokes an IMSI interface based on the second application, determines a first IMSI, and updates an APN corresponding to the first IMSI to the first APN; the direct calling party process is a process corresponding to an application for calling the IMSI interface; the first IMSI is the IMSI corresponding to the first number.
2. The method of claim 1, wherein after the determining the first IMSI, the method further comprises:
the electronic device restores the remote caller process identity to the original identity of the remote caller process based on the second application.
3. The method of claim 1 or 2, wherein prior to the determining the first IMSI, the method further comprises:
the second application sends the package name of the second application to an IMSI acquisition module in the electronic equipment;
the second application sends an IMSI obtaining request to the IMSI obtaining module; the IMSI obtaining request is used for obtaining the first IMSI;
the IMSI acquisition module determines the direct caller process identification based on the package name of the second application;
the IMSI acquisition module determines the process identifier of the remote calling party;
the IMSI acquisition module determines whether the remote caller process identifier is the same as the direct caller process identifier.
4. The method of claim 3, wherein the electronic device determines a first IMSI based on the second application invoking an IMSI interface and updates an APN corresponding to the first IMSI to the first APN if the remote caller process identity is the same as a direct caller process identity, specifically comprising:
when the IMSI acquisition module determines that the remote calling party process identifier is the same as the direct calling party process identifier, the IMSI acquisition module determines the first IMSI and sends the first IMSI to the second application;
And the second application updates the APN corresponding to the first IMSI to the first APN.
5. The method of claim 1, wherein the method further comprises:
when the SIM card corresponding to the first number is an SIM card with one number or the SIM card corresponding to the first number is an SIM card with a plurality of numbers, and the process identifier of the remote caller is different from the process identifier of the direct caller, the electronic equipment determines a first card slot and updates an APN corresponding to the first card slot to the first APN; the first clamping groove is a clamping groove corresponding to the first number.
6. The method of any of claims 1-5, wherein before the electronic device resets the remote caller process identification to the identification of the current process based on the second application, the method further comprises:
the electronic equipment determines whether first configuration information exists in the SIM card corresponding to the first number;
if the first configuration information exists in the SIM card corresponding to the first number, the SIM card corresponding to the first number is an SIM card with a plurality of numbers opened;
if the first configuration information does not exist in the SIM card corresponding to the first number, the SIM card corresponding to the first number is the SIM card with one number.
7. The method of any of claims 1-6, wherein the remote caller process is a setup process and the direct caller process is a Phone process.
8. The method of any of claims 1-7, wherein the APN corresponding to the second number is the second APN before the electronic device responds to an operation of switching the APN corresponding to the first number based on the first application; the second number and the first number are numbers opened on the same SIM card;
after the switching the APN corresponding to the first number to the first APN, the method further includes:
and the electronic equipment responds to the operation of switching the numbers, switches the currently used number from the first number to the second number, and accesses the network through the second APN.
9. An electronic device comprising a display screen, a memory, and one or more processors, wherein the memory is for storing a computer program; the processor is configured to invoke the computer program to cause the electronic device to perform the method of any of claims 1-8.
10. A computer storage medium, comprising: computer instructions; when executed on an electronic device, the computer instructions cause the electronic device to perform the method of any of claims 1-8.
CN202210945198.5A 2022-08-08 2022-08-08 APN switching method and related equipment Active CN116056176B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202311075203.2A CN117354884A (en) 2022-08-08 2022-08-08 APN switching method and related equipment
CN202210945198.5A CN116056176B (en) 2022-08-08 2022-08-08 APN switching method and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210945198.5A CN116056176B (en) 2022-08-08 2022-08-08 APN switching method and related equipment

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN202311075203.2A Division CN117354884A (en) 2022-08-08 2022-08-08 APN switching method and related equipment

Publications (2)

Publication Number Publication Date
CN116056176A true CN116056176A (en) 2023-05-02
CN116056176B CN116056176B (en) 2023-09-05

Family

ID=86118808

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202311075203.2A Pending CN117354884A (en) 2022-08-08 2022-08-08 APN switching method and related equipment
CN202210945198.5A Active CN116056176B (en) 2022-08-08 2022-08-08 APN switching method and related equipment

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN202311075203.2A Pending CN117354884A (en) 2022-08-08 2022-08-08 APN switching method and related equipment

Country Status (1)

Country Link
CN (2) CN117354884A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101790150A (en) * 2009-01-23 2010-07-28 华为技术有限公司 Method and device for updating contract signing and configuration of access point name
KR20130132208A (en) * 2012-05-26 2013-12-04 삼성전자주식회사 Method and apparatus for providing packet service using access point name
CN109995811A (en) * 2017-12-29 2019-07-09 中国移动通信集团广东有限公司 A kind of method for switching network and system of IOS system
CN113596812A (en) * 2021-07-02 2021-11-02 杭州天宽科技有限公司 APN automatic configuration and switching method based on android platform
CN114501386A (en) * 2022-03-28 2022-05-13 联通智网科技股份有限公司 APN changing method, device and system

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101026247B1 (en) * 2009-06-29 2011-03-31 주식회사 케이티 Structure of Smart-Card for Storing Multiple IMSI and IMSI Setting Method thereof
CN102857906A (en) * 2011-06-28 2013-01-02 华为软件技术有限公司 Method, device and system for switching activated numbers in SIMM (single IMSI multiple MSISDN) service
CN103888932B (en) * 2013-12-30 2018-06-12 北京大唐智能卡技术有限公司 A kind of smart card and its method of support multi-operator number switching
CN106507341B (en) * 2016-11-25 2019-11-12 宇龙计算机通信科技(深圳)有限公司 Method, system and the mobile terminal of intelligent recognition configuration file
KR102159289B1 (en) * 2017-08-08 2020-09-23 주식회사 케이티 Apparatus and method for cooperating private network service and multi phone number service
CN113645609B (en) * 2021-10-14 2022-02-08 荣耀终端有限公司 Network registration method, device and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101790150A (en) * 2009-01-23 2010-07-28 华为技术有限公司 Method and device for updating contract signing and configuration of access point name
KR20130132208A (en) * 2012-05-26 2013-12-04 삼성전자주식회사 Method and apparatus for providing packet service using access point name
CN109995811A (en) * 2017-12-29 2019-07-09 中国移动通信集团广东有限公司 A kind of method for switching network and system of IOS system
CN113596812A (en) * 2021-07-02 2021-11-02 杭州天宽科技有限公司 APN automatic configuration and switching method based on android platform
CN114501386A (en) * 2022-03-28 2022-05-13 联通智网科技股份有限公司 APN changing method, device and system

Also Published As

Publication number Publication date
CN116056176B (en) 2023-09-05
CN117354884A (en) 2024-01-05

Similar Documents

Publication Publication Date Title
CN111666119B (en) UI component display method and electronic device
KR102484738B1 (en) Method and electronic device for managing application rights
EP3876506B1 (en) Method for presenting video on electronic device when incoming call comes, and electronic device
US11843712B2 (en) Address book-based device discovery method, audio and video communication method, and electronic device
CN116360725B (en) Display interaction system, display method and device
EP3902235B1 (en) Application-based incoming call display method and terminal device
CN112130788A (en) Content sharing method and device
CN116233300A (en) Method for controlling communication service state, terminal device and readable storage medium
CN114553814A (en) Method and device for processing push message
EP4345669A1 (en) User privacy protection method and apparatus
CN116431044A (en) Method and device for starting application program and terminal equipment
CN112612539B (en) Data model unloading method and device, electronic equipment and storage medium
EP4163782A1 (en) Cross-device desktop management method, first electronic device, and second electronic device
CN114610419B (en) Method and device for adding widget and computer readable storage medium
WO2023284555A1 (en) Method for securely calling service, and method and apparatus for securely registering service
CN116056176B (en) APN switching method and related equipment
CN114691248B (en) Method, device, equipment and readable storage medium for displaying virtual reality interface
CN112612540B (en) Data model configuration method, device, electronic equipment and storage medium
CN117009005A (en) Display method, automobile and electronic equipment
CN116982042A (en) Flexible authorized access control method, related device and system
CN113051015A (en) Page rendering method and device, electronic equipment and storage medium
CN110737916A (en) Communication terminal and processing method
CN116723382B (en) Shooting method and related equipment
CN116055643B (en) Visual voice mail service starting method and electronic equipment
CN116662150B (en) Application starting time-consuming detection method and related device

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