JP5093322B2 - Information processing apparatus, information processing system, information processing method, and computer program - Google Patents

Information processing apparatus, information processing system, information processing method, and computer program Download PDF

Info

Publication number
JP5093322B2
JP5093322B2 JP2010221584A JP2010221584A JP5093322B2 JP 5093322 B2 JP5093322 B2 JP 5093322B2 JP 2010221584 A JP2010221584 A JP 2010221584A JP 2010221584 A JP2010221584 A JP 2010221584A JP 5093322 B2 JP5093322 B2 JP 5093322B2
Authority
JP
Japan
Prior art keywords
data
processing unit
communication
received
memory
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
JP2010221584A
Other languages
Japanese (ja)
Other versions
JP2011008826A (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.)
Sony Corp
Original Assignee
Sony 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 Sony Corp filed Critical Sony Corp
Priority to JP2010221584A priority Critical patent/JP5093322B2/en
Publication of JP2011008826A publication Critical patent/JP2011008826A/en
Application granted granted Critical
Publication of JP5093322B2 publication Critical patent/JP5093322B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、情報処理装置、情報処理システム、および情報処理方法、並びにコンピュータ・プログラムに関する。さらに詳細には、通信処理および通信処理に伴うデータ処理を実行する情報処理装置、情報処理システム、および情報処理方法、並びにコンピュータ・プログラムに関する。   The present invention relates to an information processing apparatus, an information processing system, an information processing method, and a computer program. More specifically, the present invention relates to an information processing apparatus, an information processing system, an information processing method, and a computer program that execute communication processing and data processing associated with the communication processing.

IC回路とアンテナを備え非接触通信を可能としたICカードや、ICカード機能を備えた携帯端末が様々な分野で利用されている。ICカードは、リーダライタに対して接触あるいは非接触で無線通信を行う。例えばICカードとリーダライタ間の無線通信によりデータ転送を行い、各デバイスにおいてデータ書き込みや読み取りが行われる。なお、ICカードとリーダライタ間の処理については、例えば特許文献1(特開2006−108886号公報)に記載されている。   An IC card having an IC circuit and an antenna and capable of non-contact communication and a portable terminal having an IC card function are used in various fields. The IC card performs wireless communication with or without contact with the reader / writer. For example, data is transferred by wireless communication between the IC card and the reader / writer, and data writing and reading are performed in each device. The processing between the IC card and the reader / writer is described in, for example, Japanese Patent Application Laid-Open No. 2006-108886.

ICカードとリーダライタの通信においては例えば以下のような処理が行われる。
リーダライタがコマンド(処理要求)パケットをICカードに出力する。
コマンドパケットを受信したICカードがコマンドに応じた処理を行う。
ICカードは、処理の実行後にレスポンスパケットの返信を行う。
このような処理が行われる。
In the communication between the IC card and the reader / writer, for example, the following processing is performed.
The reader / writer outputs a command (processing request) packet to the IC card.
The IC card that has received the command packet performs processing according to the command.
The IC card returns a response packet after executing the process.
Such processing is performed.

ICカード機能を備えた装置としては、例えば携帯電話がすでに存在する。   For example, a mobile phone already exists as an apparatus having an IC card function.

上述の携帯電話装置を含め、従来においてICカードの機能を電子機器に搭載する場合、リーダライタとの非接触通信を行う無線通信インタフェースと、該非接触通信のプロトコル処理や通信にかかるデータを処理するCPUと、該CPUの作業領域となるメモリと、無線通信インタフェースを介した通信データを電子機器に渡す、あるいは電子機器からのデータを受領するための有線通信インタフェースを備えたサブシステムを構成するICチップを搭載することが必要となる。   In the past, when the IC card function including the above-described mobile phone device is mounted on an electronic device, a wireless communication interface that performs non-contact communication with a reader / writer, protocol processing of the non-contact communication, and data related to communication are processed. IC that constitutes a subsystem including a CPU, a memory serving as a work area of the CPU, and a wired communication interface for passing communication data via the wireless communication interface to the electronic device or receiving data from the electronic device It is necessary to mount a chip.

具体的には、例えば図1に示す構成が利用可能である。図1には、電子機器である情報処理装置10と、リーダライタ1を示している。情報処理装置10は、ICカード機能を提供する通信処理部20と装置本体部30を有している。通信処理部20はリーダライタ1との非接触通信を行うサブシステムである。装置本体部30は情報処理装置10の機能に応じたデータ処理を実行する。   Specifically, for example, the configuration shown in FIG. 1 can be used. FIG. 1 shows an information processing apparatus 10 that is an electronic device and a reader / writer 1. The information processing apparatus 10 includes a communication processing unit 20 and an apparatus main body unit 30 that provide an IC card function. The communication processing unit 20 is a subsystem that performs non-contact communication with the reader / writer 1. The apparatus main body 30 executes data processing according to the function of the information processing apparatus 10.

通信処理部20は、リーダライタ1との無線通信を行うためのアンテナ21、無線通信インタフェース22、通信処理部20内で実行する処理の制御を行うCPU23、装置本体部30との有線通信を行うための有線通信インタフェース24、CPU23における実行プログラムやパラメータ等を格納したプログラムメモリ25、通信データ等を格納する不揮発性メモリ26、CPU23の実行する処理などにおけるワーク領域等に使用するメモリとしてのRAM27を有する。   The communication processing unit 20 performs wired communication with the antenna 21 for performing wireless communication with the reader / writer 1, the wireless communication interface 22, the CPU 23 for controlling processing executed in the communication processing unit 20, and the apparatus main body unit 30. A wired communication interface 24, a program memory 25 storing execution programs and parameters in the CPU 23, a non-volatile memory 26 storing communication data, and a RAM 27 as a memory used for a work area in processing executed by the CPU 23. Have.

装置本体部30は、通信処理部20との有線通信を行うための有線通信インタフェース31、装置本体部30内で実行する処理の制御を行うCPU32、CPU32における実行プログラムやパラメータ等を格納したプログラムメモリ33、電源断時にも保存の必要な様々なデータを格納する不揮発性メモリ34、CPU32の処理におけるワーク領域等に使用するメモリとしてのRAM35を有する。   The apparatus main body 30 includes a wired communication interface 31 for performing wired communication with the communication processing unit 20, a CPU 32 that controls processing executed in the apparatus main body 30, and a program memory that stores execution programs, parameters, and the like in the CPU 32 33, a non-volatile memory 34 for storing various data that needs to be saved even when the power is turned off, and a RAM 35 as a memory used for a work area in the processing of the CPU 32.

この図1に示す構成によって、携帯電話、PC(PersonalComputer)など様々な電子機器に対してICカード機能を付加することが可能となり、リーダライタとの通信可能な構成が実現される。すなわち、装置本体部30が、通信処理部20の提供するICカード機能を介して、リーダライタ1と様々なデータを送受信可能な構成が実現される。   With the configuration shown in FIG. 1, an IC card function can be added to various electronic devices such as a mobile phone and a PC (Personal Computer), and a configuration capable of communicating with a reader / writer is realized. That is, a configuration in which the apparatus main body 30 can transmit and receive various data to and from the reader / writer 1 via the IC card function provided by the communication processing unit 20 is realized.

しかし、図1に示す構成から明らかなように、電子機器にICカード機能を搭載する場合には、情報処理装置10内に構成される通信処理部20として、独自のCPUと、プログラムメモリと、該CPUがアクセス可能なメモリ領域となる不揮発性メモリおよびRAMを備からなるICカード機能を実現するためのサブシステムを別途備える構成となるため、情報処理装置10内の通信処理部20と装置本体部30において重複したハードウェア構成を有することになる。このような構成は、情報処理装置のコストアップを招き、さらに装置の小型化を阻害することになる。   However, as is apparent from the configuration shown in FIG. 1, when an IC card function is mounted on an electronic device, as a communication processing unit 20 configured in the information processing apparatus 10, an original CPU, a program memory, Since the CPU includes a non-volatile memory serving as a memory area accessible by the CPU and a subsystem for realizing an IC card function including a RAM, the communication processing unit 20 in the information processing apparatus 10 and the apparatus main body are provided. The unit 30 has an overlapping hardware configuration. Such a configuration causes an increase in the cost of the information processing apparatus and further hinders downsizing of the apparatus.

特開2006−108886号公報JP 2006-108886 A

本発明は、例えば上記問題点に鑑みてなされたものであり、様々な電子機器に対してICカード機能を付加する構成において、ハードウェア資源の削減と小型化を実現する情報処理装置、情報処理システム、および情報処理方法、並びにコンピュータ・プログラムを提供することを目的とする。   The present invention has been made in view of the above-described problems, for example, and an information processing apparatus, information processing, and information processing that realizes reduction of hardware resources and size reduction in a configuration in which an IC card function is added to various electronic devices. It is an object to provide a system, an information processing method, and a computer program.

本発明の第1の側面は、
外部の通信デバイスとの通信処理を実行する通信処理部と、
前記通信処理部と有線のデータ通信路を介した通信処理およびデータ処理を実行するデータ処理部を有し、
前記通信処理部は、
前記通信デバイスと前記データ処理部間で送受信するデータを一時的に格納するメモリと、
前記メモリに対するデータ書き込みおよび読み取り制御を実行する制御部を有し、
前記制御部は、
前記通信デバイスからデータを受信した際に、該受信したデータに含まれるエラーチェック用コードに基づいて該受信したデータのエラーチェックを実行する構成である情報処理装置にある。
The first aspect of the present invention is:
A communication processing unit that executes communication processing with an external communication device;
A data processing unit that executes communication processing and data processing via the communication processing unit and a wired data communication path;
The communication processing unit
A memory that temporarily stores data to be transmitted and received between the communication device and the data processing unit;
A control unit that performs data writing and reading control on the memory;
The controller is
When the data is received from the communication device, the information processing apparatus is configured to execute an error check of the received data based on an error check code included in the received data.

さらに、本発明の情報処理装置の一実施態様において、前記通信処理部の制御部は、前記エラーチェックの実行後に、前記データ処理部に対してデータの受信通知の出力処理を実行する構成である。   Furthermore, in an embodiment of the information processing apparatus of the present invention, the control unit of the communication processing unit is configured to execute a data reception notification output process to the data processing unit after the error check is executed. .

さらに、本発明の情報処理装置の一実施態様において、前記通信処理部の制御部は、前記通信デバイスからデータを受信した際に、さらに該受信データに含まれるコマンド要求の判別を実行する構成である。   Furthermore, in one embodiment of the information processing apparatus of the present invention, the control unit of the communication processing unit further executes a determination of a command request included in the received data when data is received from the communication device. is there.

さらに、本発明の情報処理装置の一実施態様において、前記通信処理部の制御部は、前記通信デバイスから受信したコマンド要求がデータ読み取り要求である場合には、前記メモリからのデータ取得および前記通信デバイスに対する送信処理を実行する構成である。   Furthermore, in an embodiment of the information processing apparatus according to the present invention, the control unit of the communication processing unit acquires the data from the memory and the communication when the command request received from the communication device is a data read request. In this configuration, transmission processing for a device is executed.

さらに、本発明の情報処理装置の一実施態様において、前記通信処理部の制御部は、前記通信デバイスから受信したコマンド要求がデータ読み取り要求である場合には、前記データ処理部に対するデータの受信通知の出力処理を実行した後、前記データ処理部から要求データを受け取り、該受け取った要求データを前記メモリへ記録し、前記メモリからのデータ取得および前記通信デバイスに対する送信処理を実行する構成である。   Furthermore, in one embodiment of the information processing apparatus of the present invention, the control unit of the communication processing unit notifies the data processing unit of data reception when the command request received from the communication device is a data read request. After executing the output process, the request data is received from the data processing unit, the received request data is recorded in the memory, and the data acquisition from the memory and the transmission process to the communication device are executed.

さらに、本発明の情報処理装置の一実施態様において、前記通信処理部の制御部は、前記通信デバイスからから受信したコマンド要求がデータ書き込み要求である場合には、前記メモリに対するデータ格納を実行して、前記データ処理部からの要求に応じて前記メモリからのデータ取得および前記データ処理部に対する出力処理を実行する構成である。   Furthermore, in one embodiment of the information processing apparatus of the present invention, the control unit of the communication processing unit executes data storage in the memory when the command request received from the communication device is a data write request. In this configuration, data acquisition from the memory and output processing to the data processing unit are executed in response to a request from the data processing unit.

さらに、本発明の情報処理装置の一実施態様において、前記通信処理部の制御部は、前記通信デバイスからから受信したコマンド要求がデータ書き込み要求である場合には、前記メモリに対するデータ格納を実行して、前記データ処理部からの要求に応じて前記メモリからのデータ取得および前記データ処理部に対する出力処理を実行し、前記データ処理部からのデータ書き込み完了通知を受け取った後、前記通信デバイスへのデータ書き込み完了通知の出力処理を実行する構成である。   Furthermore, in one embodiment of the information processing apparatus of the present invention, the control unit of the communication processing unit executes data storage in the memory when the command request received from the communication device is a data write request. In response to a request from the data processing unit, data acquisition from the memory and output processing to the data processing unit are executed, and after receiving a data write completion notification from the data processing unit, to the communication device In this configuration, a data write completion notification output process is executed.

さらに、本発明の情報処理装置の一実施態様において、前記通信デバイスから受信したコマンド要求がデータ読み取り要求である場合には、前記メモリからのデータ取得および前記通信デバイスに対する送信処理を実行し、前記通信デバイスからから受信したコマンド要求がデータ書き込み要求である場合には、前記メモリに対するデータ格納を実行して、前記データ処理部からの要求に応じて前記メモリからのデータ取得および前記データ処理部に対する出力処理を実行する構成である。   Furthermore, in one embodiment of the information processing apparatus of the present invention, when the command request received from the communication device is a data read request, data acquisition from the memory and transmission processing to the communication device are executed, If the command request received from the communication device is a data write request, data storage to the memory is executed, data acquisition from the memory is performed in response to a request from the data processing unit, and It is the structure which performs an output process.

さらに、本発明の第2の側面は、
情報処理装置において実行する情報処理方法であり、
前記情報処理装置は、外部の通信デバイスとの通信処理を実行する通信処理部と、
前記通信処理部と有線のデータ通信路を介した通信処理およびデータ処理を実行するデータ処理部を有し、
前記通信処理部は、
前記通信デバイスと前記データ処理部間で送受信するデータを一時的に格納するメモリと、
前記メモリに対するデータ書き込みおよび読み取り制御を実行する制御部を有し、
前記制御部は、
前記通信デバイスからデータを受信した際に、該受信したデータに含まれるエラーチェック用コードに基づいて該受信したデータのエラーチェックを実行する情報処理方法にある。
Furthermore, the second aspect of the present invention provides
An information processing method executed in an information processing apparatus,
The information processing apparatus includes a communication processing unit that executes communication processing with an external communication device;
A data processing unit that executes communication processing and data processing via the communication processing unit and a wired data communication path;
The communication processing unit
A memory that temporarily stores data to be transmitted and received between the communication device and the data processing unit;
A control unit that performs data writing and reading control on the memory;
The controller is
In the information processing method, when data is received from the communication device, an error check of the received data is performed based on an error check code included in the received data.

さらに、本発明の第3の側面は、
情報処理装置において情報処理を実行させるコンピュータ・プログラムであり、
前記情報処理装置は、外部の通信デバイスとの通信処理を実行する通信処理部と、前記通信処理部と有線のデータ通信路を介した通信処理およびデータ処理を実行するデータ処理部を有し、
前記通信処理部は、
前記通信デバイスと前記データ処理部間で送受信するデータを一時的に格納するメモリと、
前記メモリに対するデータ書き込みおよび読み取り制御を実行する制御部を有し、
前記コンピュータ・プログラムは、
前記制御部に、
前記通信デバイスからデータを受信した際に、該受信したデータに含まれるエラーチェック用コードに基づいて該受信したデータのエラーチェックを実行させるコンピュータ・プログラムにある。
Furthermore, the third aspect of the present invention provides
A computer program for executing information processing in an information processing apparatus;
The information processing apparatus includes a communication processing unit that performs communication processing with an external communication device, and a data processing unit that performs communication processing and data processing via a wired data communication path with the communication processing unit,
The communication processing unit
A memory that temporarily stores data to be transmitted and received between the communication device and the data processing unit;
A control unit that performs data writing and reading control on the memory;
The computer program is
In the control unit,
When receiving data from the communication device, the computer program causes an error check of the received data to be executed based on an error check code included in the received data.

なお、本発明のプログラムは、例えば、様々なプログラム・コードを実行可能な汎用コンピュータ・システムに対して、コンピュータ可読な形式で提供する記憶媒体、通信媒体によって提供可能なコンピュータ・プログラムである。このようなプログラムをコンピュータ可読な形式で提供することにより、コンピュータ・システム上でプログラムに応じた処理が実現される。   The program of the present invention is, for example, a computer program that can be provided by a storage medium or a communication medium provided in a computer-readable format to a general-purpose computer system that can execute various program codes. By providing such a program in a computer-readable format, processing corresponding to the program is realized on the computer system.

本発明のさらに他の目的、特徴や利点は、後述する本発明の実施例や添付する図面に基づくより詳細な説明によって明らかになるであろう。なお、本明細書においてシステムとは、複数の装置の論理的集合構成であり、各構成の装置が同一筐体内にあるものには限らない。   Other objects, features, and advantages of the present invention will become apparent from a more detailed description based on embodiments of the present invention described later and the accompanying drawings. In this specification, the system is a logical set configuration of a plurality of devices, and is not limited to one in which the devices of each configuration are in the same casing.

本発明の一実施例の構成によれば、リーダライタなどの通信デバイスとの通信処理を実行する通信処理部と、この通信処理部と有線通信を実行するデータ処理部とを有する情報処理装置において、通信処理部に通信デバイスとデータ処理部間で送受信するデータを一時的に格納するメモリと、メモリに対するデータ書き込みおよび読み取り制御を実行する制御部を構成した。制御部は、通信デバイスからの受信コマンドがデータ読み取り要求である場合、メモリからのデータ取得および通信デバイスに対する送信処理を実行し、通信デバイスからからの受信コマンドがデータ書き込み要求である場合、メモリに対するデータ格納と、データ処理部からの要求に応じたメモリからのデータ取得および出力処理を実行する。メモリとしてFIFOメモリを利用して、通信処理部内の処理を簡略化することで、情報処理装置全体のハードウェア資源を削減し装置のコストダウンおよび小型化を実現した。   According to the configuration of an embodiment of the present invention, in an information processing apparatus including a communication processing unit that executes communication processing with a communication device such as a reader / writer, and a data processing unit that executes wired communication with the communication processing unit. The communication processing unit includes a memory that temporarily stores data transmitted and received between the communication device and the data processing unit, and a control unit that performs data writing and reading control on the memory. When the received command from the communication device is a data read request, the control unit executes data acquisition from the memory and transmission processing to the communication device. When the received command from the communication device is a data write request, the control unit Data storage and data acquisition and output processing from the memory in response to a request from the data processing unit are executed. By using a FIFO memory as a memory and simplifying the processing in the communication processing unit, the hardware resources of the entire information processing apparatus are reduced, and the cost and size of the apparatus are reduced.

情報処理装置内にICカード機能を提供する通信処理部と装置本体部を有する構成とした場合の構成例について説明する図である。It is a figure explaining the structural example at the time of setting it as the structure which has a communication processing part and an apparatus main body part which provide an IC card function in information processing apparatus. 本発明の一実施例に係る情報処理装置の構成例であり、ICカード機能を提供する通信処理部とデータ処理部を有する情報処理装置の構成例について説明する図である。FIG. 2 is a diagram illustrating a configuration example of an information processing apparatus according to an embodiment of the present invention, and illustrates a configuration example of an information processing apparatus including a communication processing unit that provides an IC card function and a data processing unit. 本発明の一実施例に係る情報処理装置がリーダライタからデータ読み取り要求を受信した場合の処理シーケンスの一例について説明する図である。It is a figure explaining an example of a processing sequence when the information processing apparatus which concerns on one Example of this invention receives a data reading request | requirement from a reader / writer. 本発明の一実施例に係る情報処理装置がリーダライタからデータ読み取り要求を受信した場合の処理シーケンスの一例について説明する図である。It is a figure explaining an example of a processing sequence when the information processing apparatus which concerns on one Example of this invention receives a data reading request | requirement from a reader / writer. 本発明の一実施例に係る情報処理装置がリーダライタからデータ書き込み要求を受信した場合の処理シーケンスの一例について説明する図である。It is a figure explaining an example of a processing sequence when the information processing apparatus which concerns on one Example of this invention receives a data write request from a reader / writer. リーダライタの送信するデータ書き込み要求のパケット構成例について説明する図である。It is a figure explaining the packet structural example of the data write request which a reader / writer transmits. 本発明の一実施例に係る情報処理装置がリーダライタからデータ書き込み要求を受信した場合のメモリに対する書き込みデータの一例について説明する図である。It is a figure explaining an example of the write data with respect to memory when the information processing apparatus which concerns on one Example of this invention receives a data write request from a reader / writer.

以下、本発明の情報処理装置、情報処理システム、および情報処理方法、並びにコンピュータ・プログラムの詳細について説明する。   Details of the information processing apparatus, information processing system, information processing method, and computer program of the present invention will be described below.

本発明は、様々な電子機器に対してICカード機能を付加する構成において、ハードウェア資源の削減と小型化を実現する。本発明の一実施例に係る情報処理装置の構成例について図2を参照して説明する。   The present invention realizes reduction of hardware resources and size reduction in a configuration in which an IC card function is added to various electronic devices. A configuration example of an information processing apparatus according to an embodiment of the present invention will be described with reference to FIG.

図2には、先に説明した図1と同様、PCなどの電子機器からなる情報処理装置100と、リーダライタ50を示している。情報処理装置100は、ICカード機能を提供する通信処理部120と装置本体部に相当するデータ処理部130を有している。通信処理部120はリーダライタ50との非接触通信を行う。データ処理部130は情報処理装置100の機能に応じた様々なデータ処理を実行する。   FIG. 2 shows an information processing apparatus 100 including an electronic device such as a PC, and a reader / writer 50, as in FIG. 1 described above. The information processing apparatus 100 includes a communication processing unit 120 that provides an IC card function and a data processing unit 130 that corresponds to the apparatus main body. The communication processing unit 120 performs non-contact communication with the reader / writer 50. The data processing unit 130 executes various data processing according to the function of the information processing apparatus 100.

通信処理部120は、リーダライタ50との無線通信を行うためのアンテナ121、無線通信インタフェース122、通信処理部120内で実行する処理の制御を行う制御部123、データ処理部130との有線通信を行うための有線通信インタフェース124、通信データのバッファとして利用するメモリ125を有する。メモリ125は例えばFIFO(First In First Out)型のRAMによって構成される。   The communication processing unit 120 is wired communication with the antenna 121 for performing wireless communication with the reader / writer 50, the wireless communication interface 122, the control unit 123 for controlling processing executed in the communication processing unit 120, and the data processing unit 130. A wired communication interface 124 and a memory 125 used as a buffer for communication data. The memory 125 is constituted by, for example, a FIFO (First In First Out) type RAM.

データ処理部130は、通信処理部120との有線通信を行うための有線通信インタフェース131、データ処理部130内で実行する情報処理装置の機能および通信処理部120との通信処理等の制御を行うCPU132、CPU132における実行プログラムやパラメータ等を格納したプログラムメモリ133、電源断時にも保存の必要な様々なデータを格納する不揮発性メモリ134、CPU132の処理におけるワーク領域等に使用するメモリとしてのRAM135を有する。   The data processing unit 130 controls a wired communication interface 131 for performing wired communication with the communication processing unit 120, functions of an information processing apparatus executed in the data processing unit 130, communication processing with the communication processing unit 120, and the like. A CPU 132, a program memory 133 that stores execution programs and parameters in the CPU 132, a non-volatile memory 134 that stores various data that needs to be saved even when the power is turned off, and a RAM 135 that is used as a work area in the processing of the CPU 132 Have.

通信処理部120と、データ処理部130の間のデータ転送路は有線接続路として設定されており、例えばSPI(Serial Peripheral Interface)を適用したデータ転送経路として設定される。   The data transfer path between the communication processing unit 120 and the data processing unit 130 is set as a wired connection path, and is set as a data transfer path to which, for example, SPI (Serial Peripheral Interface) is applied.

この図2に示す構成によって、PC、携帯端末など様々な電子機器に対してICカード機能を付加することが可能となり、リーダライタとの通信可能な構成が実現される。すなわち、データ処理部130が、通信処理部120を介してリーダライタ50と様々なデータを送受信可能な構成が実現される。   With the configuration shown in FIG. 2, an IC card function can be added to various electronic devices such as a PC and a portable terminal, and a configuration capable of communicating with a reader / writer is realized. That is, a configuration in which the data processing unit 130 can transmit and receive various data to and from the reader / writer 50 via the communication processing unit 120 is realized.

図2に示す本発明の情報処理装置100の構成と、先に図1を参照して説明した情報処理装置10の構成を比較して理解されるように、図2に示す本発明の情報処理装置100の通信処理部120は、図1に示す通信処理部20に比較して簡略化した構成を持つ。   As can be understood by comparing the configuration of the information processing apparatus 100 of the present invention shown in FIG. 2 with the configuration of the information processing apparatus 10 described above with reference to FIG. 1, the information processing apparatus of the present invention shown in FIG. The communication processing unit 120 of the apparatus 100 has a simplified configuration compared to the communication processing unit 20 shown in FIG.

図2に示す本発明の情報処理装置100の通信処理部120と、図1に示す通信処理部20との差異は以下の通りである。
(a)通信処理部120は、図1に示す通信処理部20のCPU23より機能の低い制御部123に変更している。
(b)通信処理部120は、図1に示す通信処理部20の有するプログラムメモリを持たない。
(c)通信処理部120は、図1に示す通信処理部20の有する不揮発性メモリを持たない。
(d)通信処理部120は、図1に示す通信処理部20の有するRAMをFIFO型のRAMに変更している。
上記のような差異がある。なお、図2に示す通信処理部120において、プログラムメモリ、不揮発性メモリについては図1に示す通信処理部20の有するメモリ容量より小さい容量のメモリを有する構成としてもよい。
Differences between the communication processing unit 120 of the information processing apparatus 100 shown in FIG. 2 and the communication processing unit 20 shown in FIG. 1 are as follows.
(A) The communication processing unit 120 is changed to a control unit 123 having a lower function than the CPU 23 of the communication processing unit 20 shown in FIG.
(B) The communication processing unit 120 does not have the program memory included in the communication processing unit 20 illustrated in FIG.
(C) The communication processing unit 120 does not have the nonvolatile memory included in the communication processing unit 20 illustrated in FIG.
(D) The communication processing unit 120 changes the RAM included in the communication processing unit 20 illustrated in FIG. 1 to a FIFO type RAM.
There are differences as described above. In the communication processing unit 120 shown in FIG. 2, the program memory and the non-volatile memory may have a memory having a smaller capacity than the memory capacity of the communication processing unit 20 shown in FIG.

このように、図2に示す情報処理装置100の通信処理部120の構成は簡略化されている。通信処理部120の制御部123は、規定シーケンスに従った単純な処理のみを実行する制御ロジックとして設定される。なお、制御部123の実行する具体的な処理の内容については後述する。   As described above, the configuration of the communication processing unit 120 of the information processing apparatus 100 illustrated in FIG. 2 is simplified. The control unit 123 of the communication processing unit 120 is set as a control logic that executes only simple processing according to a prescribed sequence. Details of specific processing executed by the control unit 123 will be described later.

通信処理部120の制御部123は、例えばリーダライタ50からの受信パケットに対する演算や、送信パケットの生成処理等の複雑な演算を行わず、これらの処理をデータ処理部130のCPU132に代行させる。通信処理部120の制御部123は、例えば、メモリ125を利用したデータ書き込みおよび読み取り処理としてのFIFOコントロールやデータ受送信の方向制御等の制御を行う。このような構成とすることで、回路規模およびコストの低減が実現する。   For example, the control unit 123 of the communication processing unit 120 does not perform complicated calculations such as a calculation on a received packet from the reader / writer 50 or a generation process of a transmission packet, and performs these processes on the CPU 132 of the data processing unit 130. The control unit 123 of the communication processing unit 120 performs control such as FIFO control as data writing and reading processing using the memory 125 and direction control of data transmission / reception, for example. With such a configuration, the circuit scale and cost can be reduced.

図1に示す構成において、リーダライタ50からのデータリードコマンドは、通信処理部120のメモリ125に対するリード処理と規定する。同様に、リーダライタ50からのデータライトコマンドは、通信処理部120のメモリ125に対するライト処理と規定する。   In the configuration shown in FIG. 1, the data read command from the reader / writer 50 is defined as a read process for the memory 125 of the communication processing unit 120. Similarly, a data write command from the reader / writer 50 is defined as a write process for the memory 125 of the communication processing unit 120.

本発明の一実施例の構成では、通信処理部120の制御部123ではリード処理やライト処理の対象となるデータに対応する識別子であるアドレスのデコードは行わない。アドレスは必要に応じてデータ処理部130に送信し、データ処理部130のCPU132で解釈を行う。   In the configuration of the embodiment of the present invention, the control unit 123 of the communication processing unit 120 does not decode an address that is an identifier corresponding to data to be read or written. The address is transmitted to the data processing unit 130 as necessary, and is interpreted by the CPU 132 of the data processing unit 130.

リーダライタ50からデータ読み出し処理(リード)要求が発行された場合の処理シーケンスについて図3、図4を参照して説明する。   A processing sequence when a data read processing (read) request is issued from the reader / writer 50 will be described with reference to FIGS.

図3は、通信処理部120のメモリ125にデータが存在する場合のリード処理シーケンスである。
まず、ステップS101において、リータライタ50が通信処理部に対してデータ読み出し要求を送信する。
次に、ステップS102において、通信処理部120の制御部が、読み出し要求に応じて、メモリ125に格納されたデータを順次取得する。FIFO型メモリであり、先入れ先出し方式に従って、順次取得するのみである。
次に、ステップS103において、通信処理部120は、リーダライタ50に対してメモリ125から取得したデータを送信する。
FIG. 3 is a read processing sequence when data exists in the memory 125 of the communication processing unit 120.
First, in step S101, the writer / writer 50 transmits a data read request to the communication processing unit.
Next, in step S102, the control unit of the communication processing unit 120 sequentially acquires the data stored in the memory 125 in response to the read request. It is a FIFO type memory, and it is only acquired sequentially according to a first-in first-out method.
Next, in step S <b> 103, the communication processing unit 120 transmits the data acquired from the memory 125 to the reader / writer 50.

次に、リーダライタ50からのデータ読み出し処理(リード)時に、通信処理部120のメモリ125にデータが存在しない場合のリード処理シーケンスについて図4を参照して説明する。   Next, a read processing sequence in the case where no data exists in the memory 125 of the communication processing unit 120 during data reading processing (reading) from the reader / writer 50 will be described with reference to FIG.

まず、ステップS121において、リーダライタ50が通信処理部に対してデータ読み出し要求を送信する。
次に、ステップS122において、通信処理部120の制御部123が、データ処理部130のCPU132に対して読み出し要求を受信したことを示すコマンド受信の割り込みを送信する。
First, in step S121, the reader / writer 50 transmits a data read request to the communication processing unit.
Next, in step S <b> 122, the control unit 123 of the communication processing unit 120 transmits a command reception interrupt indicating that a read request has been received to the CPU 132 of the data processing unit 130.

ステップS123において、データ処理部130のCPU132は、通信処理部120の制御部123に対してコマンドの転送を要求し、ステップS124において通信処理部120の制御部123は、リーダライタ50からの受信コマンドをデータ処理部130に有線通信インタフェースを介して転送する。   In step S123, the CPU 132 of the data processing unit 130 requests the control unit 123 of the communication processing unit 120 to transfer a command. In step S124, the control unit 123 of the communication processing unit 120 receives a command received from the reader / writer 50. Is transferred to the data processing unit 130 via a wired communication interface.

データ処理部130のCPU132は、ステップS125において、通信処理部120の制御部123から転送されたリーダライタ50の出力コマンドを解析する。このコマンド解析において、コマンドに含まれる要求データ識別子(アドレスなど)に基づいて読み取り要求のなされたデータを判別する。CPU132は、判別された読み取り要求データを、データ処理部130内の不揮発性メモリ34から取り出して、有線インタフェースを介して通信処理部120に送信する。   In step S125, the CPU 132 of the data processing unit 130 analyzes the output command of the reader / writer 50 transferred from the control unit 123 of the communication processing unit 120. In this command analysis, data requested to be read is determined based on a request data identifier (address or the like) included in the command. The CPU 132 retrieves the determined read request data from the nonvolatile memory 34 in the data processing unit 130 and transmits it to the communication processing unit 120 via the wired interface.

通信処理部120の制御部123は、ステップS126において、データ処理部130から受信するデータを順次、メモリ125に格納する。
次に、通信処理部120の制御部は、ステップS127において、メモリ125に格納されたデータを順次取得する。FIFO型メモリであり、先入れ先出し方式に従って、順次取得するのみである。
最後に、ステップS128において、通信処理部120は、リーダライタ50に対してメモリ125から取得したデータを送信する。
In step S126, the control unit 123 of the communication processing unit 120 sequentially stores the data received from the data processing unit 130 in the memory 125.
Next, the control unit of the communication processing unit 120 sequentially acquires the data stored in the memory 125 in step S127. It is a FIFO type memory, and it is only acquired sequentially according to a first-in first-out method.
Finally, in step S128, the communication processing unit 120 transmits the data acquired from the memory 125 to the reader / writer 50.

なお、ステップS128における通信処理部120からリーダライタ50に対するデータ送信処理は、リーダライタ50からの次のリード要求を受信するまで待機した後、実行する設定としてもよい。   Note that the data transmission processing from the communication processing unit 120 to the reader / writer 50 in step S128 may be set to be executed after waiting until the next read request from the reader / writer 50 is received.

図3、図4を参照して説明したように、通信処理部120は、リーダライタ50からのデータ読み出し要求を受信した場合、データが通信処理部120内のメモリ125に格納されている場合はデータ処理部130との通信を行わず、メモリ125から順次、データを取得してリーダライタ50に対して送信する。   As described with reference to FIGS. 3 and 4, when the communication processing unit 120 receives a data read request from the reader / writer 50, the data is stored in the memory 125 in the communication processing unit 120. Data is sequentially acquired from the memory 125 and transmitted to the reader / writer 50 without performing communication with the data processing unit 130.

一方、リーダライタ50からのデータ読み出し要求を受信した際に、データが通信処理部120内のメモリ125に格納されていない場合はデータ処理部130との通信を実行して、データ処理部130からデータを受信してメモリ125に書き込んだ後、メモリ125から順次、データを取得してリーダライタ50に対して送信する。   On the other hand, when the data read request is received from the reader / writer 50, if the data is not stored in the memory 125 in the communication processing unit 120, communication with the data processing unit 130 is executed, and the data processing unit 130 After the data is received and written in the memory 125, the data is sequentially acquired from the memory 125 and transmitted to the reader / writer 50.

次に、リーダライタ50からデータ書き込み処理(ライト)要求が発行された場合の処理シーケンスについて図5を参照して説明する。   Next, a processing sequence when a data write processing (write) request is issued from the reader / writer 50 will be described with reference to FIG.

まず、ステップS131において、リーダライタ50が通信処理部120に対してデータ書き込み要求を送信する。   First, in step S131, the reader / writer 50 transmits a data write request to the communication processing unit 120.

このデータ書き込み要求パケットの構成例を図6に示す。図6に示すように、データ書き込み要求には、コマンドや送受信デバイスの識別情報や、送信データ情報などを含むヘッダ(Head)、書き込みコマンド(Write)、書き込み対象とするデータの識別情報(アドレス)と書き込みデータの複数の組と、CRC(Cyclic Redundancy Check)などのエラーチェックコードを含むフッタ(Footer)によって構成される。   A configuration example of this data write request packet is shown in FIG. As shown in FIG. 6, the data write request includes a command (transmission / reception device) identification information, a header (Head) including transmission data information, a write command (Write), and identification information (address) of data to be written. And a plurality of sets of write data, and a footer including an error check code such as CRC (Cyclic Redundancy Check).

通信処理部120の制御部123は、図6に示すデータ書き込みパケットを受信すると、ステップS132において、リーダライタ50からの受信データを順次、メモリ125に格納する。例えば図7(b)の通信処理部120のメモリ(FIFO)125に示すように、データ書き込み要求パケットに含まれるコマンド(Write)、および書き込み対象とするデータの識別情報(アドレス)と書き込みデータの複数の組をパケットのデータ列に従って書き込む。   When receiving the data write packet shown in FIG. 6, the control unit 123 of the communication processing unit 120 sequentially stores the received data from the reader / writer 50 in the memory 125 in step S132. For example, as shown in the memory (FIFO) 125 of the communication processing unit 120 in FIG. 7B, the command (Write) included in the data write request packet, the identification information (address) of the data to be written, and the write data A plurality of sets are written according to the packet data string.

次に、ステップS133において、通信処理部120の制御部123が、データ処理部130のCPU132に対して、リーダライタ50から書き込み要求を受信したことを示すコマンド受信の割り込みを送信する。   Next, in step S <b> 133, the control unit 123 of the communication processing unit 120 transmits a command reception interrupt indicating that a write request has been received from the reader / writer 50 to the CPU 132 of the data processing unit 130.

次に、ステップS134において、データ処理部130のCPU132は、通信処理部120の制御部123に対して、通信処理部120のメモリ(FIFO)125に書き込まれたデータの転送要求を行う。   Next, in step S <b> 134, the CPU 132 of the data processing unit 130 requests the control unit 123 of the communication processing unit 120 to transfer the data written in the memory (FIFO) 125 of the communication processing unit 120.

通信処理部120の制御部123は、ステップS135において、メモリ125に格納されたデータを順次取得し、ステップS136において、取得データをデータ処理部130に出力する。この転送データは、図7(b)に示す通信処理部120のメモリ(FIFO)125に書き込まれたデータである。   The control unit 123 of the communication processing unit 120 sequentially acquires the data stored in the memory 125 in step S135, and outputs the acquired data to the data processing unit 130 in step S136. This transfer data is data written in the memory (FIFO) 125 of the communication processing unit 120 shown in FIG.

すなわち[コマンド(Write)]、[アドレス0(address0)]、[データ0(Data0)]、[アドレス1(address1)]、[データ1(Data1)]、・・・これらのデータが順次、データ処理部130に出力される。   That is, [command (Write)], [address 0 (address 0)], [data 0 (Data 0)], [address 1 (address 1)], [data 1 (Data 1)],... The data is output to the processing unit 130.

データ処理部130のCPU132は、このデータを順次、取得し、ステップS137において、受信データを不揮発性メモリ134に書き込む処理を実行する。図7(b)のデータ処理部130の不揮発性メモリ134の格納データに示すように、[アドレス0(address0)]、[データ0(Data0)]、[アドレス1(address1)]、[データ1(Data1)]、・・・これらのデータが記録される。なお、アドレスは各データの識別情報としてメモリに記録される。   The CPU 132 of the data processing unit 130 acquires this data sequentially, and executes a process of writing the received data to the nonvolatile memory 134 in step S137. As shown in the data stored in the nonvolatile memory 134 of the data processing unit 130 in FIG. 7B, [address 0 (address 0)], [data 0 (Data 0)], [address 1 (address 1)], [data 1 (Data 1)],... Are recorded. The address is recorded in the memory as identification information of each data.

データ処理部130のCPU132は、データ書き込み処理が終了すると、ステップS138において、データ書き込み完了通知を通信処理部120に送信する。   When the data writing process ends, the CPU 132 of the data processing unit 130 transmits a data writing completion notification to the communication processing unit 120 in step S138.

最後に、通信処理部120の制御部123は、ステップS139において、リーダライタ50に対して処理完了通知を送信する。   Finally, the control unit 123 of the communication processing unit 120 transmits a process completion notification to the reader / writer 50 in step S139.

なお、ステップS139における通信処理部120からリーダライタ50に対する処理完了通知処理は、リーダライタ50からの処理完了送信要求を受信するまで待機した後、実行する設定としてもよい。   Note that the processing completion notification processing from the communication processing unit 120 to the reader / writer 50 in step S139 may be set to be executed after waiting until a processing completion transmission request from the reader / writer 50 is received.

なお、通信処理部120のメモリ(FIFO)125のデータ記憶容量は、リーダライタ50の送信する1パケット分のデータを記録可能な容量としておけばよい。1パケット分の記憶容量を確保しておけば、通信処理部120がリーダライタからパケットを受信した場合、全てのパケットデータのメモリに対する書き込みが終了した後に、データ処理部130との通信を開始することが可能となる。   Note that the data storage capacity of the memory (FIFO) 125 of the communication processing unit 120 may be a capacity capable of recording data for one packet transmitted from the reader / writer 50. If the storage capacity for one packet is secured, when the communication processing unit 120 receives a packet from the reader / writer, communication with the data processing unit 130 is started after all packet data has been written to the memory. It becomes possible.

上記処理例において、通信処理部120の制御部123の実行する処理は、
(A)リーダライタからのデータ読み出し要求においては、
(a1)リーダライタからの受信パケットのコマンド判別処理、
(a2)データ処理部に対するコマンド受信通知処理
(a3)データ処理部からのコマンド転送要求に応じたコマンド転送処理、
(a4)データ処理部からのデータ受信およびメモリ125に対するデータ書き込み処理、
(a5)メモリ125からのデータ取得およびリーダライタに対する出力処理、
これらの処理となる。
In the above processing example, the processing executed by the control unit 123 of the communication processing unit 120 is as follows.
(A) In the data read request from the reader / writer,
(A1) Command discrimination processing of received packet from reader / writer,
(A2) Command reception notification processing to the data processing unit (a3) Command transfer processing in response to a command transfer request from the data processing unit,
(A4) Data reception processing from the data processing unit and data writing processing to the memory 125,
(A5) Data acquisition from the memory 125 and output processing to the reader / writer,
These processes are performed.

また、
(B)リーダライタからのデータ書き込み要求においては、
(b1)リーダライタからの受信パケットのコマンド判別処理、
(b2)リーダライタからの受信データのメモリ125に対する書き込み処理、
(b3)データ処理部に対するコマンド受信通知処理
(b4)データ処理部からのデータ転送要求に応じたメモリ125からのデータ取得およびデータ処理部に対する出力処理
(b5)データ処理部からのデータ書き込み処理完了通知の受信およびリーダライタに対する処理完了通知の送信処理、
これらの処理となる。
Also,
(B) In the data write request from the reader / writer,
(B1) Command discrimination processing of received packet from reader / writer,
(B2) Write processing of received data from the reader / writer to the memory 125,
(B3) Command reception notification processing to the data processing unit (b4) Data acquisition from the memory 125 in response to a data transfer request from the data processing unit and output processing to the data processing unit (b5) Data writing processing from the data processing unit is completed Receive notification and send processing completion notification to reader / writer,
These processes are performed.

このように通信処理部120の制御部123は、コマンドに含まれるデータ識別子(アドレス)の解析処理など、実体的なデータ記録や読み取りに際して必要とする高度な処理は全く実行することがない。通信処理部120に接地されたメモリはFIFO型であり、データの書き込み処理に対しては、受信パケットの並びに従って順次データを書き込むのみとなる。また、データ読み出しに際しても、書き込まれた順に読み出して送信するのみとなる。従ってメモリアクセスも極めて単純な処理として実行可能となる。   As described above, the control unit 123 of the communication processing unit 120 does not execute any advanced processing necessary for substantial data recording or reading such as analysis processing of the data identifier (address) included in the command. The memory grounded to the communication processing unit 120 is a FIFO type, and for data write processing, only data is written sequentially according to the sequence of received packets. In addition, when data is read, it is only read and transmitted in the order of writing. Therefore, memory access can be executed as a very simple process.

このような構成とすることで、通信処理部120の制御部123の機能を低くすることが可能となり、また、図1を参照して説明した通信処理部内のプログラムメモリや不揮発性メモリも削減または容量を少なくすることが可能となる。   With this configuration, the function of the control unit 123 of the communication processing unit 120 can be lowered, and the program memory and nonvolatile memory in the communication processing unit described with reference to FIG. The capacity can be reduced.

上述したように、本発明の一実施例に係る情報処理装置100の通信処理部120は、外部の通信デバイスであるリーダライタ50とデータ処理部130で送受信するデータを一時的に格納するメモリ(FIFO)125を有する。さらに、メモ125リに対するデータ書き込みおよび読み取り制御を実行する制御部123を有する。   As described above, the communication processing unit 120 of the information processing apparatus 100 according to an embodiment of the present invention temporarily stores data transmitted and received between the reader / writer 50 that is an external communication device and the data processing unit 130 ( FIFO) 125. Furthermore, it has the control part 123 which performs the data writing and reading control with respect to the memory 125.

この制御部123は、リーダライタ50から受信したコマンドパケットがデータ読み取り要求である場合には、メモリ125からのデータ取得およびリーダライタ50に対する送信処理を実行し、リーダライタ50からから受信したコマンドパケットがデータ書き込み要求である場合には、メモリ125に対するデータ格納を実行して、データ処理部130からの要求に応じてメモリ125からのデータ取得およびデータ処理部130に対する出力処理を実行する。   When the command packet received from the reader / writer 50 is a data read request, the control unit 123 executes data acquisition from the memory 125 and transmission processing to the reader / writer 50 and receives the command packet received from the reader / writer 50. Is a data write request, data storage to the memory 125 is executed, and data acquisition from the memory 125 and output processing to the data processing unit 130 are executed in response to a request from the data processing unit 130.

また、通信処理部120の制御部123は、リーダライタ50から受信したコマンドパケットがデータ読み取り要求であり、通信処理部120内のメモリ125にデータが格納されていない場合、データ処理部130に対するコマンド受信通知の送信処理と、データ処理部130からの要求に応じたコマンド転送処理を実行する。   Further, the control unit 123 of the communication processing unit 120 sends a command to the data processing unit 130 when the command packet received from the reader / writer 50 is a data read request and no data is stored in the memory 125 in the communication processing unit 120. A reception notification transmission process and a command transfer process in response to a request from the data processing unit 130 are executed.

なお、リーダライタ50から受信したコマンドパケットがデータ書き込み要求である場合に、通信処理部120の制御部123がメモリ125に記録し、データ処理部130に転送するデータは、
(a)受信パケットに含まれるコマンドと、書き込み対象データに対応するデータ識別子とデータ、
(b)受信パケットに含まれる書き込み対象データに対応するデータ識別子とデータ、
上記の(a),(b)のいずれの設定でもよい。
(a)の場合は、コマンド解釈はデータ処理部130のCPU132において実行する。
When the command packet received from the reader / writer 50 is a data write request, the data recorded in the memory 125 by the control unit 123 of the communication processing unit 120 and transferred to the data processing unit 130 is
(A) a command included in the received packet, a data identifier and data corresponding to the write target data,
(B) a data identifier and data corresponding to the write target data included in the received packet;
Any of the above settings (a) and (b) may be used.
In the case of (a), command interpretation is executed by the CPU 132 of the data processing unit 130.

(b)の場合は、コマンド解釈は通信処理部120の制御部123において実行する。この場合、制御部123は、リーダライタ50から受信したコマンドパケットがデータ書き込み要求であるかデータ読み取り要求であるかの判別処理を実行し、データ処理部130に対して受信コマンドの種別を通知する処理を実行する。   In the case of (b), command interpretation is executed by the control unit 123 of the communication processing unit 120. In this case, the control unit 123 determines whether the command packet received from the reader / writer 50 is a data write request or a data read request, and notifies the data processing unit 130 of the type of the received command. Execute the process.

なお、通信処理部120の制御部123において実行する処理と、データ処理部130のCPUにおいて実行する処理の区分については様々な設定が可能である。   Various settings can be made for the processing executed by the control unit 123 of the communication processing unit 120 and the processing executed by the CPU of the data processing unit 130.

具体的には、例えばリーダライタからのコマンドパケットの受信時に、通信処理部120の制御部123が実行する処理態様としては、以下のような設定が可能である。   Specifically, for example, the following setting is possible as the processing mode executed by the control unit 123 of the communication processing unit 120 when a command packet is received from the reader / writer.

(A)リーダライタからの受信パケットに含まれるヘッダやフッタを読み取り、フッタに格納されたCRCによるパケットのエラーチェックなど受信パケットの完全性を検証するパケット文法チェックを行い、パケット受信通知をデータ処理部に出力する。
(B)上記の(A)のパケット文法チェックに加え、さらにコマンド解釈を行い、コマンド種別を含むパケット受信通知をデータ処理部に出力する。
(C)リーダライタからの受信パケットに対する処理を実行することなく、パケット受信通知のみをデータ処理部に対して実行する。
例えば上記の(A)〜(C)のいずれかの処理態様を行う設定が可能となる。
(A) The header and footer included in the received packet from the reader / writer is read, and the packet syntax check is performed to verify the integrity of the received packet, such as checking the packet error using the CRC stored in the footer. To the output.
(B) In addition to the packet grammar check of (A) above, further command interpretation is performed, and a packet reception notification including the command type is output to the data processing unit.
(C) Only the packet reception notification is executed to the data processing unit without executing the processing for the received packet from the reader / writer.
For example, the setting for performing any one of the processing modes (A) to (C) is possible.

通信処理部120の制御部123は、例えば上記(A)〜(C)のいずれかの処理を実行するように予め設定する。なお、上記(A)〜(C)の設定に応じて、データ処理部130のCPUの処理も変更されることになる。   For example, the control unit 123 of the communication processing unit 120 performs presetting so as to execute any one of the processes (A) to (C). Note that the processing of the CPU of the data processing unit 130 is also changed according to the settings (A) to (C).

なお、上記(A)〜(C)のいずれの設定においても、通信処理部120の制御部の処理は、一般的なICカードに搭載されたCPUの機能に比較すれば、格段に機能を低下させることが可能となり、ハードウェアのコストダウンが実現され、デバイスの小型化も実現されることになる。   In any of the above settings (A) to (C), the processing of the control unit of the communication processing unit 120 is significantly reduced in function as compared with the function of a CPU mounted on a general IC card. As a result, the hardware cost can be reduced and the device can be downsized.

通信処理部120の制御部123において、最低限実行することが必要な処理は、リーダライタとの無線通信とデータ処理部との有線通信、メモリ(FIFO)125に対するデータ格納およびデータ読み取り処理ということとなる。   In the control unit 123 of the communication processing unit 120, the processes that need to be executed at the minimum are wireless communication with the reader / writer, wired communication with the data processing unit, data storage with respect to the memory (FIFO) 125, and data reading processing. It becomes.

パケットに対する処理態様としては、上記のように各種の設定が可能であり、情報処理装置に要求されるコストや装置の大きさ等に応じて、上記の設定のいずれかを適宜選択して設定する構成とすることが好ましい。   As the processing mode for the packet, various settings can be made as described above, and one of the above settings is appropriately selected and set according to the cost required for the information processing apparatus, the size of the apparatus, and the like. A configuration is preferable.

以上、特定の実施例を参照しながら、本発明について詳解してきた。しかしながら、本発明の要旨を逸脱しない範囲で当業者が実施例の修正や代用を成し得ることは自明である。すなわち、例示という形態で本発明を開示してきたのであり、限定的に解釈されるべきではない。本発明の要旨を判断するためには、特許請求の範囲の欄を参酌すべきである。   The present invention has been described in detail above with reference to specific embodiments. However, it is obvious that those skilled in the art can make modifications and substitutions of the embodiments without departing from the gist of the present invention. In other words, the present invention has been disclosed in the form of exemplification, and should not be interpreted in a limited manner. In order to determine the gist of the present invention, the claims should be taken into consideration.

また、明細書中において説明した一連の処理はハードウェア、またはソフトウェア、あるいは両者の複合構成によって実行することが可能である。ソフトウェアによる処理を実行する場合は、処理シーケンスを記録したプログラムを、専用のハードウェアに組み込まれたコンピュータ内のメモリにインストールして実行させるか、あるいは、各種処理が実行可能な汎用コンピュータにプログラムをインストールして実行させることが可能である。例えば、プログラムは記録媒体に予め記録しておくことができる。記録媒体からコンピュータにインストールする他、LAN(Local Area Network)、インターネットといったネットワークを介してプログラムを受信し、内蔵するハードディスク等の記録媒体にインストールすることができる。   The series of processing described in the specification can be executed by hardware, software, or a combined configuration of both. When executing processing by software, the program recording the processing sequence is installed in a memory in a computer incorporated in dedicated hardware and executed, or the program is executed on a general-purpose computer capable of executing various processing. It can be installed and run. For example, the program can be recorded in advance on a recording medium. In addition to being installed on a computer from a recording medium, the program can be received via a network such as a LAN (Local Area Network) or the Internet, and installed on a recording medium such as a built-in hard disk.

なお、明細書に記載された各種の処理は、記載に従って時系列に実行されるのみならず、処理を実行する装置の処理能力あるいは必要に応じて並列的にあるいは個別に実行されてもよい。また、本明細書においてシステムとは、複数の装置の論理的集合構成であり、各構成の装置が同一筐体内にあるものには限らない。   Note that the various processes described in the specification are not only executed in time series according to the description, but may be executed in parallel or individually according to the processing capability of the apparatus that executes the processes or as necessary. Further, in this specification, the system is a logical set configuration of a plurality of devices, and the devices of each configuration are not limited to being in the same casing.

以上、説明したように、本発明の一実施例の構成によれば、リーダライタなどの通信デバイスとの通信処理を実行する通信処理部と、この通信処理部と有線通信を実行するデータ処理部とを有する情報処理装置において、通信処理部に通信デバイスとデータ処理部間で送受信するデータを一時的に格納するメモリと、メモリに対するデータ書き込みおよび読み取り制御を実行する制御部を構成した。制御部は、通信デバイスからの受信コマンドがデータ読み取り要求である場合、メモリからのデータ取得および通信デバイスに対する送信処理を実行し、通信デバイスからからの受信コマンドがデータ書き込み要求である場合、メモリに対するデータ格納と、データ処理部からの要求に応じたメモリからのデータ取得および出力処理を実行する。メモリとしてFIFOメモリを利用して、通信処理部内の処理を簡略化することで、情報処理装置全体のハードウェア資源を削減し装置のコストダウンおよび小型化を実現した。   As described above, according to the configuration of the embodiment of the present invention, the communication processing unit that executes communication processing with a communication device such as a reader / writer, and the data processing unit that executes wired communication with the communication processing unit. In the information processing apparatus having the above, a memory that temporarily stores data to be transmitted and received between the communication device and the data processing unit in the communication processing unit, and a control unit that performs data writing and reading control on the memory are configured. When the received command from the communication device is a data read request, the control unit executes data acquisition from the memory and transmission processing to the communication device. When the received command from the communication device is a data write request, the control unit Data storage and data acquisition and output processing from the memory in response to a request from the data processing unit are executed. By using a FIFO memory as a memory and simplifying the processing in the communication processing unit, the hardware resources of the entire information processing apparatus are reduced, and the cost and size of the apparatus are reduced.

1 リーダライタ
10 情報処理装置
20 通信処理部
21 アンテナ
22 無線通信インタフェース
23 CPU
24 有線通信インタフェース
25 プログラムメモリ
26 不揮発性メモリ
27 RAM
30 装置本体部
31 有線通信インタフェース
32 CPU
33 プログラムロモリ
34 不揮発性メモリ
35 RAM
50 リーダライタ
100 情報処理装置
120 通信処理部
121 アンテナ
122 無線通信インタフェース
123 制御部
124 有線通信インタフェース
125 メモリ
130 データ処理部
131 有線通信インタフェース
132 CPU
133 プログラムロモリ
134 不揮発性メモリ
135 RAM
DESCRIPTION OF SYMBOLS 1 Reader / writer 10 Information processing apparatus 20 Communication processing part 21 Antenna 22 Wireless communication interface 23 CPU
24 Wired communication interface 25 Program memory 26 Non-volatile memory 27 RAM
30 Device Main Body 31 Wired Communication Interface 32 CPU
33 Program memory 34 Non-volatile memory 35 RAM
DESCRIPTION OF SYMBOLS 50 Reader / writer 100 Information processing apparatus 120 Communication processing part 121 Antenna 122 Wireless communication interface 123 Control part 124 Wired communication interface 125 Memory 130 Data processing part 131 Wired communication interface 132 CPU
133 Program memory 134 Non-volatile memory 135 RAM

Claims (11)

外部の通信デバイスとの通信処理を実行する通信処理部と、
前記通信処理部と有線のデータ通信路を介した通信処理およびデータ処理を実行するデータ処理部を有し、
前記通信処理部は、
前記通信デバイスと前記データ処理部間で送受信するデータを一時的に格納するメモリと、
前記メモリに対するデータ書き込みおよび読み取り制御を実行する制御部を有し、
前記制御部は、
前記通信デバイスからデータを受信した際に、該受信したデータに含まれるエラーチェック用コードに基づいて該受信したデータのエラーチェックを実行し、前記通信デバイスからのデータ受信を示すデータ受信通知を前記データ処理部に出力する構成である情報処理装置。
A communication processing unit that executes communication processing with an external communication device;
A data processing unit that executes communication processing and data processing via the communication processing unit and a wired data communication path;
The communication processing unit
A memory that temporarily stores data to be transmitted and received between the communication device and the data processing unit;
A control unit that performs data writing and reading control on the memory;
The controller is
When data is received from the communication device, an error check is performed on the received data based on an error check code included in the received data, and a data reception notification indicating data reception from the communication device is received. An information processing apparatus configured to output to a data processing unit .
前記通信処理部の制御部は、
前記エラーチェックの実行後に、前記データ処理部に対してデータの受信通知の出力処理を実行する構成である請求項1に記載の情報処理装置。
The control unit of the communication processing unit is
The information processing apparatus according to claim 1, wherein after the error check is executed, a data reception notification output process is executed for the data processing unit.
前記通信処理部の制御部は、
前記通信デバイスからデータを受信した際に、さらに該受信データに含まれるコマンド要求の判別を実行する構成である請求項2に記載の情報処理装置。
The control unit of the communication processing unit is
The information processing apparatus according to claim 2, wherein when data is received from the communication device, the command request included in the received data is further determined.
前記通信処理部の制御部は、
前記通信デバイスから受信したコマンド要求がデータ読み取り要求である場合には、前記メモリからのデータ取得および前記通信デバイスに対する送信処理を実行する構成である請求項3に記載の情報処理装置。
The control unit of the communication processing unit is
The information processing apparatus according to claim 3, wherein when the command request received from the communication device is a data read request, data acquisition from the memory and transmission processing to the communication device are executed.
前記通信処理部の制御部は、
前記通信デバイスから受信したコマンド要求がデータ読み取り要求である場合には、前記データ処理部に対するデータの受信通知の出力処理を実行した後、前記データ処理部から要求データを受け取り、該受け取った要求データを前記メモリへ記録し、前記メモリからのデータ取得および前記通信デバイスに対する送信処理を実行する構成である請求項3に記載の情報処理装置。
The control unit of the communication processing unit is
When the command request received from the communication device is a data read request, after executing the data reception notification output process to the data processing unit, the request data is received from the data processing unit, and the received request data The information processing apparatus according to claim 3, wherein the information processing apparatus is configured to record data in the memory and execute data acquisition from the memory and transmission processing to the communication device.
前記通信処理部の制御部は、
前記通信デバイスからから受信したコマンド要求がデータ書き込み要求である場合には、前記メモリに対するデータ格納を実行して、前記データ処理部からの要求に応じて前記メモリからのデータ取得および前記データ処理部に対する出力処理を実行する構成である請求項3に記載の情報処理装置。
The control unit of the communication processing unit is
When the command request received from the communication device is a data write request, data storage to the memory is executed, data acquisition from the memory and the data processing unit in response to a request from the data processing unit The information processing apparatus according to claim 3, wherein the information processing apparatus is configured to execute an output process for the.
前記通信処理部の制御部は、
前記通信デバイスからから受信したコマンド要求がデータ書き込み要求である場合には、前記メモリに対するデータ格納を実行して、前記データ処理部からの要求に応じて前記メモリからのデータ取得および前記データ処理部に対する出力処理を実行し、前記データ処理部からのデータ書き込み完了通知を受け取った後、前記通信デバイスへのデータ書き込み完了通知の出力処理を実行する構成である請求項3に記載の情報処理装置。
The control unit of the communication processing unit is
When the command request received from the communication device is a data write request, data storage to the memory is executed, data acquisition from the memory and the data processing unit in response to a request from the data processing unit 4. The information processing apparatus according to claim 3, wherein an output process is performed on the communication device and a data write completion notification is output to the communication device after receiving a data write completion notification from the data processing unit.
前記通信デバイスから受信したコマンド要求がデータ読み取り要求である場合には、前記メモリからのデータ取得および前記通信デバイスに対する送信処理を実行し、
前記通信デバイスからから受信したコマンド要求がデータ書き込み要求である場合には、前記メモリに対するデータ格納を実行して、前記データ処理部からの要求に応じて前記メモリからのデータ取得および前記データ処理部に対する出力処理を実行する構成である請求項3に記載の情報処理装置。
If the command request received from the communication device is a data read request, execute data acquisition from the memory and transmission processing to the communication device,
When the command request received from the communication device is a data write request, data storage to the memory is executed, data acquisition from the memory and the data processing unit in response to a request from the data processing unit The information processing apparatus according to claim 3, wherein the information processing apparatus is configured to execute an output process for the.
情報処理装置において実行する情報処理方法であり、
前記情報処理装置は、外部の通信デバイスとの通信処理を実行する通信処理部と、前記通信処理部と有線のデータ通信路を介した通信処理およびデータ処理を実行するデータ処理部を有し、
前記通信処理部は、
前記通信デバイスと前記データ処理部間で送受信するデータを一時的に格納するメモリと、
前記メモリに対するデータ書き込みおよび読み取り制御を実行する制御部を有し、
前記制御部は、
前記通信デバイスからデータを受信した際に、該受信したデータに含まれるエラーチェック用コードに基づいて該受信したデータのエラーチェックを実行し、前記通信デバイスからのデータ受信を示すデータ受信通知を前記データ処理部に出力する情報処理方法。
An information processing method executed in an information processing apparatus,
The information processing apparatus includes a communication processing unit that performs communication processing with an external communication device, and a data processing unit that performs communication processing and data processing via a wired data communication path with the communication processing unit,
The communication processing unit
A memory that temporarily stores data to be transmitted and received between the communication device and the data processing unit;
A control unit that performs data writing and reading control on the memory;
The controller is
When data is received from the communication device, an error check is performed on the received data based on an error check code included in the received data, and a data reception notification indicating data reception from the communication device is received. An information processing method for outputting to a data processing unit .
情報処理装置において情報処理を実行させるコンピュータ・プログラムであり、
前記情報処理装置は、外部の通信デバイスとの通信処理を実行する通信処理部と、
前記通信処理部と有線のデータ通信路を介した通信処理およびデータ処理を実行するデータ処理部を有し、
前記通信処理部は、
前記通信デバイスと前記データ処理部間で送受信するデータを一時的に格納するメモリと、
前記メモリに対するデータ書き込みおよび読み取り制御を実行する制御部を有し、
前記コンピュータ・プログラムは、
前記制御部に、
前記通信デバイスからデータを受信した際に、該受信したデータに含まれるエラーチェック用コードに基づいて該受信したデータのエラーチェックを実行させ、前記通信デバイスからのデータ受信を示すデータ受信通知を前記データ処理部に出力させるコンピュータ・プログラム。
A computer program for executing information processing in an information processing apparatus;
The information processing apparatus includes a communication processing unit that executes communication processing with an external communication device;
A data processing unit that executes communication processing and data processing via the communication processing unit and a wired data communication path;
The communication processing unit
A memory that temporarily stores data to be transmitted and received between the communication device and the data processing unit;
A control unit that performs data writing and reading control on the memory;
The computer program is
In the control unit,
When data is received from the communication device, an error check of the received data is executed based on an error check code included in the received data, and a data reception notification indicating data reception from the communication device is received. a computer program that Ru is output to the data processing unit.
外部の通信デバイスと無線で通信する無線通信部と、  A wireless communication unit that wirelessly communicates with an external communication device;
データ処理を実行するデータ処理部と有線で通信する有線通信部と、  A wired communication unit that performs wired communication with a data processing unit that executes data processing;
前記通信デバイスと前記データ処理部間で送受信するデータを一時的に格納するメモリと、  A memory that temporarily stores data to be transmitted and received between the communication device and the data processing unit;
前記メモリに対するデータ書き込みおよび読み取り制御を実行する制御部を有する通信処理部と、  A communication processing unit having a control unit for performing data writing and reading control on the memory;
前記通信処理部と前記有線通信部を介した通信処理およびデータ処理を実行するデータ処理部を有し、  A data processing unit for executing communication processing and data processing via the communication processing unit and the wired communication unit;
前記制御部は、  The controller is
前記通信デバイスからデータを受信した際に、該受信したデータに含まれるエラーチェック用コードに基づいて該受信したデータのエラーチェックを実行し、前記通信デバイスからのデータ受信を示すデータ受信通知を前記データ処理部に出力する構成である通信処理デバイス。  When data is received from the communication device, an error check is performed on the received data based on an error check code included in the received data, and a data reception notification indicating data reception from the communication device is received. A communication processing device configured to output to a data processing unit.
JP2010221584A 2010-09-30 2010-09-30 Information processing apparatus, information processing system, information processing method, and computer program Active JP5093322B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010221584A JP5093322B2 (en) 2010-09-30 2010-09-30 Information processing apparatus, information processing system, information processing method, and computer program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010221584A JP5093322B2 (en) 2010-09-30 2010-09-30 Information processing apparatus, information processing system, information processing method, and computer program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2008131824A Division JP4600518B2 (en) 2008-05-20 2008-05-20 Information processing apparatus, information processing system, information processing method, and computer program

Publications (2)

Publication Number Publication Date
JP2011008826A JP2011008826A (en) 2011-01-13
JP5093322B2 true JP5093322B2 (en) 2012-12-12

Family

ID=43565303

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010221584A Active JP5093322B2 (en) 2010-09-30 2010-09-30 Information processing apparatus, information processing system, information processing method, and computer program

Country Status (1)

Country Link
JP (1) JP5093322B2 (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000341763A (en) * 1999-05-31 2000-12-08 Dainippon Printing Co Ltd Radio communication system, portable recording medium and information processor
JP2002247157A (en) * 2001-02-15 2002-08-30 Toppan Forms Co Ltd Portable telephone set, tag for use in the portable telephone set, and how to use the portable telephone set
JP2002345037A (en) * 2001-05-17 2002-11-29 Sony Corp Portable communication apparatus, communication system and communication method therefor
JP2004129129A (en) * 2002-10-07 2004-04-22 Seiko Epson Corp Communication control circuit, communication controller, microcomputer, and electronic apparatus
JP4385858B2 (en) * 2004-06-15 2009-12-16 ソニー株式会社 Wireless communication system and wireless communication device
JP2007199895A (en) * 2006-01-25 2007-08-09 Sony Corp Data processor for proximity communication

Also Published As

Publication number Publication date
JP2011008826A (en) 2011-01-13

Similar Documents

Publication Publication Date Title
JP4600518B2 (en) Information processing apparatus, information processing system, information processing method, and computer program
US20220232091A1 (en) Memory system allowing host to easily transmit and receive data
US8127053B1 (en) System and method for peripheral device communications
US20060218324A1 (en) Systems and methods for flexible data transfers in SDIO and/or MMC
CN110059032B (en) Memory interface and memory controller having the same
WO2006059772A2 (en) Memory system, memory system controller, and a data processing method in a host apparatus
JP5932947B2 (en) Host and system
US7702820B2 (en) Hardware accelerator and data transmission system and method using the same
US20110296131A1 (en) Nonvolatile memory system and the operation method thereof
US8291270B2 (en) Request processing device, request processing system, and access testing method
JP5093322B2 (en) Information processing apparatus, information processing system, information processing method, and computer program
WO2023240941A1 (en) Method and apparatus for downloading data, and secure element
US20090100238A1 (en) Memory card and memory card control changeover method
US9183209B2 (en) Communication device with fast start mode for transfering data to temporary areas beyond file system control
JP5917325B2 (en) Bridge circuit
US20060101199A1 (en) Method and system for controlling a hard disk drive using a multimediacard physical interface
JP2010033266A (en) Interface device for external storage and information processor

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100930

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120605

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120802

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20120821

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120903

R151 Written notification of patent or utility model registration

Ref document number: 5093322

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150928

Year of fee payment: 3

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250