[go: up one dir, main page]

CN107004105B - An information card identification circuit and terminal - Google Patents

An information card identification circuit and terminal Download PDF

Info

Publication number
CN107004105B
CN107004105B CN201580065488.9A CN201580065488A CN107004105B CN 107004105 B CN107004105 B CN 107004105B CN 201580065488 A CN201580065488 A CN 201580065488A CN 107004105 B CN107004105 B CN 107004105B
Authority
CN
China
Prior art keywords
information card
control chip
card
information
control
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201580065488.9A
Other languages
Chinese (zh)
Other versions
CN107004105A (en
Inventor
张明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Honor Device Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN107004105A publication Critical patent/CN107004105A/en
Application granted granted Critical
Publication of CN107004105B publication Critical patent/CN107004105B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Telephone Function (AREA)

Abstract

A kind of release identification circuit and terminal, are related to field of communication technology, solve existing user and obscure SIM card interface and intelligent card interface, lead to the problem of plug-in card mistake.Release identification circuit (10) includes: deck (101), the selection switch of N × 1 (102), N number of information card control chip (103) and controller (104);Deck (101), for loading release, the selection switch of N × 1 (102), the release loaded on deck (101) is connected to by the control signal for being inputted according to controller (104) with a chip in N number of information card control chip (103);N number of information card control chip (103), for controlling N kind release correspondingly;Controller (104), for detecting whether there is release to be loaded into deck (101), after having detected that release is loaded into deck (101), successively switch (102) is selected to input M control signal to N × 1, until controller (104) are after receiving response data, when determining that release matches with the information card control chip (103) that release is currently connected to, terminates to control terminal and send control signal.

Description

一种信息卡识别电路及终端An information card identification circuit and terminal

技术领域technical field

本发明涉及通信技术领域,尤其涉及一种信息卡识别电路及终端。The invention relates to the field of communication technology, in particular to an information card identification circuit and a terminal.

背景技术Background technique

随着多媒体技术的发展,机顶盒功能呈现多样化发展,可以同时支持智能卡和客户识别模块(Subscriber Identity Module,SIM)卡,实现双卡插入。With the development of multimedia technology, the functions of the set-top box are diversified, and can support smart cards and subscriber identity module (Subscriber Identity Module, SIM) cards at the same time, so as to realize dual-card insertion.

但是,根据国际标准化组织(International Organization forStandardization,ISO)7816协议中智能卡和SIM卡的设计尺寸的规定,许多生产厂商在设计机顶盒时,设计的SIM接口和智能卡接口的外形尺寸是一样的,这就使得很多用户在插入SIM卡和智能卡的过程中,容易混淆这两个接口,造成插卡错误,用户体验极差。However, according to the design dimensions of smart cards and SIM cards in the International Organization for Standardization (International Organization for Standardization, ISO) 7816 protocol, when many manufacturers design set-top boxes, the dimensions of the designed SIM interface and smart card interface are the same. This makes it easy for many users to confuse the two interfaces during the process of inserting the SIM card and the smart card, resulting in card insertion errors and extremely poor user experience.

发明内容Contents of the invention

本发明的实施例提供一种信息卡识别电路及终端,解决了现有用户混淆插卡口,导致插卡错误的问题。The embodiment of the present invention provides an information card identification circuit and terminal, which solves the problem that existing users confuse the card slot and cause wrong card insertion.

为达到上述目的,本发明的实施例采用如下技术方案:In order to achieve the above object, embodiments of the present invention adopt the following technical solutions:

第一方面,本发明实施例提供一种信息卡识别电路,包括:卡座、N×1选择开关、N个信息卡控制芯片、以及控制器;所述N为大于或者等于2的整数;所述N×1选择开关包括:控制端,公共端,N个选择端,所述控制端与所述控制器连接,所述公共端与所述卡座的第一端连接,N个所述选择端分别与所述N个信息卡控制芯片连接;所述控制器连接所述卡座的第二端、以及所述N个信息卡控制芯片;In the first aspect, an embodiment of the present invention provides an information card identification circuit, including: a card holder, an N×1 selection switch, N information card control chips, and a controller; said N is an integer greater than or equal to 2; The N×1 selection switch includes: a control terminal, a common terminal, and N selection terminals, the control terminal is connected to the controller, the common terminal is connected to the first end of the deck, and N selection terminals The terminals are respectively connected to the N information card control chips; the controller is connected to the second end of the card holder and the N information card control chips;

其中,所述卡座,用于装载信息卡;Wherein, the card holder is used for loading information cards;

所述信息卡,用于向所述信息卡控制芯片发送响应数据;The information card is configured to send response data to the information card control chip;

所述信息卡控制芯片,用于在确定与所述信息卡连通后,接收所述响应数据,并将所述响应数据发送至所述控制器;The information card control chip is configured to receive the response data and send the response data to the controller after it is determined to be connected to the information card;

所述控制器,用于检测是否有所述信息卡装载于所述卡座,当检测到有所述信息卡装载于所述卡座后,依次向所述N×1选择开关的控制端输出控制信号,直到所述控制器在接收到所述响应数据后,确定所述信息卡与所述信息卡当前连通的信息卡控制芯片相匹配时,终止向控制端发送控制信号;The controller is used to detect whether the information card is loaded on the deck, and when it is detected that the information card is loaded on the deck, sequentially output to the control terminal of the N×1 selection switch Control signals, until the controller determines that the information card matches the information card control chip currently connected to the information card after receiving the response data, and then terminates sending the control signal to the control terminal;

所述N×1选择开关,用于根据从所述控制端接收的控制信号,将所述卡座上装载的信息卡与所述N个信息卡控制芯片中的一个信息卡控制芯片连通。The N×1 selection switch is used for connecting the information card loaded on the deck with one of the N information card control chips according to the control signal received from the control terminal.

在第一方面的第一种可实现方式中,结合第一方面,所述控制器依次向所述N×1选择开关的控制端输出控制信号具体为,所述控制器用于:In the first implementable manner of the first aspect, in combination with the first aspect, the controller sequentially outputs control signals to the control terminal of the N×1 selection switch, specifically, the controller is used for:

向所述N×1选择开关的控制端输出第一控制信号,所述第一控制信号用于指示所述N×1选择开关将所述公共端与第一选择端连通,所述第一选择端与第一信息卡控制芯片连接;Outputting a first control signal to the control terminal of the N×1 selection switch, the first control signal is used to instruct the N×1 selection switch to connect the common terminal with the first selection terminal, and the first selection The end is connected with the first information card control chip;

确定所述信息卡与所述第一信息卡控制芯片是否匹配;determining whether the control chip of the information card matches the first information card;

若匹配,则停止向所述N×1选择开关的控制端输出控制信号;若不匹配,则向所述N×1选择开关发送第二控制信号,所述第二控制信号用于指示所述N×1选择开关将所述公共端与第二选择端连通,所述第二选择端与所述第二信息卡控制芯片连接。If it matches, stop outputting the control signal to the control terminal of the N×1 selection switch; if not, send a second control signal to the N×1 selection switch, and the second control signal is used to indicate the The N×1 selection switch connects the common terminal with the second selection terminal, and the second selection terminal is connected with the control chip of the second information card.

在第一方面的第二种可实现方式中,结合第一方面的第一种可实现方式,所述控制器用于,确定所述信息卡与所述第一信息卡控制芯片是否匹配具体为,所述控制器用于:In the second implementable manner of the first aspect, in combination with the first implementable manner of the first aspect, the controller is configured to determine whether the information card matches the first information card control chip, specifically, The controller is used for:

依次向所述第一信息卡控制芯片发送指示消息,直至接收到所述第一信息卡控制芯片返回的响应数据时,终止向所述第一信息卡控制芯片发送指示消息;所述指示消息用于指示所述第一信息卡控制芯片向所述信息卡发送供电信号、复位信号和时钟信号;Sending indication messages to the first information card control chip in sequence until receiving the response data returned by the first information card control chip, terminating sending indication messages to the first information card control chip; Instructing the first information card control chip to send a power supply signal, a reset signal and a clock signal to the information card;

获取所述信息卡的属性信息;所述属性信息用于标识所述信息卡;Obtain attribute information of the information card; the attribute information is used to identify the information card;

查询预设的信息卡控制关系表;所述信息卡控制关系表用于存储:信息卡控制芯片与所述信息卡控制芯片所控制的信息卡的对应关系;Querying the preset information card control relationship table; the information card control relationship table is used to store: the corresponding relationship between the information card control chip and the information card controlled by the information card control chip;

若所述信息卡与所述第一信息卡控制芯片对应,则确定所述信息卡与所述第一信息卡控制芯片相匹配;If the information card corresponds to the first information card control chip, then determine that the information card matches the first information card control chip;

若所述信息卡与所述第一信息卡控制芯片不对应,则确定所述信息卡与所述第一信息卡控制芯片不匹配。If the information card does not correspond to the first information card control chip, it is determined that the information card does not match the first information card control chip.

在第一方面的第三种可实现方式中,结合第一方面的第二种可实现方式,所述控制器用于,依次向所述第一信息卡控制芯片发送指示消息具体为,所述控制器用于:In the third implementable manner of the first aspect, in combination with the second implementable manner of the first aspect, the controller is configured to sequentially send indication messages to the first information card control chip, specifically, the control device for:

根据预设供电顺序向所述第一信息卡控制芯片发送第一指示消息,所述第一指示消息用于指示所述第一信息卡控制芯片向所述信息卡发送第一供电信号、复位信号和时钟信号;Send a first indication message to the first information card control chip according to a preset power supply sequence, the first indication message is used to instruct the first information card control chip to send a first power supply signal and a reset signal to the information card and clock signal;

若在预设时间内,未接收到所述第一信息卡控制芯片返回的响应数据,则向所述第一信息卡控制芯片发送第二指示消息,所述第二指示消息用于指示所述第一信息卡控制芯片向所述信息卡发送第二供电信号、复位信号和时钟信号。If the response data returned by the first information card control chip is not received within the preset time, a second indication message is sent to the first information card control chip, and the second indication message is used to indicate the The first information card control chip sends a second power supply signal, a reset signal and a clock signal to the information card.

在第一方面的第四种可实现方式中,结合第一方面至第一方面的第三种可实现方式中的任一种可实现方式,所述卡座上设置有:连接所述控制器的卡在位侦测电路;In the fourth possible realization of the first aspect, in combination with any one of the third possible realizations from the first aspect to the first aspect, the deck is provided with: connecting the controller Card presence detection circuit;

所述控制器用于,检测是否有所述信息卡装载于所述卡座具体为,所述控制器用于:The controller is used to detect whether the information card is loaded on the deck. Specifically, the controller is used to:

根据所述卡在位侦测电路的电压值,确定是否有所述信息卡装载于所述卡座。According to the voltage value of the card presence detection circuit, it is determined whether the information card is loaded in the card holder.

第二方面,本发明实施例提供一种终端,包含至少一个如第一方面至第一方面的第四种可实现方式中任一种可实现方式中所述的信息卡识别电路。In a second aspect, an embodiment of the present invention provides a terminal, including at least one information card identification circuit as described in any one of the fourth implementable manners from the first aspect to the first aspect.

由上可知,本发明实施例提供一种信息卡识别电路,包括:卡座,N×1选择开关、N个信息卡控制芯片、以及控制器;所述卡座,用于装载信息卡,所述N×1选择开关,用于根据所述控制器输入的控制信号,将所述卡座上装载的信息卡与所述N个信息卡控制芯片中的一个芯片连通;所述N个信息卡控制芯片,用于一一对应的控制N种信息卡;所述控制器,用于检测是否有信息卡装载于所述卡座,当检测到有信息卡装载于所述卡座后,依次向所述N×1选择开关输入M个控制信号,直至所述控制器在接收到所述响应数据后,确定所述信息卡与所述信息卡当前连通的信息卡控制芯片相匹配时,终止向控制端发送控制信号。如此,在本发明实施例提供的信息卡识别电路中,当用户将信息卡装载于卡槽之后,通过控制器依次向选择开关发送控制信号,使选择开关切换信息卡与信息卡控制芯片间的连接,直至将信息卡与其匹配的信息卡控制芯片相连通,对于用户而言,无需担心信息卡差错,提高了用户体验,解决了现有用户混淆SIM卡接口和智能卡接口,导致插卡错误的问题。It can be seen from the above that the embodiment of the present invention provides an information card identification circuit, including: a card holder, an N×1 selection switch, N information card control chips, and a controller; the card holder is used to load an information card, and the The N×1 selection switch is used to connect the information card loaded on the deck with one of the N information card control chips according to the control signal input by the controller; the N information cards The control chip is used to control N types of information cards in a one-to-one correspondence; the controller is used to detect whether there is an information card loaded on the card holder, and when it is detected that an information card is loaded on the card holder, the The N×1 selection switch inputs M control signals until the controller determines that the information card matches the information card control chip currently connected to the information card after receiving the response data, and terminates sending The control terminal sends a control signal. In this way, in the information card identification circuit provided by the embodiment of the present invention, after the user loads the information card into the card slot, the controller sequentially sends control signals to the selection switch to make the selection switch switch between the information card and the information card control chip. Connect until the information card is connected with the matching information card control chip. For the user, there is no need to worry about the error of the information card, which improves the user experience and solves the problem that the existing users confuse the SIM card interface and the smart card interface, resulting in wrong card insertion. question.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. Those skilled in the art can also obtain other drawings based on these drawings without creative work.

图1为本发明实施例提供的一种信息卡识别电路的结构图;Fig. 1 is a structural diagram of an information card identification circuit provided by an embodiment of the present invention;

图2为本发明实施例提供的一种卡座的结构图;Fig. 2 is a structural diagram of a deck provided by an embodiment of the present invention;

图3为本发明实施例提供的一种2×1选择开关的结构图;FIG. 3 is a structural diagram of a 2×1 selection switch provided by an embodiment of the present invention;

图4为本发明实施例提供的一种终端的结构图。FIG. 4 is a structural diagram of a terminal provided by an embodiment of the present invention.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

图1为本发明实施例提供的一种信息卡识别电路10的结构图,如图1所示,所述信息卡识别电路可以包括:卡座101,N×1选择开关102、N个信息卡控制芯片103、以及控制器104,所述N为大于或者等于2的整数。Fig. 1 is a structural diagram of an information card identification circuit 10 provided by an embodiment of the present invention. As shown in Fig. 1, the information card identification circuit may include: a deck 101, an N×1 selection switch 102, and N information cards Controlling the chip 103 and the controller 104, the N is an integer greater than or equal to 2.

其中,所述卡座101,用于装载信息卡。Wherein, the card holder 101 is used for loading information cards.

所述信息卡可以为:客户识别模块(Subscriber Identity Module,SIM)卡、或者智能卡,用于在自身供电成功的情况下,向所述信息卡控制芯片发送响应数据;所述响应数据可以为信息卡的IO通信时钟频率。The information card can be: a customer identification module (Subscriber Identity Module, SIM) card, or a smart card, used to send response data to the information card control chip when the power supply is successful; the response data can be information The IO communication clock frequency of the card.

所述N×1选择开关102可以包括:控制端、公共端以及N个选择端;所述公共端连接所述卡座101的第一端,所述控制端连接所述控制器104,所述N个选择端分别一一对应的与所述N个信息卡控制芯片103连接;用于根据从所述控制端接收的控制信号,将所述公共端与所述N个选择端中的一个选择端连通,即将卡座上装载的信息卡与所述N个信息卡控制芯片中的一个信息卡控制芯片连通。The N×1 selection switch 102 may include: a control terminal, a common terminal and N selection terminals; the common terminal is connected to the first terminal of the deck 101, the control terminal is connected to the controller 104, and the The N selection terminals are respectively connected to the N information card control chips 103 in one-to-one correspondence; for selecting the common terminal with one of the N selection terminals according to the control signal received from the control terminal The terminals are connected, that is, the information card loaded on the deck is connected with one of the N information card control chips.

所述控制器104可以为是一个中央处理器(central processing unit,CPU),连接所述卡座101的第二端、以及所述N个信息卡控制芯片;用于检测是否有所述信息卡装载于所述卡座,当检测到有所述信息卡装载于所述卡座后,依次向所述N×1选择开关的控制端输出控制信号,直到所述控制器在接收到所述响应数据后,确定所述信息卡与所述信息卡当前连通的信息卡控制芯片相匹配时,终止向控制端发送控制信号。The controller 104 can be a central processing unit (central processing unit, CPU), connected to the second end of the card holder 101 and the N information card control chips; used to detect whether there is the information card loaded on the deck, and when it is detected that the information card is loaded on the deck, the control signal is sequentially output to the control terminal of the N×1 selection switch until the controller receives the response After receiving the data, when it is determined that the information card matches the information card control chip currently connected to the information card, the sending of the control signal to the control terminal is terminated.

其中,本发明实施例中所述的相匹配可以指:与所述信息卡当前连通的信息卡控制芯片为控制所述信息卡的控制芯片。Wherein, the matching mentioned in the embodiment of the present invention may refer to: the information card control chip that is currently connected to the information card is the control chip that controls the information card.

如此,在本发明实施例提供的信息卡识别电路中,当用户将信息卡装载于卡槽之后,通过控制器依次向选择开关发送控制信号,使选择开关切换信息卡与信息卡控制芯片间的连接,直至将信息卡与其匹配的信息卡控制芯片相连通,对于用户而言,无需担心信息卡差错,提高了用户体验,解决了现有用户混淆SIM卡接口和智能卡接口,导致插卡错误的问题。In this way, in the information card identification circuit provided by the embodiment of the present invention, after the user loads the information card into the card slot, the controller sequentially sends control signals to the selection switch to make the selection switch switch between the information card and the information card control chip. Connect until the information card is connected with the matching information card control chip. For the user, there is no need to worry about the error of the information card, which improves the user experience and solves the problem that the existing users confuse the SIM card interface and the smart card interface, resulting in wrong card insertion. question.

具体的,遵循ISO7816协议规范,现有包括智能卡或SIM卡在内的信息卡上通常需要设置有四个功能性的金属引脚,如:电源电压(Volt Current Condenser,VCC)引脚、复位(Reset,RST)引脚、输入输出(Input Output,IO)引脚、时钟(Clock,CLK)引脚以进行数据传输的引脚,因此,为了使信息卡装载在卡座101上,且与信息卡控制芯片连通,完成数据通信,所述卡座101的第一端、所述N×1选择开关102的公共端、所述N×1选择开关102的每个选择端、以及信息卡控制芯片上均需要对应设置有:VCC引脚、RST引脚、IO引脚、以及CLK引脚四个引脚;并且,如图1所示,所述卡座101的第一端与所述公共端连接具体可以为:Specifically, following the ISO7816 protocol specification, existing information cards including smart cards or SIM cards usually need to be provided with four functional metal pins, such as: power supply voltage (Volt Current Condenser, VCC) pin, reset ( Reset, RST) pins, input and output (Input Output, IO) pins, clock (Clock, CLK) pins are pins for data transmission, therefore, in order to make the information card loaded on the card holder 101, and with the information The card control chip is connected to complete data communication. The first end of the card holder 101, the common end of the N×1 selection switch 102, each selection end of the N×1 selection switch 102, and the information card control chip All need to be provided with correspondingly: VCC pin, RST pin, IO pin, and CLK pin four pins; The connection can be specifically:

所述第一端的四个引脚与N×1选择开关102的公共端设置的四个引脚:VCC引脚、RST引脚、IO引脚、以及CLK引脚一一连接,形成四个连接通道。The four pins of the first end are connected with the four pins set at the common end of the N×1 selection switch 102: VCC pin, RST pin, IO pin, and CLK pin one by one to form four Connection channel.

所述选择端与所述信息卡控制芯片连接具体可以为:The connection between the selection terminal and the control chip of the information card may specifically be:

所述选择端的四个引脚与信息卡控制芯片上设置的四个引脚:VCC引脚、RST引脚、IO引脚、以及CLK引脚一一连接,形成四个连接通道。The four pins of the selection end are connected with four pins on the information card control chip: VCC pin, RST pin, IO pin, and CLK pin one by one to form four connection channels.

具体的,为了方便地检测出是否有卡装载于所述卡座101内,本发明实施例中,所述卡座101上还可以设置有:卡在位侦测电路;所述卡在位侦测电路与所述控制器连接;Specifically, in order to conveniently detect whether there is a card loaded in the card holder 101, in the embodiment of the present invention, the card holder 101 may also be provided with: a card in-position detection circuit; the card in-position detection circuit; The measuring circuit is connected with the controller;

其中,所述卡在位侦测电路可以根据信息卡装载于或拔出所述卡座101的情况,呈现不同的电压值;Wherein, the card presence detection circuit can present different voltage values according to the information card loaded or pulled out from the card holder 101;

所述控制器,可以用于根据所述卡在位侦测电路上的电压值,确定是否有信息卡装载于所述卡座101。The controller can be used to determine whether an information card is loaded in the card holder 101 according to the voltage value of the card position detection circuit.

例如,图2为本发明实施例提供的图1所述卡座101的结构图,如图2所示,所述卡座包含13个金属引脚,和一个3.3V+10K电阻上拉的外围电路,其中,第9个引脚为检测引脚,与外围电路连接,构成卡在位侦测电路,且控制器与该卡在位侦测电路连接,如可以与第9引脚连接,也可以与该电路的检测点连接;当卡座内装载于信息卡后,该引脚内部与地断开,外部引脚(即检测点处)为高电压;当卡座内无卡装载于时,引脚内部接地,外部引脚(检测点处)为低电压。需要说明的是,图2所示的卡座包含的引脚仅为示例性引脚,并不构成对该卡座自身结构的限制。For example, FIG. 2 is a structural diagram of the deck 101 in FIG. 1 provided by the embodiment of the present invention. As shown in FIG. 2, the deck includes 13 metal pins and a 3.3V+10K resistor pull-up peripheral Circuit, wherein, the 9th pin is a detection pin, which is connected with the peripheral circuit to form a card in-position detection circuit, and the controller is connected with the card in-position detection circuit, if it can be connected with the 9th pin, also It can be connected to the detection point of the circuit; when the information card is loaded in the card holder, the pin is disconnected from the ground internally, and the external pin (that is, the detection point) is high voltage; when there is no card loaded in the card holder , the pin is internally grounded, and the external pin (at the detection point) is a low voltage. It should be noted that the pins included in the card holder shown in FIG. 2 are only exemplary pins, and do not constitute a limitation on the structure of the card holder itself.

具体的,本发明实施例中,控制器104可以用于:Specifically, in the embodiment of the present invention, the controller 104 may be used to:

向所述N×1选择开关的控制端输出第一控制信号,所述第一控制信号用于指示所述N×1选择开关将所述公共端与第一选择端连通,所述第一选择端与第一信息卡控制芯片连接;Outputting a first control signal to the control terminal of the N×1 selection switch, the first control signal is used to instruct the N×1 selection switch to connect the common terminal with the first selection terminal, and the first selection The end is connected with the first information card control chip;

确定所述信息卡与所述第一信息卡控制芯片是否匹配;determining whether the control chip of the information card matches the first information card;

若匹配,则停止向所述N×1选择开关的控制端输出控制信号;If they match, stop outputting the control signal to the control terminal of the N×1 selection switch;

若不匹配,则向所述N×1选择开关发送第二控制信号,重新确定所述信息卡与所述第一信息卡控制芯片是否匹配,根据匹配情况停止发送控制信号或者继续发送发送下一控制信息,直至所述N×1选择开关根据控制信号选择出的信息卡控制芯片与所述信息卡相匹配。If they do not match, then send a second control signal to the N×1 selector switch, re-determine whether the information card matches the first information card control chip, and stop sending the control signal or continue sending the next one according to the matching situation. Control information until the information card control chip selected by the N×1 selection switch according to the control signal matches the information card.

其中,所述第二控制信号用于指示所述N×1选择开关将所述公共端与第二选择端连通,所述第二选择端与所述第二信息卡控制芯片连接。Wherein, the second control signal is used to instruct the N×1 selection switch to connect the common terminal to the second selection terminal, and the second selection terminal is connected to the second information card control chip.

需要说明的是,本发明实施例中所述的控制信号可以用能够指示所述N×1将公共端与一选择端连通的任一形式的信号表示,本发明实施例对比不进行限定;如:当N=2时,所述控制信号可以为高电压信号或低电压信号,用高电压信号指示将信息卡与一信息卡控制芯片连通,用低电压信号指示将信息卡与另一信息卡控制芯片连通;当N=4时,可以设置如下4种形式的控制信号:00、01、10、11,分别对应指示将信息卡与第一信息卡控制芯片、第二信息卡控制芯片、第三信息卡控制芯片、第四信息卡控制芯片连通。It should be noted that the control signal described in the embodiment of the present invention can be represented by any form of signal capable of instructing the N×1 to connect the common terminal to a selection terminal, and the comparison is not limited in the embodiment of the present invention; : when N=2, the control signal can be a high-voltage signal or a low-voltage signal, and a high-voltage signal is used to indicate that the information card is connected to an information card control chip, and a low-voltage signal is used to indicate that the information card is connected to another information card The control chip is connected; when N=4, the following 4 types of control signals can be set: 00, 01, 10, 11, which respectively correspond to instructions to connect the information card with the first information card control chip, the second information card control chip, the second information card control chip, and the second information card control chip. The third information card control chip and the fourth information card control chip are connected.

例如,图3示出了本发明实施例提供的一种2×1选择开关的结构图,用于根据控制信号将信息卡与SIM控制芯片或智能卡控制芯片选通,其中,控制信号可以为高电压、低电压两种信号;如图3所示,该选择开关包含8个三态缓冲器,分为两组分别与SIM控制芯片、智能卡控制芯片连接,其中,所述三态缓冲器在高电压下处于导通状态,在低电压下处于截止状态,且与所述SIM控制芯片连接的一组三态缓冲器的输入端连接有反相器,所述反相器可以将高(低)电压转换为低(高)电压;如此,当控制信号CONTROL_EN为高电压信号,与智能卡控制芯片连接的三态缓冲器处于导通状态,进而使信息卡与智能卡控制芯片连通,而经过反相器输出到与所述SIM控制芯片连接的一组三态缓冲器为低电压,使得与SIM卡控制芯片连接的三态缓冲器处于截止状态,信息卡与SIM卡控制芯片不能连通。需要说明的是,图3所示的2×1选择开关仅为实施例性结构图,在实际应用过程中,该选择开关还可以包含电压转换等电路,在此不再详细描述。For example, FIG. 3 shows a structural diagram of a 2×1 selection switch provided by an embodiment of the present invention, which is used to gate the information card and the SIM control chip or the smart card control chip according to the control signal, wherein the control signal can be high Voltage, low voltage two kinds of signals; As shown in Figure 3, this selection switch comprises 8 three-state buffers, is divided into two groups and is connected with SIM control chip, smart card control chip respectively, and wherein, described three-state buffer is in high It is in a conduction state under low voltage, and it is in an off state under low voltage, and the input end of a group of tri-state buffers connected with the SIM control chip is connected with an inverter, and the inverter can turn high (low) The voltage is converted to a low (high) voltage; thus, when the control signal CONTROL_EN is a high voltage signal, the tri-state buffer connected to the smart card control chip is in a conduction state, thereby making the information card communicate with the smart card control chip, and passing through the inverter Output to a group of three-state buffers connected with the SIM control chip is a low voltage, so that the three-state buffers connected with the SIM card control chip are in a cut-off state, and the information card and the SIM card control chip cannot be communicated. It should be noted that the 2×1 selection switch shown in FIG. 3 is only an exemplary structural diagram. In actual application, the selection switch may also include circuits such as voltage conversion, which will not be described in detail here.

具体的,本发明实施例中,所述控制器104可以通过下述方法确定信息卡与信息卡控制芯片是否匹配,如:Specifically, in the embodiment of the present invention, the controller 104 can determine whether the information card matches the information card control chip through the following methods, such as:

依次向所述第一信息卡控制芯片发送指示消息,直至接收到所述第一信息卡控制芯片返回的响应数据时,终止向所述第一信息卡控制芯片发送指示消息;所述指示消息用于指示所述第一信息卡控制芯片向所述信息卡发送供电信号、复位信号和时钟信号;Sending indication messages to the first information card control chip in sequence until receiving the response data returned by the first information card control chip, terminating sending indication messages to the first information card control chip; Instructing the first information card control chip to send a power supply signal, a reset signal and a clock signal to the information card;

获取所述信息卡的属性信息;所述属性信息用于标识所述信息卡;Obtain attribute information of the information card; the attribute information is used to identify the information card;

查询预设的信息卡控制关系表;所述信息卡控制关系表用于存储:信息卡控制芯片与所述信息卡控制芯片所控制的信息卡的对应关系;Querying the preset information card control relationship table; the information card control relationship table is used to store: the corresponding relationship between the information card control chip and the information card controlled by the information card control chip;

若所述信息卡与所述第一信息卡控制芯片对应,则确定所述信息卡与所述第一信息卡控制芯片相匹配;If the information card corresponds to the first information card control chip, then determine that the information card matches the first information card control chip;

若所述信息卡与所述第一信息卡控制芯片不对应,则确定所述信息卡与所述第一信息卡控制芯片不匹配。If the information card does not correspond to the first information card control chip, it is determined that the information card does not match the first information card control chip.

例如,如下表1所示,为预存的信息卡控制关系表,若第一信息卡控制芯片为:SIM控制芯片,获取到的信息卡属性信息标识所述信息卡为:智能卡,则根据表1可以确定所述第一信息卡控制芯片与所述信息卡不匹配;若控制器获取到的第一信息卡控制芯片的标识信息标识所述控制芯片为:SIM控制芯片,获取到的信息卡属性信息标识所述信息卡为:SIM卡,则根据表1可以确定所述第一信息卡控制芯与所述信息卡是匹配的。For example, as shown in Table 1 below, it is a pre-stored information card control relationship table. If the first information card control chip is: SIM control chip, the obtained information card attribute information identifies the information card as: smart card, then according to Table 1 It can be determined that the first information card control chip does not match the information card; if the identification information of the first information card control chip obtained by the controller identifies the control chip as: SIM control chip, the obtained information card attribute The information identifies that the information card is a SIM card, and it can be determined according to Table 1 that the first information card control core matches the information card.

表1Table 1

信息卡控制芯片Information card control chip 信息卡information card SIM控制芯片SIM control chip SIM卡SIM card 智能卡控制芯片Smart card control chip 智能卡smart card

具体的,为了保证信息卡的正常工作,所述控制器104具体用于:Specifically, in order to ensure the normal operation of the information card, the controller 104 is specifically used for:

根据预设供电顺序向所述第一信息卡控制芯片发送第一指示消息,所述第一指示消息用于指示所述第一信息卡控制芯片向所述信息卡发送第一供电信号、复位信号和时钟信号;Send a first indication message to the first information card control chip according to a preset power supply sequence, the first indication message is used to instruct the first information card control chip to send a first power supply signal and a reset signal to the information card and clock signal;

若在预设时间内,未接收到所述第一信息卡控制芯片返回的响应数据,则向所述第一信息卡控制芯片发送第二指示消息,所述第二指示消息用于指示所述第一信息卡控制芯片向所述信息卡发送第二供电信号、复位信号和时钟信号。If the response data returned by the first information card control chip is not received within the preset time, a second indication message is sent to the first information card control chip, and the second indication message is used to indicate the The first information card control chip sends a second power supply signal, a reset signal and a clock signal to the information card.

其中,所述供电信号用于对所述信息卡供电,所述复位信号对信息卡进行初始化,所述时钟信号用于对所述信息卡进行时钟同步,使得信息卡和信息卡控制芯片可以完成数据通信。Wherein, the power supply signal is used to supply power to the information card, the reset signal is used to initialize the information card, and the clock signal is used to synchronize the clock of the information card, so that the information card and the information card control chip can complete data communication.

所述预设时间根据需要进行设定,本发明实施例对比不进行限定。The preset time is set as required, and is not limited in this embodiment of the present invention.

所述预设供电顺序可以为:从低到高的供电顺序,以避免直接对信息卡进行高电压供电,造成信息卡被烧坏的问题;例如,遵循ISO7816协议规定,现有信息卡供电电压一般有:1.8V、3.3V,如智能卡供电电压为3.3V,SIM卡供电电压为1.8V和3.3V两种,因此,在未知卡槽内装载的信息卡为哪种卡时,不可直接对信息卡进行3.3V高压供电,而是先指示信息卡控制芯片对该信息卡进行1.8V供电,若无回应,则表示该信息卡不工作在1.8V,进而对指示信息卡控制芯片对该信息卡进行3.3V供电;若返回响应数据,则表示该信息卡在该电压值下正常工作,可以直接读取其属性信息。The preset power supply sequence may be: a power supply sequence from low to high, so as to avoid the high-voltage power supply directly to the information card, causing the problem of the information card being burned; for example, following the ISO7816 protocol, the existing information card power supply voltage Generally: 1.8V and 3.3V. For example, the power supply voltage of the smart card is 3.3V, and the power supply voltage of the SIM card is 1.8V and 3.3V. The information card uses 3.3V high-voltage power supply, but first instructs the information card control chip to supply 1.8V power supply to the information card, if there is no response, it means that the information card does not work at 1.8V, and then instructs the information card control chip The card is powered by 3.3V; if the response data is returned, it means that the information card is working normally under this voltage value, and its attribute information can be read directly.

下面以N=2,2个信息卡控制芯片分别为:SIM卡控制芯片、智能卡控制芯片,所述N×1为如图3所示的2×1选择开关为例,对本发明提供的信息卡识别电路如何自动将装载于卡座的SIM卡或者智能卡与其匹配的控制芯片连通进行详细说明,其中,SIM卡的供电电压为1.8V和3.3V,智能卡的供电电压为1.8V:Below with N=2, 2 information card control chips are respectively: SIM card control chip, smart card control chip, described N * 1 is the 2 * 1 selection switch as shown in Figure 3 as example, to the information card provided by the present invention How the identification circuit automatically connects the SIM card or smart card loaded in the card holder with its matching control chip will be described in detail. The power supply voltage of the SIM card is 1.8V and 3.3V, and the power supply voltage of the smart card is 1.8V:

1、SIM卡插入卡座后,控制器通过卡侦测电路检测到有卡插入。1. After the SIM card is inserted into the card holder, the controller detects that there is a card inserted through the card detection circuit.

2、控制器向2×1选择开关输入高电压,控制选择开关将卡与SIM卡控制芯片连通。2. The controller inputs high voltage to the 2×1 selection switch, and controls the selection switch to connect the card with the SIM card control chip.

3、控制器向SIM卡控制芯片发送第一指示信息,使SIM控制芯片向卡1.8V电压、复位信号、时钟信号。3. The controller sends the first instruction information to the SIM card control chip, so that the SIM control chip supplies the card with 1.8V voltage, a reset signal, and a clock signal.

4、若控制器接收到卡通过SIM控制芯片返回的响应数据(如ATR数据),则获取信息卡的属性信息,若所述属性信息表示:该卡为SIM卡,则成功将卡与其控制芯片连通,停止发送控制信号;若所述属性信息表示:该卡为智能卡,则向2×1选择开关输入低电压,控制选择开关将卡与智能卡控制芯片连通。4. If the controller receives the response data (such as ATR data) returned by the card through the SIM control chip, it will obtain the attribute information of the information card. If the attribute information indicates that the card is a SIM card, the card and its control chip will be successfully connected. connected, stop sending control signals; if the attribute information indicates that the card is a smart card, then input a low voltage to the 2×1 selector switch, and control the selector switch to connect the card with the smart card control chip.

5、若控制器在预设时间内得不到响应数据,则会向SIM卡控制芯片发送第二指示信息,使SIM控制芯片向卡3.3V电压、复位信号、时钟信号,并重复上述步骤4。5. If the controller does not get the response data within the preset time, it will send the second instruction information to the SIM card control chip, so that the SIM control chip sends the card 3.3V voltage, reset signal, clock signal, and repeat the above step 4 .

由上可知,本发明实施例提供一种信息卡识别电路,包括:卡座,N×1选择开关、N个信息卡控制芯片、以及控制器;所述卡座,用于装载信息卡,所述N×1选择开关,用于根据所述控制器输入的控制信号,将所述卡座上装载的信息卡与所述N个信息卡控制芯片中的一个芯片连通;所述N个信息卡控制芯片,用于一一对应的控制N种信息卡;所述控制器,用于检测是否有信息卡装载于所述卡座,当检测到有信息卡装载于所述卡座后,依次向所述N×1选择开关输入M个控制信号,直至所述控制器在接收到所述响应数据后,确定所述信息卡与所述信息卡当前连通的信息卡控制芯片相匹配时,终止向控制端发送控制信号。如此,在本发明实施例提供的信息卡识别电路中,当用户将信息卡装载于卡槽之后,通过控制器依次向选择开关发送控制信号,使选择开关切换信息卡与信息卡控制芯片间的连接,直至将信息卡与其匹配的信息卡控制芯片相连通,对于用户而言,无需担心信息卡差错,提高了用户体验,解决了现有用户混淆SIM卡接口和智能卡接口,导致插卡错误的问题。It can be seen from the above that the embodiment of the present invention provides an information card identification circuit, including: a card holder, an N×1 selection switch, N information card control chips, and a controller; the card holder is used to load an information card, and the The N×1 selection switch is used to connect the information card loaded on the deck with one of the N information card control chips according to the control signal input by the controller; the N information cards The control chip is used to control N types of information cards in a one-to-one correspondence; the controller is used to detect whether there is an information card loaded on the card holder, and when it is detected that an information card is loaded on the card holder, the The N×1 selection switch inputs M control signals until the controller determines that the information card matches the information card control chip currently connected to the information card after receiving the response data, and terminates sending The control terminal sends a control signal. In this way, in the information card identification circuit provided by the embodiment of the present invention, after the user loads the information card into the card slot, the controller sequentially sends control signals to the selection switch to make the selection switch switch between the information card and the information card control chip. Connect until the information card is connected with the matching information card control chip. For the user, there is no need to worry about the error of the information card, which improves the user experience and solves the problem that the existing users confuse the SIM card interface and the smart card interface, resulting in wrong card insertion. question.

另一方面,本发明实施例还提供了一种终端,如图4所示,所述终端可以包括至少一个上述的信息卡识别电路10。On the other hand, the embodiment of the present invention also provides a terminal. As shown in FIG. 4 , the terminal may include at least one information card identification circuit 10 described above.

其中,所述终端可以为:机顶盒等支持多卡使用的通信设备;所述信息卡识别电路10如实施例一所述的信息卡识别电路相同,在此不再赘述。Wherein, the terminal may be: a set-top box and other communication equipment supporting multiple cards; the information card identification circuit 10 is the same as the information card identification circuit described in Embodiment 1, and will not be repeated here.

需要说明的是,每个信息卡识别电路可以承载同一信息卡,也可以承载不同的信息卡,实现信息卡的共用或复用设计。此外,每个信息卡识别电路可以包含一个控制器,也可以多个信息卡识别电路共用同一控制器,本发明实施例对比不进行限定。It should be noted that each information card identification circuit can carry the same information card, or can carry different information cards, so as to realize the sharing or multiplexing design of the information cards. In addition, each information card identification circuit may include a controller, or multiple information card identification circuits may share the same controller, which is not limited in this embodiment of the present invention.

由上可知,本发明实施例提供一种终端,包括至少一个信息卡识别电路。每个信息卡识别电路包括:卡座,N×1选择开关、N个信息卡控制芯片、以及控制器;所述卡座,用于装载信息卡,所述N×1选择开关,用于根据所述控制器输入的控制信号,将所述卡座上装载的信息卡与所述N个信息卡控制芯片中的一个芯片连通;所述N个信息卡控制芯片,用于一一对应的控制N种信息卡;所述控制器,用于检测是否有信息卡装载于所述卡座,当检测到有信息卡装载于所述卡座后,依次向所述N×1选择开关输入M个控制信号,直至所述控制器在接收到所述响应数据后,确定所述信息卡与所述信息卡当前连通的信息卡控制芯片相匹配时,终止向控制端发送控制信号。如此,在本发明实施例提供的终端中,当用户将信息卡装载于卡槽之后,通过信息卡识别电路中的控制器依次向选择开关发送控制信号,使选择开关切换信息卡与信息卡控制芯片间的连接,直至将信息卡与其匹配的信息卡控制芯片相连通,对于用户而言,无需担心信息卡差错,提高了用户体验,解决了现有用户混淆SIM卡接口和智能卡接口,导致插卡错误的问题。It can be known from the above that the embodiment of the present invention provides a terminal, including at least one information card identification circuit. Each information card identification circuit includes: a deck, N×1 selection switch, N information card control chips, and a controller; the deck is used for loading information cards, and the N×1 selection switch is used for The control signal input by the controller communicates the information card loaded on the deck with one of the N information card control chips; the N information card control chips are used for one-to-one corresponding control N types of information cards; the controller is used to detect whether there is an information card loaded in the card holder, and when it is detected that an information card is loaded in the card holder, input M pieces to the N×1 selection switch in sequence control signals until the controller, after receiving the response data, determines that the information card matches the information card control chip currently connected to the information card, and then terminates sending the control signal to the control terminal. In this way, in the terminal provided by the embodiment of the present invention, after the user loads the information card into the card slot, the controller in the information card identification circuit sequentially sends control signals to the selection switch, so that the selection switch switches between the information card and the information card control. The connection between the chips until the information card is connected with the matching information card control chip. For the user, there is no need to worry about the error of the information card, which improves the user experience and solves the problem of confusion between the SIM card interface and the smart card interface for existing users. Card error problem.

以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应所述以权利要求的保护范围为准。The above is only a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Anyone skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present invention. Should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims (6)

1.一种信息卡识别电路,其特征在于,包括:卡座、N×1选择开关、N个信息卡控制芯片、以及控制器;所述N为大于或者等于2的整数;所述N×1选择开关包括:控制端,公共端,N个选择端,所述控制端与所述控制器连接,所述公共端与所述卡座的第一端连接,N个所述选择端分别与所述N个信息卡控制芯片连接;所述控制器连接所述卡座的第二端、以及所述N个信息卡控制芯片;1. An information card identification circuit, characterized in that it comprises: card holder, N × 1 selector switch, N information card control chips, and a controller; said N is an integer greater than or equal to 2; said N × 1 The selection switch includes: a control terminal, a common terminal, and N selection terminals, the control terminal is connected to the controller, the common terminal is connected to the first terminal of the deck, and the N selection terminals are respectively connected to The N information card control chips are connected; the controller is connected to the second end of the deck and the N information card control chips; 其中,所述卡座,用于装载信息卡;Wherein, the card holder is used for loading information cards; 所述信息卡,用于向所述信息卡控制芯片发送响应数据;The information card is configured to send response data to the information card control chip; 所述信息卡控制芯片,用于在确定与所述信息卡连通后,接收所述响应数据,并将所述响应数据发送至所述控制器;The information card control chip is configured to receive the response data and send the response data to the controller after it is determined to be connected to the information card; 所述控制器,用于检测是否有所述信息卡装载于所述卡座,当检测到有所述信息卡装载于所述卡座后,依次向所述N×1选择开关的控制端输出控制信号,直到所述控制器在接收到所述响应数据后,确定所述信息卡与所述信息卡当前连通的信息卡控制芯片相匹配时,终止向控制端发送控制信号;The controller is used to detect whether the information card is loaded on the deck, and when it is detected that the information card is loaded on the deck, sequentially output to the control terminal of the N×1 selection switch Control signals, until the controller determines that the information card matches the information card control chip currently connected to the information card after receiving the response data, and then terminates sending the control signal to the control terminal; 所述N×1选择开关,用于根据从所述控制端接收的控制信号,将所述卡座上装载的信息卡与所述N个信息卡控制芯片中的一个信息卡控制芯片连通。The N×1 selection switch is used for connecting the information card loaded on the deck with one of the N information card control chips according to the control signal received from the control terminal. 2.根据权利要求1所述的信息卡识别电路,其特征在于,所述控制器用于,依次向所述N×1选择开关的控制端输出控制信号具体为,所述控制器用于:2. The information card identification circuit according to claim 1, wherein the controller is configured to output control signals to the control terminals of the N×1 selection switch in turn, specifically, the controller is configured to: 向所述N×1选择开关的控制端输出第一控制信号,所述第一控制信号用于指示所述N×1选择开关将所述公共端与第一选择端连通,所述第一选择端与第一信息卡控制芯片连接;Outputting a first control signal to the control terminal of the N×1 selection switch, the first control signal is used to instruct the N×1 selection switch to connect the common terminal with the first selection terminal, and the first selection The end is connected with the first information card control chip; 确定所述信息卡与所述第一信息卡控制芯片是否匹配;determining whether the control chip of the information card matches the first information card; 若匹配,则停止向所述N×1选择开关的控制端输出控制信号;若不匹配,则向所述N×1选择开关发送第二控制信号,所述第二控制信号用于指示所述N×1选择开关将所述公共端与第二选择端连通,所述第二选择端与第二信息卡控制芯片连接。If it matches, stop outputting the control signal to the control terminal of the N×1 selection switch; if not, send a second control signal to the N×1 selection switch, and the second control signal is used to indicate the The N×1 selection switch connects the common terminal with the second selection terminal, and the second selection terminal is connected with the second information card control chip. 3.根据权利要求2所述的信息卡识别电路,其特征在于,所述控制器用于,确定所述信息卡与所述第一信息卡控制芯片是否匹配具体为,所述控制器用于:3. The information card identification circuit according to claim 2, wherein the controller is used to determine whether the information card matches the first information card control chip, specifically, the controller is used to: 依次向所述第一信息卡控制芯片发送指示消息,直至接收到所述第一信息卡控制芯片返回的响应数据时,终止向所述第一信息卡控制芯片发送指示消息;所述指示消息用于指示所述第一信息卡控制芯片向所述信息卡发送供电信号、复位信号和时钟信号;Sending indication messages to the first information card control chip in sequence until receiving the response data returned by the first information card control chip, terminating sending indication messages to the first information card control chip; Instructing the first information card control chip to send a power supply signal, a reset signal and a clock signal to the information card; 获取所述信息卡的属性信息;所述属性信息用于标识所述信息卡;Obtain attribute information of the information card; the attribute information is used to identify the information card; 查询预设的信息卡控制关系表;所述信息卡控制关系表用于存储:信息卡控制芯片与所述信息卡控制芯片所控制的信息卡的对应关系;Querying the preset information card control relationship table; the information card control relationship table is used to store: the corresponding relationship between the information card control chip and the information card controlled by the information card control chip; 若所述信息卡与所述第一信息卡控制芯片对应,则确定所述信息卡与所述第一信息卡控制芯片相匹配;If the information card corresponds to the first information card control chip, then determine that the information card matches the first information card control chip; 若所述信息卡与所述第一信息卡控制芯片不对应,则确定所述信息卡与所述第一信息卡控制芯片不匹配。If the information card does not correspond to the first information card control chip, it is determined that the information card does not match the first information card control chip. 4.根据权利要求3所述的信息卡识别电路,其特征在于,所述控制器用于,依次向所述第一信息卡控制芯片发送指示消息具体为,所述控制器用于:4. The information card identification circuit according to claim 3, wherein the controller is used to send instruction messages to the first information card control chip in turn, specifically, the controller is used to: 根据预设供电顺序向所述第一信息卡控制芯片发送第一指示消息,所述第一指示消息用于指示所述第一信息卡控制芯片向所述信息卡发送第一供电信号、复位信号和时钟信号;Send a first indication message to the first information card control chip according to a preset power supply sequence, the first indication message is used to instruct the first information card control chip to send a first power supply signal and a reset signal to the information card and clock signal; 若在预设时间内,未接收到所述第一信息卡控制芯片返回的响应数据,则向所述第一信息卡控制芯片发送第二指示消息,所述第二指示消息用于指示所述第一信息卡控制芯片向所述信息卡发送第二供电信号、复位信号和时钟信号。If the response data returned by the first information card control chip is not received within the preset time, a second indication message is sent to the first information card control chip, and the second indication message is used to indicate the The first information card control chip sends a second power supply signal, a reset signal and a clock signal to the information card. 5.根据权利要求1至4任一项所述的信息卡识别电路,其特征在于,所述卡座上设置有:连接所述控制器的卡在位侦测电路;5. The information card identification circuit according to any one of claims 1 to 4, wherein the card holder is provided with: a card in-position detection circuit connected to the controller; 所述控制器用于,检测是否有所述信息卡装载于所述卡座,具体为,所述控制器用于:The controller is used to detect whether the information card is loaded on the deck, specifically, the controller is used to: 根据所述卡在位侦测电路的电压值,确定是否有所述信息卡装载于所述卡座。According to the voltage value of the card presence detection circuit, it is determined whether the information card is loaded in the card holder. 6.一种终端,其特征在于,包含至少一个如权利要求1-5任一项所述的信息卡识别电路。6. A terminal, characterized by comprising at least one information card identification circuit according to any one of claims 1-5.
CN201580065488.9A 2015-09-16 2015-09-16 An information card identification circuit and terminal Active CN107004105B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2015/089801 WO2017045178A1 (en) 2015-09-16 2015-09-16 Information card recognition circuit and terminal

Publications (2)

Publication Number Publication Date
CN107004105A CN107004105A (en) 2017-08-01
CN107004105B true CN107004105B (en) 2019-10-25

Family

ID=58288096

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201580065488.9A Active CN107004105B (en) 2015-09-16 2015-09-16 An information card identification circuit and terminal

Country Status (2)

Country Link
CN (1) CN107004105B (en)
WO (1) WO2017045178A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110532118B (en) * 2019-07-24 2023-05-23 深圳市华奥创智科技发展有限公司 Terminal card abnormality detection device, method, terminal and readable storage medium
CN114915312A (en) * 2021-02-09 2022-08-16 Oppo广东移动通信有限公司 Electronic equipment and control method
CN114548342A (en) * 2022-02-15 2022-05-27 百富计算机技术(深圳)有限公司 Card holder system, detection method, control device and payment terminal
CN114599024B (en) * 2022-03-10 2023-12-19 北京中广瑞波科技股份有限公司 Device for processing multiple user identity modules
CN116127991B (en) * 2023-02-09 2024-01-30 无锡宇宁智能科技有限公司 Circuits that can identify two types of smart cards and corresponding smart card identification methods

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201111122Y (en) * 2007-10-25 2008-09-03 上海复旦微电子股份有限公司 Connection device between double data interface subscriber identification card and non-contact front-end chip
CN102193742A (en) * 2010-03-05 2011-09-21 零壹科技股份有限公司 Virtual storage device and control method thereof

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7383982B2 (en) * 2003-08-27 2008-06-10 Ricoh Company, Ltd. Card recognition system for recognizing standard card and non-standard card
CN100385428C (en) * 2005-06-01 2008-04-30 上海奇码数字信息有限公司 Card controller, and method for controlling IC card
CN100518352C (en) * 2007-02-05 2009-07-22 中兴通讯股份有限公司 Method and device for the terminal recognizing the card in terminal card slot
US8022683B2 (en) * 2008-01-30 2011-09-20 Cirrus Logic, Inc. Powering a power supply integrated circuit with sense current
CN102438169B (en) * 2011-12-06 2014-04-02 四川长虹电器股份有限公司 Automatic testing method of integrated machine with set-top box and digital television
FR2991842A1 (en) * 2012-06-06 2013-12-13 Thomson Licensing COMMON INTERFACE FOR WIFI PERIPHERAL AND CHIP CARD

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201111122Y (en) * 2007-10-25 2008-09-03 上海复旦微电子股份有限公司 Connection device between double data interface subscriber identification card and non-contact front-end chip
CN102193742A (en) * 2010-03-05 2011-09-21 零壹科技股份有限公司 Virtual storage device and control method thereof

Also Published As

Publication number Publication date
WO2017045178A1 (en) 2017-03-23
CN107004105A (en) 2017-08-01

Similar Documents

Publication Publication Date Title
CN107004105B (en) An information card identification circuit and terminal
US11162997B2 (en) Automatic circuit board test system and automatic circuit board test method applied therein
US20240428843A1 (en) Host apparatus and extension device
US11763105B2 (en) Memory card, memory card adapter, and terminal device
US8769160B2 (en) Multi-interface memory card and method of operation
EP2958028B1 (en) Physical interface module
CN101989246A (en) Electronic device capable of automatically switching master and slave equipment modes of universal serial bus (USB)
US11256225B2 (en) Data transmission apparatus of circuit breaker controller
CN104809088A (en) Connecting device and control chip and control method thereof
CN103701707A (en) Network equipment
JP2017097688A (en) Port connection circuit, port connection control method, electronic apparatus
JP2010212989A (en) Address decoder and address setting method
US20240346260A1 (en) Card-reading circuit, card reader, and card-reading system
CN103916105A (en) Apparatus for converting terminal polarity for rs communication
US7525856B2 (en) Apparatus and method to manage external voltage for semiconductor memory testing with serial interface
TW202042075A (en) Electronic system, host device and control method
CN114064545A (en) Serial port function identification method and device, main control chip, household appliance and medium
TWI709851B (en) Usb port test system and method for dynamically testing usb port
CN116737623A (en) Communication protocol switching method, chip and electronic equipment
CN115684672A (en) Switching circuit, equipment, method and test method
CN104809091B (en) A kind of switching device
TWI550292B (en) Apparatus for testing tv smart card module and testing method
CN104978294A (en) Compatible device of serial peripheral interface, serial peripheral interface and host device
US20250233591A1 (en) Communication device and communication system
CN108701104A (en) Data transmission system, projecting apparatus and data transmission method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20210429

Address after: Unit 3401, unit a, building 6, Shenye Zhongcheng, No. 8089, Hongli West Road, Donghai community, Xiangmihu street, Futian District, Shenzhen, Guangdong 518040

Patentee after: Shenzhen Zhixin new information technology Co.,Ltd.

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20211025

Address after: Unit 3401, unit a, building 6, Shenye Zhongcheng, No. 8089, Hongli West Road, Donghai community, Xiangmihu street, Futian District, Shenzhen, Guangdong 518040

Patentee after: Honor Device Co.,Ltd.

Address before: Unit 3401, unit a, building 6, Shenye Zhongcheng, No. 8089, Hongli West Road, Donghai community, Xiangmihu street, Futian District, Shenzhen, Guangdong 518040

Patentee before: Shenzhen Zhixin new information technology Co.,Ltd.

TR01 Transfer of patent right
CP03 Change of name, title or address

Address after: Unit 3401, unit a, building 6, Shenye Zhongcheng, No. 8089, Hongli West Road, Donghai community, Xiangmihu street, Futian District, Shenzhen, Guangdong 518040

Patentee after: Honor Terminal Co.,Ltd.

Country or region after: China

Address before: 3401, unit a, building 6, Shenye Zhongcheng, No. 8089, Hongli West Road, Donghai community, Xiangmihu street, Futian District, Shenzhen, Guangdong

Patentee before: Honor Device Co.,Ltd.

Country or region before: China

CP03 Change of name, title or address