CN106412878B - Activation device and method for subscriber identity module card - Google Patents

Activation device and method for subscriber identity module card Download PDF

Info

Publication number
CN106412878B
CN106412878B CN201610843870.4A CN201610843870A CN106412878B CN 106412878 B CN106412878 B CN 106412878B CN 201610843870 A CN201610843870 A CN 201610843870A CN 106412878 B CN106412878 B CN 106412878B
Authority
CN
China
Prior art keywords
card
subscriber identity
information
module
user identification
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610843870.4A
Other languages
Chinese (zh)
Other versions
CN106412878A (en
Inventor
姚胜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Gaochuangmeng Intellectual Property Consulting Co ltd
Original Assignee
Zhejiang Fengze 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 Zhejiang Fengze Technology Co Ltd filed Critical Zhejiang Fengze Technology Co Ltd
Priority to CN201610843870.4A priority Critical patent/CN106412878B/en
Publication of CN106412878A publication Critical patent/CN106412878A/en
Application granted granted Critical
Publication of CN106412878B publication Critical patent/CN106412878B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/26Network addressing or numbering for mobility support
    • H04W8/265Network addressing or numbering for mobility support for initial activation of new user

Landscapes

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

Abstract

The embodiment of the invention discloses a device and a method for activating a subscriber identity module card. The apparatus provided in this embodiment is disposed in a MODEM (MODEM) of a terminal device, and includes: the acquisition module is used for acquiring the information of the activation card from the user identification card; and the activation module is used for activating the subscriber identity module card according to the activation card information acquired by the acquisition module. The embodiment of the invention solves the problems that in the prior art, the time for activating the user identification card is long and the user identification card cannot be normally activated due to the fact that an Application Processor (AP) and a MODEM information interaction process in the smart phone are needed in a mode of activating the user identification card inserted in the smart phone.

Description

Activation device and method for subscriber identity module card
Technical Field
The present application relates to, but not limited to, the field of communications technologies, and in particular, to an apparatus and a method for activating a subscriber identity card.
Background
With the development of communication technology and the application and popularization of intelligent terminals, users pay more and more attention to experience effects when using the intelligent terminals, and therefore user experience becomes more and more important, and convenience and efficiency of the intelligent terminals become important indexes for improving performance of the intelligent terminals.
In a current smart terminal, for example, a smart phone with a high-pass platform, after a Subscriber Identity Module (SIM) card is inserted into the smart phone, a Subscriber Identity Module (SIM) card is inserted as an example, and a method for activating the SIM card is as follows: after an Application Processor (AP) acquires an Integrated Circuit Card Identification (ICCID) of the SIM Card, the AP issues a SIM Card activating command to a MODEM (MODEM) of the terminal device, and the MODEM executes a task of activating the SIM Card when receiving the SIM Card activating command. Obviously, in the process of issuing the command for activating the SIM card by the AP, an information interaction process between the AP and the MODEM is required, and the information interaction process invisibly prolongs the activation time of the SIM card; after the SIM card is activated, the smart phone can search for a network, and therefore, the longer the SIM card is activated, the longer the smart phone can find the network after the smart phone is plugged in or turned on. In addition, in the information interaction process of the AP and the MODEM, if an error occurs in the information interaction, the situation that the SIM card cannot be normally activated occurs, which greatly reduces the user experience and the market competitiveness of the smart phone.
In summary, in the manner of activating the subscriber identity module card inserted in the smart phone in the prior art, since an information interaction process between the AP and the MODEM in the smart phone is required, a time for activating the subscriber identity module card is long, and if an error occurs in the information interaction between the AP and the MODEM in the smart phone, a situation that the subscriber identity module card cannot be normally activated is caused, which greatly reduces user experience and market competitiveness of the smart phone.
Disclosure of Invention
In order to solve the above technical problems, embodiments of the present invention provide an apparatus and a method for activating a subscriber identity module card, so as to solve the problems that in the prior art, in a manner of activating a subscriber identity module card inserted in a smart phone, since an information interaction process between an AP and a MODEM in the smart phone is required, a time for activating the subscriber identity module card is long, and the subscriber identity module card may not be normally activated.
The embodiment of the invention provides an activation device of a user identification card, which comprises: the device is arranged in a MODEM MODEM of the terminal equipment, and comprises:
the acquisition module is used for acquiring activation card information from a user identification card inserted into the terminal equipment;
and the activation module is used for activating the subscriber identity module card according to the activation card information acquired by the acquisition module.
Optionally, the apparatus for activating a subscriber identity card as described above further includes:
and the sending module is used for sending a card insertion interrupt message to the obtaining module before the obtaining module obtains the activation card information from the user identification card and when the general purpose input output GPIO of the terminal equipment detects that the user identification card is inserted into the terminal equipment.
Optionally, in the apparatus for activating a subscriber identity module as described above, the obtaining module includes a subscriber card driving unit and a multi-mode universal subscriber identity module SIM driver interface MMGSDI unit; the acquisition module is used for acquiring the activation card information from the subscriber identification card, and comprises:
the user card driving unit is used for sending a card in-place message to the MMGSDI unit according to the received card insertion interrupt message;
and the MMGSDI unit is used for acquiring the activation card information from the subscriber identity card inserted into the terminal equipment according to the received card in-place message.
Optionally, in the apparatus for activating a subscriber identity card as described above, the activation card information includes ic id information of the subscriber identity card, and the subscriber identity card includes a first subscriber identity card and a second subscriber identity card;
the MMGSDI unit is further configured to set a primary card and a secondary card according to the ICCID information of the first subscriber identity card and the ICCID information of the second subscriber identity card before the activation module activates the subscriber identity card.
Optionally, in the apparatus for activating a subscriber identity card as described above, the MMGSDI unit is configured to set a primary card and a secondary card according to the ICCID information of the first subscriber identity card and the ICCID information of the second subscriber identity card, and includes:
judging whether the first user identification card and the second user identification card are cards of preset types or not;
when one of the subscriber identity modules is judged to be the card of the preset type and the other subscriber identity module is not judged to be the card of the preset type, setting the subscriber identity module which is judged to be the card of the preset type as a main card and setting the other subscriber identity module as an auxiliary card;
when the first user identification card and the second user identification card are judged to be the cards of the preset type, setting a main card and an auxiliary card according to the card slot where each user identification card is located;
when the first user identification card and the second user identification card are judged not to be the cards of the preset type, judging whether the terminal equipment is a first card inserting; when the terminal equipment is judged to be the first card insertion, setting a main card and an auxiliary card according to the card slot in which each user identification card is positioned; and when the terminal equipment is judged not to be the first card insertion, setting a main card and an auxiliary card according to a main and auxiliary card setting rule stored in the terminal equipment.
The embodiment of the invention provides an activation method of a user identification card, which comprises the following steps:
a MODEM MODEM of terminal equipment acquires activation card information from a subscriber identity module card inserted into the terminal equipment;
and the MODEM activates the subscriber identity module card according to the acquired activation card information.
Optionally, in the method for activating a subscriber identity card as described above, before the MODEM of the terminal device obtains activation card information from the subscriber identity card, the method further includes:
and when detecting that the user identification card is inserted into the terminal equipment, the general purpose input output GPIO of the terminal equipment sends a card insertion interrupt message to the MODEM.
Optionally, in the method for activating a subscriber identity module card as described above, the MODEM includes a subscriber card driver unit and a multi-mode universal subscriber identity module SIM driver interface MMGSDI unit; the MODEM of the terminal equipment acquires the activation card information from the subscriber identity module card, and the method comprises the following steps:
the user card driving unit sends a card in-place message to the MMGSDI unit according to the received card insertion interrupt message;
and the MMGSDI unit acquires the activation card information from the subscriber identity card inserted into the terminal equipment according to the received card in-place message.
Optionally, in the method for activating a subscriber identity card as described above, the activation card information includes ic id information of the subscriber identity card, the subscriber identity card includes a first subscriber identity card and a second subscriber identity card, and before the MODEM activates the subscriber identity card, the method further includes:
and the MMGSDI unit sets a main card and an auxiliary card according to the ICCID information of the first user identification card and the ICCID information of the second user identification card.
Optionally, in the method for activating a subscriber identity card as described above, the setting, by the MMGSDI unit, a primary card and a secondary card according to the ICCID information of the first subscriber identity card and the ICCID information of the second subscriber identity card includes:
the MMGSDI unit judges whether the first user identification card and the second user identification card are cards of preset types or not;
when the MMGSDI unit judges that one subscriber identification card is the card of the preset type and the other subscriber identification card is not the card of the preset type, setting the subscriber identification card of the card judged to be the preset type as a main card and setting the other subscriber identification card as an auxiliary card;
when the MMGSDI unit judges that the first subscriber identity card and the second subscriber identity card are both the cards of the preset type, setting a main card and an auxiliary card according to the card slot in which each subscriber identity card is located;
when the MMGSDI unit judges that the first subscriber identity module card and the second subscriber identity module card are not the cards of the preset type, judging whether the terminal equipment is a first card inserting; when the MMGSDI unit judges that the terminal equipment is the first plug-in card, setting a main card and an auxiliary card according to a card slot in which each subscriber identity module card is located; and when the MMGSDI unit judges that the terminal equipment is not the first plug-in card, setting a main card and an auxiliary card according to a main and auxiliary card setting rule stored in the terminal equipment.
According to the activation device and method for the subscriber identity module card, the activation card information is acquired from the subscriber identity module card through the acquisition module, and the subscriber identity module card is activated through the activation module according to the activation card information acquired by the acquisition module; that is, the embodiment solves the problems that in the prior art, the time for activating the subscriber identity module card is long and the subscriber identity module card may not be normally activated due to the need of the information interaction process between the AP and the MODEM in the smart phone in the manner of activating the subscriber identity module card inserted in the smart phone, and accordingly, the user experience and the market competitiveness of the terminal device are improved.
Drawings
The accompanying drawings are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the example serve to explain the principles of the invention and not to limit the invention.
Fig. 1 is a schematic hardware structure of an alternative mobile terminal for implementing various embodiments of the present invention;
FIG. 2 depicts a communication system in which a mobile terminal according to the present invention is capable of operating;
fig. 3 is a schematic structural diagram of an activation device of a subscriber identity card according to an embodiment of the present invention;
fig. 4 is a flowchart illustrating a method for activating a subscriber identity card of a smart phone according to the prior art;
FIG. 5 is a schematic structural diagram of another activation apparatus for a subscriber identity card according to an embodiment of the present invention;
fig. 6 is a flowchart of an activation method of a subscriber identity card according to an embodiment of the present invention;
fig. 7 is a flowchart of another method for activating a subscriber identity card according to an embodiment of the present invention;
fig. 8 is a flowchart of another method for activating a subscriber identity card according to an embodiment of the present invention.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
A mobile terminal implementing various embodiments of the present invention will now be described with reference to the accompanying drawings. In the following description, suffixes used to represent elements such as "module", "means", or "unit" are used only for the convenience of description of the present invention, and have no specific meaning in themselves. Thus, "module" and "component" may be used in a mixture.
The mobile terminal may be implemented in various forms. For example, the terminal described in the present invention may include a mobile terminal such as a mobile phone, a smart phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a navigation device, and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. In the following, it is assumed that the terminal is a mobile terminal. However, it will be understood by those skilled in the art that the configuration according to the embodiment of the present invention can be applied to a fixed type terminal in addition to elements particularly used for moving purposes.
Fig. 1 is a schematic hardware structure of an optional mobile terminal for implementing various embodiments of the present invention.
The mobile terminal 100 may include a wireless communication unit 110, an a/V (audio/video) input unit 120, a user input unit 130, a sensing unit 140, an output unit 150, a memory 160, an interface unit 170, a controller 180, and a power supply unit 190, etc. Fig. 1 illustrates a mobile terminal having various components, but it is to be understood that not all illustrated components are required to be implemented. More or fewer components may alternatively be implemented. Elements of the mobile terminal will be described in detail below.
The wireless communication unit 110 typically includes one or more components that allow radio communication between the mobile terminal 100 and a wireless communication system or network. For example, the wireless communication unit may include at least one of a broadcast receiving module 111, a mobile communication module 112, a wireless internet module 113, a short-range communication module 114, and a location information module 115.
The broadcast receiving module 111 receives a broadcast signal and/or broadcast associated information from an external broadcast management server via a broadcast channel. The broadcast channel may include a satellite channel and/or a terrestrial channel. The broadcast management server may be a server that generates and transmits a broadcast signal and/or broadcast associated information or a server that receives a previously generated broadcast signal and/or broadcast associated information and transmits it to a terminal. The broadcast signal may include a TV broadcast signal, a radio broadcast signal, a data broadcast signal, and the like. Also, the broadcast signal may further include a broadcast signal combined with a TV or radio broadcast signal. The broadcast associated information may also be provided via a mobile communication network, and in this case, the broadcast associated information may be received by the mobile communication module 112. The broadcast signal may exist in various forms, for example, it may exist in the form of an Electronic Program Guide (EPG) of Digital Multimedia Broadcasting (DMB), an Electronic Service Guide (ESG) of digital video broadcasting-handheld (DVB-H), and the like. The broadcast receiving module 111 may receive a signal broadcast by using various types of broadcasting systems. In particular, the broadcast receiving module 111 may receive digital broadcasting by using a digital broadcasting system such as a data broadcasting system of multimedia broadcasting-terrestrial (DMB-T), digital multimedia broadcasting-satellite (DMB-S), digital video broadcasting-handheld (DVB-H), forward link media (MediaFLO @), terrestrial digital broadcasting integrated service (ISDB-T), and the like. The broadcast receiving module 111 may be constructed to be suitable for various broadcasting systems that provide broadcast signals as well as the above-mentioned digital broadcasting systems. The broadcast signal and/or broadcast associated information received via the broadcast receiving module 111 may be stored in the memory 160 (or other type of storage medium).
The mobile communication module 112 transmits and/or receives radio signals to and/or from at least one of a base station (e.g., access point, node B, etc.), an external terminal, and a server. Such radio signals may include voice call signals, video call signals, or various types of data transmitted and/or received according to text and/or multimedia messages.
The wireless internet module 113 supports wireless internet access of the mobile terminal. The module may be internally or externally coupled to the terminal. The wireless internet access technology to which the module relates may include WLAN (wireless LAN) (Wi-Fi), Wibro (wireless broadband), Wimax (worldwide interoperability for microwave access), HSDPA (high speed downlink packet access), and the like.
The short-range communication module 114 is a module for supporting short-range communication. Some examples of short-range communication technologies include bluetooth (TM), Radio Frequency Identification (RFID), infrared data association (IrDA), Ultra Wideband (UWB), zigbee (TM), and the like.
The location information module 115 is a module for checking or acquiring location information of the mobile terminal. A typical example of the location information module is a GPS (global positioning system). According to the current technology, the GPS module 115 calculates distance information and accurate time information from three or more satellites and applies triangulation to the calculated information, thereby accurately calculating three-dimensional current location information according to longitude, latitude, and altitude. Currently, a method for calculating position and time information uses three satellites and corrects an error of the calculated position and time information by using another satellite. In addition, the GPS module 115 can calculate speed information by continuously calculating current position information in real time.
The a/V input unit 120 is used to receive an audio or video signal. The a/V input unit 120 may include a camera 121 and a microphone 1220, and the camera 121 processes image data of still pictures or video obtained by an image capturing apparatus in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display module 151. The image frames processed by the cameras 121 may be stored in the memory 160 (or other storage medium) or transmitted via the wireless communication unit 110, and two or more cameras 121 may be provided according to the construction of the mobile terminal. The microphone 122 may receive sounds (audio data) via the microphone in a phone call mode, a recording mode, a voice recognition mode, or the like, and can process such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the mobile communication module 112 in case of a phone call mode. The microphone 122 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
The user input unit 130 may generate key input data according to a command input by a user to control various operations of the mobile terminal. The user input unit 130 allows a user to input various types of information, and may include a keyboard, dome sheet, touch pad (e.g., a touch-sensitive member that detects changes in resistance, pressure, capacitance, and the like due to being touched), scroll wheel, joystick, and the like. In particular, when the touch pad is superimposed on the display module 151 in the form of a layer, a touch screen may be formed.
The sensing unit 140 detects a current state of the mobile terminal 100 (e.g., an open or closed state of the mobile terminal 100), a position of the mobile terminal 100, presence or absence of contact (i.e., touch input) by a user with the mobile terminal 100, an orientation of the mobile terminal 100, acceleration or deceleration movement and direction of the mobile terminal 100, and the like, and generates a command or signal for controlling an operation of the mobile terminal 100. For example, when the mobile terminal 100 is implemented as a slide-type mobile phone, the sensing unit 140 may sense whether the slide-type phone is opened or closed. In addition, the sensing unit 140 can detect whether the power supply unit 190 supplies power or whether the interface unit 170 is coupled with an external device.
The interface unit 170 serves as an interface through which at least one external device is connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The identification module may store various information for authenticating a user using the mobile terminal 100 and may include a User Identity Module (UIM), a Subscriber Identity Module (SIM), a Universal Subscriber Identity Module (USIM), and the like. In addition, a device having an identification module (hereinafter, referred to as an "identification device") may take the form of a smart card, and thus, the identification device may be connected with the mobile terminal 100 via a port or other connection means. The interface unit 170 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal and the external device.
In addition, when the mobile terminal 100 is connected with an external cradle, the interface unit 170 may serve as a path through which power is supplied from the cradle to the mobile terminal 100 or may serve as a path through which various command signals input from the cradle are transmitted to the mobile terminal. Various command signals or power input from the cradle may be used as signals for recognizing whether the mobile terminal is accurately mounted on the cradle. The output unit 150 is configured to provide output signals (e.g., audio signals, video signals, alarm signals, vibration signals, etc.) in a visual, audio, and/or tactile manner. The output unit 150 may include a display module 151, an audio output module 152, an alarm module 153, and the like.
The display module 151 may display information processed in the mobile terminal 100. For example, when the mobile terminal 100 is in a phone call mode, the display module 151 may display a User Interface (UI) or a Graphical User Interface (GUI) related to a call or other communication (e.g., text messaging, multimedia file downloading, etc.). When the mobile terminal 100 is in a video call mode or an image capturing mode, the display module 151 may display a captured image and/or a received image, a UI or GUI showing a video or an image and related functions, and the like.
Meanwhile, when the display module 151 and the touch pad are stacked on each other in the form of layers to form a touch screen, the display module 151 may serve as an input device and an output device. The display module 151 may include at least one of a Liquid Crystal Display (LCD), a thin film transistor LCD (TFT-LCD), an Organic Light Emitting Diode (OLED) display, a flexible display, a three-dimensional (3D) display, and the like. Some of these displays may be configured to be transparent to allow a user to view from the outside, which may be referred to as transparent displays, and a typical transparent display may be, for example, a TOLED (transparent organic light emitting diode) display or the like. Depending on the particular desired implementation, the mobile terminal 100 may include two or more display units (or other display devices), for example, the mobile terminal may include an external display unit (not shown) and an internal display unit (not shown). The touch screen may be used to detect a touch input pressure as well as a touch input position and a touch input area.
The audio output module 152 may convert audio data received by the wireless communication unit 110 or stored in the memory 160 into an audio signal and output as sound when the mobile terminal is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output module 152 may provide audio output related to a specific function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output module 152 may include a speaker, a buzzer, and the like.
The alarm module 153 may provide an output to notify the mobile terminal 100 of the occurrence of an event. Typical events may include call reception, message reception, key signal input, touch input, and the like. In addition to audio or video output, the alarm module 153 may provide output in different ways to notify the occurrence of an event. For example, the alarm module 153 may provide an output in the form of a vibration, and when a call, a message, or some other incoming communication (incomingmunication) is received, the alarm module 153 may provide a tactile output (i.e., a vibration) to inform the user thereof. By providing such a tactile output, the user can recognize the occurrence of various events even when the user's mobile phone is in the user's pocket. The alarm module 153 may also provide an output notifying the occurrence of an event via the display module 151 or the audio output module 152.
The memory 160 may store software programs and the like for processing and controlling operations performed by the controller 180, or may temporarily store data (e.g., a phonebook, messages, still images, videos, and the like) that has been or will be output. Also, the memory 160 may store data regarding various ways of vibration and audio signals output when a touch is applied to the touch screen.
The memory 160 may include at least one type of storage medium including a flash memory, a hard disk, a multimedia card, a card-type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, and the like. Also, the mobile terminal 100 may cooperate with a network storage device that performs a storage function of the memory 160 through a network connection.
The controller 180 generally controls the overall operation of the mobile terminal. For example, the controller 180 performs control and processing related to voice calls, data communications, video calls, and the like. In addition, the controller 180 may include a multimedia module 181 for reproducing (or playing back) multimedia data, and the multimedia module 181 may be constructed within the controller 180 or may be constructed separately from the controller 180. The controller 180 may perform a pattern recognition process to recognize a handwriting input or a picture drawing input performed on the touch screen as a character or an image.
The power supply unit 190 receives external power or internal power and provides appropriate power required to operate various elements and components under the control of the controller 180.
The various embodiments described herein may be implemented in a computer-readable medium using, for example, computer software, hardware, or any combination thereof. For a hardware implementation, the embodiments described herein may be implemented using at least one of an Application Specific Integrated Circuit (ASIC), a Digital Signal Processor (DSP), a Digital Signal Processing Device (DSPD), a Programmable Logic Device (PLD), a Field Programmable Gate Array (FPGA), a processor, a controller, a microcontroller, a microprocessor, an electronic unit designed to perform the functions described herein, and in some cases, such embodiments may be implemented in the controller 180. For a software implementation, the implementation such as a process or a function may be implemented with a separate software module that allows performing at least one function or operation. The software codes may be implemented by software applications (or programs) written in any suitable programming language, which may be stored in the memory 160 and executed by the controller 180.
Up to this point, mobile terminals have been described in terms of their functionality. Hereinafter, a slide-type mobile terminal among various types of mobile terminals, such as a folder-type, bar-type, swing-type, slide-type mobile terminal, and the like, will be described as an example for the sake of brevity. Accordingly, the present invention can be applied to any type of mobile terminal, and is not limited to a slide type mobile terminal.
The mobile terminal 100 as shown in fig. 1 may be configured to operate with communication systems such as wired and wireless communication systems and satellite-based communication systems that transmit data via frames or packets.
A communication system in which a mobile terminal according to the present invention is operable will now be described with reference to fig. 2.
Such communication systems may use different air interfaces and/or physical layers. For example, the air interface used by the communication system includes, for example, Frequency Division Multiple Access (FDMA), Time Division Multiple Access (TDMA), Code Division Multiple Access (CDMA), and Universal Mobile Telecommunications System (UMTS) (in particular, Long Term Evolution (LTE)), global system for mobile communications (GSM), and the like. By way of non-limiting example, the following description relates to a CDMA communication system, but such teachings are equally applicable to other types of systems.
Referring to fig. 2, the CDMA wireless communication system may include a plurality of mobile terminals 100, a plurality of Base Stations (BSs) 270, Base Station Controllers (BSCs) 275, and a Mobile Switching Center (MSC) 280. The MSC280 is configured to interface with a Public Switched Telephone Network (PSTN) 290. The MSC280 is also configured to interface with a BSC275, which may be coupled to the base station 270 via a backhaul. The backhaul may be constructed according to any of several known interfaces including, for example, E1/T1, ATM, IP, PPP, frame Relay, HDSL, ADSL, or xDSL. It will be understood that a system as shown in fig. 2 may include multiple BSCs 2750.
Each BS270 may serve one or more sectors (or regions), each sector covered by a multi-directional antenna or an antenna pointing in a particular direction being radially distant from the BS 270. Alternatively, each partition may be covered by two or more antennas for diversity reception. Each BS270 may be configured to support multiple frequency allocations, with each frequency allocation having a particular frequency spectrum (e.g., 1.25MHz,5MHz, etc.).
The intersection of partitions with frequency allocations may be referred to as a CDMA channel. The BS270 may also be referred to as a Base Transceiver Subsystem (BTS) or other equivalent terminology. In such a case, the term "base station" may be used to generically refer to a single BSC275 and at least one BS 270. The base stations may also be referred to as "cells". Alternatively, each sector of a particular BS270 may be referred to as a plurality of cell sites.
As shown in fig. 2, a Broadcast Transmitter (BT)295 transmits a broadcast signal to the mobile terminal 100 operating within the system. A broadcast receiving module 111 as shown in fig. 1 is provided at the mobile terminal 100 to receive a broadcast signal transmitted by the BT 295. In fig. 2, several Global Positioning System (GPS) satellites 300 are shown. The satellite 300 assists in locating at least one of the plurality of mobile terminals 100.
In fig. 2, a plurality of satellites 300 are depicted, but it is understood that useful positioning information may be obtained with any number of satellites. The GPS module 115 as shown in fig. 1 is generally configured to cooperate with satellites 300 to obtain desired positioning information. Other techniques that can track the location of the mobile terminal may be used instead of or in addition to GPS tracking techniques. In addition, at least one GPS satellite 300 may selectively or additionally process satellite DMB transmission.
As a typical operation of the wireless communication system, the BS270 receives reverse link signals from various mobile terminals 100. The mobile terminal 100 is generally engaged in conversations, messaging, and other types of communications. Each reverse link signal received by a particular base station 270 is processed within the particular BS 270. The obtained data is forwarded to the associated BSC 275. The BSC provides call resource allocation and mobility management functions including coordination of soft handoff procedures between BSs 270. The BSCs 275 also route the received data to the MSC280, which provides additional routing services for interfacing with the PSTN 290. Similarly, the PSTN290 interfaces with the MSC280, the MSC interfaces with the BSCs 275, and the BSCs 275 accordingly control the BS270 to transmit forward link signals to the mobile terminal 100.
Based on the above mobile terminal hardware structure and communication system, various embodiments of the apparatus and method of the present invention are proposed. In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that the embodiments and features of the embodiments in the present application may be arbitrarily combined with each other without conflict.
The steps illustrated in the flow charts of the figures may be performed in a computer system such as a set of computer-executable instructions. Also, while a logical order is shown in the flow diagrams, in some cases, the steps shown or described may be performed in an order different than here.
The technical solution of the present invention is described in detail below with specific embodiments, and the terminal device in the following embodiments of the present invention may be an intelligent terminal, such as a smart phone, a Personal Digital Assistant (PDA), a tablet computer, or the like. The following specific embodiments of the present invention may be combined, and the same or similar concepts or processes may not be described in detail in some embodiments.
Fig. 3 is a schematic structural diagram of an activation device of a subscriber identity card according to an embodiment of the present invention. The activation device for the subscriber identity module card provided in this embodiment is suitable for a case where the terminal device activates the inserted subscriber identity module card, and the activation device for the subscriber identity module card is usually implemented by a method combining hardware and software, and the activation device may be integrated in a MODEM of the terminal device and may be called by a controller. As shown in fig. 3, the activation device for a subscriber identity card provided in this embodiment may include: an acquisition module 10 and an activation module 20.
The obtaining module 10 is configured to obtain the activation card information from the subscriber identity card inserted into the terminal device.
The activation device of the subscriber Identity Module provided in the embodiments of the present invention provides a manner of activating the subscriber Identity Module through a MODEM side, and the subscriber Identity Module described in the embodiments of the present invention may be, for example, a SIM card, a User Identity Module (UIM) card, a Universal Subscriber Identity Module (USIM) card, or an International Mobile Subscriber Identity (IMSI) card; in addition, the operator of the subscriber identity module card may be, for example, a china telecom, china unicom, china mobile, or other operators.
It should be noted that the subscriber identity module card in the embodiment of the present invention may be not only an SIM card or a UIM card inserted into a smart phone, but also an internet access card inserted into a tablet computer or a personal digital assistant, and an internet access card externally connected to a notebook computer; the embodiment of the present invention does not limit the type of the subscriber identity module, and any subscriber identity module that can be inserted into the terminal device, activated by the terminal device under the condition of communication support, and performs network communication may be the subscriber identity module in the embodiment of the present invention.
In this embodiment of the present invention, the activation card information that the obtaining module 10 may obtain from the subscriber identity card may include: ICCID information, application type information and application ID information of a subscriber identification card inserted into the terminal device. The ICCID information is a unique identification number of a user identification card, the current ICCID information is usually 20 digits, and the coding format is as follows: XXXXXXMFSS YYGXX xxxxxxxx, the first six bits represent the carrier code, for example, for chinese moves: 898600, 898602, China Unicom: 898601, 898609, china telecom 898603, 898606. In addition, the application TYPE information is APP _ TYPE, for example, the application ID information is APP _ ID, for example, whether the subscriber identity card is a SIM card, a UIM card, or a USIM card can be known from APP _ TYPE; since the user identification card has a file structure and parameter information, parameters and the like in the user identification card can be called through the APP _ ID.
And an activation module 20, configured to activate the subscriber identity card according to the activation card information acquired by the acquisition module 10.
In this embodiment, in the MODEM built in the terminal device, the activation module 20 may activate the subscriber identity module card inserted into the terminal device according to the activation card information acquired by the acquisition module 10; the card activation method can be the activation method in the prior art, and therefore, the details are not described herein.
In the above background art, a method for activating a subscriber identity module card inserted in a smart phone in the prior art has been introduced, the method requires an information interaction process between an AP and a MODEM in the smart phone, and the following specifically introduces the above interaction process, as shown in fig. 4, which is a flowchart of a method for activating a subscriber identity module card of a smart phone in the prior art, where the subscriber identity module card in the method is, for example, a SIM card, and the activation method in the prior art includes the following steps, i.e., S101 to S109:
s101, SIM card hardware sends a card insertion event message (for example: card _ insert _ evt) to MODEM; after a hardware General Purpose Input/Output (GPIO) pin detects that the SIM card is inserted into a card slot of the smart phone, a card insertion event message is sent to the MODEM.
S102, after receiving the card insertion event message, the MODEM sends a card status indication message (for example, uim _ status _ change _ ind) to the AP, where the message is used to report information such as the presence of the SIM card, APP _ TYPE and APP _ ID in the SIM card to the AP.
S103, after receiving the card state indication message, the AP indicates the MODEM to acquire the ICCID information of the SIM card;
s104, the MODEM acquires the ICCID information from the SIM card according to the indication of the AP;
s105, the MODEM sends the obtained ICCID information of the SIM card to the AP;
s106, the AP judges the type of the SIM card according to the ICCID information of the SIM card, such as China telecom or China Mobile, and can set a main card and an auxiliary card according to the ICCID information under the condition of multiple cards;
s107, the AP sends an activate card command (for example, active _ card _ cmd) to the MODEM;
s108, the MODEM activates the SIM card according to the received card activating command;
s109, after completing the SIM card activation, the MODEM sends an activate card complete message (for example, active _ card _ complete) to the AP, indicating that the card activation is completed.
After the smart phone executes the above-mentioned process, that is, after the SIM card is successfully activated, the smart phone can initiate a network registration search process, thereby acquiring network services. Obviously, in the prior art, the information interaction process between the AP and the MODEM makes the time for activating the subscriber identity module longer; if in the interaction process, the information interaction between the AP and the MODEM in the smart phone is wrong, the situation that the subscriber identity module card cannot be normally activated may also be caused.
Based on the technical problems in the prior art, the activation device for the subscriber identity module card in the embodiment of the present invention is disposed in the MODEM of the terminal device, and the MODEM directly executes the process of activating the subscriber identity module card, so that the information interaction process between the MODEM and the AP is omitted, and the time required for activating the subscriber identity module card is shortened, thereby indirectly enabling the speed of finding a network of the intelligent terminal to be faster, and providing better user experience. Through practical tests, the technical scheme for directly activating the subscriber identity module card by using the MODEM provided by the embodiment of the invention can save the activation time of 3-5 seconds(s) compared with the scheme for activating the subscriber identity module card by using the information interaction mode of the AP and the MODEM in the prior art. For the activation scheme that the AP issues the activation card command in the high-pass platform, considering that the memory space of the MODEM is small, if the MODEM needs to complete the whole process of activating the subscriber identity module card, some information required for activating the subscriber identity module card and software and hardware configuration required for activating the subscriber identity module card need to be stored in the MODEM, so that the memory shortage of the MODEM is easily caused. However, with the continuous progress and development of chip technology, a MODEM with a larger memory can be designed, the embodiment of the invention combines the technical problem of activating the subscriber identity module in the prior art and the improvement of the storage performance of the MODEM, and provides a technical scheme for completing the activation of the subscriber identity module by the MODEM, aiming at the limitation of activating the subscriber identity module by the smart phone in the prior art, the activation device of the subscriber identity module provided by the embodiment of the invention directly executes the process of activating the subscriber identity module by the MODEM, saves the information interaction process of the AP and the MODEM, not only greatly shortens the time required for activating the subscriber identity module, accelerates the speed of finding a network when the terminal equipment is started or inserting the card into the network, improves the efficiency of obtaining network services by the terminal equipment, and effectively avoids the condition that the subscriber identity module cannot be normally activated due to the error information interaction between the AP and the MODEM, the intelligent level of the terminal equipment is improved, and the user experience and the market competitiveness of the terminal equipment are improved.
According to the activation device for the subscriber identity module card, the acquisition module acquires the information of the activation card from the subscriber identity module card, and the activation module activates the subscriber identity module card according to the information of the activation card acquired by the acquisition module; that is, the embodiment solves the problems that in the prior art, the time for activating the subscriber identity module card is long and the subscriber identity module card may not be normally activated due to the need of the information interaction process between the AP and the MODEM in the smart phone in the manner of activating the subscriber identity module card inserted in the smart phone, and accordingly, the user experience and the market competitiveness of the terminal device are improved.
Optionally, fig. 5 is a schematic structural diagram of another activation device for a subscriber identity card according to an embodiment of the present invention. On the basis of the structure of the activation device of the subscriber identity card shown in fig. 3, the device provided in this embodiment further includes:
a sending module 30, configured to send a card insertion interrupt message to the obtaining module 10 before the obtaining module 10 obtains the activation card information from the user identification card and when the GPIO of the terminal device detects that the user identification card is inserted into the terminal device.
In this embodiment, a Subscriber Identity Module (SIM) card is taken as an example for explanation, when a subscriber inserts the SIM card into a terminal device, a GPIO pin detects that a new card is inserted, and at this time, the sending module 30 may send a card insertion interrupt message (for example, card _ insert _ interrupt) to the obtaining module 10; the card insertion interrupt message may indicate which card slot of the terminal device has the SIM card inserted, for example, the terminal device has card slot 1(slot1) and card slot 2(slot2), the SIM card 1 is inserted into card slot1, the SIM card is not inserted into card slot2, and at this time, the card insertion interrupt message indicates that the SIM card is inserted into card slot1 of the terminal device.
In an embodiment of the present invention, the obtaining module 10 may include a user card driving unit 11 and a multi-mode Generic SIM Driver Interface (MMGSDI) unit 12, where the user card driving unit 11 is, for example, a UIM _ dark unit.
In this embodiment, the sending module 30 specifically sends a card insertion interrupt message to the user card driving unit 11, that is, the implementation manner of the obtaining module 10 for obtaining the activation card information from the user identification card includes:
a user card driving unit 11, configured to send a card in-place message to the MMGSDI unit according to the received card insertion interrupt message, where the card in-place message also indicates which card slot has the SIM card inserted;
the MMGSDI unit 12 is configured to obtain the activated card information from the subscriber identity card inserted into the terminal device according to the received card location message.
The activation card information in this embodiment also includes the ICCID information, the application type information, and the application ID information of the subscriber identity card, and the functions of these pieces of information have been described in the above embodiments, and therefore, are not described herein again.
Optionally, in the embodiment of the present invention, if two or more subscriber identity cards are inserted into the terminal device, the MODEM needs to perform a task of setting the primary and secondary cards, which is shown in this embodiment by taking as an example that the subscriber identity cards include a first subscriber identity card and a second subscriber identity card, for example, the first subscriber identity card is an SIM card 1 inserted into the card slot1, and the second subscriber identity card is an SIM card 2 inserted into the card slot 2; the MMGSDI unit 12 in this embodiment is further configured to set a primary card and a secondary card according to the ICCID information of the first subscriber identity card and the ICCID information of the second subscriber identity card before the activation module 20 activates the subscriber identity cards.
In practical applications, the MMGSDI unit 12 may set the primary card and the secondary card in the following manner:
1) and judging whether the first user identification card and the second user identification card are the preset types of cards.
For example, if the card of the preset type can be set as a telecommunication card, the MMGSDI unit 12 determines whether the SIM card 1 is a telecommunication card according to ICCID _ slot1, and determines whether the SIM card 2 is a telecommunication card according to ICCID _ slot 2; the preset type of card may also be configured as a unicom card or a mobile card.
2) And when one of the subscriber identity modules is judged to be the card of the preset type and the other subscriber identity module is not the card of the preset type, setting the subscriber identity module of the card judged to be the preset type as a main card and setting the other subscriber identity module as an auxiliary card.
For example, if the SIM card 1 is determined to be a telecommunication card and the SIM card 2 is not determined to be a telecommunication card, the SIM card 1 is set as a primary card and the SIM card 2 is set as a secondary card; if the SIM card 1 is judged not to be a telecommunication card and the SIM card 2 is judged to be a telecommunication card, the SIM card 2 is set as a main card, and the SIM card 1 is set as an auxiliary card.
3) When the first user identification card and the second user identification card are judged to be the cards of the preset type, setting a main card and an auxiliary card according to the card slot where each user identification card is located; namely, the primary card and the secondary card are arranged according to the card slot1 of the SIM card 1 and the card slot2 of the SIM card 2.
When the preset type of card is a link card or a mobile card, and the SIM card 1 and the SIM card 2 are both the preset type of card, the SIM card (i.e. SIM card 1) in the card slot1 may be designated as a primary card, the SIM card (i.e. SIM card 2) in the card slot2 may be designated as a secondary card, and then, the SIM card 1 and the SIM card 2 are activated; alternatively, the rule of setting the primary card and the secondary card may also be changed according to the user's setting.
It should be noted that, when the preset type card is a telecommunication card, because the main card is bound to the main _ stack, only the main _ stack can support a Code Division Multiple Access (CDMA) system, that is, the current dual-card smart phone cannot support two telecommunication cards temporarily, so that only the main card (for example, the SIM card 1) is activated and the sub card (for example, the SIM card 2) is not activated when the subscriber identity card is activated.
4) When the first user identification card and the second user identification card are judged not to be the cards of the preset type, whether the terminal equipment is the first card inserting can be further judged; when the terminal equipment is judged to be the first card insertion, setting a main card and an auxiliary card according to the card slot in which each user identification card is positioned; and when the terminal equipment is judged not to be the first card insertion, setting the main card and the auxiliary card according to the main and auxiliary card setting rule stored in the terminal equipment.
If the terminal device is used for the first time, that is, the terminal device inserts a card for the first time, the SIM card 1 inserted into the card slot1 may be set as the primary card by default, the SIM card 2 inserted into the card slot2 may be set as the secondary card by default, or the rule for setting the primary card and the secondary card may be changed according to the setting of the user. If the terminal equipment is not used for the first time, namely the user identification card is inserted before, the main card and the auxiliary card can be set according to the main card and auxiliary card setting rule stored in the terminal equipment; in practical applications, when the terminal device is not the first card, the rule for setting the primary card and the secondary card may be:
for example, the main card and the auxiliary card set when the terminal device is last inserted are: setting an SIM card 1 in a card slot1 as a main card, setting an SIM card 2 in a card slot2 as an auxiliary card, and setting the SIM card 1 and the SIM card 2 as mobile cards; if the SIM card 1 is inserted into the card slot2 and the SIM card 2 is inserted into the card slot1 during the card inserting, the SIM card 1 in the card slot2 is set as a main card and the SIM card 2 in the card slot1 is set as an auxiliary card; if the cards of the card slot1 and the card slot2 that are inserted are not the previous mobile cards (i.e. the SIM card 1 and the SIM card 2) but are the communication cards, for example, the SIM card 3 and the SIM card 4, the SIM card 3 in the card slot1 is set as the primary card, and the SIM card 4 in the card slot2 is set as the secondary card.
In this embodiment, rules for setting the main card and the auxiliary card by the MMGSDI unit 12 are provided, and usually, a preset type of card is used as a basis, and when none of the subscriber identity cards meets the condition of the preset type of card, the main card and the auxiliary card can also be set according to the card insertion state of the terminal device. It should be noted that the embodiment of the present invention does not limit the specific rule for setting the main card and the auxiliary card by the MMGSDI unit 12, and any rule that can satisfy the requirement that the setting rule is configured in the MODEM in a software form and can realize the setting of the main card and the auxiliary card by the MODEM side can be applied to the embodiment of the present invention.
It should be noted that, the setting rule is described by taking only two subscriber identity cards as an example, the subscriber identity card in the embodiment of the present invention may also be one card or three cards, and if the subscriber identity card is one, the main card and the auxiliary card do not need to be set, and the activation card information is obtained and then directly activated.
The embodiment of the invention completely realizes the activation process of the subscriber identity module card by the MODEM, and the judgment and the setting of the main and the auxiliary cards are also realized by the MMGSDI unit 12 in the MODEM, so that the AP does not need to participate in the processes of activating the subscriber identity module card and setting the main and the auxiliary cards, namely, the information interaction process between the MODEM and the AP is saved, the condition that the subscriber identity module card cannot be normally activated due to the information interaction error of the AP and the MODEM is avoided, meanwhile, the time required for activating the subscriber identity module card is greatly shortened, the speed for finding the network or inserting the card when the terminal equipment is started is accelerated, the efficiency for obtaining the network service by the terminal equipment is improved, the intelligent level of the terminal equipment is improved, and the user experience is improved.
Fig. 6 is a flowchart of an activation method of a subscriber identity card according to an embodiment of the present invention. The method for activating the subscriber identity module card provided by the embodiment is suitable for the situation that the terminal device activates the inserted subscriber identity module card, and the method for activating the subscriber identity module card can be executed by the device for activating the subscriber identity module card provided by the embodiment of the invention, the device is usually realized by a method combining hardware and software, and the device can be integrated in a MODEM of the terminal device and can be called and used by a controller. As shown in fig. 6, the method for activating the subscriber identity card of the present embodiment may include the following steps, i.e., S210 to S220:
s210, the MODEM of the terminal equipment acquires the information of the activated card from the subscriber identity module card inserted into the terminal equipment.
The activation method of the subscriber identity module card provided by the embodiment of the invention provides a method for activating the subscriber identity module card through a MODEM side, and the subscriber identity module card described in the embodiment of the invention can be an SIM card, a UIM card, a USIM card or an IMSI card, etc; in addition, the operator of the subscriber identity module card may be, for example, a china telecom, china unicom, china mobile, or other operators.
It should be noted that the subscriber identity module card in the embodiment of the present invention may be not only an SIM card or a UIM card inserted into a smart phone, but also an internet access card inserted into a tablet computer or a personal digital assistant, and an internet access card externally connected to a notebook computer; the embodiment of the present invention does not limit the type of the subscriber identity module, and any subscriber identity module that can be inserted into the terminal device, activated by the terminal device under the condition of communication support, and performs network communication may be the subscriber identity module in the embodiment of the present invention.
In this embodiment of the present invention, the activation card information that the MODEM of the terminal device can obtain from the subscriber identity module card may include: ICCID information, application type information and application ID information of a subscriber identification card inserted into the terminal device. The ICCID information is a unique identification number of a user identification card, the current ICCID information is usually 20 digits, and the coding format is as follows: XXXXXX MFSS YYGXX XXXXXX, the first six bits representing the carrier code. In addition, the application TYPE information is APP _ TYPE, for example, the application ID information is APP _ ID, for example, whether the subscriber identity card is a SIM card, a UIM card, or a USIM card can be known from APP _ TYPE; since the user identification card has a file structure and parameter information, parameters and the like in the user identification card can be called through the APP _ ID.
And S220, the MODEM activates the user identification card according to the acquired activation card information.
In this embodiment, the MODEM built in the terminal device may activate the subscriber identity module card inserted into the terminal device according to the acquired activation card information; the card activation method can be the activation method in the prior art, and therefore, the details are not described herein.
In the above background art, a method for activating a subscriber identity module card inserted in a smart phone in the prior art has been described, which requires an information interaction process between an AP and a MODEM in the smart phone, and in the above embodiments, the information interaction process between the AP and the MODEM has been described in detail, and reference may also be made to the flow shown in fig. 4, so details are not described here.
After the smart phone executes the process shown in fig. 4, that is, after the SIM card is successfully activated, the smart phone can initiate a network registration search process, so as to obtain network services. Obviously, in the prior art, the information interaction process between the AP and the MODEM makes the time for activating the subscriber identity module longer; if in the interaction process, the information interaction between the AP and the MODEM in the smart phone is wrong, the situation that the subscriber identity module card cannot be normally activated may also be caused.
Based on the technical problems in the prior art, in the method for activating the subscriber identity module card in the embodiment of the present invention, the MODEM directly executes the process of activating the subscriber identity module card, so that the information interaction process between the MODEM and the AP is omitted, and the time required for activating the subscriber identity module card is shortened, thereby indirectly enabling the speed of finding the network of the intelligent terminal to be faster, and providing better user experience for the user. Through practical tests, the technical scheme for directly activating the subscriber identity module card by using the MODEM provided by the embodiment of the invention can save the activation time of 3-5 s compared with the scheme for activating the subscriber identity module card by using the information interaction mode of the AP and the MODEM in the prior art. For the activation scheme that the AP issues the activation card command in the high-pass platform, considering that the memory space of the MODEM is small, if the MODEM needs to complete the whole process of activating the subscriber identity module card, some information required for activating the subscriber identity module card and software and hardware configuration required for activating the subscriber identity module card need to be stored in the MODEM, so that the memory shortage of the MODEM is easily caused. However, with the continuous progress and development of chip technology, a MODEM with a larger memory can be designed, the embodiment of the invention combines the technical problem of activating the subscriber identity module in the prior art and the improvement of the storage performance of the MODEM, and provides a technical scheme for completing the activation of the subscriber identity module by the MODEM, aiming at the limitation of activating the subscriber identity module by the smart phone in the prior art, the activation method of the subscriber identity module provided by the embodiment of the invention directly executes the process of activating the subscriber identity module by the MODEM, saves the information interaction process of the AP and the MODEM, not only greatly shortens the time required for activating the subscriber identity module, accelerates the speed of finding a network when the terminal equipment is started or inserting the card into the network, improves the efficiency of obtaining network services by the terminal equipment, and effectively avoids the condition that the subscriber identity module cannot be normally activated due to the error information interaction between the AP and the MODEM, the intelligent level of the terminal equipment is improved, and the user experience and the market competitiveness of the terminal equipment are improved.
According to the method for activating the subscriber identity module card, the MODEM of the terminal equipment acquires the information of the activation card from the subscriber identity module card, and the MODEM activates the subscriber identity module card according to the acquired information of the activation card; that is, the embodiment solves the problems that in the prior art, the time for activating the subscriber identity module card is long and the subscriber identity module card may not be normally activated due to the need of the information interaction process between the AP and the MODEM in the smart phone in the manner of activating the subscriber identity module card inserted in the smart phone, and accordingly, the user experience and the market competitiveness of the terminal device are improved.
Optionally, fig. 7 is a flowchart of another method for activating a subscriber identity card according to an embodiment of the present invention. On the basis of the method for activating the subscriber identity card shown in fig. 6, before S210, the method provided in this embodiment may further include:
s200, when detecting that the user identification card is inserted into the terminal equipment, the GPIO of the terminal equipment sends a card insertion interrupt message to the MODEM.
In this embodiment, also taking the SIM card as the subscriber identity card as an example, when the subscriber inserts the SIM card into the terminal device, the GPIO pin detects that a new card is inserted, and at this time, the GPIO may send a card insertion interrupt message (for example, card _ insert _ interrupt) to the MODEM; the card insertion interrupt message may indicate which card slot of the terminal device has the SIM card inserted, for example, the terminal device has a card slot1 and a card slot2, the SIM card 1 is inserted into the card slot1, and the SIM card is not inserted into the card slot2, and at this time, the card insertion interrupt message indicates that the SIM card is inserted into the card slot1 of the terminal device.
In an embodiment of the present invention, the MODEM may include a subscriber card drive unit, for example, a UIM _ dark unit, and an MMGSDI unit.
In this embodiment, the GPIO specifically sends a card insertion interrupt message to the user card driver unit, that is, in this embodiment, the implementation manner in which the MODEM acquires the activated card information from the user identification card, that is, S210, may include the following steps, that is, S211 to S212:
s211, the user card driving unit sends the card in-place message to the MMGSDI unit according to the received card insertion interrupt message; the card bit message also indicates which card slot has the SIM card inserted;
s212, the MMGSDI unit acquires the information of the activated card from the subscriber identity card inserted into the terminal equipment according to the received card position information.
The activated card information in this embodiment also includes the ICCID information, the application type information, and the application ID information of the subscriber identity card, and the functions of the above information have been described in the above embodiments, and therefore, are not described herein again.
Optionally, in the embodiment of the present invention, if two or more subscriber identity cards are inserted into the terminal device, the MODEM needs to perform a task of setting the primary and secondary cards, which is shown in this embodiment by taking as an example that the subscriber identity cards include a first subscriber identity card and a second subscriber identity card, for example, the first subscriber identity card is an SIM card 1 inserted into the card slot1, and the second subscriber identity card is an SIM card 2 inserted into the card slot 2; before S220, the method provided in this embodiment may further include:
s213, the MMGSDI unit sets the main card and the auxiliary card according to the ICCID information of the first user identification card and the ICCID information of the second user identification card.
S220 in this embodiment may be: and the MMGSDI unit activates the subscriber identity module card according to the acquired activation card information.
In practical application, the MMGSDI unit may set the primary card and the secondary card in the following manner:
1) and the MMGSDI unit judges whether the first user identification card and the second user identification card are preset types of cards or not.
For example, if the card of the preset type can be set as a telecommunication card, the MMGSDI unit determines whether the SIM card 1 is a telecommunication card according to ICCID _ slot1, and determines whether the SIM card 2 is a telecommunication card according to ICCID _ slot 2; the preset type of card may also be configured as a unicom card or a mobile card.
2) And when the MMGSDI unit judges that one of the subscriber identification cards is the preset type card and the other subscriber identification card is not the preset type card, setting the subscriber identification card of the card judged to be the preset type as a main card and setting the other subscriber identification card as a secondary card.
For example, if the SIM card 1 is determined to be a telecommunication card and the SIM card 2 is not determined to be a telecommunication card, the SIM card 1 is set as a primary card and the SIM card 2 is set as a secondary card; if the SIM card 1 is judged not to be a telecommunication card and the SIM card 2 is judged to be a telecommunication card, the SIM card 2 is set as a main card, and the SIM card 1 is set as an auxiliary card.
3) When the MMGSDI unit judges that the first user identification card and the second user identification card are both preset types of cards, setting a main card and an auxiliary card according to a card slot where each user identification card is located; namely, the primary card and the secondary card are arranged according to the card slot1 of the SIM card 1 and the card slot2 of the SIM card 2.
When the preset type of card is a link card or a mobile card, and the SIM card 1 and the SIM card 2 are both the preset type of card, the SIM card (i.e. SIM card 1) in the card slot1 may be designated as a primary card, the SIM card (i.e. SIM card 2) in the card slot2 may be designated as a secondary card, and then, the SIM card 1 and the SIM card 2 are activated; alternatively, the rule of setting the primary card and the secondary card may also be changed according to the user's setting.
It should be noted that, when the preset type card is a telecommunication card, because the main card is bound to the main _ stack, only the main _ stack can support the CDMA system, that is, the current dual-card smart phone cannot support two telecommunication cards temporarily, so that when the subscriber identity card is activated, only the main card (for example, the SIM card 1) is activated, and the sub-card (for example, the SIM card 2) is not activated.
4) When the MMGSDI unit judges that the first user identification card and the second user identification card are not the cards of the preset type, whether the terminal equipment is the first card inserting can be further judged; when the MMGSDI unit judges that the terminal equipment is the first card insertion, a main card and an auxiliary card are arranged according to the card slot where each subscriber identification card is located; and when the MMGSDI unit judges that the terminal equipment is not the first card insertion, setting the main card and the auxiliary card according to the main and auxiliary card setting rule stored in the terminal equipment.
If the terminal device is used for the first time, that is, the terminal device inserts a card for the first time, the SIM card 1 inserted into the card slot1 may be set as the primary card by default, the SIM card 2 inserted into the card slot2 may be set as the secondary card by default, or the rule for setting the primary card and the secondary card may be changed according to the setting of the user. If the terminal equipment is not used for the first time, namely the user identification card is inserted before, the main card and the auxiliary card can be set according to the main card and auxiliary card setting rule stored in the terminal equipment; in practical applications, when the terminal device is not the first card, the rule for setting the primary card and the secondary card may be:
for example, the main card and the auxiliary card set when the terminal device is last inserted are: setting an SIM card 1 in a card slot1 as a main card, setting an SIM card 2 in a card slot2 as an auxiliary card, and setting the SIM card 1 and the SIM card 2 as mobile cards; if the SIM card 1 is inserted into the card slot2 and the SIM card 2 is inserted into the card slot1 during the card inserting, the SIM card 1 in the card slot2 is set as a main card and the SIM card 2 in the card slot1 is set as an auxiliary card; if the cards of the card slot1 and the card slot2 that are inserted are not the previous mobile cards (i.e. the SIM card 1 and the SIM card 2) but are the communication cards, for example, the SIM card 3 and the SIM card 4, the SIM card 3 in the card slot1 is set as the primary card, and the SIM card 4 in the card slot2 is set as the secondary card.
In this embodiment, rules for setting the main card and the auxiliary card by the MMGSDI unit are provided, and the main card and the auxiliary card may be set based on the card insertion state of the terminal device when the subscriber identity module card does not satisfy the conditions of the preset type of card, usually based on the preset type of card. It should be noted that the embodiment of the present invention does not limit the specific rule for setting the main card and the auxiliary card by the MMGSDI unit, and any rule that can satisfy the requirement that the setting rule is configured in the MODEM in a software form and can realize the setting of the main card and the auxiliary card by the MODEM side can be applied to the embodiment of the present invention.
The following describes an implementation of the activation method for the subscriber identity card according to the embodiment of the present invention with an application example.
Optionally, fig. 8 is a flowchart of another method for activating a subscriber identity card according to an embodiment of the present invention. In this embodiment, the subscriber identity cards include a first subscriber identity card and a second subscriber identity card, for example, the first subscriber identity card in this embodiment is a SIM card 1 inserted in a card slot1, and the second subscriber identity card is a SIM2 inserted in a card slot2, and the activation method of the subscriber identity card in this embodiment includes the following steps, i.e., S301 to S313.
S301, when detecting that the SIM card is inserted into the terminal equipment, the GPIO of the terminal equipment sends a card insertion interrupt message to the user card drive unit. The card insertion interrupt message indicates that SIM card 1 is inserted in card slot1 and SIM card 2 is inserted in card slot 2.
S302, the user card driving unit sends a card present message to the MMGSDI unit. The card-in-place message also indicates that SIM card 1 is inserted in card slot1 and SIM card 2 is inserted in card slot 2.
S303, the MMGSDI unit obtains the activated card information from the SIM card 1 and the SIM card 2, respectively. The activation card information may include ICCID information, application type information, and application ID information of each of the SIM card 1 and the SIM card 2. S303 to S313 in this embodiment are all steps executed by the MMGSDI unit.
S304, judging whether the SIM card 1 is a telecommunication card or not according to the ICCID _ slot 1; if the SIM card 1 is determined to be a telecommunication card, S305 is executed; if the SIM card 1 is not the telecommunication card, S309 is executed.
S305, setting the SIM card 1 as a main card.
S306, judging whether the SIM card 2 is a telecommunication card or not according to the ICCID _ slot 2; if the SIM card 2 is determined to be a telecommunication card, S307 is executed; if the SIM card 2 is not the telecommunication card, S308 is executed.
S307, activating the SIM card 1 and not activating the SIM card 2.
S308, SIM card 1 and SIM card 2 are activated.
S309, judging whether the SIM card 2 is a telecommunication card or not according to the ICCID _ slot 2; if the SIM card 2 is determined to be a telecommunication card, S310 is executed; if the SIM card 2 is not the telecommunication card, S311 is executed.
S310, setting the SIM card 2 as a main card. S308 is then performed.
S311, judging whether the terminal equipment is a first card insertion; if the terminal device is judged to be the first card insertion, S312 is executed; if the terminal device is not the first card, S313 is executed.
S312, set the SIM card 1 as the master card. S308 is then performed.
And S313, setting the main card according to the last main card setting rule stored by the terminal equipment. S308 is then performed. In this embodiment, the manner of setting the primary card and the secondary card according to the last primary card setting saved by the terminal device has been described in detail in the above embodiments, and therefore, no further description is given here.
It should be noted that, the setting rule is described by taking only two subscriber identity cards as an example, the subscriber identity card in the embodiment of the present invention may also be one card or three cards, and if the subscriber identity card is one, the main card and the auxiliary card do not need to be set, and the activation card information is obtained and then directly activated.
The embodiment of the invention completely realizes the activation process of the subscriber identity module card by the MODEM, and the judgment and the setting of the main and the auxiliary cards are also realized by the MMGSDI unit in the MODEM, and the AP does not need to participate in the processes of activating the subscriber identity module card and setting the main and the auxiliary cards, namely, the information interaction process between the MODEM and the AP is saved, the condition that the subscriber identity module card cannot be normally activated due to the information interaction error of the AP and the MODEM is avoided, meanwhile, the time required for activating the subscriber identity module card is greatly shortened, the speed for finding the network when the terminal equipment is started or inserting the card is accelerated, the efficiency for obtaining the network service by the terminal equipment is improved, the intelligent level of the terminal equipment is improved, and the user experience is improved.
Although the embodiments of the present invention have been described above, the above description is only for the convenience of understanding the present invention, and is not intended to limit the present invention. It will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (6)

1. An activation device for a subscriber identity card, characterized in that it is provided in a MODEM of a terminal equipment, said device comprising an acquisition module and an activation module,
the acquisition module comprises a user card drive unit and a multi-mode universal subscriber identity module SIM driver interface MMGSDI unit;
the user card driving unit is used for detecting a card insertion interrupt message sent when a user identification card is inserted into the terminal equipment according to a General Purpose Input Output (GPIO) of the terminal equipment, and sending a card in-place message to the MMGSDI unit;
the MMGSDI unit is configured to obtain activation card information from a subscriber identity module card inserted into the terminal device according to the received card presence message, where the activation card information includes: the ICCID information, the application type information and the application ID information of the user identification card;
and the activation module is used for activating the subscriber identity module card according to the activation card information acquired by the acquisition module.
2. The apparatus for activating a subscriber identity card according to claim 1, wherein the subscriber identity card comprises a first subscriber identity card and a second subscriber identity card;
the MMGSDI unit is further configured to set a primary card and a secondary card according to the ICCID information of the first subscriber identity card and the ICCID information of the second subscriber identity card before the activation module activates the subscriber identity card.
3. The apparatus as claimed in claim 2, wherein the MMGSDI unit is configured to set a primary card and a secondary card according to the ICCID information of the first subscriber identity card and the ICCID information of the second subscriber identity card, and comprises:
judging whether the first user identification card and the second user identification card are cards of preset types or not;
when one of the subscriber identity modules is judged to be the card of the preset type and the other subscriber identity module is not judged to be the card of the preset type, setting the subscriber identity module which is judged to be the card of the preset type as a main card and setting the other subscriber identity module as an auxiliary card;
when the first user identification card and the second user identification card are judged to be the cards of the preset type, setting a main card and an auxiliary card according to the card slot where each user identification card is located;
when the first user identification card and the second user identification card are judged not to be the cards of the preset type, judging whether the terminal equipment is a first card inserting; when the terminal equipment is judged to be the first card insertion, setting a main card and an auxiliary card according to the card slot in which each user identification card is positioned; and when the terminal equipment is judged not to be the first card insertion, setting a main card and an auxiliary card according to a main and auxiliary card setting rule stored in the terminal equipment.
4. A method for activating a subscriber identity card, comprising:
when detecting that a user identification card is inserted, a general purpose input output GPIO of the terminal equipment sends a card insertion interrupt message to a MODEM MODEM of the terminal equipment;
the user card driving unit of the MODEM sends a card in-place message to a MMGSDI unit of a multimode universal subscriber identity module SIM driving program interface of the MODEM according to the received card insertion interrupt message;
the MMGSDI unit acquires activation card information from a subscriber identity module card inserted into the terminal equipment according to the received card in-place message, wherein the activation card information comprises: the ICCID information, the application type information and the application ID information of the user identification card;
and the MODEM activates the subscriber identity module card according to the acquired activation card information.
5. The method for activating the subscriber identity card according to claim 4, wherein the subscriber identity card comprises a first subscriber identity card and a second subscriber identity card, and before the MODEM activates the subscriber identity card, the method further comprises:
and the MMGSDI unit sets a main card and an auxiliary card according to the ICCID information of the first user identification card and the ICCID information of the second user identification card.
6. The method of claim 5, wherein the MMGSDI unit sets a primary card and a secondary card according to the ICCID information of the first subscriber identity card and the ICCID information of the second subscriber identity card, comprising:
the MMGSDI unit judges whether the first user identification card and the second user identification card are cards of preset types or not;
when the MMGSDI unit judges that one subscriber identification card is the card of the preset type and the other subscriber identification card is not the card of the preset type, setting the subscriber identification card of the card judged to be the preset type as a main card and setting the other subscriber identification card as an auxiliary card;
when the MMGSDI unit judges that the first subscriber identity card and the second subscriber identity card are both the cards of the preset type, setting a main card and an auxiliary card according to the card slot in which each subscriber identity card is located;
when the MMGSDI unit judges that the first subscriber identity module card and the second subscriber identity module card are not the cards of the preset type, judging whether the terminal equipment is a first card inserting; when the MMGSDI unit judges that the terminal equipment is the first plug-in card, setting a main card and an auxiliary card according to a card slot in which each subscriber identity module card is located; and when the MMGSDI unit judges that the terminal equipment is not the first plug-in card, setting a main card and an auxiliary card according to a main and auxiliary card setting rule stored in the terminal equipment.
CN201610843870.4A 2016-09-22 2016-09-22 Activation device and method for subscriber identity module card Active CN106412878B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610843870.4A CN106412878B (en) 2016-09-22 2016-09-22 Activation device and method for subscriber identity module card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610843870.4A CN106412878B (en) 2016-09-22 2016-09-22 Activation device and method for subscriber identity module card

Publications (2)

Publication Number Publication Date
CN106412878A CN106412878A (en) 2017-02-15
CN106412878B true CN106412878B (en) 2020-04-28

Family

ID=57996923

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610843870.4A Active CN106412878B (en) 2016-09-22 2016-09-22 Activation device and method for subscriber identity module card

Country Status (1)

Country Link
CN (1) CN106412878B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107027113B (en) * 2017-03-30 2020-03-31 努比亚技术有限公司 SIM card activation method and mobile terminal
CN113630758B (en) * 2020-05-06 2023-03-28 中国移动通信有限公司研究院 Method, device, service platform and storage medium for activating subscriber identification module
CN113821843A (en) * 2020-06-18 2021-12-21 青岛海信移动通信技术股份有限公司 Mobile terminal and method for determining type of inserted card thereof
CN112672337B (en) * 2020-12-22 2024-01-05 深圳酷派技术有限公司 Communication service starting method, device, terminal and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104536869A (en) * 2014-12-12 2015-04-22 华为技术有限公司 Mobile terminal and resource management method thereof
CN105050076A (en) * 2015-05-06 2015-11-11 努比亚技术有限公司 Virtual card user interface management method and system
CN105376762A (en) * 2015-10-23 2016-03-02 青岛海信移动通信技术股份有限公司 Method for activating target network parameter file and correlative devices

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9510199B2 (en) * 2013-04-03 2016-11-29 Nokia Technologies Oy Soft activation of cellular modems in tablets

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104536869A (en) * 2014-12-12 2015-04-22 华为技术有限公司 Mobile terminal and resource management method thereof
CN105050076A (en) * 2015-05-06 2015-11-11 努比亚技术有限公司 Virtual card user interface management method and system
CN105376762A (en) * 2015-10-23 2016-03-02 青岛海信移动通信技术股份有限公司 Method for activating target network parameter file and correlative devices

Also Published As

Publication number Publication date
CN106412878A (en) 2017-02-15

Similar Documents

Publication Publication Date Title
CN105188098B (en) Network switching device and network switching method of mobile terminal
CN106302589B (en) File transmission method and terminal
CN106937320B (en) Automatic operator parameter configuration method and terminal
CN106413128B (en) Projection method and mobile terminal
CN106254628B (en) Mobile terminal and multi-screen display method
CN109101447B (en) Method and terminal for parallel execution of OTG function and charging function
CN106488420B (en) Incoming call processing method, device and system and readable storage medium
CN106412878B (en) Activation device and method for subscriber identity module card
CN107135546B (en) Method and device for selecting wireless network operation channel
CN107018326B (en) Shooting method and device
CN106455009B (en) Network searching device and method
CN106453863B (en) Method and system for controlling terminal and earphone
CN105227771B (en) Picture transmission method and device
CN110971726A (en) Electronic equipment and subassembly, camera module thereof
CN104639428B (en) Self-adaptive method for session scene in instant messaging and mobile terminal
CN107025158B (en) Sliding operation testing method and device and terminal
CN107027113B (en) SIM card activation method and mobile terminal
CN106897044B (en) Screen color temperature consistency fault-tolerant method and terminal
CN106790126B (en) Account authorization method and device of application program and terminal
CN106791567B (en) Switching method and terminal
CN106792878B (en) Data traffic monitoring method and device
CN106412877B (en) Activation method and activation device for mobile terminal SIM card
CN105744061B (en) Eye print recognition interaction device and method
CN109041197B (en) Communication method of terminal, terminal and computer readable storage medium
CN105094733B (en) Split screen display method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20200401

Address after: 325000 store, No.13, building 1, Wansong garden, Anyang street, Ruian City, Wenzhou City, Zhejiang Province

Applicant after: Zhejiang Fengze Technology Co.,Ltd.

Address before: 518000 Guangdong Province, Shenzhen high tech Zone of Nanshan District City, No. 9018 North Central Avenue's innovation building A, 6-8 layer, 10-11 layer, B layer, C District 6-10 District 6 floor

Applicant before: NUBIA TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20240524

Address after: 325200 Room 501, urban and rural distribution center, Yunzhou street, Rui'an City, Wenzhou City, Zhejiang Province (Qiaomao town)

Patentee after: Zhejiang gaochuangmeng Intellectual Property Consulting Co.,Ltd.

Country or region after: China

Address before: 325000 storefront, No. 13, Building 1, Wansong Garden, Anyang Street, Rui'an City, Wenzhou City, Zhejiang Province

Patentee before: Zhejiang Fengze Technology Co.,Ltd.

Country or region before: China