[go: up one dir, main page]

CN117255336A - Card mode switching method of terminal equipment, terminal equipment and storage medium - Google Patents

Card mode switching method of terminal equipment, terminal equipment and storage medium Download PDF

Info

Publication number
CN117255336A
CN117255336A CN202210647153.XA CN202210647153A CN117255336A CN 117255336 A CN117255336 A CN 117255336A CN 202210647153 A CN202210647153 A CN 202210647153A CN 117255336 A CN117255336 A CN 117255336A
Authority
CN
China
Prior art keywords
card
card mode
mode switching
mark information
terminal equipment
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
CN202210647153.XA
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN202210647153.XA priority Critical patent/CN117255336A/en
Publication of CN117255336A publication Critical patent/CN117255336A/en
Pending legal-status Critical Current

Links

Classifications

    • 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
    • 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/20Transfer of user or subscriber data
    • H04W8/205Transfer to or from user equipment or user record carrier
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/22Processing or transfer of terminal data, e.g. status or physical capabilities
    • H04W8/24Transfer of terminal data
    • 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
    • H04W88/06Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals

Landscapes

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

Abstract

The embodiment of the invention provides a card mode switching method of terminal equipment, the terminal equipment and a storage medium, and belongs to the technical field of the terminal equipment. The method comprises the following steps: acquiring current card mode mark information of terminal equipment; displaying a card mode switching option according to the card mode mark information; responding to the triggering operation of a user on the card mode switching option, generating a card mode switching instruction, and modifying card mode mark information of the terminal equipment according to the card mode switching instruction; and switching the card mode of the terminal equipment from the first card mode to the second card mode or from the second card mode to the first card mode according to the modified card mode mark information. The method improves the switching convenience between the ESIM card and the SIM card.

Description

Card mode switching method of terminal equipment, terminal equipment and storage medium
Technical Field
The present invention relates to the technical field of terminal devices, and in particular, to a card mode switching method of a terminal device, and a storage medium.
Background
The subscriber identity module (Subscriber Identity Module, SIM) card is independent of the terminal device, and needs to be inserted into the terminal device to realize that the terminal device accesses the data network, while the Embedded SIM (Embedded-SIM) card is usually Embedded inside the terminal device, so that the SIM card can be replaced, but the ESIM card can not be plugged and unplugged, but the purpose of replacing the card or the carrier can be achieved by downloading configuration files of different carriers into the ESIM card, and the SIM card needs to go to a physical store counter for handling when the number is required to be replaced or the carrier needs to go offline.
At present, although more and more terminal devices choose to use the ESIM card, some users still want to use the SIM card, so many terminal devices provide a function of switching between the ESIM card and the SIM card. The existing switching between the ESIM card and the SIM card is realized by modifying the hardware card slot structure, and triggering a switching prompt by detecting whether the SIM card is inserted into the terminal equipment or not when the ESIM card is in a working state, so that a user can select whether to switch to the SIM card or not. However, the existing scheme needs to modify the hardware card slot structure and only supports switching of the ESIM card to the SIM card.
Disclosure of Invention
The embodiment of the invention provides a card mode switching method of terminal equipment, the terminal equipment and a storage medium, aiming at improving the switching convenience between an ESIM card and a SIM card.
In a first aspect, an embodiment of the present invention provides a card mode switching method of a terminal device, where the terminal device includes an ESIM card and a SIM card, and the method includes: acquiring current card mode mark information of the terminal equipment, wherein the card mode mark information is used for representing a card mode of the terminal equipment, and the card mode comprises a first card mode for enabling the ESIM card or a second card mode for enabling the SIM card; displaying a card mode switching option according to the card mode mark information; responding to the triggering operation of the user on the card mode switching option, generating a card mode switching instruction, and modifying card mode mark information of the terminal equipment according to the card mode switching instruction; and switching the card mode of the terminal equipment from the first card mode to the second card mode or from the second card mode to the first card mode according to the modified card mode mark information.
In a second aspect, an embodiment of the present invention further provides a terminal device, where the terminal device includes an ESIM card, a SIM card connector, a processor, a memory, a computer program stored on the memory and executable by the processor, and a data bus for implementing connection communication between the ESIM card, the SIM card connector, the processor, and the memory, where the computer program when executed by the processor implements any one of the card mode switching methods provided in the present specification.
In a third aspect, embodiments of the present invention further provide a storage medium for computer readable storage, where the storage medium stores one or more programs executable by one or more processors to implement any of the card mode switching methods as provided in the present specification.
The embodiment of the invention provides a card mode switching method of terminal equipment, terminal equipment and a storage medium, wherein the card mode switching method is based on the current card mode mark information of the terminal equipment, a card mode switching option is displayed, a card mode switching instruction is generated in response to the triggering operation of a user on the card mode switching option, the card mode mark information of the terminal equipment is modified according to the card mode switching instruction, the current card mode of the terminal equipment is switched from a first card mode corresponding to an ESIM card to a second card mode corresponding to an SIM card or from the second card mode to the first card mode, the terminal equipment enables the ESIM card in the first card mode, the terminal equipment enables the SIM card in the second card mode, the switching between the SIM card and the ESIM card can be realized only by modifying the card mode mark information on a software side, the user can conveniently and rapidly switch the SIM card and the ESIM card, and the switching convenience between the ESIM card and the SIM card is greatly improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of a card mode switching method according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating steps of a card mode switching method according to an embodiment of the present invention;
FIG. 3 is a flow chart illustrating a sub-step of the card mode switching method of FIG. 2;
FIG. 4 is a schematic diagram of a card mode switch option in an embodiment of the invention;
FIG. 5 is another schematic diagram of a card mode switch option in an embodiment of the invention;
FIG. 6 is another schematic diagram of a card mode switch option in an embodiment of the invention;
FIG. 7 is another schematic diagram of a card mode switch option in an embodiment of the invention;
FIG. 8 is another schematic diagram of a card mode switch option in an embodiment of the invention;
FIG. 9 is another schematic diagram of a card mode switch option in an embodiment of the invention;
FIG. 10 is a flowchart illustrating another substep of the card mode switching method of FIG. 2;
fig. 11 is a schematic block diagram of a structure of a terminal device according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The flow diagrams depicted in the figures are merely illustrative and not necessarily all of the elements and operations/steps are included or performed in the order described. For example, some operations/steps may be further divided, combined, or partially combined, so that the order of actual execution may be changed according to actual situations.
It is to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in this specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
At present, although more and more terminal devices choose to use the ESIM card, some users still want to use the SIM card, so many terminal devices provide a function of switching between the ESIM card and the SIM card. The existing switching between the ESIM card and the SIM card is realized by modifying the hardware card slot structure, and triggering a switching prompt by detecting whether the SIM card is inserted into the terminal equipment or not when the ESIM card is in a working state, so that a user can select whether to switch to the SIM card or not. However, the existing scheme needs to modify the hardware card slot structure and only supports switching of the ESIM card to the SIM card.
In order to solve the above problems, the embodiment of the present invention provides a card mode switching method of a terminal device, a terminal device and a storage medium, where the card mode switching method is based on current card mode flag information of the terminal device, displays a card mode switching option, generates a card mode switching instruction in response to a triggering operation of a user on the card mode switching option, modifies the card mode flag information of the terminal device according to the card mode switching instruction, switches the current card mode of the terminal device from a first card mode corresponding to an ESIM card to a second card mode corresponding to an SIM card or from the second card mode to the first card mode, and enables the SIM card in the first card mode, and in the second card mode, the terminal device enables the SIM card without modifying a hardware card slot structure, so that switching between the SIM card and the ESIM card can be achieved only by modifying the card mode flag information on a software side, thereby facilitating the user to switch the SIM card and the ESIM card rapidly, and greatly improving convenience in switching between the SIM card and the SIM card.
Some embodiments of the invention are described in detail below with reference to the accompanying drawings. The following embodiments and features of the embodiments may be combined with each other without conflict.
Referring to fig. 1, fig. 1 is a schematic diagram of a scenario in which a card mode switching method according to an embodiment of the invention is implemented. As shown in fig. 1, the terminal device 100 includes a card slot 110 for placing a SIM card 120 and an ESIM card 130, and the card slot 110 may include a card holder 111, a card holder 112, and a SIM card connector 113 provided in the card holder 111. The card holder 112 can be inserted into or pulled out from the card holder 111, when the card holder 112 is pulled out from the card holder 111, the user can place the SIM card 120 in the card holder 112, the card holder 112 is inserted into the card holder 111, the SIM card 120 is correspondingly inserted into the card holder 111, if the connection is normal, the pins of the SIM card 120 are connected with the metal sheets arranged in the SIM card connector 113, so that the SIM card 120 can perform data interaction between the SIM card connector 113 and the terminal device 100.
In an embodiment, the terminal device 100 further includes a processor, where the processor obtains current card mode flag information of the terminal device 100, where the card mode flag information is used to indicate a card mode of the terminal device 100, and the card mode includes a first card mode in which the ESIM card 130 is enabled or a second card mode in which the SIM card 120 is enabled; controlling a display screen of the terminal device 100 to display a card mode switching option according to the card mode flag information; responding to the triggering operation of the user to the card mode switching option, generating a card mode switching instruction, and modifying card mode mark information of the terminal equipment 100 according to the card mode switching instruction; and switching the card mode of the terminal equipment from the first card mode to the second card mode or from the second card mode to the first card mode according to the modified card mode mark information, namely switching the currently used communication card from the ESIM card 130 to the SIM card 120 or switching the SIM card 120 to the ESIM card 130.
The ESIM card 130 is embedded in the terminal device 100 and is not pluggable. The SIM card 120 is a Universal Integrated Circuit Card (UICC), and the SIM card 120 includes a nano SIM card or a Microsim card, and the terminal device 100 may insert one or more SIM cards 120. The terminal device 100 may be a cell phone, tablet (PAD), notebook, ultra mobile personal computer (UltramobilePersonalComputer, UMPC), netbook, personal digital assistant (PersonalDigitalAssistant, PDA), in-vehicle unit (OnboardUnit, OBU), wearable device (e.g., watch, bracelet, smart helmet, etc.), routing device, etc.
Hereinafter, a card mode switching method provided by an embodiment of the present invention will be described in detail with reference to the scenario in fig. 1. It should be noted that, the scenario in fig. 1 is only used to explain the card mode switching method provided by the embodiment of the present invention, but does not constitute a limitation on the application scenario of the card mode switching method provided by the embodiment of the present invention.
Referring to fig. 2, fig. 2 is a flow chart of a card mode switching method according to an embodiment of the invention.
As shown in fig. 2, the card mode switching method includes steps S101 to S104.
Step S101, obtaining the current card mode mark information of the terminal equipment.
The card mode flag information is used for indicating a card mode of the terminal equipment, the card mode of the terminal equipment comprises a first card mode for enabling the ESIM card or a second card mode for enabling the SIM card, the terminal equipment enables the ESIM card in the first card mode, and the terminal equipment enables the SIM card in the second card mode.
Step S102, according to the card mode mark information, the card mode switching option is displayed.
The card mode flag information is used for uniquely identifying the card mode in which the terminal device is currently located. For example, when the card mode flag information is the first card mode flag information, determining that the current card mode of the terminal device is the first card mode; and when the card mode flag information is the second card mode flag information, determining that the current card mode of the terminal equipment is the second card mode. The first card mode flag information is different from the second card mode flag information.
For example, the mode identification information includes a binary value of a first flag bit of the ESIM card for indicating a state of the ESIM card and a binary value of a second flag bit of the SIM card for indicating a state of the SIM card. For example, a binary value of 00 for the first flag bit indicates that the state of the ESIM card is an off state, a binary value of 11 for the first flag bit indicates that the state of the ESIM card is an enabled state, a binary value of 00 for the second flag bit indicates that the state of the SIM card is an off state, and a binary value of 11 for the second flag bit indicates that the state of the SIM card is an enabled state. The first card mode flag information is 1100, which indicates that the state of the ESIM card is an enabled state, the state of the SIM card is a closed state, the terminal device enables the ESIM card, and the second card mode flag information is 0011, which indicates that the state of the ESIM card is a closed state, the state of the SIM card is an enabled state, and the terminal device enables the SIM card.
In one embodiment, as shown in fig. 3, step S102 includes sub-steps S1021 through S1022.
Sub-step S1021, when the card mode flag information is the first card mode flag information, displaying a first card mode switching option corresponding to the second card mode;
and step S1022, when the card mode flag information is the second card mode flag information, displaying a second card mode switching option corresponding to the first card mode.
The card mode switching option is used for switching the card mode of the terminal equipment, the card mode switching option can comprise a card mode switching menu or a card mode switching icon, the card mode switching option can be displayed in a desktop interface of the terminal equipment, the card mode switching option can also be displayed in a setting interface of the terminal equipment, and the card mode switching option can also be displayed in a shortcut column of the terminal equipment, so that the invention is not limited in particular. The first card mode switch option is different from the second card mode switch option. By displaying different card mode switching options in different card modes, a user can know the card mode in which the terminal equipment is currently positioned and the card mode which can be switched after the card mode switching options are touched, and the switching convenience of the card mode is improved.
After the first card mode switching option is displayed, the user can switch the current card mode of the terminal device from the first card mode to the second card mode by touching the first card mode switching option, namely, the currently used communication card is switched from the ESIM card to the SIM card, and after the second card mode switching option is displayed, the user can switch the current card mode of the terminal device from the second card mode to the first card mode by touching the second card mode switching option, namely, the currently used communication card is switched from the SIM card to the ESIM card.
It will be appreciated that the specific style and display manner of the card mode switching option may be set based on actual situations, which is not particularly limited in the embodiment of the present invention. For example, when the current card mode of the terminal device is the first card mode, i.e., the terminal device uses an ESIM card, as shown in fig. 4, the terminal device 100 displays a card mode switching option 210, and the card mode switching option 210 includes an ESIM card icon 211 and a SIM card icon 212, which means that the terminal device uses the ESIM card. For another example, when the current card mode of the terminal device is the second card mode, that is, the terminal device uses the SIM card, as shown in fig. 5, the terminal device 100 displays a card mode switching option 220, and the card mode switching option 220 includes an ESIM card icon 221 and a SIM card icon 222, which means that the terminal device uses the SIM card.
As another example, as shown in fig. 6, a card mode switching option 230 is displayed in the desktop interface of the terminal device 100, and it is known by the "SIM" word displayed on the card mode switching option 230 that the current card mode of the terminal device 100 is the first card mode, that is, the terminal device uses the ESIM card, and if the user clicks the card mode switching option 230, it indicates that the user wants to switch the current card mode of the terminal device 100 to the second card mode, that is, the communication card used by the terminal device is switched from the ESIM card to the SIM card. As another example, as shown in fig. 7, a card mode switching option 240 is displayed in the desktop interface of the terminal device 100, and it is known by the "ESIM" word displayed on the card mode switching option 240 that the current card mode of the terminal device 100 is the second card mode, that is, the terminal device uses the SIM card, and if the user clicks the card mode switching option 240, it indicates that the user wants to switch the current card mode of the terminal device 100 to the first card mode, that is, the communication card used by the terminal device is switched from the SIM card to the ESIM card.
For another example, the card mode switch option may also include a switch control for the ESIM card. As shown in fig. 8, the card mode switching option 250 includes an ESIM card opening Guan Kongjian, and the switch control 260 is in an open state, which indicates that the current card mode of the terminal device 100 is the first card mode, that is, the terminal device uses the ESIM card, and the user can switch the card mode by sliding the switch control 260. As another example, as shown in fig. 9, the card mode switching option 250 includes an ESIM card opening Guan Kongjian and the switch control 260 is in an off state, which indicates that the current card mode of the terminal device 100 is the second card mode, that is, the terminal device uses a SIM card, and the user can switch the card mode by sliding the switch control 270.
Step S103, responding to the triggering operation of the user to the card mode switching option, generating a card mode switching instruction, and modifying card mode mark information of the terminal equipment according to the card mode switching instruction.
The triggering operation of the user on the card mode switching option may include a click operation, a sliding operation, a long-press operation, a double-click operation, etc. of the user on the card mode switching option. The card mode switching instruction comprises a first card mode switching instruction or a second card mode switching instruction, wherein the first card mode switching instruction is used for modifying card mode marking information of the terminal equipment from second card mode marking information to first card mode marking information, and the second card mode switching instruction is used for modifying card mode marking information of the terminal equipment from the first card mode marking information to second card mode marking information.
In one embodiment, as shown in fig. 10, step S103 includes sub-steps S1031 to S1032.
Step S1031, responding to the triggering operation of the user to the first card mode switching option, generating a first card mode switching instruction, and modifying card mode mark information of the terminal equipment from first card mode mark information to second card mode mark information according to the first card mode switching instruction;
illustratively, a first card mode switching instruction is sent to a modem of the terminal device, so that the modem modifies card mode flag information of the terminal device from the first card mode flag information to second card mode flag information when receiving the first card mode switching instruction.
And S1032, responding to the triggering operation of the user on the second card mode switching option, generating a second card mode switching instruction, and modifying the card mode mark information of the terminal equipment from the second card mode mark information to the first card mode mark information according to the second card mode switching instruction.
Illustratively, a second card mode switching instruction is sent to the modem of the terminal device, so that when the modem receives the second card mode switching instruction, the card mode flag information of the terminal device is modified from the second card mode flag information to the first card mode flag information.
It can be understood that a communication connection between the external device and the terminal device may be established, the external device obtains current card mode flag information of the terminal device, and displays a card mode switching option according to the card mode flag information, generates a card mode switching instruction in response to a triggering operation of a user on the card mode switching option, and sends the card mode switching instruction to the terminal device, the terminal device modifies the card mode flag information of the terminal device based on the received card mode switching instruction, and then the terminal device switches the card mode of the terminal device from the first card mode to the second card mode or from the second card mode to the first card mode according to the modified card mode flag information.
Step S104, switching the card mode of the terminal equipment from the first card mode to the second card mode or from the second card mode to the first card mode according to the modified card mode mark information.
Illustratively, after modifying the card mode flag information of the terminal device, restarting the terminal device, and when the restarting of the terminal device is completed, acquiring the modified card mode flag information; initializing the ESIM card when the modified card mode mark information is the first card mode mark information, so as to switch the card mode of the terminal equipment from the second card mode to the first card mode, and switch the SIM card to the ESIM card; and initializing the SIM card when the modified card mode mark information is the second card mode mark information so as to switch the card mode of the terminal equipment from the first card mode to the second card mode, namely switching the ESIM card to the SIM card.
In one embodiment, the telephone number corresponding to the ESIM card is different from the telephone number corresponding to the SIM card. Because the telephone number corresponding to the ESIM card is different from the telephone number corresponding to the SIM card, through the mutual switching between the ESIM card and the SIM card, the user can conveniently use the different telephone numbers to talk or surf the internet, so that the user can fully utilize the tariff packages of the different telephone numbers. In another embodiment, the telephone number corresponding to the ESIM card is the same as the telephone number corresponding to the SIM card. Because the telephone number corresponding to the ESIM card is the same as the telephone number corresponding to the SIM card, the consistency of the telephone numbers used by the terminal equipment after the communication card is switched can be ensured through the mutual switching between the ESIM card and the SIM card.
In an embodiment, after switching a current card mode of the terminal device from a second card mode to a first card mode, acquiring a first residual flow of the ESIM card and a second residual flow of the SIM card; and when the first residual flow is smaller than the preset flow threshold and the second residual flow is larger than or equal to the preset flow threshold, configuring the ESIM card as a sub-card of the SIM card, so that the ESIM card shares the data flow of the SIM card. The preset flow threshold may be set based on practical situations, which is not specifically limited in this embodiment. By configuring the ESIM card as the auxiliary card of the SIM card when the flow of the ESIM card is insufficient and the flow of the SIM card is sufficient, the data flow of the SIM card can be shared by the ESIM card, so that not only can the flow fee be prevented from being generated due to insufficient flow of the ESIM card, but also the flow utilization rate of the SIM card can be improved.
By way of example, the manner in which the ESIM card is configured as a secondary card to the SIM card may be: sending a flow sharing request to an operator server corresponding to the SIM card so that the operator server can verify the flow sharing request, and sending a corresponding auxiliary card configuration file to the terminal equipment when the verification of the flow sharing request is passed; and acquiring a secondary card configuration file sent by the operator server, and configuring the ESIM card as a secondary card of the SIM card according to the secondary card configuration file.
The server acquires the SIM card information and the ESIM card information of the SIM card from the flow sharing request, and if the SIM card information of the SIM card exists in the server, the flow sharing request is confirmed to pass the verification; acquiring a first SIM card number from the SIM card information, and acquiring a second SIM card number from the ESIM card information; adding the second SIM card number into a sub card list corresponding to the first SIM card number to obtain sub card authorization information, generating a sub card configuration file according to the sub card authorization information and the first SIM card number, and returning the sub card configuration file to the terminal equipment.
The terminal device obtains the auxiliary card authorization information and the first SIM card number from the auxiliary card configuration file, and writes the auxiliary card authorization information and the first SIM card number into a cache area of the ESIM card; the terminal equipment can access a network corresponding to the SIM card by using the auxiliary card authorization information and the first SIM card number in the cache area so as to use the data flow of the SIM card.
According to the card mode switching method provided by the embodiment, based on the current card mode mark information of the terminal equipment, the card mode switching option is displayed, the card mode switching instruction is generated in response to the triggering operation of the user on the card mode switching option, the card mode mark information of the terminal equipment is modified according to the card mode switching instruction, the current card mode of the terminal equipment is switched from the first card mode corresponding to the ESIM card to the second card mode corresponding to the SIM card or from the second card mode to the first card mode according to the modified card mode mark information, the terminal equipment starts the ESIM card in the first card mode, the terminal equipment starts the SIM card in the second card mode, the switching between the SIM card and the ESIM card can be realized only by modifying the card mode mark information on the software side, the user can conveniently and rapidly switch the SIM card and the ESIM card, and the switching convenience between the ESIM card and the SIM card is greatly improved.
Referring to fig. 11, fig. 11 is a schematic block diagram of a structure of a terminal device according to an embodiment of the present invention.
As shown in fig. 11, the terminal device 300 includes an ESIM card 310, a SIM card connector 320, a processor 330, and a memory 340, and the ESIM card 310, the SIM card connector 320, the processor 330, and the memory 340 are connected by a bus 350, such as an I2C (Inter-integrated circuit) bus.
Specifically, the SIM card connector 320 is used to connect to a SIM card. The SIM card is a Universal Integrated Circuit Card (UICC) and includes a nano SIM card or a Microsim card.
In particular, the processor 330 is configured to provide computing and control capabilities to support the operation of the overall terminal device. The processor 330 may be a central processing unit (Central Processing Unit, CPU), the processor 330 may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), field-programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. Wherein the general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
Specifically, the Memory 340 may be a Flash chip, a Read-Only Memory (ROM) disk, an optical disk, a U-disk, a removable hard disk, or the like.
It will be appreciated by those skilled in the art that the structure shown in fig. 11 is merely a block diagram of a portion of the structure related to the embodiment of the present invention, and does not constitute a limitation of the terminal device to which the embodiment of the present invention is applied, and a specific terminal device may include more or less components than those shown in the drawings, or may combine some components, or have a different arrangement of components.
The processor is configured to run a computer program stored in the memory, and implement any one of the card mode switching methods provided by the embodiments of the present invention when the computer program is executed.
In an embodiment, the processor is configured to run a computer program stored in a memory and to implement the following steps when the computer program is executed: acquiring current card mode mark information of the terminal equipment, wherein the card mode mark information is used for representing a card mode of the terminal equipment, and the card mode comprises a first card mode for enabling the ESIM card or a second card mode for enabling the SIM card; displaying a card mode switching option according to the card mode mark information; responding to the triggering operation of the user on the card mode switching option, generating a card mode switching instruction, and modifying card mode mark information of the terminal equipment according to the card mode switching instruction; and switching the card mode of the terminal equipment from the first card mode to the second card mode or from the second card mode to the first card mode according to the modified card mode mark information.
In one embodiment, the processor is configured to, when implementing displaying a card mode switching option according to the card mode flag information, implement: when the card mode mark information is first card mode mark information, displaying a first card mode switching option corresponding to the second card mode; and when the card mode mark information is second card mode mark information, displaying a second card mode switching option corresponding to the first card mode.
In an embodiment, the processor is configured to, when implementing a trigger operation of the card mode switching option by a user, generate a card mode switching instruction, and modify card mode flag information of the terminal device according to the card mode switching instruction, implement: responding to the triggering operation of a user on the first card mode switching option, generating a first card mode switching instruction, and modifying card mode mark information of the terminal equipment from the first card mode mark information to the second card mode mark information according to the first card mode switching instruction; or responding to the triggering operation of the user on the second card mode switching option, generating a second card mode switching instruction, and modifying the card mode mark information of the terminal equipment from the second card mode mark information to the first card mode mark information according to the second card mode switching instruction.
In an embodiment, when implementing that the card mode flag information of the terminal device is modified from the first card mode flag information to the second card mode flag information according to the first card mode switching instruction, the processor is configured to implement: and sending the first card mode switching instruction to a modem of the terminal equipment so that the modem can change card mode mark information of the terminal equipment from the first card mode mark information to the second card mode mark information when receiving the first card mode switching instruction.
In an embodiment, the processor is configured to, when implementing switching the card mode of the terminal device from the first card mode to the second card mode or from the second card mode to the first card mode according to the modified card mode flag information, implement: restarting the terminal equipment, and acquiring modified card mode mark information when the restarting of the terminal equipment is completed; initializing the ESIM card when the modified card mode mark information is first card mode mark information so as to switch the card mode of the terminal equipment from the second card mode to the first card mode; and initializing the SIM card when the modified card mode mark information is the second card mode mark information so as to switch the card mode of the terminal equipment from the first card mode to the second card mode.
In an embodiment, the phone number corresponding to the ESIM card is the same as the phone number corresponding to the SIM card, or the phone number corresponding to the ESIM card is different from the phone number corresponding to the SIM card.
In an embodiment, the phone number corresponding to the ESIM card is different from the phone number corresponding to the SIM card, and the processor is further configured to implement the following steps: after the current card mode of the terminal equipment is switched from the second card mode to the first card mode, acquiring a first residual flow of the ESIM card and a second residual flow of the SIM card; and when the first residual flow is smaller than a preset flow threshold and the second residual flow is larger than or equal to the preset flow threshold, configuring the ESIM card as a sub-card of the SIM card, so that the ESIM card shares the data flow of the SIM card.
In an embodiment, the processor, when implementing configuring the ESIM card as a secondary card of the SIM card, is configured to implement: sending a flow sharing request to an operator server corresponding to the SIM card, so that the operator server can verify the flow sharing request, and sending a corresponding auxiliary card configuration file to the terminal equipment when the flow sharing request passes the verification; and acquiring a secondary card configuration file sent by the operator server, and configuring the ESIM card as a secondary card of the SIM card according to the secondary card configuration file.
It should be noted that, for convenience and brevity of description, specific working processes of the terminal device described above may refer to corresponding processes in the foregoing card mode switching method embodiment, and will not be described herein again.
The embodiment of the invention also provides a storage medium for computer readable storage, wherein the storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to realize any card mode switching method provided by the specification of the embodiment of the invention.
The storage medium may be an internal storage unit of the terminal device according to the foregoing embodiment, for example, a hard disk or a memory of the terminal device. The storage medium may also be an external storage device of the terminal device, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) or the like, which are provided on the terminal device.
Those of ordinary skill in the art will appreciate that all or some of the steps, systems, functional modules/units in the apparatus, and methods disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. In a hardware embodiment, the division between the functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be performed cooperatively by several physical components. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes both volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as known to those skilled in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by a computer. Furthermore, as is well known to those of ordinary skill in the art, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media.
It should be understood that the term "and/or" as used in the present specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes such combinations. It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments. While the invention has been described with reference to certain preferred embodiments, it will be understood by those skilled in the art that various changes and substitutions may be made therein without departing from the spirit and scope of the invention as defined by the appended claims. Therefore, the protection scope of the invention is subject to the protection scope of the claims.

Claims (10)

1. A card mode switching method of a terminal device, wherein the terminal device includes an ESIM card and a SIM card, the method comprising:
acquiring current card mode mark information of the terminal equipment, wherein the card mode mark information is used for representing a card mode of the terminal equipment, and the card mode comprises a first card mode for enabling the ESIM card or a second card mode for enabling the SIM card;
displaying a card mode switching option according to the card mode mark information;
responding to the triggering operation of the user on the card mode switching option, generating a card mode switching instruction, and modifying card mode mark information of the terminal equipment according to the card mode switching instruction;
and switching the card mode of the terminal equipment from the first card mode to the second card mode or from the second card mode to the first card mode according to the modified card mode mark information.
2. The card mode switching method according to claim 1, wherein the displaying a card mode switching option according to the card mode flag information includes:
when the card mode mark information is first card mode mark information, displaying a first card mode switching option corresponding to the second card mode;
and when the card mode mark information is second card mode mark information, displaying a second card mode switching option corresponding to the first card mode.
3. The card mode switching method according to claim 2, wherein the generating a card mode switching instruction in response to a triggering operation of the card mode switching option by a user, and modifying card mode flag information of the terminal device according to the card mode switching instruction, comprises:
responding to the triggering operation of a user on the first card mode switching option, generating a first card mode switching instruction, and modifying card mode mark information of the terminal equipment from the first card mode mark information to the second card mode mark information according to the first card mode switching instruction; or alternatively
And responding to the triggering operation of the user on the second card mode switching option, generating a second card mode switching instruction, and modifying card mode mark information of the terminal equipment from the second card mode mark information to the first card mode mark information according to the second card mode switching instruction.
4. The card mode switching method according to claim 3, wherein said modifying card mode flag information of the terminal device from the first card mode flag information to the second card mode flag information according to the first card mode switching instruction includes:
and sending the first card mode switching instruction to a modem of the terminal equipment so that the modem can change card mode mark information of the terminal equipment from the first card mode mark information to the second card mode mark information when receiving the first card mode switching instruction.
5. The card mode switching method according to claim 1, wherein the switching of the card mode of the terminal device from the first card mode to the second card mode or from the second card mode to the first card mode according to the modified card mode flag information comprises:
restarting the terminal equipment, and acquiring modified card mode mark information when the restarting of the terminal equipment is completed;
initializing the ESIM card when the modified card mode mark information is first card mode mark information so as to switch the card mode of the terminal equipment from the second card mode to the first card mode;
and initializing the SIM card when the modified card mode mark information is the second card mode mark information so as to switch the card mode of the terminal equipment from the first card mode to the second card mode.
6. The card mode switching method according to any one of claims 1 to 5, wherein the telephone number corresponding to the ESIM card is the same as the telephone number corresponding to the SIM card or the telephone number corresponding to the ESIM card is different from the telephone number corresponding to the SIM card.
7. The card mode switching method according to any one of claims 1 to 5, wherein a telephone number corresponding to the ESIM card is different from a telephone number corresponding to the SIM card, the method further comprising:
after the current card mode of the terminal equipment is switched from the second card mode to the first card mode, acquiring a first residual flow of the ESIM card and a second residual flow of the SIM card;
and when the first residual flow is smaller than a preset flow threshold and the second residual flow is larger than or equal to the preset flow threshold, configuring the ESIM card as a sub-card of the SIM card, so that the ESIM card shares the data flow of the SIM card.
8. The card mode switching method according to claim 7, wherein the configuring the ESIM card as a sub-card of the SIM card comprises:
sending a flow sharing request to an operator server corresponding to the SIM card, so that the operator server can verify the flow sharing request, and sending a corresponding auxiliary card configuration file to the terminal equipment when the flow sharing request passes the verification;
and acquiring a secondary card configuration file sent by the operator server, and configuring the ESIM card as a secondary card of the SIM card according to the secondary card configuration file.
9. A terminal device, characterized in that the terminal device comprises an ESIM card, a SIM card connector, a processor, a memory, a computer program stored on the memory and executable by the processor, and a data bus for enabling a connection communication between the ESIM card, the SIM card connector, the processor and the memory, wherein the computer program, when being executed by the processor, implements the steps of the card mode switching method according to any one of claims 1 to 8.
10. A storage medium for computer readable storage, wherein the storage medium stores one or more programs executable by one or more processors to implement the steps of the method of card mode switching of any of claims 1 to 8.
CN202210647153.XA 2022-06-09 2022-06-09 Card mode switching method of terminal equipment, terminal equipment and storage medium Pending CN117255336A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210647153.XA CN117255336A (en) 2022-06-09 2022-06-09 Card mode switching method of terminal equipment, terminal equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210647153.XA CN117255336A (en) 2022-06-09 2022-06-09 Card mode switching method of terminal equipment, terminal equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117255336A true CN117255336A (en) 2023-12-19

Family

ID=89131844

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210647153.XA Pending CN117255336A (en) 2022-06-09 2022-06-09 Card mode switching method of terminal equipment, terminal equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117255336A (en)

Similar Documents

Publication Publication Date Title
US20210357105A1 (en) Method and apparatus for operating functions of electronic device having flexible display
US9514100B2 (en) Method, apparatus and system of screenshot grabbing and sharing
EP3032418A1 (en) Permission control method and device
EP2825956B1 (en) Method, apparatus and system of recovering an operating system on a portable communication device
US9986082B2 (en) Interface device and method between electronic device and external device using ear jack of the electronic device
CN111666023B (en) Interface display method and device, electronic equipment and readable storage medium
CN113296841A (en) Application program processing method, device, equipment and medium
US11209951B2 (en) Method and apparatus for displaying application program, terminal device, and storage medium
US20190107929A1 (en) Method and device for loading content of page, and electronic device
CN111400091B (en) Factory setting restoration method, factory setting restoration device and mobile terminal
US20200034101A1 (en) Data displaying method and electronic device
CN113918216A (en) Data read/write processing method, device and computer readable storage medium
CN114265653A (en) Interface display method, device, equipment, storage medium and program product
US12190049B2 (en) Document processing method, apparatus and device, and medium
CN112711955A (en) NFC information transmission method, NFC information transmission device and NFC terminal
CN117255336A (en) Card mode switching method of terminal equipment, terminal equipment and storage medium
US10314187B2 (en) Storage medium accommodation device and electronic device including the same
CN113973108B (en) Dual-system terminal online upgrading method, device and equipment
CN110427135B (en) Method, device, terminal and storage medium for determining application call
CN112291602B (en) Video playing method, electronic equipment and storage medium
CN105577904B (en) A kind of file sharing method and mobile terminal
CN113760631A (en) Page loading duration determination method, device, equipment and storage medium
CN110765426A (en) Equipment permission setting method, device, equipment and computer storage medium
US20090186657A1 (en) Subscriber identity module (SIM) card access system and method
CN113709710B (en) Interface management method and 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