JP2006236200A - Card type storage device and host device thereof - Google Patents

Card type storage device and host device thereof Download PDF

Info

Publication number
JP2006236200A
JP2006236200A JP2005052750A JP2005052750A JP2006236200A JP 2006236200 A JP2006236200 A JP 2006236200A JP 2005052750 A JP2005052750 A JP 2005052750A JP 2005052750 A JP2005052750 A JP 2005052750A JP 2006236200 A JP2006236200 A JP 2006236200A
Authority
JP
Japan
Prior art keywords
card
data
function
extended function
host device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2005052750A
Other languages
Japanese (ja)
Inventor
Takafumi Ito
隆文 伊藤
Original Assignee
Toshiba Corp
株式会社東芝
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp, 株式会社東芝 filed Critical Toshiba Corp
Priority to JP2005052750A priority Critical patent/JP2006236200A/en
Publication of JP2006236200A publication Critical patent/JP2006236200A/en
Application status is Pending legal-status Critical

Links

Images

Abstract

It is difficult to capture the state of an extended function without affecting the operation of the extended function.
In a card-like storage device 11, a storage unit 13 stores at least data indicating the contents of an extended function. The execution unit 14 executes the extended function. The output unit 14a is provided in the execution unit, and outputs status data indicating the state of the execution unit. The control unit 12 controls the storage unit and receives status data from the output unit 14a in response to a command for checking the extended function.
[Selection] Figure 1

Description

  The present invention relates to a card-like storage device incorporating an IC card function, for example, and a host device thereof.

  For example, small memory cards have been developed as data storage media such as digital cameras and mobile phones. The memory card can exchange data with the host device when the memory card is mounted on a host device such as a digital camera or a mobile phone.

  In addition, recently, a memory card includes an IC chip that can perform security processing such as encryption and decryption in a memory card, and can perform many processing even when the storage capacity in the IC is small (for example, Patent Document 1). ) And a memory card capable of high-speed processing (for example, Patent Document 2) has been developed.

  By the way, with the increase in the number of functions of memory cards, addition of various extended functions is being studied. As this extended function, for example, a function as a financial card such as a credit card, a cash card, prepaid money, a so-called IC card function having various authentication functions such as a license and a passport, or a high-speed data transfer is possible. High-speed bus mode is being studied.

  A memory card having such an extended function is enabled to access an IC card function or the like from the host device by receiving a dedicated command such as an extended function switch command from the host device.

However, the host device cannot know the state of the extended function only after the access to the extended function is enabled by the extended function switch command. That is, for example, the IC card function is executed by an IC card function chip that can operate independently of the memory card. For this reason, in order to know whether the IC card function chip is in the operating state or the non-operating state, the host device enables access to the extended function by the extended function switch command, and actually installs the IC card function chip. Had to access. However, when accessing the IC card function chip from the memory card, if the IC card function chip is in an operating state, the operation of the IC card function chip may be affected, and the reliability of the operation may be impaired. Yes.
JP 2003-91704 A JP 2003-22216 A

  An object of the present invention is to provide a card-like storage device capable of capturing the state of the extended function without affecting the operation of the extended function and its host device.

  An aspect of the card-like storage device according to the present invention is a card-like storage device that is used by being mounted on a host device, and stores a storage unit that stores at least data indicating the contents of the extended function, and an execution that executes the extended function An output unit that is provided in the execution unit and outputs status data indicating a state of the execution unit, and a control unit that receives the status data from the output unit in response to a command for checking the extended function. is doing.

  According to the host device of the present invention, the status data added to the data sent back from the card-like storage device is sent to the card-like storage device having the extended function by sending a command for reading the status data indicating the state of the extended function. And a control unit for recognizing the state of the extended function.

  According to the present invention, it is possible to provide a card-like storage device and its host device that can capture the state of the extended function without affecting the operation of the extended function.

  Embodiments of the present invention will be described below with reference to the drawings.

  FIG. 2 shows an embodiment of a card-like storage device, for example a memory card 11. The memory card 11 contains, for example, a card controller chip 12, a nonvolatile semiconductor memory chip 13, and an IC card function chip 14 in a card case 11-1. For example, a connector 15 is provided on one side of the memory card 11. The connector 15 has, for example, a plurality of terminals to which one end of the bus 16 is connected, two terminals to which power supplies VDD and VSS are connected, and two terminals to which an antenna is connected.

  The card controller chip 12 includes a bus interface (I / F) circuit 12a, a memory control unit 12b, and an IC card control unit 12c. The bus I / F circuit 12a is connected to the other end of the bus 16, and is also connected to the memory control unit 12b and the IC card control unit 12c. The bus I / F circuit 12a has a microprocessor and work memory (not shown). The bus I / F circuit 12a supplies a clock signal CLK, a command CMD, data DAT0-3, and the like supplied from a host device (not shown) via the bus 16 to the memory control unit 12b and the IC card control unit 12c. Data supplied from the control unit 12b and the IC card control unit 12c is output to the bus 16. Further, as described later, the bus I / F circuit 12a processes a switch command for switching access to an extended function supplied from the host device.

  The memory control unit 12b is connected to the nonvolatile semiconductor memory chip 13 via the bus 17, and the IC card control unit 12c is connected to the IC card function chip 14 via wirings 18a and 18b. Note that the card controller chip 12 protects the copyright of the content data stored in the nonvolatile semiconductor memory chip 13, for example, CPRM (Content Protection for Recordable Media) based authentication and encryption / encryption based on a common key system. It also has a decoding function.

  The non-volatile semiconductor memory chip 13 is a flash memory composed of, for example, NAND type EEPROM cells. The nonvolatile semiconductor memory chip 13 executes data writing, reading, and erasing in accordance with an instruction from the memory control unit 12b by using, for example, 8-bit data and a command interface. Further, the non-volatile semiconductor memory chip 13 has the data indicating various expansion functions set in the memory card 11, the total current of the current corresponding to the various expansion functions and the current of the memory card, that is, the maximum current consumption. And data indicating the version of the data structure of the switch command.

  The IC card function chip 14 includes a contact interface (I / F) circuit (wired interface) 14a and a non-contact interface (I / F) circuit (antenna interface) 14b. The contact I / F circuit 14a is connected to the IC card control unit 12c by wirings 18a and 18b. The contact I / F circuit 14a is an interface circuit conforming to ISO7816, and performs 1-bit serial communication with the IC card control unit 12c. Further, the contact I / F circuit 14a has, for example, 1-bit status data indicating whether the IC card function chip 14 is in a ready state or a busy state, and outputs this status data to the wiring 18b. This status data is taken into the IC card control unit 12c in response to a request from the bus I / F circuit 12a, for example. The IC card control unit 12c may hold this status data.

  The non-contact I / F circuit 14 b is an ISO 14443-compliant interface circuit for performing wireless communication via a host device described later, and is connected to the antenna pin of the connector 12 via the wiring 19. The IC card function chip 14 can exchange electromagnetic signals via the antenna of the host device when the memory card 11 is connected to the host device as will be described later.

  The IC card function chip 14 is a semiconductor chip having a so-called IC card function such as a credit card, a cash card, prepaid money, an employee ID, various licenses as a public ID, and a passport. In order to realize the IC card function, the IC card function chip 14 has advanced functions such as public key encryption (PKI), stronger common key encryption (AES), and tamper resistance. Security functions. In order to realize this advanced security function, the IC card function chip 14 incorporates a small-capacity nonvolatile semiconductor memory (not shown) for storing data such as the credit card.

  The power VDD and VSS supplied from the host device to the power terminals PW1 and PW2 of the connector 15 are supplied to the card controller chip 12, the nonvolatile semiconductor memory chip 13, and the IC card function chip 14, respectively.

  FIG. 3 shows a state where the memory card 11 is connected to the host device 21. As the host device 21, for example, a mobile phone or a card-like adapter can be applied. The host device 21 includes, for example, a host control unit 22, a power supply circuit 23, for example, a loop-shaped non-contact communication antenna 24. The host control unit 22 is connected to a plurality of terminals of the connector 15 via the bus 25. The host control unit 22 generates a clock signal, various commands, and data for controlling the memory card 11.

  The power VDD and VSS output from the power circuit 23 are supplied to the power terminals PW1 and PW2 of the connector 15, respectively. Furthermore, one end and the other end of the antenna 24 are connected to the antenna terminal of the connector 15.

  When accessing the nonvolatile semiconductor memory chip 13 of the memory card 11 from the host device 21, writing or reading of data to or from the nonvolatile semiconductor memory chip 13 is controlled according to a memory access command sent from the host device 21. . That is, the memory control unit 12b writes the write data received from the host device 21 via the bus 16 and the bus I / F circuit 12a to the general area or the secure area of the nonvolatile semiconductor memory chip 13, and the nonvolatile semiconductor memory Data read from the chip 13 is transferred to the host device 21 via the bus I / F circuit 12 a and the bus 16.

  On the other hand, when data is transmitted / received to / from the IC card function chip, the IC card function chip is controlled in accordance with an McEX (Mobile Communication Extension Standard) extension command transmitted from the host device 21. That is, the McEX extension command sent from the host device 21 is supplied to the IC card control unit 12c via the bus 16 and the bus I / F circuit 12a. The IC card control unit 12c transmits the received command data (C-APDU: Command-Application Protocol Data Unit) to the IC card function chip 14 in accordance with a communication protocol compliant with ISO7816. Further, the IC card control unit 12c receives data (R-APDU: Response-Application Protocol Data Unit) received from the IC card function chip 14 by a communication protocol compliant with ISO7816 via the bus I / F circuit 12a and the bus 16. Transfer to the host device 21.

  Further, when using the IC card function, the antenna 24 of the host device 21 is brought close to an external device having a non-contact communication function, for example, an antenna 32 of a reader / writer 31 as shown in FIG. In this state, communication is performed between the reader / writer 31 and the IC card function chip 14 via the antenna 32 and the antenna 24. At this time, high-level (data “1”) status data is output from the contact I / F circuit 14a to the wiring 18b. When this status data is at a high level, it indicates that the IC card function chip 14 is in non-contact communication.

  FIG. 1 shows an example of a data field of a switch command 1 for switching the memory card function and the extended function. The switch command 1 can be used in two modes, for example, a check function and a set function. For example, mode 0 is used as a check function, and mode 1 is used as a set function. The mode is switched by setting data “0” or “1” in a mode bit (not shown).

  When the host device 21 accesses the memory card 11, it is necessary to recognize the specifications of the memory card 11 connected to the host device 21. Therefore, in order to recognize the specifications of the memory card 11, the host device 21 sets the switch command to the mode 0 check function, supplies the switch command to the memory card 11, and uses the data returned from the memory card 11 to store the memory card 11. Recognize specifications. Thereafter, the host device 21 sets the switch command to the mode 1 set function and supplies it to the memory card 11 to set the function of the memory card 11.

  FIG. 1 shows an example of mode 0 of the switch command 1, that is, a check function. This switch command 1 supports, for example, six function groups. Each function group supports, for example, 16 branches (functions). Only one of these functions is selected and activated. Here, of these function groups, only functions related to the present embodiment will be described.

  Function group 1 to function group 6 are fields for setting extended functions supported by this memory card. For example, data indicating that this memory card supports the IC card function is set in the function group 6 of the field 1a, and this memory card supports the high-speed bus mode in the function group 5 of the field 1b. Data indicating that the data is present is set. In the field 1c, data indicating the maximum current consumption when the extended function supported by the memory card is used is set. In the field 1d, data indicating the version of the data structure (format) of this command is set. That is, since the format of the command differs depending on the version, data indicating the version is set in the field 1d. When the data in the field 1d is “00000001”, for example, in mode 0, the data structure is defined in the subsequent field 1e. In other words, the field 1e means that this version is an extended specification. The field 1e includes a field 1f and the like. Status data indicating the operating state of the IC card function chip 14 is set in the field 1f.

  FIG. 4 shows the operation of the bus I / F circuit 12a shown in FIGS.

  When the switch command 1 of mode 0 indicating the check function is received from the host device 21 (ST1), the bus I / F circuit 12a reads status data indicating the state of the IC card function chip 14 via the IC card control unit 12c. (ST2). Thereafter, the data indicating the extended function supported by the memory card 11 from the nonvolatile semiconductor memory chip 13 via the memory control unit 12b, the total current maximum of the current of the memory card itself and the current according to the extended function Data indicating current consumption and data indicating the version of the data structure are read (ST3). Next, the read data and status data are configured according to the format of the switch command 1 shown in FIG. 1 on a work memory (not shown) (ST4). Data configured in accordance with the format of the switch command 1 in this way is supplied to the host controller 22 via the bus 16, the connector 15, and the bus 25 (ST5). Thereafter, the host controller 22 recognizes the extended function set in the memory card 11 from this data.

  On the other hand, when a switch command of mode 1 indicating a set function is sent from the host device 21, the bus I / F circuit 12a receives the status data of the IC card function chip 14 obtained via the IC card control unit 12c as “0”. When the status data is “1”, access to the IC card function chip 14 is validated. When the status data is “1”, access to the IC card function chip 14 is not validated.

  According to the above embodiment, the IC card function chip 14 outputs status data indicating a ready or busy state, and the IC card control unit 12c of the card controller chip 12 receives the status from the IC card function chip 14 via the wiring 18b. It is possible to import data. For this reason, when receiving a switch command from the host device 21, the bus I / F circuit 12c can fetch the status data of the IC card function chip 14 from the IC card control unit 12c. Accordingly, the card controller chip 12 can supply the operation state of the IC card function chip 14 to the host device 21 without enabling the access of the IC card function chip 14. The operation using the I / F circuit 14b is not affected.

  In addition, a field 1 f for setting status data of the extended function is provided in a part of the mode for reading the support status of the extended function in the switch command 1. Therefore, the state of the extended function can be read without increasing the command.

  In the above embodiment, the case of recognizing the status of the IC card function chip 14 has been described. However, the present invention is not limited to this, and is applied to the case of recognizing the status of an extended function other than the IC card function chip 14. It is also possible.

  Of course, various modifications can be made without departing from the scope of the present invention.

The figure which shows an example of the format of the switch command of an extended function concerning embodiment of this invention. The block diagram which concerns on embodiment of this invention and shows the example of a card-shaped memory | storage device. The block diagram which shows the use condition of the card-shaped memory | storage device shown in FIG. 4 is a flowchart showing an operation of the bus I / F circuit shown in FIGS. 2 and 3.

Explanation of symbols

  DESCRIPTION OF SYMBOLS 11 ... Memory card, 12 ... Card controller chip, 12a ... Bus I / F circuit, 13 ... Non-volatile semiconductor memory, 14 ... IC card functional chip, 14a ... Contact I / F circuit, 18b ... Wiring.

Claims (5)

  1. A card-like storage device used by being mounted on a host device,
    A storage unit for storing data indicating at least the contents of the extended function;
    An execution unit for executing the extended function;
    An output unit that is provided in the execution unit and outputs status data indicating a state of the execution unit;
    And a control unit that receives the status data from the output unit in response to a command for checking the extended function.
  2.   The card-shaped storage device according to claim 1, further comprising a signal line connecting the output unit and the control unit.
  3.   2. The card-like storage device according to claim 1, wherein the control unit adds the status data to data conforming to the format of the command and sends the data to the host device.
  4.   The command includes a first field in which data indicating a version of a command data structure is set, and a second field in which the status data is set in accordance with data set in the first field. The card-like storage device according to claim 3, wherein:
  5.   A command for reading status data indicating the state of the extended function is sent to the card-like storage device having the extended function, and the state of the extended function is recognized based on the status data added to the data sent back from the card-like storage device. A host device comprising a control unit.
JP2005052750A 2005-02-28 2005-02-28 Card type storage device and host device thereof Pending JP2006236200A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005052750A JP2006236200A (en) 2005-02-28 2005-02-28 Card type storage device and host device thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005052750A JP2006236200A (en) 2005-02-28 2005-02-28 Card type storage device and host device thereof

Publications (1)

Publication Number Publication Date
JP2006236200A true JP2006236200A (en) 2006-09-07

Family

ID=37043751

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005052750A Pending JP2006236200A (en) 2005-02-28 2005-02-28 Card type storage device and host device thereof

Country Status (1)

Country Link
JP (1) JP2006236200A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010511956A (en) * 2006-12-06 2010-04-15 韓國電子通信研究院Electronics and Telecommunications Research Institute Data storage device having anti-duplication function based on smart card, data storage method and transmission method thereof
JP2012178132A (en) * 2011-02-04 2012-09-13 Toshiba Corp Memory system
JP2014010708A (en) * 2012-06-29 2014-01-20 Toshiba Corp Memory system
JP2014016733A (en) * 2012-07-06 2014-01-30 Toshiba Corp Memory system
JP2014016734A (en) * 2012-07-06 2014-01-30 Toshiba Corp Memory system
US9204477B2 (en) 2012-04-13 2015-12-01 Kabushiki Kaisha Toshiba Memory device and wireless communication control method of the same

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010511956A (en) * 2006-12-06 2010-04-15 韓國電子通信研究院Electronics and Telecommunications Research Institute Data storage device having anti-duplication function based on smart card, data storage method and transmission method thereof
JP2012178132A (en) * 2011-02-04 2012-09-13 Toshiba Corp Memory system
USRE47542E1 (en) 2011-02-04 2019-07-30 Toshiba Memory Corporation Memory system in which extended function can easily be set
US9204477B2 (en) 2012-04-13 2015-12-01 Kabushiki Kaisha Toshiba Memory device and wireless communication control method of the same
JP2014010708A (en) * 2012-06-29 2014-01-20 Toshiba Corp Memory system
JP2014016733A (en) * 2012-07-06 2014-01-30 Toshiba Corp Memory system
JP2014016734A (en) * 2012-07-06 2014-01-30 Toshiba Corp Memory system

Similar Documents

Publication Publication Date Title
US8814053B2 (en) Mobile payment device with small inductive device powered by a host device
US9857866B2 (en) Card and host apparatus
JP5069344B2 (en) General purpose non-volatile memory card used with various different standard cards with memory controller
EP2192523B1 (en) Smart sd card and method of accessing the same
CN101702202B (en) Memory cards including a standard security function
US8596544B2 (en) RFID tag
KR100524988B1 (en) Multimedia card apparatus capable of interfacing USB host and interfacing method of the same
KR100555003B1 (en) Memory card
JP4412947B2 (en) Memory card
US7708195B2 (en) Memory card
EP1457922B1 (en) Smart card that can be configured for debugging and software development using secondary communication port
CN101471124B (en) Memory card, card controller installed in memory card, and processing unit of memory card
KR101223986B1 (en) Smart card and smart card system supporting plurality of interfaces
KR100689741B1 (en) Non-contact ic tag system
US20100033310A1 (en) Power negotation for small rfid card
JP4261802B2 (en) IC card
US8261014B2 (en) Multi-channel integrated circuit card and method of controlling the same
CN1158635C (en) Card memory appts.
JP2005519358A (en) Portable data conversion and processing device with standard data interface
JP2007535021A (en) Efficient connection between modules of removable electronic circuit cards
JP4578132B2 (en) Portable information storage medium system
US20070293155A1 (en) Chipset for mobile wallet system
US20040064612A1 (en) Method and system for using a memory card protocol inside a bus protocol
US20090152361A1 (en) Memory card based contactless devices
JP5078915B2 (en) IC card, terminal equipped with IC card, and initialization method thereof