WO2012151902A1 - Multi-mode terminal and sim card information transmitting system and method - Google Patents

Multi-mode terminal and sim card information transmitting system and method Download PDF

Info

Publication number
WO2012151902A1
WO2012151902A1 PCT/CN2011/082244 CN2011082244W WO2012151902A1 WO 2012151902 A1 WO2012151902 A1 WO 2012151902A1 CN 2011082244 W CN2011082244 W CN 2011082244W WO 2012151902 A1 WO2012151902 A1 WO 2012151902A1
Authority
WO
WIPO (PCT)
Prior art keywords
sim card
communication module
interface
card information
information
Prior art date
Application number
PCT/CN2011/082244
Other languages
French (fr)
Chinese (zh)
Inventor
梁国和
冯德娟
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2012151902A1 publication Critical patent/WO2012151902A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/06Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals

Definitions

  • the present invention relates to information transmission technologies in mobile communication, and in particular, to a multimode terminal and SIM card information transmission system and method. Background technique
  • 3rd Generation Telecommunication 3rd Generation Telecommunication
  • mobile operators After entering the third generation of 3rd Generation Telecommunication (3G) era, mobile operators will face the second generation of mobile communication technology (2nd Generation Telecommunication, 2G), 3G and Long Term Evolution (LTE).
  • 2G mobile communication technology
  • 3G 3rd Generation Telecommunication
  • LTE Long Term Evolution
  • many mobile operators regard multi-network collaboration as an operational target and optimization strategy, and support customized multi-mode terminals for service promotion and multi-network operation.
  • the current multi-mode terminal and SIM card information transmission are divided into single card and dual card/multi-card, namely: multi-mode terminal and single SIM card for information transmission, and multi-mode terminal and two or more SIM cards There are two situations in which information is transmitted.
  • Multi-mode terminals use multiple Subscriber Identity Modules (SIMs). Each SIM card corresponds to a separate communication system, which can reside in different communication systems. Single-card multi-mode terminals use one. A SIM card, which resides according to a certain terminal policy, network policy or business policy and completes the corresponding communication function.
  • SIMs Subscriber Identity Modules
  • a single card is generally issued by an operator.
  • the information of multiple communication modules is placed on a SIM card.
  • SIM card With a SIM card, multimode terminals can reside in different network modes, that is, single card multimode More waiting for the terminal. In this way, not only the burden of the single card user to purchase the card but also the overall power consumption of the multimode terminal is reduced.
  • a SIM card supports only one IS07816 interface, all the information in the SIM card must be read by one of the communication modules in the case of a single card, and then forwarded to other communication modules through the communication module. Due to the limitation of IS07816 interface speed The rate is slow, and the communication modules are transferred through the internal interface, so the total transmission efficiency is low.
  • each communication module reads the corresponding information in the SIM card through the IS07816 interface, and each communication module corresponds to the SIM card, and the information interaction between the SIM cards cannot be performed.
  • Multimode terminals provide services to users on different communication networks, and each communication module must obtain information on the corresponding SIM card.
  • the SIM card interface if the IS07816 interface is used, the free access of the multimode terminal to the SIM card cannot be achieved.
  • a multi-mode terminal is required to implement high-speed access and information sharing for SIM cards.
  • the present invention provides a multi-mode terminal and SIM card information transmission system and method, which can realize high-speed access and management of a SIM card by a communication module in a multi-mode terminal, and support data concurrent processing, thereby improving interface data transmission rate. And SIM card access efficiency.
  • the invention discloses a multi-mode terminal and a SIM card information transmission system, including: a multi-mode terminal,
  • the multimode terminal further comprising at least one first communication module;
  • the first communication module is configured to send a read instruction of the required SIM card information to the SIM card through the SPI interface;
  • the SIM card is configured to receive a read instruction of the first communication module, and return corresponding SIM card information to the first communication module by using an SPI interface;
  • the SPI interface is configured to implement communication between the first communication module and the SIM card.
  • the multimode terminal further includes an application module and an internal interface, where the application module is configured to complete interaction with the user, process local services related to the network, local logic of the communication service, and a communication module performs communication control;
  • the internal interface is configured to implement communication between the application module and the first communication module.
  • the multimode terminal further includes an IS07816 interface and a second communication module, where the second communication module is configured to send a read instruction of the required SIM card information to the SIM card through the IS07816 interface;
  • the SIM card is configured to receive a read instruction of the second communication module, and return corresponding SIM card information to the second communication module through the IS07816 interface.
  • the multi-mode terminal further includes a third communication module, which is connected to the first communication module through an internal interface, and is configured to receive, by the internal interface, the first communication module that is required by the first communication module, and the first communication module passes the SPI through the internal interface.
  • the SIM card information obtained by the interface from the SIM card.
  • the first communication module includes a SIM card proxy unit, configured to forward the SIM card information required by the third communication module acquired by the first communication module to the third communication module.
  • system further includes an SPI bus controller, wherein the first communication module is connected to the SPI interface through an SPI bus controller, and the SPI bus controller is configured to gate the communication module in the multimode terminal.
  • the first communication module or the second communication module includes a SIM card management unit and a SIM card driving unit;
  • the SIM card management unit is configured to complete a read instruction for sending the required SIM card information to the SIM card, read the information of the SIM card to the multimode terminal, and perform corresponding protocol processing;
  • the SIM card driving unit is configured to complete driving control of the SPI interface or the IS07816 interface.
  • the invention also discloses a multi-mode terminal and SIM card information transmission method, comprising: at least one first communication module of the multi-mode terminal sends a read instruction of the required SIM card information to the SIM card through the SPI interface;
  • the SIM card After receiving the read command, the SIM card returns the corresponding SIM card information to the first communication module that sends the read command through the SPI interface.
  • the method further includes: the second communication module in the multimode terminal passes IS07816 The interface sends an information read command to the SIM card to obtain the SIM card information required by the SIM card.
  • the SIM card returns the corresponding SIM card information to the second communication module that sends the read command through the IS07816 interface.
  • the method further includes: after receiving the required SIM card information, the first communication module sends the SIM card information required by the third communication module to the third communication module through the internal interface.
  • the first communication module forwards the acquired SIM card information required by the third communication module to the third communication module via the internal interface through the SIM card proxy unit.
  • the reading instruction that the first communication module sends the required SIM card information to the SIM card through the SPI interface is: the first communication module is connected to the SPI interface through the SPI bus controller, via the SPI bus controller and the SPI The interface sends a read instruction of the required SIM card information to the SIM card to obtain the required SIM card information.
  • the single-mode terminal communication module transmits information through the IS07816 interface and the SIM card.
  • the access and management of the multi-mode terminal communication module to the SIM card cannot be realized only through the IS07816 interface.
  • the system and method provided by the present invention take advantage of the advantages of the traditional IS07816 interface and the lack of a SIM card interface, and fully utilize the characteristics of good SPI interface scalability and high data transmission efficiency, and adopt the SPI interface as the first communication in the multimode terminal.
  • Interface between the module and the SIM card direct high-speed access through the SPI interface, or through the combination of the SPI interface and the SIM card proxy unit forwarding, to realize the communication module and SIM card information transmission in the multi-mode terminal, to obtain the communication in the multi-mode terminal
  • the information required by the module namely: multiple communication modules to directly access or forward the required SIM card information in a single card or dual card/multi-card, and complete high-speed access and management of the SIM card by the communication module in the multi-mode terminal, In this way, not only the single card and dual card/multi-card multi-mode terminal implementation scheme is extended, but also data concurrent processing can be supported, thereby improving the interface data transmission rate and the access efficiency of the SIM card.
  • 1 is a schematic diagram showing the overall structure of a multimode terminal and a SIM card information transmission system according to the present invention
  • 2 is a schematic diagram of a multimode terminal and SIM card information transmission method according to the present invention
  • FIG. 3 is a schematic diagram of a preferred embodiment of a single-card dual-mode terminal structure when the SPI interface is used in the present invention
  • FIG. 4 is a schematic diagram of a preferred embodiment of a single-card dual-mode terminal structure when the SPI bus controller is used in the present invention
  • FIG. 5 is a schematic diagram of a preferred embodiment of a single card multimode terminal structure in a forwarding manner of a SIM card proxy unit according to the present invention
  • FIG. 6 is a schematic diagram of a preferred embodiment of a dual-card/multi-card multi-mode terminal structure in a forwarding manner of a SIM card proxy unit according to the present invention
  • FIG. 7 is a schematic diagram showing a preferred embodiment of the SIM card information reading structure when the SIM card proxy unit of the present invention is located in the application module. detailed description
  • the basic idea of the present invention is: at least one first communication module in the multimode terminal sends a read instruction of the required SIM card information to the SIM card through the SPI interface; after receiving the read command, the SIM card reads and sends the read message through the SPI interface.
  • the first communication module of the instruction returns the corresponding SIM card information.
  • the present invention replaces various telecommunication smart cards with SIM cards, including UIM cards, UICC cards, USIM cards, and the like.
  • FIG. 1 is a schematic diagram of the overall structure of a multimode terminal and a SIM card information transmission system according to the present invention. As shown in FIG. 1, the system includes a multimode terminal, an SPI interface, and a SIM card. The multimode terminal and the SIM card are connected through an SPI interface. Information transfer.
  • the multimode terminal is configured to perform interaction with the user, process local services that are not related to the network, complete drive control of the SPI interface, read information of the SIM card, and perform corresponding protocol processing.
  • the multimode terminal further includes an application module, a first communication module, and an internal interface, wherein the application module is a main control module of the multimode terminal, and can be configured in an independent central processor (Central) On the processing unit, CPU, it can also be on the same processor as a communication module; the application module is responsible for completing the interaction with the user, processing the local business related to the network, the local logic part of the communication service, and The first communication module performs communication control.
  • Central central processor
  • the first communication module has one or more, used to complete the driving control of the SPI interface, and sends a read instruction of the required SIM card information to the SIM card through the SPI interface; normally, the first communication module includes SIM card management a unit and a SIM card driving unit; wherein, the SIM card management unit is mainly used for completing a reading instruction for transmitting the required SIM card information to the SIM card through the SPI interface, reading the information of the SIM card to the multimode terminal, and correspondingly Protocol processing; SIM card driver unit, mainly used to complete the drive control of the SPI interface.
  • the application module communicates with the first communication module through an internal interface, wherein the communication protocol can be transmitted by using an AT command.
  • SIM card configured to receive a read command of the first communication module, and return corresponding SIM card information to the first communication module through the SPI interface; specifically, the SIM card stores information for performing identity authentication on multiple networks; It is used to complete the client identity authentication and client information encryption process; update and manage the SIM card service through the wireless air interface method; manage the personal information of the user such as the phone number and the short message stored in the SIM card.
  • the multi-mode terminal may further include an IS07816 interface, and a second communication module for transmitting information with the SIM card through the IS07816 interface, where the second communication module is used to complete the driving control of the IS07816 interface, and send the required information to the SIM card through the IS07816 interface.
  • the reading instruction of the SIM card information reads the information of the SIM card to the multi-mode terminal and performs corresponding protocol processing; correspondingly, the SIM card driving unit in the second communication module is used to complete the driving control of the IS07816 interface.
  • the multi-mode terminal may further include a third communication module connected to the first communication module only through the internal interface, where the third communication module receives the first communication module and sends the first communication module from the SIM card through the SPI interface through the internal interface.
  • the first communication module, the second communication module, and the third communication module respectively represent different types of communication modules, which may be collectively referred to as a communication module.
  • the first communication module of the multimode terminal in FIG. 1 may be one or more, represented by the communication module 1 to the communication module n; the SIM card may also be a single card, a dual card or a multi-card, which respectively corresponds to the communication module 1 ⁇ Communication module 1 information to communication module n information of communication module n; the case shown in Fig. 1 is only an example.
  • the first communication module can adopt multiple communication systems, such as a time division (TD), a Global System for Mobile Communications (GSM), LTE, and the like; in addition, the first communication module can pass Multi-chip implementation, can also be based on a single chip; internal interfaces include serial port, USB and other types.
  • TD time division
  • GSM Global System for Mobile Communications
  • LTE Long Term Evolution
  • Multi-chip implementation can also be based on a single chip; internal interfaces include serial port, USB and other types.
  • FIG. 2 is a schematic flowchart of an implementation process of a multimode terminal and a SIM card information transmission method according to the present invention. As shown in FIG. 2, the method includes the following steps:
  • Step 201 At least one first communication module in the multimode terminal sends an information read command to the SIM card through the SPI interface.
  • At least one first communication module of the multimode terminal sends a read instruction of the required SIM card information to the SIM card through the SPI interface to obtain the SIM card information required by each.
  • the step further includes: the second communication module sends a read instruction of the required SIM card information to the SIM card through the IS07816 interface, and obtains the SIM card information required by the second communication module. If the multi-mode terminal further includes the third communication module, the step further includes the third communication module receiving, by the internal communication interface, an operation of the SIM card information required by the first communication module and sent by the first communication module.
  • Step 202 After receiving the read command, the SIM card returns corresponding SIM card information to the first communication module that sends the read command through the SPI interface.
  • the SIM card is a dual card or a multiple card.
  • the step further includes the SIM.
  • the card returns the corresponding SIM card information to the second communication module that sends the read command through the IS07816 interface.
  • the step further includes the first communication module receiving the required SIM card information. Sending, by the internal interface, the SIM card information required by the third communication module to the third communication module.
  • the multimode terminal can simultaneously include two or more communication modules connected to the SIM card through different interfaces, and each communication module obtains the SIM card information required by the different modes:
  • the multimode terminal includes the first a communication module and a second communication module, the first communication module is connected to the SIM card through the SPI interface, and the second communication module is connected to the SIM card through the IS07816 interface; wherein the first communication module sends the SIM card to the SIM card through the SPI interface.
  • the SIM card information read instruction acquires the SIM card information required by the first communication module itself; the second communication module sends a read instruction of the SIM card information required by the SIM card to the SIM card through the IS07816 interface, and acquires the second communication module itself.
  • Required SIM card information is required by the SIM card information.
  • the multimode terminal includes a first communication module, a second communication module, and a third communication module.
  • the first communication module is connected to the SIM card through the SPI interface
  • the second communication module is connected to the SIM card through the IS07816 interface.
  • the third communication module is connected to the first communication module through an internal interface;
  • the first communication module sends a read instruction of the SIM card information required by the first communication module to the SIM card through the SPI interface, acquires the SIM card information required by the first communication module and the third communication module, and acquires the third communication module through the internal interface.
  • the required SIM card information is forwarded to the third communication module;
  • the second communication module sends a read instruction of the SIM card information required by the SIM card to the SIM card through the IS07816 interface, and acquires the SIM card information required by the second communication module itself;
  • the communication module receives the SIM card information required by the first communication module and the third communication module itself through the internal interface.
  • the multi-mode terminal includes a first communication module and a third communication module, the first communication module is connected to the SIM card through an SPI interface, and the third communication module is connected to the first communication module through an internal interface, where The communication module acquires the first communication module and the first through the SPI interface.
  • the SIM card information required by the third communication module is forwarded to the third communication module, and the third communication module receives the third communication module forwarded by the first communication module through the internal interface.
  • the first communication module may include a SIM card proxy unit, wherein the SIM card proxy unit forwards the SIM card information required by the third communication module acquired by the first communication module to the third communication module via the internal interface.
  • the first communication module can be connected to the SPI interface through the SPI bus controller, and send a read instruction of the SIM card information required by the SIM card to the SIM card via the SPI bus controller and the SPI interface to obtain the required SIM card information.
  • the acquired SIM card information may be required by the first communication module, and/or the third communication module.
  • the first communication module or the second communication module includes a SIM card management unit and a SIM card driving unit, where the SIM card management unit is configured to read information of the SIM card to the multimode terminal, and perform Corresponding protocol processing; the SIM card driving unit is used to complete the driving control of the SPI interface or the IS07816 interface.
  • the dual-mode terminal includes a first communication module and a second communication module, both of which are identical in structure, including SIM card management.
  • Unit and SIM card drive unit both support IS07816 interface and SPI interface.
  • the first communication module and the second communication module respectively access the SIM card through the SPI interface and the IS07816 interface, and obtain the SIM card information required by each, that is, the information of the first communication module in the SIM card and the information of the second communication module information.
  • the SIM card driving unit of the first communication module and the second communication module support the SPI interface, occupying the C3, C4, C8, C6 ports of the SIM card (not shown); also supports IS07816 interface, occupying SIM card Cl, C2, C3,
  • FIG. 4 is a schematic diagram of a preferred embodiment of a single-card multi-mode terminal structure when the SPI interface is used in the present invention.
  • two communication modules of the dual-mode terminal are respectively connected to the SPI bus controller, and the SPI bus controller passes the SPI.
  • the interface is connected to the SIM card, so that the high speed access of the two communication modules to the same SIM card can be realized by the SPI bus controller.
  • the communication module 1 and the communication module 2 in FIG. 4 may be a first communication module, and/or a second communication module, both supporting an IS07816 interface and an SPI interface.
  • the SPI interface multi-mode multiplexing and parallel access can be implemented by the SPI bus controller.
  • the specific implementation process belongs to the prior art and will not be described here.
  • the main features of this embodiment are as follows:
  • the multi-mode terminal can realize high-speed access to the SIM card in parallel without using the SIM card proxy unit forwarding mode, but the terminal hardware changes greatly.
  • the present invention proposes to implement a multi-mode terminal to access and manage a SIM card by using a combination of an SPI interface and a SIM card proxy unit forwarding, as shown in FIG.
  • FIG. 5 is a schematic diagram of a preferred embodiment of a single card multimode terminal structure in a forwarding manner of a SIM card proxy unit according to the present invention.
  • all communication modules except the first communication module and the second communication module are referred to as a third communication module in this embodiment; and, assuming that the first communication module adopts the LTE standard, and the second communication module adopts the GSM standard
  • the third communication module adopts the TD standard and the like.
  • the second communication module includes a SIM card driving unit and a SIM card management unit, and directly accesses the SIM card through the traditional IS07816 interface.
  • the first communication module includes a SIM card proxy unit in addition to the SIM card drive unit and the SIM card management unit, and implements high-speed access to the SIM card through the SPI interface.
  • the third communication module does not have to consider the SIM card hardware and driver design, and only includes the SIM card management unit.
  • the SIM card proxy unit serves as an intermediate module, and the plurality of communication modules can coordinate and cooperate with each other through the SIM card proxy unit, and realize the forwarding or sharing of the SIM card information.
  • the SIM card management unit of the second communication module completes the transmission and management of the second communication module information in the SIM card, and performs corresponding protocol processing;
  • the SIM card management unit of the first communication module is mainly used to complete the acquisition of the SIM card.
  • SIM card driving unit is mainly used to complete drive control of interfaces such as SPI interface or IS07816 interface;
  • SIM card management unit of third communication module supports SIM card
  • the proxy mode is capable of receiving SIM card information forwarded by the SIM card proxy unit in the first communication module.
  • SIM card proxy unit can be combined with the SIM card management unit or the SIM card drive unit in a specific implementation.
  • This embodiment is also applicable to other high-speed SIM card interfaces.
  • the main advantages are:
  • the terminal hardware changes are small, and the third communication module can obtain the required SIM card information through the SIM card proxy unit forwarding mode, which not only satisfies the data transmission rate well.
  • the requirements can also save the hardware cost and design cost of the communication module.
  • the second communication module accesses the SIM card through the traditional IS07816 interface. For example, considering the transmission efficiency, the second communication module information can also be acquired and forwarded through the first communication module.
  • FIG. 6 is a schematic diagram of a preferred embodiment of a dual-card/multi-card multi-mode terminal structure in a forwarding mode of a SIM card proxy unit according to the present invention, and considering the characteristics of the forwarding mode of the SIM card proxy unit, In this way, the multimode terminal is used to access and manage two or more SIM cards.
  • a first communication module of the multimode terminal implements direct high-speed access of the SPI interface to two or more SIM cards, and the first communication module is also compatible with the IS07816 interface, and the third communication module of the multimode terminal. It is not necessary to consider the SIM card hardware and driver design, and the SIM card information unit can be used to transfer and share the SIM card information through the SIM card proxy unit forwarding mode.
  • the first communication module includes a SIM card driving unit, a SIM card management unit, a SIM card agent, and the like; the first communication module SIM card driving unit supports an SPI interface, and can support two ways of accessing the SIM card: IS07816 interface, occupying the Cl, C2, C3, C5, C7 ports of the SIM card (not shown); the other is the SPI interface, occupying the C3, C4, C8, C6 ports of the SIM card (not shown in the figure) ).
  • the third communication module does not include the SIM card driving unit and the SIM card proxy, and only includes the SIM card management unit, etc., does not support the SIM card interface, but supports the SIM card proxy unit forwarding mode.
  • the SIM card management unit of the first communication module completes the transmission and management of the SIM card information, and performs corresponding protocol processing; the SIM card management unit of the third communication module can receive the SIM forwarded by the SIM card proxy unit in the first communication module. Card information.
  • FIG. 6 shows the case of two SIM cards.
  • the first communication module is connected to SIM card 1 and SIM card 2 via the traditional IS07816 interface and SPI interface.
  • the communication module of the multi-mode terminal can still access multiple SIM cards at the same time by using SPI technology.
  • the SPI interface is a synchronous protocol interface that supports one master device to control multiple slave devices. Through the SPI interface, the communication module can easily realize high-speed access to multiple SIM cards. Among them, one SPI interface can control four SIM cards.
  • the specific implementation process belongs to the prior art, and details are not described herein again.
  • the internal interface in FIG. 5 includes an application module and a communication module, and a communication physical interface between the communication module and the communication module, wherein the application module and each communication module have an internal interface, and the plurality of communication modules
  • the communication module includes a first communication module, a second communication module, and a third communication module; and the application module can employ a separate application processor.
  • the internal interfaces may not exist between multiple communication modules, but the transmission of the transmission and sharing information is completed by the application module, as shown in FIG. 7 .
  • FIG. 7 is a schematic diagram of a preferred embodiment of a SIM card information reading structure when the SIM card proxy unit is located in an application module according to the present invention.
  • a smart phone architecture is adopted, and the application module adopts an independent CPU, that is, an application processor, and the application processor passes The internal interface communicates with two communication modules.
  • the multimode terminal includes a 3G communication module and a 2G communication module; wherein, the 3G communication module is the first communication module, adopts the TD system; the 2G communication module is the second communication module, adopts the GSM standard; the application processor adds the SIM card proxy unit And SIM card drive unit.
  • the SIM card driving unit uses the SPI interface to complete the access control of the SIM card by the application processor; the SIM card proxy unit acts as an intermediate module, and the application processor coordinates with the first communication module and the second communication module through the SIM card proxy unit. And cooperate, and realize the forwarding or sharing of the SIM card information by the application processor; the SIM card proxy unit is responsible for forwarding the SIM card information required by the 3G communication module for the 3G communication module.
  • the internal interface completes the communication between the application processor and the 3G communication module and the 2G communication module, and the internal interface may include a serial port, a USB, and the like; the communication protocol is transmitted by using an AT command.
  • the SIM card information is correspondingly divided into 3G communication module information, 2G communication module information, and application information.
  • the 3G communication module information and the 2G communication module information are respectively SIM card information required for the 3G communication module and the 2G communication module to implement the corresponding network communication function, such as encryption authentication and the like; and the application information is required for the application processor application.
  • SIM card information such as SIM card phone book and other information.
  • the 2G communication module directly reads the 2G communication module information in the SIM card through the IS07816 interface. Because there is no communication interface between the 2G communication module and the 3G communication module, the 3G communication module information needs to be forwarded by the application processor to the 3G communication module, and the forwarding process is completed by the SIM card proxy unit; the 3G communication module supports the SIM card proxy unit in the application processor. The forwarding function obtains the 3G communication module information forwarded by the SIM card proxy unit through the SIM card management unit.
  • the application processor In addition to the 3G communication module information, the application processor also reads the application information through the SPI interface. This embodiment is also applicable to the case where an application module is on the same processor as a communication module, and is also applicable to other high-speed access interfaces, such as a USB interface.
  • the main advantages of this embodiment are: The transformation of the multimode terminal is mainly focused on the application processor, so that the 3G communication module is changed little, and the 2G communication module can be modified.

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)
  • Telephonic Communication Services (AREA)

Abstract

Disclosed are a multi-mode terminal and a SIM card information transmitting system, including: a multi-mode terminal, a SIM card and an SPI interface, with the multi-mode terminal further including at least one first communication module, wherein the first communication module is used for sending a read instruction regarding the required SIM card information to the SIM card via the SPI interface; the SIM card is used for receiving the read instruction from the first communication module and returning the corresponding SIM card information to the first communication information via the SPI interface; and the SPI interface is used for realizing communication between the first communication module and the SIM card. Also disclosed are a multi-mode terminal and a SIM card information transmitting method. The present invention can enable the communication module in the multi-mode terminal to access with a high speed and manage the SIM card, and support data concurrency processing, thereby increasing the interface data transmitting speed and the access efficiency of the SIM card.

Description

一种多模终端与 SIM卡信息传输系统及方法 技术领域  Multi-mode terminal and SIM card information transmission system and method
本发明涉及移动通信中信息传输技术, 尤其涉及一种多模终端与 SIM 卡信息传输系统及方法。 背景技术  The present invention relates to information transmission technologies in mobile communication, and in particular, to a multimode terminal and SIM card information transmission system and method. Background technique
步入第三代移动通信技术 ( 3rd Generation Telecommunication, 3G ) 时 代后, 移动运营商会面临第二代移动通信技术 ( 2nd Generation Telecommunication , 2G )、 3G以及长期演进 ( Long Term Evolution, LTE ) 等多网络长期共存的情况, 很多移动运营商将多网协同作为运营目标和优 化策略, 支持定制多模终端进行业务推广和多网运营。  After entering the third generation of 3rd Generation Telecommunication (3G) era, mobile operators will face the second generation of mobile communication technology (2nd Generation Telecommunication, 2G), 3G and Long Term Evolution (LTE). In the case of long-term coexistence, many mobile operators regard multi-network collaboration as an operational target and optimization strategy, and support customized multi-mode terminals for service promotion and multi-network operation.
目前的多模终端与 SIM卡信息传输分为单卡和双卡 /多卡两种情况,即: 多模终端与单张 SIM卡进行信息传输、 以及多模终端与两张或多张 SIM卡 进行信息传输两种情况。  The current multi-mode terminal and SIM card information transmission are divided into single card and dual card/multi-card, namely: multi-mode terminal and single SIM card for information transmission, and multi-mode terminal and two or more SIM cards There are two situations in which information is transmitted.
多模终端使用多个用户身份识别卡( Subscriber Identity Module, SIM ), 每张 SIM卡对应一套独立的通信系统, 可分别驻留在不同的通信系统中; 而单卡多模终端则使用一张 SIM卡, 根据一定终端策略、 网络策略或业务 策略进行驻留并完成相应的通信功能。  Multi-mode terminals use multiple Subscriber Identity Modules (SIMs). Each SIM card corresponds to a separate communication system, which can reside in different communication systems. Single-card multi-mode terminals use one. A SIM card, which resides according to a certain terminal policy, network policy or business policy and completes the corresponding communication function.
单卡一般是一个运营商发布的, 多个通信模块的信息都放在一张 SIM 卡上, 用一张 SIM卡就可以实现多模终端驻留不同的网络模式下, 即实现 单卡多模多待终端。 这样, 不仅避免了单卡用户另购卡的负担, 而且降低 了多模终端的整体功耗。但是, 因为一张 SIM卡只支持一个 IS07816接口, 所以单卡情况下必须通过其中一个通信模块来读取 SIM卡中的所有信息, 然后通过该通信模块转发到其他的通信模块。 由于受限于 IS07816接口速 率较慢, 各通信模块之间又要通过内部接口中转, 因此总的传输效率较低。 而双卡 /多卡情况下,各通信模块分别通过 IS07816接口读取 SIM卡中 的相应信息, 各通信模块与 SIM卡——对应, 不能进行 SIM卡间的信息交 互。 多模终端在不同的通信网络上为用户提供服务, 每个通信模块必须获 得对应 SIM卡上的信息。 但受 SIM卡接口所限, 若使用 IS07816接口, 则 无法实现多模终端对 SIM卡的自由访问。 A single card is generally issued by an operator. The information of multiple communication modules is placed on a SIM card. With a SIM card, multimode terminals can reside in different network modes, that is, single card multimode More waiting for the terminal. In this way, not only the burden of the single card user to purchase the card but also the overall power consumption of the multimode terminal is reduced. However, since a SIM card supports only one IS07816 interface, all the information in the SIM card must be read by one of the communication modules in the case of a single card, and then forwarded to other communication modules through the communication module. Due to the limitation of IS07816 interface speed The rate is slow, and the communication modules are transferred through the internal interface, so the total transmission efficiency is low. In the case of dual card/multi-card, each communication module reads the corresponding information in the SIM card through the IS07816 interface, and each communication module corresponds to the SIM card, and the information interaction between the SIM cards cannot be performed. Multimode terminals provide services to users on different communication networks, and each communication module must obtain information on the corresponding SIM card. However, limited by the SIM card interface, if the IS07816 interface is used, the free access of the multimode terminal to the SIM card cannot be achieved.
因此, 为了适应多模终端发展趋势, 满足多个通信模块与 SIM卡之间 信息交互读取及传输效率, 需要一种多模终端对 SIM卡进行高速访问及信 息共享的实现方案。 发明内容  Therefore, in order to adapt to the development trend of multi-mode terminals and meet the information exchange reading and transmission efficiency between multiple communication modules and SIM cards, a multi-mode terminal is required to implement high-speed access and information sharing for SIM cards. Summary of the invention
有鉴于此,本发明提出了一种多模终端与 SIM卡信息传输系统及方法, 能实现多模终端中通信模块对 SIM卡的高速访问和管理, 支持数据并发处 理, 从而提高接口数据传输速率和 SIM卡的访问效率。  In view of this, the present invention provides a multi-mode terminal and SIM card information transmission system and method, which can realize high-speed access and management of a SIM card by a communication module in a multi-mode terminal, and support data concurrent processing, thereby improving interface data transmission rate. And SIM card access efficiency.
为达到上述目的, 本发明的技术方案是这样实现的:  In order to achieve the above object, the technical solution of the present invention is achieved as follows:
本发明公开了一种多模终端与 SIM卡信息传输系统, 包括: 多模终端、 The invention discloses a multi-mode terminal and a SIM card information transmission system, including: a multi-mode terminal,
SIM卡和 SPI接口, 所述多模终端进一步包括至少一个第一通信模块; 其 中, a SIM card and an SPI interface, the multimode terminal further comprising at least one first communication module; wherein
所述第一通信模块, 用于通过 SPI接口向 SIM卡发送所需 SIM卡信息 的读取指令;  The first communication module is configured to send a read instruction of the required SIM card information to the SIM card through the SPI interface;
所述 SIM卡, 用于接收第一通信模块的读取指令, 并通过 SPI接口向 所述第一通信模块返回相应的 SIM卡信息;  The SIM card is configured to receive a read instruction of the first communication module, and return corresponding SIM card information to the first communication module by using an SPI interface;
所述 SPI接口, 用于实现第一通信模块与 SIM卡之间的通信。  The SPI interface is configured to implement communication between the first communication module and the SIM card.
进一步的, 所述多模终端还包括应用模块和内部接口; 其中, 所述应用模块, 用于完成与用户的交互, 处理与网络无关的本地业务、 通信类业务的本地逻辑部分、 以及对第一通信模块进行通信控制; 所述内部接口, 用于实现应用模块与第一通信模块之间的通信。 Further, the multimode terminal further includes an application module and an internal interface, where the application module is configured to complete interaction with the user, process local services related to the network, local logic of the communication service, and a communication module performs communication control; The internal interface is configured to implement communication between the application module and the first communication module.
进一步的, 所述多模终端还包括 IS07816接口和第二通信模块; 其中, 所述第二通信模块,用于通过 IS07816接口向 SIM卡发送所需 SIM卡 信息的读取指令;  Further, the multimode terminal further includes an IS07816 interface and a second communication module, where the second communication module is configured to send a read instruction of the required SIM card information to the SIM card through the IS07816 interface;
相应地, 所述 SIM 卡, 用于接收第二通信模块的读取指令, 并通过 IS07816接口向所述第二通信模块返回相应的 SIM卡信息。  Correspondingly, the SIM card is configured to receive a read instruction of the second communication module, and return corresponding SIM card information to the second communication module through the IS07816 interface.
进一步的, 所述多模终端还包括第三通信模块, 通过内部接口与第一 通信模块相连, 用于通过内部接口接收第一通信模块发来的、 自身所需的、 第一通信模块通过 SPI接口从 SIM卡获取的 SIM卡信息。  Further, the multi-mode terminal further includes a third communication module, which is connected to the first communication module through an internal interface, and is configured to receive, by the internal interface, the first communication module that is required by the first communication module, and the first communication module passes the SPI through the internal interface. The SIM card information obtained by the interface from the SIM card.
进一步的, 所述第一通信模块包括 SIM卡代理单元, 用于将第一通信 模块获取的第三通信模块所需的 SIM卡信息转发给第三通信模块。  Further, the first communication module includes a SIM card proxy unit, configured to forward the SIM card information required by the third communication module acquired by the first communication module to the third communication module.
进一步的, 该系统还包括 SPI总线控制器, 所述第一通信模块通过 SPI 总线控制器与 SPI接口相连接; 所述 SPI总线控制器,用于选通多模终端中 的通信模块。  Further, the system further includes an SPI bus controller, wherein the first communication module is connected to the SPI interface through an SPI bus controller, and the SPI bus controller is configured to gate the communication module in the multimode terminal.
进一步的, 所述第一通信模块或第二通信模块包括 SIM卡管理单元和 SIM卡驱动单元; 其中,  Further, the first communication module or the second communication module includes a SIM card management unit and a SIM card driving unit;
所述 SIM卡管理单元,用于完成向 SIM卡发送所需 SIM卡信息的读取 指令, 将 SIM卡的信息读取到多模终端, 并进行相应的协议处理;  The SIM card management unit is configured to complete a read instruction for sending the required SIM card information to the SIM card, read the information of the SIM card to the multimode terminal, and perform corresponding protocol processing;
所述 SIM卡驱动单元,用于完成 SPI接口或 IS07816接口的驱动控制。 本发明还公开了一种多模终端与 SIM卡信息传输方法, 包括: 多模终端中至少一个第一通信模块通过 SPI接口向 SIM 卡发送所需 SIM卡信息的读取指令;  The SIM card driving unit is configured to complete driving control of the SPI interface or the IS07816 interface. The invention also discloses a multi-mode terminal and SIM card information transmission method, comprising: at least one first communication module of the multi-mode terminal sends a read instruction of the required SIM card information to the SIM card through the SPI interface;
SIM卡接收到读取指令后, 通过 SPI接口向发送读取指令的第一通信 模块返回相应的 SIM卡信息。  After receiving the read command, the SIM card returns the corresponding SIM card information to the first communication module that sends the read command through the SPI interface.
进一步的, 该方法还包括: 多模终端中的第二通信模块通过 IS07816 接口向 SIM卡发送信息读取指令, 获取自身所需的 SIM卡信息; SIM卡通 过 IS07816接口向发送读取指令的第二通信模块返回相应的 SIM卡信息。 Further, the method further includes: the second communication module in the multimode terminal passes IS07816 The interface sends an information read command to the SIM card to obtain the SIM card information required by the SIM card. The SIM card returns the corresponding SIM card information to the second communication module that sends the read command through the IS07816 interface.
进一步的, 该方法还包括: 第一通信模块接收到所需的 SIM卡信息后, 通过内部接口向第三通信模块发送第三通信模块所需的 SIM卡信息。  Further, the method further includes: after receiving the required SIM card information, the first communication module sends the SIM card information required by the third communication module to the third communication module through the internal interface.
进一步的, 所述第一通信模块接收到所需的 SIM卡信息后, 通过 SIM 卡代理单元经由内部接口将获取的第三通信模块所需的 SIM卡信息转发给 第三通信模块。  Further, after receiving the required SIM card information, the first communication module forwards the acquired SIM card information required by the third communication module to the third communication module via the internal interface through the SIM card proxy unit.
进一步的, 所述第一通信模块通过 SPI接口向 SIM卡发送所需 SIM卡 信息的读取指令为:所述第一通信模块通过 SPI总线控制器与 SPI接口相连, 经由 SPI总线控制器和 SPI接口向 SIM卡发送所需 SIM卡信息的读取指令, 获取所需的 SIM卡信息。  Further, the reading instruction that the first communication module sends the required SIM card information to the SIM card through the SPI interface is: the first communication module is connected to the SPI interface through the SPI bus controller, via the SPI bus controller and the SPI The interface sends a read instruction of the required SIM card information to the SIM card to obtain the required SIM card information.
综上, 现有技术中, 单模终端通信模块通过 IS07816接口与 SIM卡进 行信息传输, 然而受 SIM卡接口所限, 仅通过 IS07816接口将无法实现多 模终端通信模块对 SIM卡的访问与管理。 而本发明提供的系统及方法, 在 考虑传统 IS07816接口特点及 SIM卡接口不足的基础上, 充分利用 SPI接 口扩展性好及数据传输效率高的特点, 采用 SPI接口作为多模终端中第一 通信模块与 SIM卡的接口, 通过 SPI接口直接高速访问、 或通过 SPI接口 与 SIM卡代理单元转发相结合的方式, 实现多模终端中通信模块与 SIM卡 信息传输的需求, 获取多模终端中通信模块所需的信息, 即: 多个通信模 块对单卡或双卡 /多卡内所需 SIM卡信息进行高速直接访问或转发, 完成多 模终端中通信模块对 SIM卡的高速访问和管理, 如此, 不仅扩展了单卡与 双卡 /多卡多模终端实现方案, 而且能支持数据并发处理, 从而提高接口数 据传输速率和 SIM卡的访问效率。 附图说明  In summary, in the prior art, the single-mode terminal communication module transmits information through the IS07816 interface and the SIM card. However, limited by the SIM card interface, the access and management of the multi-mode terminal communication module to the SIM card cannot be realized only through the IS07816 interface. . The system and method provided by the present invention take advantage of the advantages of the traditional IS07816 interface and the lack of a SIM card interface, and fully utilize the characteristics of good SPI interface scalability and high data transmission efficiency, and adopt the SPI interface as the first communication in the multimode terminal. Interface between the module and the SIM card, direct high-speed access through the SPI interface, or through the combination of the SPI interface and the SIM card proxy unit forwarding, to realize the communication module and SIM card information transmission in the multi-mode terminal, to obtain the communication in the multi-mode terminal The information required by the module, namely: multiple communication modules to directly access or forward the required SIM card information in a single card or dual card/multi-card, and complete high-speed access and management of the SIM card by the communication module in the multi-mode terminal, In this way, not only the single card and dual card/multi-card multi-mode terminal implementation scheme is extended, but also data concurrent processing can be supported, thereby improving the interface data transmission rate and the access efficiency of the SIM card. DRAWINGS
图 1是本发明多模终端与 SIM卡信息传输系统的总体结构示意图; 图 2是本发明多模终端与 SIM卡信息传输方法示意图; 1 is a schematic diagram showing the overall structure of a multimode terminal and a SIM card information transmission system according to the present invention; 2 is a schematic diagram of a multimode terminal and SIM card information transmission method according to the present invention;
图 3是本发明使用 SPI接口时单卡双模终端结构优选实施例的示意图; 图 4是本发明使用 SPI总线控制器时单卡双模终端结构优选实施例的 示意图;  3 is a schematic diagram of a preferred embodiment of a single-card dual-mode terminal structure when the SPI interface is used in the present invention; FIG. 4 is a schematic diagram of a preferred embodiment of a single-card dual-mode terminal structure when the SPI bus controller is used in the present invention;
图 5是本发明 SIM卡代理单元转发方式下单卡多模终端结构优选实施 例的示意图;  5 is a schematic diagram of a preferred embodiment of a single card multimode terminal structure in a forwarding manner of a SIM card proxy unit according to the present invention;
图 6是本发明 SIM卡代理单元转发方式下双卡 /多卡多模终端结构优选 实施例的示意图;  6 is a schematic diagram of a preferred embodiment of a dual-card/multi-card multi-mode terminal structure in a forwarding manner of a SIM card proxy unit according to the present invention;
图 7是本发明 SIM卡代理单元位于应用模块时 SIM卡信息读取结构优 选实施例的示意图。 具体实施方式  Figure 7 is a schematic diagram showing a preferred embodiment of the SIM card information reading structure when the SIM card proxy unit of the present invention is located in the application module. detailed description
本发明的基本思想为: 多模终端中至少一个第一通信模块通过 SPI接 口向 SIM卡发送所需 SIM卡信息的读取指令; SIM卡接收到读取指令后, 通过 SPI接口向发送读取指令的第一通信模块返回相应的 SIM卡信息。  The basic idea of the present invention is: at least one first communication module in the multimode terminal sends a read instruction of the required SIM card information to the SIM card through the SPI interface; after receiving the read command, the SIM card reads and sends the read message through the SPI interface. The first communication module of the instruction returns the corresponding SIM card information.
考虑不同通信模块智能卡的描述不同, 为叙述方便, 本发明以 SIM卡 来代替各种电信智能卡, 包括 UIM卡、 UICC卡、 USIM卡等。  Considering different descriptions of smart cards of different communication modules, for convenience of description, the present invention replaces various telecommunication smart cards with SIM cards, including UIM cards, UICC cards, USIM cards, and the like.
下面结合附图和具体实施例, 对本发明进一步详细说明。  The present invention will be further described in detail below with reference to the drawings and specific embodiments.
图 1是本发明多模终端与 SIM卡信息传输系统的总体结构示意图, 如 图 1所示, 该系统包括多模终端、 SPI接口和 SIM卡, 多模终端和 SIM卡 之间通过 SPI接口进行信息传输。  1 is a schematic diagram of the overall structure of a multimode terminal and a SIM card information transmission system according to the present invention. As shown in FIG. 1, the system includes a multimode terminal, an SPI interface, and a SIM card. The multimode terminal and the SIM card are connected through an SPI interface. Information transfer.
所述多模终端, 用于负责完成和用户的交互, 处理与网络无关的本地 业务, 完成 SPI接口的驱动控制, 读取 SIM卡的信息并进行相应的协议处 理。  The multimode terminal is configured to perform interaction with the user, process local services that are not related to the network, complete drive control of the SPI interface, read information of the SIM card, and perform corresponding protocol processing.
多模终端进一步包括应用模块、 第一通信模块和内部接口, 其中, 应 用模块是多模终端的主控模块, 可以架构于独立的中央处理器 (Central Processing Unit, CPU )之上, 也可以与某个通信模块架构在同一个处理器 上; 应用模块负责完成与用户的交互, 处理与网络无关的本地业务、 通信 类业务的本地逻辑部分、 以及对第一通信模块进行通信控制。 The multimode terminal further includes an application module, a first communication module, and an internal interface, wherein the application module is a main control module of the multimode terminal, and can be configured in an independent central processor (Central) On the processing unit, CPU, it can also be on the same processor as a communication module; the application module is responsible for completing the interaction with the user, processing the local business related to the network, the local logic part of the communication service, and The first communication module performs communication control.
第一通信模块, 有一个或多个, 用于完成 SPI接口的驱动控制, 通过 SPI接口向 SIM卡发送所需 SIM卡信息的读取指令; 通常情况下, 第一通 信模块均包括 SIM卡管理单元和 SIM卡驱动单元;其中, SIM卡管理单元, 主要用于完成通过 SPI接口向 SIM卡发送所需 SIM卡信息的读取指令, 将 SIM卡的信息读取到多模终端, 并进行相应的协议处理; SIM卡驱动单元, 主要用于完成 SPI接口的驱动控制。  The first communication module has one or more, used to complete the driving control of the SPI interface, and sends a read instruction of the required SIM card information to the SIM card through the SPI interface; normally, the first communication module includes SIM card management a unit and a SIM card driving unit; wherein, the SIM card management unit is mainly used for completing a reading instruction for transmitting the required SIM card information to the SIM card through the SPI interface, reading the information of the SIM card to the multimode terminal, and correspondingly Protocol processing; SIM card driver unit, mainly used to complete the drive control of the SPI interface.
应用模块与第一通信模块之间通过内部接口进行通信, 其中, 通信协 议可采用 AT命令传输。  The application module communicates with the first communication module through an internal interface, wherein the communication protocol can be transmitted by using an AT command.
SIM卡, 用于接收第一通信模块的读取指令, 并通过 SPI接口向所述 第一通信模块返回相应的 SIM卡信息; 具体地, SIM卡中保存有用于多网 络进行身份认证的信息; 用于完成客户身份鉴权和客户信息加密过程; 通 过无线空中接口方式对 SIM卡业务进行更新和管理; 对存储于 SIM卡内的 电话号码、 短信等用户个人信息进行管理等。  a SIM card, configured to receive a read command of the first communication module, and return corresponding SIM card information to the first communication module through the SPI interface; specifically, the SIM card stores information for performing identity authentication on multiple networks; It is used to complete the client identity authentication and client information encryption process; update and manage the SIM card service through the wireless air interface method; manage the personal information of the user such as the phone number and the short message stored in the SIM card.
多模终端中可进一步包括 IS07816接口、以及通过 IS07816接口与 SIM 卡进行信息传输的第二通信模块, 所述第二通信模块用于完成 IS07816接 口的驱动控制,通过 IS07816接口向 SIM卡发送所需 SIM卡信息的读取指 令, 将 SIM卡的信息读取到多模终端并进行相应的协议处理; 相应地, 第 二通信模块中的 SIM卡驱动单元用于完成 IS07816接口的驱动控制。  The multi-mode terminal may further include an IS07816 interface, and a second communication module for transmitting information with the SIM card through the IS07816 interface, where the second communication module is used to complete the driving control of the IS07816 interface, and send the required information to the SIM card through the IS07816 interface. The reading instruction of the SIM card information reads the information of the SIM card to the multi-mode terminal and performs corresponding protocol processing; correspondingly, the SIM card driving unit in the second communication module is used to complete the driving control of the IS07816 interface.
多模终端中还可进一步包括仅通过内部接口与第一通信模块连接的第 三通信模块, 第三通信模块通过内部接口接收第一通信模块发来的、 第一 通信模块通过 SPI接口从 SIM卡获取的、 第三通信模块自身所需的 SIM卡 信息。 所述第一通信模块、 第二通信模块和第三通信模块分别代表不同类型 的通信模块, 可统称为通信模块。 The multi-mode terminal may further include a third communication module connected to the first communication module only through the internal interface, where the third communication module receives the first communication module and sends the first communication module from the SIM card through the SPI interface through the internal interface. The obtained SIM card information required by the third communication module itself. The first communication module, the second communication module, and the third communication module respectively represent different types of communication modules, which may be collectively referred to as a communication module.
图 1中多模终端的第一通信模块可以为一个或多个,以通信模块 1〜通 信模块 n表示; SIM卡也可以为单卡、 双卡或多卡, 其中包括分别对应通 信模块 1 ~通信模块 n的通信模块 1信息 ~通信模块 n信息;图 1中示出的 情况仅作为一个示例。  The first communication module of the multimode terminal in FIG. 1 may be one or more, represented by the communication module 1 to the communication module n; the SIM card may also be a single card, a dual card or a multi-card, which respectively corresponds to the communication module 1 ~ Communication module 1 information to communication module n information of communication module n; the case shown in Fig. 1 is only an example.
这里, 第一通信模块可以采用多种通信制式, 如时分(Time Division, TD ),全球移动通信系统( Global System for Mobile Communications, GSM ), LTE等通信协议; 此外, 第一通信模块既可以通过多芯片实现, 也可以基 于单芯片实现; 内部接口包括串口、 USB等类型。  Here, the first communication module can adopt multiple communication systems, such as a time division (TD), a Global System for Mobile Communications (GSM), LTE, and the like; in addition, the first communication module can pass Multi-chip implementation, can also be based on a single chip; internal interfaces include serial port, USB and other types.
图 2为本发明多模终端与 SIM卡信息传输方法的实现流程示意图, 如 图 2所示, 该方法包括如下步驟:  2 is a schematic flowchart of an implementation process of a multimode terminal and a SIM card information transmission method according to the present invention. As shown in FIG. 2, the method includes the following steps:
步驟 201: 多模终端中至少一个第一通信模块通过 SPI接口向 SIM卡 发送信息读取指令;  Step 201: At least one first communication module in the multimode terminal sends an information read command to the SIM card through the SPI interface.
具体地, 多模终端中至少一个第一通信模块通过 SPI接口向 SIM卡分 别发送所需 SIM卡信息的读取指令, 获取各自所需的 SIM卡信息。  Specifically, at least one first communication module of the multimode terminal sends a read instruction of the required SIM card information to the SIM card through the SPI interface to obtain the SIM card information required by each.
本步驟中, 如果多模终端还包括第二通信模块, 则本步驟还包括第二 通信模块通过 IS07816接口向 SIM卡发送所需 SIM卡信息的读取指令,获 取自身所需的 SIM卡信息的操作; 如果多模终端还包括第三通信模块, 则 本步驟还包括第三通信模块通过内部接口接收第一通信模块发来的、 第三 通信模块自身所需的 SIM卡信息的操作。  In this step, if the multimode terminal further includes the second communication module, the step further includes: the second communication module sends a read instruction of the required SIM card information to the SIM card through the IS07816 interface, and obtains the SIM card information required by the second communication module. If the multi-mode terminal further includes the third communication module, the step further includes the third communication module receiving, by the internal communication interface, an operation of the SIM card information required by the first communication module and sent by the first communication module.
步驟 202: SIM卡接收到读取指令后, 通过 SPI接口向发送读取指令的 第一通信模块返回相应的 SIM卡信息;  Step 202: After receiving the read command, the SIM card returns corresponding SIM card information to the first communication module that sends the read command through the SPI interface.
其中, 所述 SIM卡为双卡或多卡。  The SIM card is a dual card or a multiple card.
本步驟中, 如果多模终端还包括第二通信模块, 则本步驟还包括 SIM 卡通过 IS07816接口向发送读取指令的第二通信模块返回相应的 SIM卡信 息; 如果多模终端还包括第三通信模块, 则本步驟还包括第一通信模块接 收到所需的 SIM卡信息后, 通过内部接口向第三通信模块发送第三通信模 块所需的 SIM卡信息。 In this step, if the multimode terminal further includes the second communication module, the step further includes the SIM. The card returns the corresponding SIM card information to the second communication module that sends the read command through the IS07816 interface. If the multimode terminal further includes the third communication module, the step further includes the first communication module receiving the required SIM card information. Sending, by the internal interface, the SIM card information required by the third communication module to the third communication module.
实际应用中, 多模终端可同时包括两个或多个通过不同接口与 SIM卡 相连的通信模块,各个通信模块通过不同方式获取各自所需的 SIM卡信息: 比如, 多模终端同时包括第一通信模块和第二通信模块, 第一通信模 块通过 SPI接口与 SIM卡相连接, 第二通信模块通过 IS07816接口与 SIM 卡相连接; 其中, 第一通信模块通过 SPI接口向 SIM卡发送自身所需 SIM 卡信息的读取指令, 获取第一通信模块自身所需的 SIM卡信息; 第二通信 模块通过 IS07816接口向 SIM卡发送自身所需 SIM卡信息的读取指令,获 取第二通信模块自身所需的 SIM卡信息。  In practical applications, the multimode terminal can simultaneously include two or more communication modules connected to the SIM card through different interfaces, and each communication module obtains the SIM card information required by the different modes: For example, the multimode terminal includes the first a communication module and a second communication module, the first communication module is connected to the SIM card through the SPI interface, and the second communication module is connected to the SIM card through the IS07816 interface; wherein the first communication module sends the SIM card to the SIM card through the SPI interface. The SIM card information read instruction acquires the SIM card information required by the first communication module itself; the second communication module sends a read instruction of the SIM card information required by the SIM card to the SIM card through the IS07816 interface, and acquires the second communication module itself. Required SIM card information.
又比如, 多模终端同时包括第一通信模块、 第二通信模块和第三通信 模块, 第一通信模块通过 SPI接口与 SIM 卡相连接, 第二通信模块通过 IS07816接口与 SIM卡相连接, 第三通信模块通过内部接口与第一通信模 块相连接; 其中,  For another example, the multimode terminal includes a first communication module, a second communication module, and a third communication module. The first communication module is connected to the SIM card through the SPI interface, and the second communication module is connected to the SIM card through the IS07816 interface. The third communication module is connected to the first communication module through an internal interface;
第一通信模块通过 SPI接口向 SIM卡发送自身所需 SIM卡信息的读取 指令, 获取第一通信模块和第三通信模块所需的 SIM卡信息, 并通过内部 接口将获取的第三通信模块所需的 SIM卡信息转发给第三通信模块; 第二 通信模块通过 IS07816接口向 SIM卡发送自身所需 SIM卡信息的读取指 令, 获取第二通信模块自身所需的 SIM卡信息; 第三通信模块通过内部接 口接收第一通信模块转发的、 第三通信模块自身所需的 SIM卡信息。  The first communication module sends a read instruction of the SIM card information required by the first communication module to the SIM card through the SPI interface, acquires the SIM card information required by the first communication module and the third communication module, and acquires the third communication module through the internal interface. The required SIM card information is forwarded to the third communication module; the second communication module sends a read instruction of the SIM card information required by the SIM card to the SIM card through the IS07816 interface, and acquires the SIM card information required by the second communication module itself; The communication module receives the SIM card information required by the first communication module and the third communication module itself through the internal interface.
再比如, 多模终端同时包括第一通信模块和第三通信模块, 第一通信 模块通过 SPI接口与 SIM卡相连接, 第三通信模块通过内部接口与第一通 信模块相连接, 其中, 第一通信模块通过 SPI接口获取第一通信模块和第 三通信模块所需的 SIM卡信息, 并将获取的第三通信模块所需的 SIM卡信 息转发给第三通信模块; 第三通信模块通过内部接口接收第一通信模块转 发的、 第三通信模块自身所需的 SIM卡信息。 For another example, the multi-mode terminal includes a first communication module and a third communication module, the first communication module is connected to the SIM card through an SPI interface, and the third communication module is connected to the first communication module through an internal interface, where The communication module acquires the first communication module and the first through the SPI interface The SIM card information required by the third communication module is forwarded to the third communication module, and the third communication module receives the third communication module forwarded by the first communication module through the internal interface. The SIM card information required by itself.
上述第一通信模块可包括 SIM卡代理单元, 其中, 所述 SIM卡代理单 元将第一通信模块获取的第三通信模块所需的 SIM卡信息经由内部接口转 发给第三通信模块。  The first communication module may include a SIM card proxy unit, wherein the SIM card proxy unit forwards the SIM card information required by the third communication module acquired by the first communication module to the third communication module via the internal interface.
实际应用中, 第一通信模块可通过 SPI总线控制器与 SPI接口相连接, 经由 SPI总线控制器和 SPI接口向 SIM卡发送自身所需 SIM卡信息的读取 指令, 获取所需的 SIM卡信息。 这里, 获取的 SIM卡信息可以是第一通信 模块、 和 /或第三通信模块需要的。  In practical applications, the first communication module can be connected to the SPI interface through the SPI bus controller, and send a read instruction of the SIM card information required by the SIM card to the SIM card via the SPI bus controller and the SPI interface to obtain the required SIM card information. . Here, the acquired SIM card information may be required by the first communication module, and/or the third communication module.
进一步的, 所述第一通信模块或第二通信模块包括 SIM卡管理单元和 SIM卡驱动单元, 其中, 所述 SIM卡管理单元, 用于将 SIM卡的信息读取 到多模终端, 并进行相应的协议处理; 所述 SIM卡驱动单元, 用于完成 SPI 接口或 IS07816接口的驱动控制。  Further, the first communication module or the second communication module includes a SIM card management unit and a SIM card driving unit, where the SIM card management unit is configured to read information of the SIM card to the multimode terminal, and perform Corresponding protocol processing; the SIM card driving unit is used to complete the driving control of the SPI interface or the IS07816 interface.
为了更好地对本发明的技术方案进行理解, 下面针对不同的多模终端 和 SIM卡模式, 分别进行说明。  In order to better understand the technical solution of the present invention, the following description will be respectively made for different multimode terminals and SIM card modes.
先考虑单卡模式下较为简单的情况, 即: 单卡模式下双模终端对 SIM 卡的访问与管理。  Consider the simpler case in single card mode, namely: access and management of the SIM card by the dual mode terminal in single card mode.
图 3为本发明使用 SPI接口时单卡双模终端结构优选实施例的示意图, 图 3 中, 双模终端包括第一通信模块和第二通信模块, 两者结构上相同, 均包括 SIM卡管理单元和 SIM卡驱动单元, 且均支持 IS07816接口和 SPI 接口。 第一通信模块和第二通信模块分别通过 SPI接口和 IS07816接口实 现对 SIM卡的访问, 获取各自所需的 SIM卡信息, 即: SIM卡中的第一通 信模块的信息和第二通信模块的信息。 其中, 第一通信模块和第二通信模 块的 SIM卡驱动单元支持 SPI接口, 占用 SIM卡的 C3、 C4、 C8、 C6端口 (图中未示出); 同时也支持 IS07816接口, 占用 SIM卡的 Cl、 C2、 C3、3 is a schematic diagram of a preferred embodiment of a single-card dual-mode terminal structure when the SPI interface is used in the present invention. In FIG. 3, the dual-mode terminal includes a first communication module and a second communication module, both of which are identical in structure, including SIM card management. Unit and SIM card drive unit, both support IS07816 interface and SPI interface. The first communication module and the second communication module respectively access the SIM card through the SPI interface and the IS07816 interface, and obtain the SIM card information required by each, that is, the information of the first communication module in the SIM card and the information of the second communication module information. Wherein, the SIM card driving unit of the first communication module and the second communication module support the SPI interface, occupying the C3, C4, C8, C6 ports of the SIM card (not shown); also supports IS07816 interface, occupying SIM card Cl, C2, C3,
C5、 C7端口 (图中未示出), 具体实现过程属于现有技术, 在此不再赘述。 The C5 and C7 ports (not shown in the figure), the specific implementation process belongs to the prior art, and details are not described herein again.
图 4为本发明使用 SPI接口时单卡多模终端结构优选实施例的示意图, 本实施例中, 双模终端的两个通信模块分别与 SPI 总线控制器相连接, 该 SPI总线控制器通过 SPI接口与 SIM卡相连接,如此,可以通过 SPI总线控 制器实现两个通信模块对同一 SIM卡的高速访问。 其中, 图 4中通信模块 1和通信模块 2可以是第一通信模块,和 /或第二通信模块,均支持 IS07816 接口和 SPI接口。 SPI接口多模复用及并行访问可通过 SPI总线控制器实现, 具体实现过程属于现有技术, 在此不再赘述。  4 is a schematic diagram of a preferred embodiment of a single-card multi-mode terminal structure when the SPI interface is used in the present invention. In this embodiment, two communication modules of the dual-mode terminal are respectively connected to the SPI bus controller, and the SPI bus controller passes the SPI. The interface is connected to the SIM card, so that the high speed access of the two communication modules to the same SIM card can be realized by the SPI bus controller. The communication module 1 and the communication module 2 in FIG. 4 may be a first communication module, and/or a second communication module, both supporting an IS07816 interface and an SPI interface. The SPI interface multi-mode multiplexing and parallel access can be implemented by the SPI bus controller. The specific implementation process belongs to the prior art and will not be described here.
本实施例的主要特点在于: 不用 SIM卡代理单元转发方式就可以实现 多模终端并行高速访问 SIM卡, 但终端硬件改动较大。  The main features of this embodiment are as follows: The multi-mode terminal can realize high-speed access to the SIM card in parallel without using the SIM card proxy unit forwarding mode, but the terminal hardware changes greatly.
其次, 考虑单卡模式下较为复杂的情况, 即: 单卡模式下多模终端对 SIM卡的访问与管理。  Secondly, consider the more complicated situation in the single card mode, namely: access and management of the SIM card by the multimode terminal in the single card mode.
在这种情况下, 如果采用图 3 所示的方式, 显然已经无法实现多模终 端对 SIM卡的访问与管理。 如果仍采用图 4所示的方式, 虽然可以实现多 模终端对 SIM卡的访问与管理, 但由于各个通信模块只能分时而无法同时 对 SIM卡进行访问和管理, 因此数据传输速率势必会受到影响, 可能无法 满足较高数据传输速率的现实需求。 为此, 本发明提出了采用 SPI接口与 SIM 卡代理单元转发相结合的方式实现多模终端对 SIM 卡进行访问和管 理, 如图 5所示。  In this case, if the method shown in Figure 3 is used, it is obviously impossible to implement access and management of the SIM card by the multimode terminal. If the method shown in FIG. 4 is still adopted, although the access and management of the SIM card by the multi-mode terminal can be realized, since the communication modules can only access and manage the SIM card at the same time, the data transmission rate is bound to be affected. Impact, may not meet the real needs of higher data transfer rates. To this end, the present invention proposes to implement a multi-mode terminal to access and manage a SIM card by using a combination of an SPI interface and a SIM card proxy unit forwarding, as shown in FIG.
图 5为本发明 SIM卡代理单元转发方式下单卡多模终端结构优选实施 例的示意图。 为了叙述方便, 本实施例中将除第一通信模块和第二通信模 块以外的其余所有通信模块称为第三通信模块; 并且, 假设第一通信模块 采用 LTE制式, 第二通信模块采用 GSM制式, 第三通信模块均采用 TD制 式等。 本实施例中, 第二通信模块包括 SIM卡驱动单元和 SIM卡管理单元, 通过传统的 IS07816接口对 SIM卡直接访问。 第一通信模块除了包括 SIM 卡驱动单元和 SIM卡管理单元外, 还包括 SIM卡代理单元, 且通过 SPI接 口实现对 SIM卡进行高速访问。 而第三通信模块可以不必考虑 SIM卡硬件 及驱动设计,仅包含 SIM卡管理单元。 SIM卡代理单元作为一个中间模块, 多个通信模块之间可通过 SIM卡代理单元进行协调和配合, 并实现对 SIM 卡信息的转发或共享。 FIG. 5 is a schematic diagram of a preferred embodiment of a single card multimode terminal structure in a forwarding manner of a SIM card proxy unit according to the present invention. For convenience of description, all communication modules except the first communication module and the second communication module are referred to as a third communication module in this embodiment; and, assuming that the first communication module adopts the LTE standard, and the second communication module adopts the GSM standard The third communication module adopts the TD standard and the like. In this embodiment, the second communication module includes a SIM card driving unit and a SIM card management unit, and directly accesses the SIM card through the traditional IS07816 interface. The first communication module includes a SIM card proxy unit in addition to the SIM card drive unit and the SIM card management unit, and implements high-speed access to the SIM card through the SPI interface. The third communication module does not have to consider the SIM card hardware and driver design, and only includes the SIM card management unit. The SIM card proxy unit serves as an intermediate module, and the plurality of communication modules can coordinate and cooperate with each other through the SIM card proxy unit, and realize the forwarding or sharing of the SIM card information.
其中, 第二通信模块的 SIM卡管理单元完成 SIM卡中第二通信模块信 息的传输及管理, 并进行相应的协议处理; 第一通信模块的 SIM卡管理单 元主要用于完成获取 SIM卡中的第一通信模块信息和第三通信模块信息, 并进行相应的协议处理; SIM卡驱动单元主要用于完成 SPI接口或 IS07816 接口等接口的驱动控制; 第三通信模块的 SIM卡管理单元支持 SIM卡代理 方式,能够接收通过第一通信模块中的 SIM卡代理单元转发的 SIM卡信息。  The SIM card management unit of the second communication module completes the transmission and management of the second communication module information in the SIM card, and performs corresponding protocol processing; the SIM card management unit of the first communication module is mainly used to complete the acquisition of the SIM card. First communication module information and third communication module information, and corresponding protocol processing; SIM card driving unit is mainly used to complete drive control of interfaces such as SPI interface or IS07816 interface; SIM card management unit of third communication module supports SIM card The proxy mode is capable of receiving SIM card information forwarded by the SIM card proxy unit in the first communication module.
需要指出的是, SIM卡代理单元在具体实现上可以与 SIM卡管理单元 或 SIM卡驱动单元合并。  It should be noted that the SIM card proxy unit can be combined with the SIM card management unit or the SIM card drive unit in a specific implementation.
本实施例也适用于其他高速 SIM卡接口, 主要优点是: 终端硬件改动 小, 第三通信模块可通过 SIM卡代理单元转发方式获得所需 SIM卡信息, 不仅可以很好地满足数据传输速率方面的要求, 而且可以节约通信模块的 硬件成本与设计成本。 需要指出的是, 第二通信模块通过传统的 IS07816 接口访问 SIM卡, 如考虑传输效率, 也可以通过第一通信模块获取并转发 第二通信模块信息。  This embodiment is also applicable to other high-speed SIM card interfaces. The main advantages are: The terminal hardware changes are small, and the third communication module can obtain the required SIM card information through the SIM card proxy unit forwarding mode, which not only satisfies the data transmission rate well. The requirements can also save the hardware cost and design cost of the communication module. It should be noted that the second communication module accesses the SIM card through the traditional IS07816 interface. For example, considering the transmission efficiency, the second communication module information can also be acquired and forwarded through the first communication module.
另一方面, 考虑双卡 /多卡模式的情况, 即: 双卡 /多卡模式下多模终端 对 SIM卡的访问与管理。  On the other hand, consider the case of dual-card/multi-card mode, namely: access and management of the SIM card by the multimode terminal in dual card/multi-card mode.
图 6为本发明 SIM卡代理单元转发方式下双卡 /多卡多模终端结构优选 实施例的示意图, 考虑到 SIM卡代理单元转发方式的特点, 本实施例中仍 采用这种方式实现多模终端对两张或多张 SIM卡进行访问与管理。 如图 6 所示, 由多模终端的一个第一通信模块实现 SPI接口对两张或多张 SIM卡 的直接高速访问, 该第一通信模块也兼容 IS07816接口, 多模终端的第三 通信模块可以不必考虑 SIM卡硬件及驱动设计, 通过 SIM卡代理单元转发 方式, 利用自身的 SIM卡管理单元即可完成 SIM卡信息的传输与共享。 6 is a schematic diagram of a preferred embodiment of a dual-card/multi-card multi-mode terminal structure in a forwarding mode of a SIM card proxy unit according to the present invention, and considering the characteristics of the forwarding mode of the SIM card proxy unit, In this way, the multimode terminal is used to access and manage two or more SIM cards. As shown in FIG. 6, a first communication module of the multimode terminal implements direct high-speed access of the SPI interface to two or more SIM cards, and the first communication module is also compatible with the IS07816 interface, and the third communication module of the multimode terminal. It is not necessary to consider the SIM card hardware and driver design, and the SIM card information unit can be used to transfer and share the SIM card information through the SIM card proxy unit forwarding mode.
本实施例中, 第一通信模块包括 SIM卡驱动单元、 SIM卡管理单元、 SIM卡代理等; 第一通信模块 SIM卡驱动单元支持 SPI接口, 可支持两种 访问 SIM卡的方式: 一种是 IS07816接口, 占用 SIM卡的 Cl、 C2、 C3、 C5、 C7端口 (图中未示出); 另一种是 SPI接口, 占用 SIM卡的 C3、 C4、 C8、 C6端口 (图中未示出)。 第三通信模块不包括 SIM卡驱动单元和 SIM 卡代理, 仅包括 SIM卡管理单元等, 不支持 SIM卡接口, 但支持 SIM卡代 理单元转发方式。  In this embodiment, the first communication module includes a SIM card driving unit, a SIM card management unit, a SIM card agent, and the like; the first communication module SIM card driving unit supports an SPI interface, and can support two ways of accessing the SIM card: IS07816 interface, occupying the Cl, C2, C3, C5, C7 ports of the SIM card (not shown); the other is the SPI interface, occupying the C3, C4, C8, C6 ports of the SIM card (not shown in the figure) ). The third communication module does not include the SIM card driving unit and the SIM card proxy, and only includes the SIM card management unit, etc., does not support the SIM card interface, but supports the SIM card proxy unit forwarding mode.
第一通信模块的 SIM卡管理单元完成将 SIM卡信息的传输及管理, 并 进行相应的协议处理; 第三通信模块的 SIM卡管理单元能够接收通过第一 通信模块中 SIM卡代理单元转发的 SIM卡信息。  The SIM card management unit of the first communication module completes the transmission and management of the SIM card information, and performs corresponding protocol processing; the SIM card management unit of the third communication module can receive the SIM forwarded by the SIM card proxy unit in the first communication module. Card information.
图 6 给出的是两张 SIM 卡的情况, 第一通信模块分别通过传统的 IS07816接口和 SPI接口与 SIM卡 1和 SIM卡 2相连接。 当存在三张以上 SIM卡的多卡情况时, 利用 SPI技术仍可以实现多模终端的通信模块同时 对多张 SIM卡的访问。 SPI接口是一个同步协议接口, 支持一个主控设备 控制多个从控设备。 通过 SPI接口, 可以方便地实现通信模块对多张 SIM 卡进行高速访问。 其中, 一个 SPI接口可控制四张 SIM卡。 具体实现过程 属于现有技术, 在此不再赘述。  Figure 6 shows the case of two SIM cards. The first communication module is connected to SIM card 1 and SIM card 2 via the traditional IS07816 interface and SPI interface. When there are more than three SIM card multi-card cases, the communication module of the multi-mode terminal can still access multiple SIM cards at the same time by using SPI technology. The SPI interface is a synchronous protocol interface that supports one master device to control multiple slave devices. Through the SPI interface, the communication module can easily realize high-speed access to multiple SIM cards. Among them, one SPI interface can control four SIM cards. The specific implementation process belongs to the prior art, and details are not described herein again.
本实施例也适用于其他高速 SIM卡接口, 主要优点在于: 利用 SPI接 口扩展好的特点容易实现对两张或多张 SIM卡的访问, 第三通信模块可通 过自身的 SIM卡管理单元完成 SIM卡信息的传输与共享。 最后需要说明的是, 图 5 中内部接口包括应用模块与通信模块、 以及 通信模块与通信模块之间的通信物理接口, 其中, 应用模块与每个通信模 块都存在内部接口, 多个通信模块之间也存在内部接口; 这里, 所述通信 模块包括第一通信模块、 第二通信模块和第三通信模块; 应用模块可采用 独立的应用处理器。 实际应用中, 多个通信模块之间也可以不存在内部接 口, 而是通过应用模块完成传输与共享信息的中转, 如图 7所示。 This embodiment is also applicable to other high-speed SIM card interfaces. The main advantages are: access to two or more SIM cards can be easily realized by using the SPI interface to expand the features, and the third communication module can complete the SIM through its own SIM card management unit. Card information transmission and sharing. Finally, it should be noted that the internal interface in FIG. 5 includes an application module and a communication module, and a communication physical interface between the communication module and the communication module, wherein the application module and each communication module have an internal interface, and the plurality of communication modules There is also an internal interface; here, the communication module includes a first communication module, a second communication module, and a third communication module; and the application module can employ a separate application processor. In practical applications, the internal interfaces may not exist between multiple communication modules, but the transmission of the transmission and sharing information is completed by the application module, as shown in FIG. 7 .
图 7为本发明 SIM卡代理单元位于应用模块时 SIM卡信息读取结构优 选实施例的示意图, 本实施例中采用智能手机架构, 应用模块采用独立的 CPU, 即应用处理器, 应用处理器通过内部接口与两个通信模块进行通信。  FIG. 7 is a schematic diagram of a preferred embodiment of a SIM card information reading structure when the SIM card proxy unit is located in an application module according to the present invention. In this embodiment, a smart phone architecture is adopted, and the application module adopts an independent CPU, that is, an application processor, and the application processor passes The internal interface communicates with two communication modules.
多模终端包括一个 3G通信模块和一个 2G通信模块; 其中, 3G通信 模块为第一通信模块, 采用 TD制式; 2G通信模块为第二通信模块, 采用 GSM制式; 应用处理器增加 SIM卡代理单元及 SIM卡驱动单元。 SIM卡 驱动单元采用 SPI接口来完成应用处理器对 SIM卡的访问控制; SIM卡代 理单元作为一个中间模块, 应用处理器与第一通信模块和第二通信模块之 间通过 SIM卡代理单元进行协调和配合, 并实现应用处理器对 SIM卡信息 的转发或共享; SIM卡代理单元负责为 3G通信模块转发 3G通信模块所需 的 SIM卡信息。  The multimode terminal includes a 3G communication module and a 2G communication module; wherein, the 3G communication module is the first communication module, adopts the TD system; the 2G communication module is the second communication module, adopts the GSM standard; the application processor adds the SIM card proxy unit And SIM card drive unit. The SIM card driving unit uses the SPI interface to complete the access control of the SIM card by the application processor; the SIM card proxy unit acts as an intermediate module, and the application processor coordinates with the first communication module and the second communication module through the SIM card proxy unit. And cooperate, and realize the forwarding or sharing of the SIM card information by the application processor; the SIM card proxy unit is responsible for forwarding the SIM card information required by the 3G communication module for the 3G communication module.
内部接口完成应用处理器与 3G通信模块和 2G通信模块之间的通信, 内部接口可包括串口、 USB等类型; 通信协议采用 AT命令传输。  The internal interface completes the communication between the application processor and the 3G communication module and the 2G communication module, and the internal interface may include a serial port, a USB, and the like; the communication protocol is transmitted by using an AT command.
为说明本实施例 SIM卡信息的传输目的及流程, 对应地将 SIM卡信息 分为 3G通信模块信息、 2G通信模块信息以及应用信息。 其中, 3G通信模 块信息和 2G通信模块信息分别为 3G通信模块和 2G通信模块实现对应网 络通信功能所需的 SIM卡信息, 如加密鉴权等信息; 而应用信息则为应用 处理器应用所需的 SIM卡信息, 如 SIM卡电话本等信息。  To illustrate the transmission purpose and flow of the SIM card information in this embodiment, the SIM card information is correspondingly divided into 3G communication module information, 2G communication module information, and application information. The 3G communication module information and the 2G communication module information are respectively SIM card information required for the 3G communication module and the 2G communication module to implement the corresponding network communication function, such as encryption authentication and the like; and the application information is required for the application processor application. SIM card information, such as SIM card phone book and other information.
2G通信模块通过 IS07816接口直接读取 SIM卡中的 2G通信模块信息, 因为 2G通信模块与 3G通信模块之间没有通信接口, 则 3G通信模块信息 需要应用处理器转发给 3G通信模块, 转发过程通过 SIM卡代理单元完成; 3G通信模块支持应用处理器中 SIM卡代理单元的转发功能, 通过 SIM卡 管理单元来获取 SIM卡代理单元转发的 3G通信模块信息。 The 2G communication module directly reads the 2G communication module information in the SIM card through the IS07816 interface. Because there is no communication interface between the 2G communication module and the 3G communication module, the 3G communication module information needs to be forwarded by the application processor to the 3G communication module, and the forwarding process is completed by the SIM card proxy unit; the 3G communication module supports the SIM card proxy unit in the application processor. The forwarding function obtains the 3G communication module information forwarded by the SIM card proxy unit through the SIM card management unit.
除了 3G通信模块信息外,应用处理器还通过该 SPI接口读取应用信息。 本实施例也适用于应用模块与某个通信模块架构在同一个处理器上的 情况, 并且也适用于其他高速访问接口, 如 USB接口。  In addition to the 3G communication module information, the application processor also reads the application information through the SPI interface. This embodiment is also applicable to the case where an application module is on the same processor as a communication module, and is also applicable to other high-speed access interfaces, such as a USB interface.
本实施例的主要优点是: 多模终端的改造主要集中在应用处理器, 使 3G通信模块改动很小, 而 2G通信模块可不做改动。  The main advantages of this embodiment are: The transformation of the multimode terminal is mainly focused on the application processor, so that the 3G communication module is changed little, and the 2G communication module can be modified.
本领域普通技术人员可以理解上述方法中的全部或部分步驟可通过程 序来控制相关硬件完成, 所述程序可以存储于计算机可读存储介质中, 如 只读存储器、 磁盘或光盘等。 可选地, 上述实施例的全部或部分步驟也可 以使用一个或多个集成电路来实现, 相应地, 上述实施例中的各模块 /单元 可以采用硬件的形式实现, 也可以采用软件功能模块的形式实现。 本发明 不限制于任何特定形式的硬件和软件的结合。  One of ordinary skill in the art will appreciate that all or a portion of the steps described above can be accomplished by controlling the associated hardware, which can be stored in a computer readable storage medium, such as a read only memory, a magnetic disk, or an optical disk. Optionally, all or part of the steps of the foregoing embodiments may also be implemented by using one or more integrated circuits. Accordingly, each module/unit in the foregoing embodiment may be implemented in the form of hardware, or may be implemented by using a software function module. Formal realization. The invention is not limited to any specific form of combination of hardware and software.
以上所述仅为本发明的优选实施例而已, 并不用于限制本发明, 对于 本领域的技术人员来说, 本发明可以有各种更改和变化。 凡在本发明的精 神和原则之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明 的保护范围之内。  The above is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. within the spirit and scope of the invention are intended to be included within the scope of the invention.

Claims

权利要求书 Claim
1、 一种多模终端与 SIM卡信息传输系统, 其特征在于, 该系统包括: 多模终端、 SIM卡和 SPI接口, 所述多模终端进一步包括至少一个第一通 信模块; 其中,  A multi-mode terminal and a SIM card information transmission system, the system comprising: a multi-mode terminal, a SIM card, and an SPI interface, the multi-mode terminal further comprising at least one first communication module;
所述第一通信模块, 用于通过 SPI接口向 SIM卡发送所需 SIM卡信息 的读取指令;  The first communication module is configured to send a read instruction of the required SIM card information to the SIM card through the SPI interface;
所述 SIM卡, 用于接收第一通信模块的读取指令, 并通过 SPI接口向 所述第一通信模块返回相应的 SIM卡信息;  The SIM card is configured to receive a read instruction of the first communication module, and return corresponding SIM card information to the first communication module by using an SPI interface;
所述 SPI接口, 用于实现第一通信模块与 SIM卡之间的通信。  The SPI interface is configured to implement communication between the first communication module and the SIM card.
2、 根据权利要求 1所述的系统, 其特征在于, 所述多模终端进一步包 括应用模块和内部接口; 其中,  2. The system according to claim 1, wherein the multimode terminal further comprises an application module and an internal interface;
所述应用模块, 用于完成与用户的交互, 处理与网络无关的本地业务、 通信类业务的本地逻辑部分、 以及对第一通信模块进行通信控制;  The application module is configured to complete interaction with a user, process a local service related to the network, a local logic part of the communication type service, and perform communication control on the first communication module;
所述内部接口, 用于实现应用模块与第一通信模块之间的通信。  The internal interface is configured to implement communication between the application module and the first communication module.
3、 根据权利要求 1 所述的系统, 其特征在于, 所述多模终端还包括 IS07816接口和第二通信模块; 其中,  The system according to claim 1, wherein the multimode terminal further includes an IS07816 interface and a second communication module;
所述第二通信模块,用于通过 IS07816接口向 SIM卡发送所需 SIM卡 信息的读取指令;  The second communication module is configured to send a read instruction of the required SIM card information to the SIM card through the IS07816 interface;
相应地, 所述 SIM 卡, 用于接收第二通信模块的读取指令, 并通过 IS07816接口向所述第二通信模块返回相应的 SIM卡信息。  Correspondingly, the SIM card is configured to receive a read instruction of the second communication module, and return corresponding SIM card information to the second communication module through the IS07816 interface.
4、 根据权利要求 2或 3所述的系统, 其特征在于, 所述多模终端还包 括第三通信模块, 通过内部接口与第一通信模块相连, 用于通过内部接口 接收第一通信模块发来的、 自身所需的、第一通信模块通过 SPI接口从 SIM 卡获取的 SIM卡信息。  The system according to claim 2 or 3, wherein the multimode terminal further comprises a third communication module, which is connected to the first communication module through an internal interface, and is configured to receive the first communication module through the internal interface. The SIM card information obtained by the first communication module from the SIM card through the SPI interface.
5、 根据权利要求 4所述的系统, 其特征在于, 所述第一通信模块包括 SIM卡代理单元, 用于将第一通信模块获取的第三通信模块所需的 SIM卡 信息转发给第三通信模块。 5. The system of claim 4, wherein the first communication module comprises The SIM card proxy unit is configured to forward the SIM card information required by the third communication module acquired by the first communication module to the third communication module.
6、 根据权利要求 1所述的系统, 其特征在于, 该系统还包括 SPI总线 控制器, 所述第一通信模块通过 SPI总线控制器与 SPI接口相连接; 所述 SPI总线控制器, 用于选通多模终端中的通信模块。  6. The system according to claim 1, wherein the system further comprises an SPI bus controller, wherein the first communication module is connected to the SPI interface through an SPI bus controller; the SPI bus controller is configured to The communication module in the multimode terminal is gated.
7、 根据权利要求 3所述的系统, 其特征在于, 所述第一通信模块或第 二通信模块包括 SIM卡管理单元和 SIM卡驱动单元; 其中,  The system according to claim 3, wherein the first communication module or the second communication module comprises a SIM card management unit and a SIM card driving unit;
所述 SIM卡管理单元,用于完成向 SIM卡发送所需 SIM卡信息的读取 指令, 将 SIM卡的信息读取到多模终端, 并进行相应的协议处理;  The SIM card management unit is configured to complete a read instruction for sending the required SIM card information to the SIM card, read the information of the SIM card to the multimode terminal, and perform corresponding protocol processing;
所述 SIM卡驱动单元,用于完成 SPI接口或 IS07816接口的驱动控制。 The SIM card driving unit is configured to complete driving control of the SPI interface or the IS07816 interface.
8、 一种多模终端与 SIM卡信息传输方法, 其特征在于, 该方法包括: 多模终端中至少一个第一通信模块通过 SPI接口向 SIM 卡发送所需8. A multimode terminal and SIM card information transmission method, the method comprising: transmitting, by a SPI interface, at least one first communication module in a multimode terminal to a SIM card
SIM卡信息的读取指令; Reading instruction of SIM card information;
SIM卡接收到读取指令后, 通过 SPI接口向发送读取指令的第一通信 模块返回相应的 SIM卡信息。  After receiving the read command, the SIM card returns the corresponding SIM card information to the first communication module that sends the read command through the SPI interface.
9、 根据权利要求 8所述的方法, 其特征在于, 该方法还包括: 多模终 端中的第二通信模块通过 IS07816接口向 SIM卡发送所需 SIM卡信息的读 取指令, 获取自身所需的 SIM卡信息; SIM卡通过 IS07816接口向发送读 取指令的第二通信模块返回相应的 SIM卡信息。  The method according to claim 8, wherein the method further comprises: the second communication module in the multimode terminal sends a read instruction of the required SIM card information to the SIM card through the IS07816 interface, to obtain the required The SIM card information; the SIM card returns the corresponding SIM card information to the second communication module that sends the read command through the IS07816 interface.
10、 根据权利要求 8或 9所述的方法, 其特征在于, 该方法还包括: 第一通信模块接收到所需的 SIM卡信息后, 通过内部接口向第三通信模块 发送第三通信模块所需的 SIM卡信息。  The method according to claim 8 or 9, wherein the method further comprises: after receiving the required SIM card information, the first communication module sends the third communication module to the third communication module through the internal interface. Required SIM card information.
11、 根据权利要求 10所述的方法, 其特征在于, 所述第一通信模块接 收到所需的 SIM卡信息后, 通过 SIM卡代理单元经由内部接口将获取的第 三通信模块所需的 SIM卡信息转发给第三通信模块。 The method according to claim 10, wherein after the first communication module receives the required SIM card information, the SIM required by the third communication module is acquired by the SIM card proxy unit via the internal interface. The card information is forwarded to the third communication module.
12、 根据权利要求 8或 9所述的方法, 其特征在于, 所述第一通信模 块通过 SPI接口向 SIM卡发送所需 SIM卡信息的读取指令为: 所述第一通 信模块通过 SPI总线控制器与 SPI接口相连, 经由 SPI总线控制器和 SPI 接口向 SIM卡发送所需 SIM卡信息的读取指令, 获取所需的 SIM卡信息。 The method according to claim 8 or 9, wherein the first communication module sends the required SIM card information to the SIM card through the SPI interface: the first communication module passes through the SPI bus The controller is connected to the SPI interface, and sends a read instruction of the required SIM card information to the SIM card via the SPI bus controller and the SPI interface to obtain the required SIM card information.
PCT/CN2011/082244 2011-09-19 2011-11-15 Multi-mode terminal and sim card information transmitting system and method WO2012151902A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110277615.5 2011-09-19
CN2011102776155A CN102368878A (en) 2011-09-19 2011-09-19 Multimode terminal as well as SIM (subscriber identity module) card information transmission system and method

Publications (1)

Publication Number Publication Date
WO2012151902A1 true WO2012151902A1 (en) 2012-11-15

Family

ID=45761424

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/082244 WO2012151902A1 (en) 2011-09-19 2011-11-15 Multi-mode terminal and sim card information transmitting system and method

Country Status (2)

Country Link
CN (1) CN102368878A (en)
WO (1) WO2012151902A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111225414A (en) * 2018-11-26 2020-06-02 中兴通讯股份有限公司 Multimode communication device, communication method thereof and multimode communication system

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103313439A (en) * 2012-03-16 2013-09-18 中国移动通信集团广东有限公司 Single-card multi-module terminal and communication processing method thereof
CN102790960A (en) * 2012-06-30 2012-11-21 北京创毅讯联科技股份有限公司 Method, chip and terminal capable of achieving access of multi-mode communication modules to user identification card
CN104125557B (en) * 2013-04-23 2018-10-02 中国移动通信集团广东有限公司 Mobile terminal and USIM card dispatching method
CN104010353B (en) * 2014-05-20 2017-12-29 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN104955049A (en) * 2015-06-29 2015-09-30 南京熊猫电子股份有限公司 Modular circuit and method for realizing secondary encryption through mini UICC (universal integrated circuit card)
CN106851618A (en) * 2017-02-24 2017-06-13 苏州蜗牛数字科技股份有限公司 A kind of intelligent terminal and method for realizing dynamic virtual usim card
CN107277937B (en) * 2017-07-14 2021-12-14 曾仲林 CISC (common information center) equipment and communication method thereof
CN115065966B (en) 2017-11-30 2024-04-09 华为技术有限公司 Terminal and communication method
WO2021007731A1 (en) * 2019-07-12 2021-01-21 北京小米移动软件有限公司 Method and apparatus for indicating timing advance, and communication device and storage medium
CN114666380A (en) * 2022-03-07 2022-06-24 中交信通网络科技有限公司 Multi-system-in-one Internet of things device based on centralized control
CN115203096B (en) * 2022-06-27 2023-03-10 北京连山科技股份有限公司 Method for realizing SIM card zooming

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6901457B1 (en) * 1998-11-04 2005-05-31 Sandisk Corporation Multiple mode communications system
CN101848559A (en) * 2010-05-13 2010-09-29 中兴通讯股份有限公司 Realization system for information transmission and smart card
CN201663637U (en) * 2010-03-31 2010-12-01 重庆重邮信科通信技术有限公司 Interface of multi-mode terminal radio frequency chip and baseband chip
CN101945502A (en) * 2010-09-03 2011-01-12 展讯通信(上海)有限公司 Single-card dual-mode terminal and communication method thereof
CN102033828A (en) * 2010-11-24 2011-04-27 中兴通讯股份有限公司 Method and system for accessing external card

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200945865A (en) * 2008-04-23 2009-11-01 Mediatek Inc Method for handling the equipment identity requests and communication apparatus utilizing the same
CN101980556A (en) * 2010-10-20 2011-02-23 中兴通讯股份有限公司 Method and device for communicating double-network double-standby terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6901457B1 (en) * 1998-11-04 2005-05-31 Sandisk Corporation Multiple mode communications system
CN201663637U (en) * 2010-03-31 2010-12-01 重庆重邮信科通信技术有限公司 Interface of multi-mode terminal radio frequency chip and baseband chip
CN101848559A (en) * 2010-05-13 2010-09-29 中兴通讯股份有限公司 Realization system for information transmission and smart card
CN101945502A (en) * 2010-09-03 2011-01-12 展讯通信(上海)有限公司 Single-card dual-mode terminal and communication method thereof
CN102033828A (en) * 2010-11-24 2011-04-27 中兴通讯股份有限公司 Method and system for accessing external card

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111225414A (en) * 2018-11-26 2020-06-02 中兴通讯股份有限公司 Multimode communication device, communication method thereof and multimode communication system
CN111225414B (en) * 2018-11-26 2023-09-08 中兴通讯股份有限公司 Multimode communication device, communication method thereof and multimode communication system

Also Published As

Publication number Publication date
CN102368878A (en) 2012-03-07

Similar Documents

Publication Publication Date Title
WO2012151902A1 (en) Multi-mode terminal and sim card information transmitting system and method
JP4885945B2 (en) Peripheral device management method using SIM card in wireless communication terminal and peripheral device for executing the method
JP4891253B2 (en) Shared IC card and wireless transceiver module for mobile communication equipment
US10397276B2 (en) Secure element management method and terminal
US20180310157A1 (en) Near field communication method and mobile terminal
US9003179B2 (en) Wireless internet access module, communication method for host and wireless internet access module, and data card
CN102474795B (en) Radio communication device and wireless communication control method
CN101807945B (en) Wireless data transmission system and data transmission method utilizing same
WO2012079330A1 (en) Method and apparatus for implementing service distribution for dual-network dual-standby terminal
CN102033828A (en) Method and system for accessing external card
WO2012155497A1 (en) Multimode terminal and method for implementing multimode multi-waiting
CN111132129B (en) SIM card information acquisition device and communication terminal device
WO2019104989A1 (en) Terminal and communication method
CN205883594U (en) A network system is stepped on to single modem double cassette of developments download number is provided
WO2012151956A1 (en) Method, device and terminal for acquiring sim card data
KR101803972B1 (en) Apparatus having Universal Integrated Circuit card and File registration Method and Peer-to-Peer Transmission Method using the same
CN204795241U (en) A net cell -phone is stepped on to single modem double cassette of developments download number is provided
JP5848741B2 (en) Communication method between host and wireless internet access module, and host communication module
KR101147698B1 (en) Memory Card with Wireless Communications Module and WPAN Telecommunication Method Using the Same
CN102984830A (en) Multi-module mobile terminal and access method of user identification card

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 11865148

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11865148

Country of ref document: EP

Kind code of ref document: A1