CN112312509A - Mobile terminal and network access method thereof - Google Patents

Mobile terminal and network access method thereof Download PDF

Info

Publication number
CN112312509A
CN112312509A CN202011307629.2A CN202011307629A CN112312509A CN 112312509 A CN112312509 A CN 112312509A CN 202011307629 A CN202011307629 A CN 202011307629A CN 112312509 A CN112312509 A CN 112312509A
Authority
CN
China
Prior art keywords
sim card
target
application
network
processor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011307629.2A
Other languages
Chinese (zh)
Inventor
战旭宁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hisense Mobile Communications Technology Co Ltd
Original Assignee
Hisense Mobile Communications Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hisense Mobile Communications Technology Co Ltd filed Critical Hisense Mobile Communications Technology Co Ltd
Priority to CN202011307629.2A priority Critical patent/CN112312509A/en
Publication of CN112312509A publication Critical patent/CN112312509A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/14Reselecting a network or an air interface
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices

Landscapes

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

Abstract

The application discloses a mobile terminal and a network access method thereof, belonging to the technical field of communication. When the processor in the mobile terminal starts the target application, if it is detected that the target SIM card corresponding to the target application is different from the SIM card currently used for accessing the network, the SIM card currently used for accessing the network may be switched to the SIM card corresponding to the target application. The processor can dynamically adjust the SIM card used for accessing the network according to the currently started application, so that the flexibility of the mobile terminal for accessing the network is improved.

Description

Mobile terminal and network access method thereof
Technical Field
The present application relates to the field of communications technologies, and in particular, to a mobile terminal and a network access method thereof.
Background
Currently, two Subscriber Identity Module (SIM) cards may be installed in a mobile terminal, and the mobile terminal may access a network through any one of the two SIM cards. However, the mobile terminal has poor flexibility in accessing the network through the SIM card.
Disclosure of Invention
The embodiment of the application provides a mobile terminal and a network access method thereof, which can solve the problem of poor flexibility of accessing the mobile terminal to a network through an SIM card in the related art. The technical scheme is as follows:
in one aspect, a mobile terminal is provided, and the mobile terminal includes: a processor and at least two SIM cards; the processor is configured to:
responding to a starting instruction aiming at a target application, and running the target application;
determining a target SIM card corresponding to the target application from the at least two SIM cards;
and if the target SIM card is different from the SIM card currently used for accessing the network, switching the SIM card currently used for accessing the network into the target SIM card.
Optionally, the processor is configured to:
if the target SIM card is different from the SIM card currently used for accessing the network, displaying switching prompt information, wherein the switching prompt information is used for prompting the switching of the SIM card;
and responding to a switching confirmation instruction, and switching the SIM card currently used for accessing the network to the target SIM card.
Optionally, the processor is configured to:
and determining a target SIM card corresponding to the target application according to the corresponding relation between the application and the SIM card.
Optionally, the processor is further configured to:
displaying an SIM card option interface, wherein the SIM card option interface displays at least one option of the SIM card;
in response to a selection instruction of a target option in options of at least one SIM card, displaying an application selection interface, wherein the application selection interface displays identifiers of a plurality of applications;
and responding to a selection instruction for at least one application in the plurality of applications, and recording the corresponding relation between the at least one application and the SIM card indicated by the target option.
Optionally, the mobile terminal includes a first SIM card and a second SIM card; the SIM card option interface displays a first option of the first SIM card or a second option of the second SIM card; the processor is further configured to:
and recording the corresponding relation between the application except the at least one application in the plurality of applications and the SIM card indicated by the other option except the target option.
Optionally, the processor is further configured to:
and if the target SIM card is the same as the SIM card currently used for accessing the network, keeping the SIM card currently used for accessing the network unchanged.
In another aspect, a network access method of a mobile terminal is provided, where the mobile terminal includes: a processor and at least two SIM cards; the method comprises the following steps:
responding to a starting instruction aiming at a target application, and running the target application;
determining a target SIM card corresponding to the target application from the at least two SIM cards;
and if the target SIM card is different from the SIM card currently used for accessing the network, switching the SIM card currently used for accessing the network into the target SIM card.
Optionally, if the target SIM card is different from the SIM card currently used for accessing the network, switching the SIM card currently used for accessing the network to the target SIM card includes:
if the target SIM card is different from the SIM card currently used for accessing the network, displaying switching prompt information, wherein the switching prompt information is used for prompting the switching of the SIM card;
and responding to a switching confirmation instruction, and switching the SIM card currently used for accessing the network to the target SIM card.
Optionally, the determining a target SIM card corresponding to the target application from the first SIM card and the second SIM card includes:
and determining a target SIM card corresponding to the target application according to the corresponding relation between the application and the SIM card.
Optionally, the method further includes:
displaying an SIM card option interface, wherein the SIM card option interface displays at least one option of the SIM card;
in response to a selection instruction of a target option in options of at least one SIM card, displaying an application selection interface, wherein the application selection interface displays identifiers of a plurality of applications;
and responding to a selection instruction for at least one application in the plurality of applications, and recording the corresponding relation between the at least one application and the SIM card indicated by the target option.
In another aspect, a mobile terminal is provided, including: a memory, a processor and a computer program stored on the memory, the processor implementing the network access method of the mobile terminal as described in the above aspect when executing the computer program.
In yet another aspect, a computer-readable storage medium is provided, having instructions stored therein, which when executed by a processor, implement the network access method of the mobile terminal according to the above aspect.
In yet another aspect, a computer program product containing instructions is provided, which when run on the computer causes the computer to perform the network access method of the mobile terminal of the above aspect.
The beneficial effects brought by the technical scheme provided by the embodiment of the application at least comprise:
the embodiment of the application provides a mobile terminal and a network access method thereof, when a processor in the mobile terminal starts a target application, if a target SIM card corresponding to the target application is detected to be different from a current SIM card used for accessing a network, the current SIM card used for accessing the network can be switched to the SIM card corresponding to the target application. The processor can dynamically adjust the SIM card used for accessing the network according to the currently started application, so that the flexibility of the mobile terminal for accessing the network is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart of a network access method of a mobile terminal according to an embodiment of the present application;
fig. 2 is a flowchart of another network access method for a mobile terminal according to an embodiment of the present application;
FIG. 3 is a schematic diagram of a SIM card option interface provided in an embodiment of the present application;
FIG. 4 is a schematic diagram of an application selection interface provided by an embodiment of the present application;
fig. 5 is a schematic diagram of a handover notification message provided in an embodiment of the present application;
fig. 6 is a schematic structural diagram of a mobile terminal according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of another mobile terminal according to an embodiment of the present application;
fig. 8 is a block diagram of a software structure of a mobile terminal according to an embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
The embodiment of the application provides a mobile terminal which can comprise a processor and at least two SIM cards. For example, the mobile terminal may include two SIM cards, i.e. the mobile terminal is a dual card mobile terminal. The mobile terminal can be provided with a plurality of applications, and the applications are required to be networked in the running process. Optionally, the mobile terminal may be a mobile phone.
Fig. 1 is a flowchart of a network access method of a mobile terminal according to an embodiment of the present disclosure. The method may be applied to a processor in a mobile terminal. Referring to fig. 1, the method may include:
and step 101, responding to a starting instruction aiming at the target application, and running the target application.
The target application may be any one of a plurality of applications installed in the mobile terminal. The processor can generate a starting instruction for the target application after detecting the clicking operation for the target application of the user. The processor may then execute the target application in response to the launch instruction.
And 102, determining a target SIM card corresponding to the target application from the at least two SIM cards.
The mobile terminal may store a corresponding relationship between the application and the SIM card in advance. When the mobile terminal runs the target application, the target SIM card corresponding to the target application can be determined according to the corresponding relation between the application and the SIM card.
And 103, if the target SIM card is different from the SIM card currently used for accessing the network, switching the SIM card currently used for accessing the network into the target SIM card.
The processor, after determining the target SIM card, may detect whether the target SIM card is the same as a SIM card currently used to access the network. If the target SIM card is detected to be different from the SIM card currently used for accessing the network, the processor can switch the SIM card currently used for accessing the network to the target SIM card. And the processor can further interact data with the background server of the target application through the target SIM card.
To sum up, an embodiment of the present application provides a mobile terminal, where when a processor in the mobile terminal starts a target application, if it is detected that a target SIM card corresponding to the target application is different from a SIM card currently used for accessing a network, a SIM card currently used for accessing the network may be switched to a SIM card corresponding to the target application. The processor can dynamically adjust the SIM card used for accessing the network according to the currently started application, so that the flexibility of the mobile terminal for accessing the network is improved.
In addition, because the SIM card does not need to be manually switched by a user, the user operation is simplified, and the SIM card switching efficiency is improved. Meanwhile, the problem that the current flow consumption of the SIM card for accessing the network is high due to the fact that the user forgets to switch the SIM card is solved.
Fig. 2 is a flowchart of another network access method for a mobile terminal according to an embodiment of the present disclosure, where the method may be applied to a processor in the mobile terminal. As shown in fig. 2, the method may include:
step 201, displaying an option interface of the SIM card.
In the embodiment of the application, the mobile terminal can respond to the network setting instruction and display the SIM card option interface. For example, the setup interface of the mobile terminal may be displayed with dual card and network setup buttons. The processor may display the SIM card option interface upon detecting a user click operation on the dual card and network setup buttons. The SIM card option interface displays options of at least one SIM card.
For example, as shown in fig. 3, assuming that the mobile terminal includes a first SIM card and a second SIM card, the SIM card option interface may display a first option of the first SIM card. Alternatively, as shown in fig. 3, the SIM card options interface may display a second option 00 of a second SIM card. That is, the mobile terminal may display only one SIM card option.
Step 202, responding to a selection instruction of a target option in options of at least one SIM card, and displaying an application selection interface.
After the processor displays the SIM card option interface, if a click operation of the user on a target option in the options of the at least one SIM card is detected, the processor may generate a selection instruction for the target option. And an application selection interface can be displayed in response to the selection instruction for the target option. The application selection interface may display identifiers of a plurality of applications installed in the mobile terminal, where the identifiers may be names of the applications.
It is understood that, if in step 201, the SIM card option interface displayed by the mobile terminal includes options of multiple SIM cards, the target option may be an option of any one of the options of the multiple SIM cards. If, in step 201, the SIM card option interface displayed by the mobile terminal only includes an option of one SIM card, the target option is an option of the SIM card displayed in the SIM card option interface.
For example, referring to fig. 3, after detecting a selection instruction for the second option 00, the processor may display an application selection interface. Referring to fig. 4, the application selection interface may display the identities of application a through application G.
Step 203, responding to a selection instruction for at least one application in the plurality of applications, and recording the corresponding relation between the at least one application and the SIM card indicated by the target option.
After the processor displays the application selection interface, if a selection operation of the user for at least one application in the plurality of applications is detected, the processor may generate a selection instruction for the at least one application. Thereafter, the processor may record a correspondence relationship between the at least one application and the SIM card indicated by the target option in response to a selection instruction for the at least one application.
Referring to fig. 4, the application selection interface may further include a selection button 01 and a determination button 02 corresponding to the identification of each application. The processor may generate a selection instruction for the application a, the application C, the application D, and the application F after detecting a click operation for the selection button 01 and a click operation for the determination button 02 corresponding to the application a, the application C, the application D, and the application F. Further, the processor may record the correspondence between the application a, the application C, the application D, and the application F and the second SIM card in response to the selection instruction, for example, the correspondence may be as shown in table 1. Thereafter, the processor may return to the SIM card option interface and display a portion of the applications a, C, D, and F bound to the second SIM card in the SIM card option interface. For example, referring to fig. 3, only application a may be displayed.
TABLE 1
Applications of SIM card
Application B, application E and application G First SIM card
Application A, application C, application D, and application F Second SIM card
Optionally, the application selection interface may further display a full selection button 03, and after receiving the selection operation for the full selection button 03 and the selection operation for the determination button 02, the processor may record the correspondence between the applications a to G and the second SIM card.
And 204, recording the corresponding relation between the application except for at least one application in the plurality of applications and the SIM card indicated by another option except the target option.
In the embodiment of the application, if the SIM card option interface displays the first option of the first SIM card or the second option of the second SIM card. The processor may record a correspondence of an application other than the at least one application among the plurality of applications and the SIM card indicated by another option other than the target option after recording the correspondence of the at least one application and the SIM card indicated by the target option.
For example, referring to fig. 3, assume that the SIM card options interface displays only the second option 00 of the second SIM card. The processor may further record the correspondence between the application B, the application E, the application G and the first SIM card after recording the correspondence between the application a, the application C, the application D and the application F and the second SIM card, which may be as shown in table 1 above.
In this embodiment, after recording the correspondence between the at least one application and the SIM card indicated by the target option, the processor may directly record the correspondence between the application other than the at least one application in the plurality of applications and the SIM card indicated by another option other than the target option. Since the user is not required to manually select the application corresponding to the SIM card indicated by the other option, the efficiency of determining the correspondence relationship is improved.
In this embodiment of the application, if the SIM card option interface displays a first option of a first SIM card and a second option of a second SIM card, the processor may display an application selection interface in response to a selection instruction for a target option in the first option and the second option, and may record a correspondence between at least one application of the plurality of applications and the SIM card indicated by the target option in response to a selection instruction for the at least one application.
The processor may further display another application selection interface in response to a selection instruction for another option after recording the correspondence of the at least one application with the SIM card indicated by the target option. The other application selection interface displays an identification of a portion of the plurality of applications other than the at least one application. The processor may record a correspondence of at least one of the part of applications with the SIM card indicated by the another option in response to a selection instruction for the at least one of the part of applications.
Alternatively, after recording the correspondence between the at least one application and the SIM card indicated by the target option, the processor may record the correspondence between an application other than the at least one application among the plurality of applications and the SIM card indicated by another option other than the target option.
In the embodiment of the application, the user can flexibly select the application corresponding to each SIM card according to the self requirement, so that the flexibility of determining the application corresponding to each SIM card is improved.
Step 205, in response to the start instruction for the target application, the target application is executed.
The target application may be any one of a plurality of applications installed in the mobile terminal. The processor can generate a starting instruction for the target application after detecting the clicking operation for the target application of the user, and can respond to the starting instruction to run the target application.
And step 206, determining a target SIM card corresponding to the target application according to the corresponding relation between the application and the SIM card.
The processor may determine, while running the target application, a target SIM card corresponding to the target application from a pre-stored correspondence between the application and the SIM card according to the identifier of the target application.
For example, if the identifier of the target application is application a, the processor may determine, according to the application a, that the SIM card corresponding to the application a is the second SIM card from table 1, and determine the second SIM card as the target SIM card.
And step 207, detecting whether the target SIM card is the same as the SIM card currently used for accessing the network.
After determining a target SIM card corresponding to a target application, the processor may detect whether the target SIM card is the same as a SIM card currently used for accessing a network. If it is detected that the target SIM card is different from the SIM card currently used for accessing the network, the processor may perform step 208, and if it is detected that the target SIM card is the same as the SIM card currently used for accessing the network, the processor may perform step 210.
For example, if the target SIM card is a second SIM card and the current SIM card used for accessing the network is a first SIM card, the processor may execute step 208 because the second SIM card is different from the first SIM card.
Optionally, the mobile terminal may store in advance an attribute identifier corresponding to each SIM card. For example, the attribute identifier of the first SIM card may be 0, and the attribute identifier of the second SIM card may be 1.
After determining the target SIM card corresponding to the target application, the processor may obtain the attribute identifier of the target SIM card and the attribute identifier of the SIM card currently used for accessing the network. The processor may then detect whether the attribute identity of the target SIM card is the same as the attribute identity of the SIM card currently being used to access the network. If the attribute identifier of the target SIM card is different from the attribute identifier of the SIM card currently used for accessing the network, the processor may determine that the target SIM card is different from the SIM card currently used for accessing the network. If the attribute identifier of the target SIM card is the same as the attribute identifier of the SIM card currently used for accessing the network, the processor may determine that the target SIM card is the same as the SIM card currently used for accessing the network.
And step 208, displaying switching prompt information.
If the processor detects that the target SIM card is different from the SIM card currently used for accessing the network, switching prompt information can be displayed, and the switching prompt information is used for prompting the switching of the SIM card.
Referring to fig. 5, the switching prompt message 04 may include a prompt, and the prompt may be "whether to switch the SIM card".
And step 209, responding to the switching confirmation instruction, and switching the SIM card currently used for accessing the network to the target SIM card.
Optionally, the switching prompt information 04 may further include a switch determining button. The processor may generate a switch confirmation instruction upon detecting a user's selection operation of the certain switch button. The processor may switch the SIM card currently used for accessing the network to the target SIM card in response to the switching confirmation instruction, and interact data with the background server of the target application through the target SIM card.
Because only one SIM access network can be provided at the same time, when the processor determines that the target SIM card is different from the SIM card currently used for accessing the network, the processor displays the switching prompt message to enable a user to autonomously select whether to switch the SIM card, thereby improving the flexibility of switching the SIM card.
Referring to fig. 5, the switching guidance information 04 may further include a cancel switching button. The processor may generate a cancel switching instruction upon detecting a user's selection operation of the cancel switching button. And the processor can respond to the switching canceling instruction and keep the SIM card currently used for accessing the network unchanged, namely, the processor still interacts data with the background server of the target application through the SIM card currently used for accessing the network.
And step 210, keeping the SIM card currently used for accessing the network unchanged.
If the processor detects that the target SIM card is the same as the SIM card currently used for accessing the network, the processor can keep the SIM card currently used for accessing the network unchanged, namely, the processor still interacts data with the background server of the target application through the SIM card currently used for accessing the network.
For example, if the target SIM card and the SIM card currently used for accessing the network are both the second SIM card, the processor may leave the SIM card currently used for accessing the network unchanged.
Referring to fig. 3, the SIM card option interface may further display a main card selection button 05, and the processor may display a selection button for the first SIM card and a selection button for the second SIM card in response to the selection instruction after detecting a selection instruction for the main card selection button 05. After detecting a selection instruction of a selection button of the first SIM card, the processor may determine the first SIM card as a master card, and may record that an attribute identifier of the first SIM card is 0, and correspondingly display a name of the first SIM card, for example, the first SIM card, at a position where a text "master card" is displayed in the SIM card option interface. After that, the processor may further determine the second SIM card as a secondary card, record the attribute identifier of the second SIM card as 1, and correspondingly display a name of the second SIM card at a position where the text "secondary card" is displayed in the SIM card option interface, for example, display the second SIM card.
The SIM card option interface may further comprise a first switch button 06, and the processor may access the network through the second SIM card upon detecting an on instruction for the switch button 06. When the processor detects a closing instruction for the switch button 06, the processor does not access the network through the second SIM card.
The SIM card option interface may also include a second switch button 07. The processor may display an on button and an off button for the first SIM card in response to a selection instruction for the second switch button 07 after detecting the selection instruction. After detecting a selection instruction for the open button, the processor may correspondingly display a state of the first SIM card at a position where the SIM card option interface displays a text "first SIM card": is turned on, and the processor can listen to the phone through the first SIM card. After detecting a selection instruction for the close button, the processor may correspondingly display a state of the first SIM card at a position where the SIM card option interface displays text "first SIM card": and is turned off, and the processor cannot answer the call through the first SIM card.
The SIM card option interface may further include a third switch button 08. The processor may display an on button and an off button for the second SIM card in response to a selection instruction after detecting the selection instruction for the third switch button 08. After detecting the selection instruction for the open button, the processor may correspondingly display the state of the second SIM card at a position where the SIM card option interface displays the text "second SIM card": is turned on, and the processor can listen to the phone through the second SIM card. After detecting the selection instruction for the close button, the processor may correspondingly display the state of the second SIM card at a position where the SIM card option interface displays the text "second SIM card": is turned off, and the processor cannot answer the call through the second SIM card.
Referring to fig. 4, the application selection interface may further display a cancel button 09, and the processor may close the application selection interface after detecting a selection instruction for the cancel button 09.
It should be noted that, the sequence of the steps of the network access method of the mobile terminal provided in the embodiment of the present application may be appropriately adjusted, and the steps may also be deleted according to the situation. For example, steps 201 to 204 may be deleted as appropriate. Or step 210 may be deleted as appropriate, or step 208 and step 209 may be deleted as appropriate. Any method that can be easily conceived by a person skilled in the art within the technical scope disclosed in the present application is covered by the protection scope of the present application, and thus the detailed description thereof is omitted.
To sum up, an embodiment of the present application provides a mobile terminal, where when a processor in the mobile terminal starts a target application, if it is detected that a target SIM card corresponding to the target application is different from a SIM card currently used for accessing a network, a SIM card currently used for accessing the network may be switched to a SIM card corresponding to the target application. The processor can dynamically adjust the SIM card used for accessing the network according to the currently started application, so that the flexibility of the mobile terminal for accessing the network is improved.
Fig. 6 is a schematic structural diagram of a mobile terminal according to an embodiment of the present application. As shown in fig. 6, the mobile terminal may include a processor 601 and at least two SIM cards. A processor 601 for:
responding to a starting instruction aiming at the target application, and running the target application;
determining a target SIM card corresponding to the target application from the at least two SIM cards;
and if the target SIM card is different from the SIM card currently used for accessing the network, switching the SIM card currently used for accessing the network into the target SIM card.
To sum up, an embodiment of the present application provides a mobile terminal, where when a processor in the mobile terminal starts a target application, if it is detected that a target SIM card corresponding to the target application is different from a SIM card currently used for accessing a network, a SIM card currently used for accessing the network may be switched to a SIM card corresponding to the target application. The processor can dynamically adjust the SIM card used for accessing the network according to the currently started application, so that the flexibility of the mobile terminal for accessing the network is improved.
Optionally, the processor 601 is configured to:
if the target SIM card is different from the SIM card currently used for accessing the network, displaying switching prompt information, wherein the switching prompt information is used for prompting the switching of the SIM card;
and responding to the switching confirmation instruction, and switching the SIM card currently used for accessing the network to the target SIM card.
Optionally, the processor 601 is configured to:
and determining a target SIM card corresponding to the target application according to the corresponding relation between the application and the SIM card.
Optionally, the processor 601 is further configured to:
displaying an SIM card option interface, wherein the SIM card option interface displays options of at least one SIM card;
responding to a selection instruction of a target option in options of at least one SIM card, and displaying an application selection interface, wherein the application selection interface displays identifiers of a plurality of applications;
and responding to a selection instruction for at least one application in the plurality of applications, and recording the corresponding relation between the at least one application and the SIM card indicated by the target option.
Alternatively, referring to fig. 6, the mobile terminal may include a first SIM card 602 and a second SIM card 603; the SIM card option interface displays a first option of the first SIM card 602 or a second option of the second SIM card 603; the processor 601 is further configured to:
and recording the corresponding relation between the application except for at least one application in the plurality of applications and the SIM card indicated by the other option except the target option.
Optionally, the processor 601 is further configured to:
and if the target SIM card is the same as the SIM card currently used for accessing the network, keeping the SIM card currently used for accessing the network unchanged.
To sum up, the embodiment of the present application provides a mobile terminal, where when a processor in the mobile terminal starts a target application, if it is detected that a target SIM card corresponding to the target application is different from a current SIM card used for accessing a network. The processor may switch the SIM card currently used to access the network to the SIM card corresponding to the target application. The processor can dynamically adjust the SIM card currently used for accessing the network according to the currently started application, so that the flexibility of network access of the mobile terminal is improved.
Fig. 7 is a schematic structural diagram of another mobile terminal according to an embodiment of the present application, and as shown in fig. 7, the mobile terminal may include: a display unit 130, a memory 140, a Radio Frequency (RF) circuit 150, an audio circuit 160, a wireless fidelity (Wi-Fi) module 170, a bluetooth module 180, a power supply 190, a camera 121, and a processor 601.
The camera 121 may be used to capture still pictures or video, among other things. The object generates an optical picture through the lens and projects the optical picture to the photosensitive element. The photosensitive element may be a Charge Coupled Device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The light sensing elements convert the light signals into electrical signals which are then passed to a processor 601 for conversion into digital picture signals.
The processor 601 is a control center of the mobile terminal, connects various parts of the entire terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by running or executing software programs stored in the memory 140 and calling data stored in the memory 140. In some embodiments, processor 601 may include one or more processing units; the processor 601 may also integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a baseband processor, which primarily handles wireless communications. It will be appreciated that the baseband processor described above may not be integrated into the processor 601. In the present application, the processor 601 may run an operating system, an application program, a user interface display, a touch response, and the network access method of the mobile terminal according to the embodiment of the present application. Further, the processor 601 is coupled with the input unit and the display unit 130.
The display unit 130 may be used to receive input numeric or character information and generate signal inputs related to user settings and function control of the mobile terminal, and optionally, the display unit 130 may also be used to display information input by the user or information provided to the user and a Graphical User Interface (GUI) of various menus of the mobile terminal. The display unit 130 may include a display screen 131 disposed at the front of the mobile terminal. The display screen 131 may be configured in the form of a liquid crystal display, a light emitting diode, or the like. The display unit 130 may be used to display various graphical user interfaces described herein.
The display unit 130 includes: a display screen 131 and a touch screen 132 disposed on the front of the mobile terminal. The display screen 131 may be used to display preview pictures. Touch screen 132 may collect touch operations on or near by the user, such as clicking a button, dragging a scroll box, and the like. The touch screen 132 may be covered on the display screen 131, or the touch screen 132 and the display screen 131 may be integrated to implement the input and output functions of the mobile terminal, and after the integration, the touch screen may be referred to as a touch display screen for short.
Memory 140 may be used to store software programs and data. The processor 601 performs various functions of the mobile terminal and data processing by executing software programs or data stored in the memory 140. The memory 140 may include high speed random access memory and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. The memory 140 stores an operating system that enables the mobile terminal to operate. The memory 140 may store an operating system and various application programs, and may also store codes for performing the network access method of the mobile terminal according to the embodiment of the present application.
The RF circuit 150 may be used for receiving and transmitting signals during information transmission and reception or during a call, and may receive downlink data of a base station and then send the downlink data to the processor 601 for processing; the uplink data may be transmitted to the base station. Typically, the RF circuitry includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
The audio circuitry 160, speaker 161, microphone 162 may provide an audio interface between a user and the mobile terminal. The audio circuit 160 may transmit the electrical signal converted from the received audio data to the speaker 161, and convert the electrical signal into a sound signal for output by the speaker 161. The mobile terminal may be further provided with a volume button for adjusting the volume of the sound signal. On the other hand, the microphone 162 converts the collected sound signal into an electrical signal, converts the electrical signal into audio data after being received by the audio circuit 160, and then outputs the audio data to the RF circuit 150 to be transmitted to, for example, another terminal or outputs the audio data to the memory 140 for further processing. In this application, the microphone 162 may capture the voice of the user.
Wi-Fi belongs to a short-distance wireless transmission technology, and the mobile terminal can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the Wi-Fi module 170, and provides wireless broadband internet access for the user.
And the Bluetooth module 180 is used for performing information interaction with other Bluetooth devices with Bluetooth modules through a Bluetooth protocol. For example, the mobile terminal may establish a bluetooth connection with a wearable electronic device (e.g., a smart watch) having a bluetooth module through the bluetooth module 180, so as to perform data interaction.
The mobile terminal also includes a power supply 190 (such as a battery) for powering the various components. The power supply may be logically coupled to the processor 601 through a power management system, such that the power management system may manage charging, discharging, and power consumption. The mobile terminal can also be provided with a power button for starting and shutting down the terminal, locking the screen and the like.
The mobile terminal may include at least one sensor 1110, such as a motion sensor 11101, a distance sensor 11102, a fingerprint sensor 11103. The mobile terminal may also be equipped with other sensors such as a gyroscope, barometer, hygrometer, thermometer, and infrared sensor.
Fig. 8 is a block diagram of a software structure of a mobile terminal according to an embodiment of the present application. The layered architecture divides the software into several layers, each layer having a clear role and division of labor. The layers communicate with each other through a software interface. In some embodiments, the android system is divided into four layers, an application layer, an application framework layer, an android runtime (android runtime) and system library, and a kernel layer from top to bottom.
The application layer may include a series of application packages. As shown in fig. 8, the application package may include applications such as camera, gallery, calendar, phone call, map, navigation, WLAN, bluetooth, music, video, short message, etc. The application framework layer provides an Application Programming Interface (API) and a programming framework for the application program of the application layer. The application framework layer includes a number of predefined functions.
As shown in FIG. 8, the application framework layers may include a window manager, content provider, view system, phone manager, resource manager, notification manager, and the like.
The window manager is used for managing window programs. The window manager can obtain 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 it accessible to applications. The data may include video, pictures, audio, calls made and received, browsing history and bookmarks, phone books, 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, the display interface including the short message notification icon may include a view for displaying text and a view for displaying pictures.
The phone manager is used to provide a communication function of the mobile terminal. Such as management of call status (including on, off, etc.).
The resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, and the like.
The notification manager enables the application to display notification information in the status bar, can be used to convey notification-type messages, can disappear automatically after a short dwell, and does not require user interaction. Such as a notification manager used to inform download completion, message alerts, etc. The notification manager may also be a notification that appears in the form of a chart or scroll bar text at the top status bar of the system, such as a notification of a background running application, or a notification that appears on the screen in the form of a dialog window. For example, text information is prompted in the status bar, a prompt tone is given, the communication terminal vibrates, and an indicator light flashes.
The android runtime comprises a core library and a virtual machine. The android runtime is responsible for scheduling and management of the android system.
The core library comprises two parts: one part is a function which needs to be called by java language, and the other part is a core library of android.
The application layer and the application framework layer run in a virtual machine. And executing java files of the application program layer and the application program framework layer into a binary file by the virtual machine. The virtual machine is used for performing the functions of object life cycle management, stack management, thread management, safety and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface managers (surface managers), media libraries (media libraries), three-dimensional graphics processing libraries (e.g., openGL ES), 2D graphics engines (e.g., SGL), and the like.
The surface manager is used to manage the display subsystem and provide fusion of 2D and 3D layers for multiple applications.
The media library supports a variety of commonly used audio, video format playback and recording, and still picture files, etc. The media library may support a variety of audio-video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, picture rendering, synthesis, layer processing and the like.
The 2D graphics engine is a drawing engine for 2D drawing.
The kernel layer is a layer between hardware and software. The inner core layer at least comprises a display driver, a camera driver, an audio driver and a sensor driver.
An embodiment of the present application provides a mobile terminal, including: memory, processor and computer program stored on the memory, the processor implementing the above-described method embodiments (e.g. the embodiments shown in fig. 1 or fig. 2) when executing the computer program.
Embodiments of the present application provide a computer-readable storage medium having stored therein instructions that, when executed by a processor, implement the above-described method embodiments (e.g., the embodiments shown in fig. 1 or fig. 2).
Embodiments of the present application provide a computer program product comprising instructions, which when run on a computer, cause the computer to perform the above-described method embodiments (e.g. the embodiments shown in fig. 1 or fig. 2).
In the embodiments of the present application, the terms "first", "second", and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. The term "at least one" in the embodiments of the present application means one or more. The term "plurality" in the embodiments of the present application means two or more. In the embodiment of the present application, the term "and/or" is only one kind of association relationship describing an associated object, and means that three relationships may exist, for example, a and/or B may mean: a exists alone, A and B exist simultaneously, and B exists alone.
The above description is only exemplary of the present application and should not be taken as limiting, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (10)

1. A mobile terminal, characterized in that the mobile terminal comprises: the system comprises a processor and at least two Subscriber Identity Module (SIM) cards; the processor is configured to:
responding to a starting instruction aiming at a target application, and running the target application;
determining a target SIM card corresponding to the target application from the at least two SIM cards;
and if the target SIM card is different from the SIM card currently used for accessing the network, switching the SIM card currently used for accessing the network into the target SIM card.
2. The mobile terminal of claim 1, wherein the processor is configured to:
if the target SIM card is different from the SIM card currently used for accessing the network, displaying switching prompt information, wherein the switching prompt information is used for prompting the switching of the SIM card;
and responding to a switching confirmation instruction, and switching the SIM card currently used for accessing the network to the target SIM card.
3. The mobile terminal of claim 1, wherein the processor is configured to:
and determining a target SIM card corresponding to the target application according to the corresponding relation between the application and the SIM card.
4. The mobile terminal of claim 3, wherein the processor is further configured to:
displaying an SIM card option interface, wherein the SIM card option interface displays at least one option of the SIM card;
in response to a selection instruction of a target option in options of at least one SIM card, displaying an application selection interface, wherein the application selection interface displays identifiers of a plurality of applications;
and responding to a selection instruction for at least one application in the plurality of applications, and recording the corresponding relation between the at least one application and the SIM card indicated by the target option.
5. The mobile terminal of claim 4, wherein the mobile terminal comprises a first SIM card and a second SIM card; the SIM card option interface displays a first option of the first SIM card or a second option of the second SIM card; the processor is further configured to:
and recording the corresponding relation between the application except the at least one application in the plurality of applications and the SIM card indicated by the other option except the target option.
6. The mobile terminal of any of claims 1 to 5, wherein the processor is further configured to:
and if the target SIM card is the same as the SIM card currently used for accessing the network, keeping the SIM card currently used for accessing the network unchanged.
7. A network access method of a mobile terminal, wherein the mobile terminal comprises: the system comprises a processor and at least two Subscriber Identity Module (SIM) cards; the method comprises the following steps:
responding to a starting instruction aiming at a target application, and running the target application;
determining a target SIM card corresponding to the target application from the at least two SIM cards;
and if the target SIM card is different from the SIM card currently used for accessing the network, switching the SIM card currently used for accessing the network into the target SIM card.
8. The method of claim 7, wherein if the target SIM card is different from a SIM card currently used for accessing a network, switching the SIM card currently used for accessing the network to the target SIM card comprises:
if the target SIM card is different from the SIM card currently used for accessing the network, displaying switching prompt information, wherein the switching prompt information is used for prompting the switching of the SIM card;
and responding to a switching confirmation instruction, and switching the SIM card currently used for accessing the network to the target SIM card.
9. The method of claim 8, wherein the determining a target SIM card corresponding to the target application from the first SIM card and the second SIM card comprises:
and determining a target SIM card corresponding to the target application according to the corresponding relation between the application and the SIM card.
10. The method of claim 9, further comprising:
displaying an SIM card option interface, wherein the SIM card option interface displays at least one option of the SIM card;
in response to a selection instruction of a target option in options of at least one SIM card, displaying an application selection interface, wherein the application selection interface displays identifiers of a plurality of applications;
and responding to a selection instruction for at least one application in the plurality of applications, and recording the corresponding relation between the at least one application and the SIM card indicated by the target option.
CN202011307629.2A 2020-11-20 2020-11-20 Mobile terminal and network access method thereof Pending CN112312509A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011307629.2A CN112312509A (en) 2020-11-20 2020-11-20 Mobile terminal and network access method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011307629.2A CN112312509A (en) 2020-11-20 2020-11-20 Mobile terminal and network access method thereof

Publications (1)

Publication Number Publication Date
CN112312509A true CN112312509A (en) 2021-02-02

Family

ID=74335101

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011307629.2A Pending CN112312509A (en) 2020-11-20 2020-11-20 Mobile terminal and network access method thereof

Country Status (1)

Country Link
CN (1) CN112312509A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106376043A (en) * 2016-08-19 2017-02-01 北京小米移动软件有限公司 Automatic switching method and device for SIM (Subscriber Identification Module) card
CN107027114A (en) * 2017-04-25 2017-08-08 努比亚技术有限公司 A kind of SIM card switching method, equipment and computer-readable recording medium
CN108282771A (en) * 2017-12-28 2018-07-13 努比亚技术有限公司 A kind of network access management method, mobile terminal and computer readable storage medium
CN108601097A (en) * 2018-04-27 2018-09-28 中国联合网络通信集团有限公司 Networking control method, device, equipment and the computer storage media of double-terminal
CN109891933A (en) * 2017-10-09 2019-06-14 华为技术有限公司 The method and terminal of voice service and data service are supported simultaneously
CN110072228A (en) * 2019-04-29 2019-07-30 努比亚技术有限公司 A kind of method for switching network, terminal and computer readable storage medium
CN110324821A (en) * 2019-07-04 2019-10-11 中国联合网络通信集团有限公司 Smart card divides application switching method and system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106376043A (en) * 2016-08-19 2017-02-01 北京小米移动软件有限公司 Automatic switching method and device for SIM (Subscriber Identification Module) card
CN107027114A (en) * 2017-04-25 2017-08-08 努比亚技术有限公司 A kind of SIM card switching method, equipment and computer-readable recording medium
CN109891933A (en) * 2017-10-09 2019-06-14 华为技术有限公司 The method and terminal of voice service and data service are supported simultaneously
CN108282771A (en) * 2017-12-28 2018-07-13 努比亚技术有限公司 A kind of network access management method, mobile terminal and computer readable storage medium
CN108601097A (en) * 2018-04-27 2018-09-28 中国联合网络通信集团有限公司 Networking control method, device, equipment and the computer storage media of double-terminal
CN110072228A (en) * 2019-04-29 2019-07-30 努比亚技术有限公司 A kind of method for switching network, terminal and computer readable storage medium
CN110324821A (en) * 2019-07-04 2019-10-11 中国联合网络通信集团有限公司 Smart card divides application switching method and system

Similar Documents

Publication Publication Date Title
CN111367456A (en) Communication terminal and display method in multi-window mode
CN112835472B (en) Communication terminal and display method
CN111597004A (en) Terminal and user interface display method in application
CN111857531A (en) Mobile terminal and file display method thereof
CN111176766A (en) Communication terminal and component display method
CN113709026B (en) Method, device, storage medium and program product for processing instant communication message
CN111935353B (en) Mobile terminal and short message display method thereof
CN113055585B (en) Thumbnail display method of shooting interface and mobile terminal
CN112163033A (en) Mobile terminal and display method of trip list thereof
CN114371895B (en) Terminal equipment, mail marking method and storage medium
CN112000411B (en) Mobile terminal and display method of recording channel occupation information thereof
CN113253905B (en) Touch method based on multi-finger operation and intelligent terminal
CN112992082B (en) Electronic equipment and refreshing method of electronic ink screen thereof
CN112954622A (en) Mobile terminal and short message sending method thereof
CN113642010B (en) Method for acquiring data of extended storage device and mobile terminal
CN111324255B (en) Application processing method based on double-screen terminal and communication terminal
CN112825536B (en) Electronic terminal and background card display method
CN114339591A (en) Method for positioning based on ultra-wideband chip and related device
CN111399955B (en) Mobile terminal and interface display method of application program thereof
CN114595203A (en) File synchronization method based on dual systems, terminal device and storage medium
CN114610202A (en) Silence help seeking method and terminal equipment
CN112312509A (en) Mobile terminal and network access method thereof
CN112351144A (en) Mobile terminal and state prompting method thereof
CN113760164A (en) Display device and response method of control operation thereof
CN111787157A (en) Mobile terminal and operation response method thereof

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20210202

RJ01 Rejection of invention patent application after publication