JP2014021532A - Information device, file system mounting system, file system mounting program, and program recording medium - Google Patents

Information device, file system mounting system, file system mounting program, and program recording medium Download PDF

Info

Publication number
JP2014021532A
JP2014021532A JP2012156498A JP2012156498A JP2014021532A JP 2014021532 A JP2014021532 A JP 2014021532A JP 2012156498 A JP2012156498 A JP 2012156498A JP 2012156498 A JP2012156498 A JP 2012156498A JP 2014021532 A JP2014021532 A JP 2014021532A
Authority
JP
Japan
Prior art keywords
file system
destination
file
common
destination information
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
JP2012156498A
Other languages
Japanese (ja)
Inventor
Kenji Abe
賢治 安部
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.)
Sharp Corp
Original Assignee
Sharp 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 Sharp Corp filed Critical Sharp Corp
Priority to JP2012156498A priority Critical patent/JP2014021532A/en
Publication of JP2014021532A publication Critical patent/JP2014021532A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PROBLEM TO BE SOLVED: To make data for a plurality of destinations coexist in a single nonvolatile memory while maintaining a secret state.SOLUTION: A nonvolatile memory 2 includes a common partition 2a for storing a common file system and a plurality of differential partitions 2b to 2d for storing differential file systems. A destination information discrimination part 9 discriminates, for example, a destination A on the basis of destination information provided from the outside, a mounting execution part 10 selects a differential file system A to the destination A from the nonvolatile memory 2, forms an overlapping file system with a common file system and mounts the overlapping file system on a RAM 3. Thus, file systems for a plurality of destinations are made to coexist on the single nonvolatile memory 2 while maintaining secret information.

Description

この発明は、複数仕向けに対応できる情報機器、ファイルシステムマウント方法、ファイルシステムマウントプログラム、および、プログラム記録媒体に関する。   The present invention relates to an information device, a file system mounting method, a file system mounting program, and a program recording medium that can handle a plurality of destinations.

携帯情報機器に内蔵された不揮発記憶装置上のファイルを管理する装置として。特開2007‐200314号公報(特許文献1)に開示された隠蔽領域管理装置がある。   As a device for managing files on non-volatile storage devices built in portable information devices. There is a hidden area management device disclosed in Japanese Patent Laid-Open No. 2007-2003314 (Patent Document 1).

この隠蔽領域管理装置では、FAT(File Allocation Tables)領域、ディレクトリエントリ領域、および、データ領域を有するファイルシステムに対して、一部のデータ領域を隠蔽領域として設定する。そして、隠蔽領域生成部によって、上記隠蔽領域に対するメタデータを記録し、隠蔽領域解除部によって、上記隠蔽領域のルートディレクトリのディレクトリエントリを上記ディレクトリエントリ領域に含めて上記メタデータが記録されたクラスタを交換することによって、隠蔽領域の設定を解除し、アクセス制御部によって、上記隠蔽領域が設定された場合に、この隠蔽領域に対するアクセスを許容または遮断するようにしている。   In this hidden area management apparatus, a part of data area is set as a hidden area for a file system having a FAT (File Allocation Tables) area, a directory entry area, and a data area. Then, the hidden area generation unit records the metadata for the hidden area, and the hidden area release unit includes the directory entry of the root directory of the hidden area in the directory entry area, and stores the cluster in which the metadata is recorded. By exchanging, the setting of the concealment area is released, and when the concealment area is set by the access control unit, access to the concealment area is permitted or blocked.

また、携帯情報機器のファイルシステム上にあるパッケージを管理する管理システムとして、特開2008‐165377号公報(特許文献2)に開示された端末管理システムがある。   Further, as a management system for managing packages on the file system of a portable information device, there is a terminal management system disclosed in Japanese Patent Laid-Open No. 2008-165377 (Patent Document 2).

この端末管理システムでは、パッケージ管理手段によって、パッケージを、パッケージ保存ディレクトリに、元となる版および版間の差分の形でディレクトリを分けて保存している。そして、実行環境管理手段によって、層構造ディレクトリ管理手段を用いて、パッケージの元となる版および版間の差分を保存するディレクトリをマウントポイント上にマウントして目的の版のパッケージを構成する。あるいは、構成したパッケージ上に、更に更新ファイル保存ディレクトリをマウントして、実行環境を構成するようにしている。   In this terminal management system, packages are stored in a package storage directory by a package management unit in a form of the original version and a difference between the versions. Then, the execution environment management unit uses the layered structure directory management unit to mount the original version of the package and the directory for storing the difference between the versions on the mount point to configure the target version of the package. Alternatively, an update file storage directory is mounted on the configured package to configure the execution environment.

しかしながら、上記従来の隠蔽領域管理装置および上記従来の端末管理システムにおいては、以下のような問題がある。   However, the conventional hidden area management apparatus and the conventional terminal management system have the following problems.

先ず、上記従来の隠蔽領域管理装置においては、通常領域に対しては従来のファイルシステムと互換性を保った方法でアクセスを行う。一方、隠蔽領域に対しては上記アクセス制御部で特殊な操作を行った場合に限って、アクセスを許可するようにしている。こうすることによって、既存のファイルシステムを利用したソフトウェア資産を流用しつつ、隠蔽が必要なデータを格納することが可能になる。   First, in the conventional hidden area management apparatus, the normal area is accessed by a method that is compatible with the conventional file system. On the other hand, access to the hidden area is permitted only when a special operation is performed by the access control unit. In this way, it is possible to store data that needs to be concealed while diverting software assets using an existing file system.

ところが、上記FAT等の既存のファイルシステムとの互換性を保った上で、一部のデータを隠蔽する方法を取っているため、隠すという方法でカバーできないシーンが存在する。例えば、同名のファイルを同一のファイルパスに共存させることができないという制約が発生する。   However, since compatibility with existing file systems such as the FAT is maintained and a method of concealing some data is used, there are scenes that cannot be covered by the concealment method. For example, there is a restriction that files with the same name cannot coexist in the same file path.

次に、上記従来の端末管理システムにおいては、パッケージの利用に際しては、上記層構造ディレクトリ管理手段を用いてパッケージの元となる版および版間の差分から目的の版のパッケージを構成するようにしている。このように、目的の版のパッケージを得るための条件として、端末上のファイルが備えているバージョンを用いている。つまり、外部の情報に基づいて条件を振り分けることを想定してはいない。   Next, in the conventional terminal management system, when using a package, the layer structure directory management means is used to configure the package of the target version from the original version of the package and the difference between the versions. Yes. As described above, the version of the file on the terminal is used as a condition for obtaining the target version of the package. That is, it is not assumed that the conditions are distributed based on external information.

したがって、上記従来の隠蔽領域管理装置および従来の端末管理システムによって、単一のROM(Read Only Memory)によって複数の仕向けに対応できるようなファイルシステムを作成したい場合には、第一に、ファイルシステム上のファイルの内容に基づかない処理の振り分け方法(例えば、仕向先による振り分け)と、第二に、OS(Operating System)の初期起動段階で参照される固定名のファイルを共存させる方法との2つの方法が必要となる。   Therefore, if you want to create a file system that can handle multiple destinations with a single ROM (Read Only Memory) by using the conventional hidden area management device and the conventional terminal management system, first, the file system 2) a process distribution method that is not based on the contents of the above file (for example, distribution by destination) and second, a method of coexisting a file with a fixed name that is referenced in the initial startup stage of the OS (Operating System). One method is required.

このように、従来においては、複数仕向けに対応する場合には、静的にファイルシステムの内容を作り分ける方法を取らざるを得ない。そのため、仮にアプリケーション側で複数仕向けに対応した場合には、他の仕向け用のデータが参照可能な状態になってしまうため、公開に制約が課されたアプリケーションやデータを扱うことができないという問題がある。   As described above, conventionally, when dealing with a plurality of destinations, a method of statically creating the contents of the file system has to be taken. For this reason, if the application side supports multiple destinations, the data for other destinations can be referred to, so that there is a problem that it is not possible to handle applications and data that are restricted in publication. is there.

ここで、この明細書で言う「仕向け」とは、ファイルシステムの内容を相手先に応じてカスタマイズして提供することを意味している。また、そのための情報を「仕向け情報」と記載し、上記相手先を「仕向先」と記載している。   Here, “destination” in this specification means that the contents of the file system are customized and provided according to the destination. In addition, information for that purpose is described as “destination information”, and the destination is described as “destination”.

特開2007‐200314号公報JP 2007-200314 A 特開2008‐165377号公報JP 2008-165377 A

そこで、この発明の課題は、単一の不揮発性メモリに、仕向先に応じて変更が必要なファイルを、秘匿状態を保ったまま共存させることが可能な携帯情報機器を提供することにある。   SUMMARY OF THE INVENTION An object of the present invention is to provide a portable information device capable of coexisting a file that needs to be changed according to the destination in a single non-volatile memory while keeping a secret state.

上記課題を解決するため、この発明の情報機器は、
ファイルシステムを複数の仕向先に応じて仕向けする場合に関して、複数の仕向先に共通の共通ファイルシステムが格納される共通パーティションと、個々の仕向先のアプリケーション用のファイルシステムと上記共通ファイルシステムとの差分である差分ファイルを含む差分ファイルシステムが格納される複数の差分パーティションとが設けられた不揮発性メモリと、
装着された仕向け情報提供部品から、上記仕向けに関する情報である仕向け情報を読み取る仕向け情報読取部と、
上記仕向け情報読取部によって読み取られた上記仕向け情報に基づいて、上記仕向先を判別する仕向け情報判別部と、
上記不揮発性メモリに格納された共通ファイルシステムおよび差分ファイルシステムから、上記仕向け情報判別部によって判別された仕向先に応じて選択されたファイルシステムがマウントされる記憶部と、
上記仕向け情報判別部によって判別された仕向先に基づいて、上記不揮発性メモリに格納された複数の差分ファイルシステムから上記仕向先の差分ファイルシステムを選択して読み出し、当該差分ファイルシステムと上記不揮発性メモリから読み出した上記共通ファイルシステムとの重ね合わせファイルシステムを形成して上記記憶部にマウントするマウント実行部と
を備えたことを特徴としている。
In order to solve the above problems, the information device of the present invention is:
When a file system is directed to a plurality of destinations, a common partition in which a common file system common to the plurality of destinations is stored, a file system for an application at each destination, and the common file system A non-volatile memory provided with a plurality of difference partitions in which a difference file system including a difference file that is a difference is stored;
A destination information reading unit that reads destination information that is information about the destination from the installed destination information providing component;
A destination information discriminating unit for discriminating the destination based on the destination information read by the destination information reading unit;
A storage unit on which a file system selected according to the destination determined by the destination information determination unit from the common file system and the differential file system stored in the nonvolatile memory is mounted;
Based on the destination determined by the destination information determination unit, the differential file system of the destination is selected and read from the plurality of differential file systems stored in the nonvolatile memory, and the differential file system and the non-volatile And a mount execution unit configured to form a superimposed file system with the common file system read from the memory and mount the file system on the storage unit.

上記構成によれば、上記マウント実行部による処理が終了すると、上記記憶部には、外部から提供された「仕向先」のアプリケーション用の重ね合わせファイルシステムのみが存在している。したがって、上記記憶部にマウントされた当該仕向先のアプリケーションに基づいて動作しているCPU(中央演算処理装置)によって認識されるファイルシステムは、当該仕向先のアプリケーション用の唯一つのファイルシステムである。そのため、当該仕向先のアプリケーションから当該仕向先のアプリケーション用のファイルシステムをアクセスする方法が既存のファイルシステムと互換性を有しているとしても、他の仕向先のアプリケーション用のファイルシステムが参照可能になることはない。   According to the above configuration, when the processing by the mount execution unit is completed, only the superposition file system for the “destination” application provided from the outside exists in the storage unit. Therefore, the file system recognized by the CPU (central processing unit) operating based on the destination application mounted on the storage unit is the only file system for the destination application. Therefore, even if the method of accessing the file system for the application at the destination from the application at the destination is compatible with the existing file system, the file system for the application at the other destination can be referenced. Never become.

すなわち、この発明によれば、複数の仕向先に応じて仕向けする場合において、公開に制約が課せられたアプリケーションであっても、扱うことが可能になるのである。   In other words, according to the present invention, even when the application is restricted according to a plurality of destinations, it can be handled even if the application has restrictions on publication.

また、各仕向先の情報を含む仕向け情報は、上記仕向け情報提供部品によって外部から提供される。したがって、単一の上記不揮発性メモリ上に、仕向先に応じて変更が必要なファイルを秘匿情報を保ったまま共存させることが可能になる。   Further, the destination information including information on each destination is provided from the outside by the destination information providing component. Therefore, a file that needs to be changed according to the destination can coexist on the single non-volatile memory while keeping confidential information.

また、一実施の形態の情報機器では、
上記差分パーティションに格納される上記差分ファイルシステムには、上記差分ファイルに加えて、該当する仕向先のアプリケーション用のファイルシステムと上記共通ファイルシステムとで同一のファイルを含めることが可能になっており、
上記マウント実行部は、上記重ね合わせファイルシステムを形成する際に、上記読み出した差分ファイルシステム中に上記共通ファイルシステムと同一のファイルが含まれている場合には、上記読み出した共通ファイルシステム中の上記同一のファイルを上記読み出した差分ファイルシステム中の上記同一のファイルで上書きするようになっている。
Moreover, in the information equipment of one embodiment,
In addition to the difference file, the difference file system stored in the difference partition can include the same file in the file system for the corresponding destination application and the common file system. ,
The mount execution unit, when forming the superimposed file system, if the read differential file system includes the same file as the common file system, The same file is overwritten with the same file in the read differential file system.

この実施の形態によれば、上記マウント実行部は、上記読み出した差分ファイルシステム中に上記共通ファイルシステムと同一のファイルが含まれている場合には、上記読み出した共通ファイルシステム中の上記同一のファイルを上記読み出した差分ファイルシステム中の上記同一のファイルで上書きするので、上記読み出した共通ファイルシステム中の上記同一のファイルが、上記読み出された差分ファイルシステム中の上記同一のファイルで書き換えられることになる。したがって、特定の仕向先の上記差分ファイルシステム中に含める上記共通ファイルシステムと同一のファイルを、名前は上記共通ファイルシステム上と同じのままで、内容のみを当該仕向先に応じて改変したファイルとすれば、上記共通ファイルシステム中の任意のファイルを、当該仕向先に応じて差し替えることが可能になる。   According to this embodiment, when the read differential file system includes the same file as the common file system, the mount execution unit includes the same file in the read common file system. Since the file is overwritten with the same file in the read differential file system, the same file in the read common file system is rewritten with the same file in the read differential file system. It will be. Therefore, the same file as the common file system to be included in the differential file system of the specific destination, the name remains the same as the common file system, and only the contents are modified according to the destination. Then, any file in the common file system can be replaced according to the destination.

また、この発明のファイルシステムマウント方法は、
不揮発性メモリの共通パーティションに、複数の仕向先に共通の共通ファイルシステムを格納する一方、複数の差分パーティションの夫々に、個々の仕向先のアプリケーション用のファイルシステムと上記共通ファイルシステムとの差分である差分ファイルを含む差分ファイルシステムを格納し、
仕向け情報読取部によって、装着された仕向け情報提供部品から、上記仕向けに関する情報である仕向け情報を読み取り、
仕向け情報判別部によって、上記仕向け情報読取部で読み取られた上記仕向け情報に基づいて、上記仕向先を判別し、
マウント実行部によって、上記仕向け情報判別部で判別された仕向先に基づいて、上記不揮発性メモリに格納された複数の差分ファイルシステムから上記仕向先の差分ファイルシステムを選択して読み出し、当該差分ファイルシステムと上記不揮発性メモリから読み出した上記共通ファイルシステムとの重ね合わせファイルシステムを形成して上記記憶部にマウントする
ことを特徴としている。
In addition, the file system mounting method of the present invention includes:
A common file system common to a plurality of destinations is stored in a common partition of the non-volatile memory, while a difference between the file system for each destination destination application and the common file system is stored in each of the plurality of differential partitions. Stores a differential file system including a differential file,
The destination information reading unit reads the destination information, which is information related to the destination, from the installed destination information providing part,
The destination information discriminating unit discriminates the destination based on the destination information read by the destination information reading unit,
Based on the destination determined by the destination information determination unit by the mount execution unit, the differential file system of the destination is selected and read from the plurality of difference file systems stored in the nonvolatile memory, and the difference file An overlapping file system is formed between the system and the common file system read from the nonvolatile memory, and is mounted on the storage unit.

上記構成によれば、この発明の情報機器の場合と同様に、複数の仕向先に応じて仕向けする場合において、公開に制約が課せられたアプリケーションであっても、扱うことが可能になる。さらに、各仕向先の情報を含む仕向け情報は、上記仕向け情報提供部品によって外部から提供される。したがって、単一の上記不揮発性メモリ上に、仕向先に応じて変更が必要なファイルを秘匿情報を保ったまま共存させることが可能になる。   According to the above configuration, as in the case of the information device of the present invention, even when the application is restricted according to a plurality of destinations, even an application with restrictions on publication can be handled. Furthermore, the destination information including the information on each destination is provided from the outside by the destination information providing component. Therefore, a file that needs to be changed according to the destination can coexist on the single non-volatile memory while keeping confidential information.

また、この発明のファイルシステムマウントプログラムは、
コンピュータを、この発明の情報機器における不揮発性メモリ,仕向け情報読取部,仕向け情報判別部,記憶部およびマウント実行部として機能させる
ことを特徴としている。
The file system mounting program of the present invention
The computer is caused to function as a non-volatile memory, a destination information reading unit, a destination information discriminating unit, a storage unit, and a mount execution unit in the information device of the present invention.

上記構成によれば、この発明の情報機器の場合と同様に、複数の仕向先に応じて仕向けする場合において、公開に制約が課せられたアプリケーションであっても、扱うことが可能になる。さらに、各仕向先の情報を含む仕向け情報は、上記仕向け情報提供部品によって外部から提供される。したがって、単一の上記不揮発性メモリ上に、仕向先に応じて変更が必要なファイルを秘匿情報を保ったまま共存させることが可能になる。   According to the above configuration, as in the case of the information device of the present invention, even when the application is restricted according to a plurality of destinations, even an application with restrictions on publication can be handled. Furthermore, the destination information including the information on each destination is provided from the outside by the destination information providing component. Therefore, a file that needs to be changed according to the destination can coexist on the single non-volatile memory while keeping confidential information.

また、この発明のプログラム記録媒体は、
この発明のファイルシステムマウントプログラムが記録されている
ことを特徴としている。
The program recording medium of the present invention is
The file system mounting program of the present invention is recorded.

上記構成によれば、この発明の情報機器の場合と同様に、複数の仕向先に応じて仕向けする場合において、公開に制約が課せられたアプリケーションであっても、扱うことが可能になる。さらに、各仕向先の情報を含む仕向け情報は、上記仕向け情報提供部品によって外部から提供される。したがって、単一の上記不揮発性メモリ上に、仕向先に応じて変更が必要なファイルを秘匿情報を保ったまま共存させることが可能になる。   According to the above configuration, as in the case of the information device of the present invention, even when the application is restricted according to a plurality of destinations, even an application with restrictions on publication can be handled. Furthermore, the destination information including the information on each destination is provided from the outside by the destination information providing component. Therefore, a file that needs to be changed according to the destination can coexist on the single non-volatile memory while keeping confidential information.

以上より明らかなように、この発明によれば、記憶部にマウントされた特定仕向先のアプリケーションに基づいて動作しているCPUによって認識されるファイルシステムは、当該仕向先のアプリケーション用の一つのファイルシステムのみである。したがって、当該仕向先のアプリケーションから当該仕向先のアプリケーション用のファイルシステムをアクセスする方法が既存のファイルシステムと互換性を有しているとしても、他の仕向先のアプリケーション用のファイルシステムが参照可能になることはない。   As is clear from the above, according to the present invention, the file system recognized by the CPU operating based on the application of the specific destination mounted on the storage unit is one file for the application of the destination. System only. Therefore, even if the method of accessing the file system for the destination application from the destination application is compatible with the existing file system, the file system for the application of the other destination can be referenced. Never become.

すなわち、この発明によれば、複数の仕向先に応じて仕向けする場合において、公開に制約が課せられたアプリケーションであっても、扱うことが可能になる。   In other words, according to the present invention, in the case of directing to a plurality of destinations, it is possible to handle even an application with restrictions on publication.

また、各仕向先の情報を含む仕向け情報は、上記仕向け情報提供部品によって外部から提供される。したがって、単一の上記不揮発性メモリ上に、仕向先に応じて変更が必要なファイルを秘匿情報を保ったまま共存させることが可能になる。さらに、上記単一の不揮発性メモリによって複数の仕向けに対応できるため、生産設備の稼働率を高めることが可能になる。   Further, the destination information including information on each destination is provided from the outside by the destination information providing component. Therefore, a file that needs to be changed according to the destination can coexist on the single non-volatile memory while keeping confidential information. Furthermore, since the single non-volatile memory can cope with a plurality of destinations, it is possible to increase the operating rate of the production facility.

この発明の情報機器としての携帯情報機器における概略構成を示すブロック図である。It is a block diagram which shows schematic structure in the portable information device as an information device of this invention. 図1のCPUによるファイルシステムマウントの概念図である。It is a conceptual diagram of the file system mounting by CPU of FIG. 図1に示す携帯情報機器の起動シーケンスを示すフローチャートである。It is a flowchart which shows the starting sequence of the portable information device shown in FIG. 仕向先Aのマウントシーケンスを示すフローチャートである。It is a flowchart which shows the mount sequence of the destination A. 仕向先Aのアプリケーションが認識するRAM上のファイルシステムの概念図である。It is a conceptual diagram of the file system on RAM which the application of the destination A recognizes. 仕向先Bのアプリケーションが認識するRAM上のファイルシステムの概念図である。It is a conceptual diagram of the file system on RAM which the application of the destination B recognizes.

以下、この発明を図示の実施の形態により詳細に説明する。本実施の形態においては、不揮発性メモリ上にパーティションで分割されたファイルシステムを、RAM上にマウントすることによって動作するOSを備えた情報端末機器を想定している。   Hereinafter, the present invention will be described in detail with reference to the illustrated embodiments. In the present embodiment, an information terminal device including an OS that operates by mounting a file system divided into partitions on a nonvolatile memory on a RAM is assumed.

図1は、本実施の形態の携帯情報機器における構成を示すブロック図である。図1に示すように、本携帯情報機器1は、フラッシュメモリ,ハードディスク,光ディスクおよびROMのような不揮発性メモリ2、上記記憶部としてのRAM(Random Access Memory)3、LCD(Liquid Crystal Display:液晶ディスプレイ)等で成る表示装置4、および、キー等で成る入力装置5を有している。CPU6は、RAM3上にマウントされたアプリケーションを実行する。その際に、入力装置5からはCPU6に対する指示や応答が入力される。そして、表示装置4には、実行結果や途中経過が表示される。   FIG. 1 is a block diagram illustrating a configuration of the portable information device according to the present embodiment. As shown in FIG. 1, a portable information device 1 includes a non-volatile memory 2 such as a flash memory, a hard disk, an optical disk, and a ROM, a RAM (Random Access Memory) 3 as the storage unit, and an LCD (Liquid Crystal Display). A display device 4 including a display) and an input device 5 including keys. The CPU 6 executes an application mounted on the RAM 3. At that time, an instruction or response to the CPU 6 is input from the input device 5. The display device 4 displays the execution result and the progress in the middle.

尚、本実施の形態で言う「ファイルシステム」とは、記憶媒体に各パーティションによって分割されて記憶されたファイルの集合体を指している。   The “file system” referred to in the present embodiment refers to a collection of files that are divided and stored in a storage medium by each partition.

仕向け情報読取部8は、上記CPU6が、不揮発性メモリ2に格納されているファイルシステムをRAM3上にマウントする場合に、上記「仕向け情報」を、例えばUIMカード(User Identity Module card)等で成る仕向け情報提供部品7から読み取る。そうすると、CPU6は、仕向け情報読取部8で読み取られた仕向け情報に応じた特定のファイルシステムをマウントするのである。   When the CPU 6 mounts the file system stored in the nonvolatile memory 2 on the RAM 3, the destination information reading unit 8 includes the “destination information” by, for example, a UIM card (User Identity Module card) or the like. Read from the destination information providing component 7. Then, the CPU 6 mounts a specific file system corresponding to the destination information read by the destination information reading unit 8.

図2は、上記CPU6による特定のファイルシステムのマウントを説明するための概念図である。図2において、不揮発性メモリ2に、共通パーティション2aと複数の差分パーティション2b〜2dとを設ける。そして、共通パーティション2aには、複数の仕向先に共通の共通ファイルシステムを格納する。また、各差分パーティション2b〜2dには、個々の仕向先におけるアプリケーション用のファイルシステムと上記共通ファイルシステムとの差分である差分ファイルを含む差分ファイルシステムを格納する。   FIG. 2 is a conceptual diagram for explaining mounting of a specific file system by the CPU 6. In FIG. 2, the non-volatile memory 2 is provided with a common partition 2a and a plurality of differential partitions 2b to 2d. The common partition 2a stores a common file system common to a plurality of destinations. In each of the differential partitions 2b to 2d, a differential file system including a differential file that is a difference between the file system for an application at each destination and the common file system is stored.

上記CPU6の仕向け情報判別部9は、仕向け情報読取部8からの仕向け情報によって仕向けの内容を判別する。そして、CPU6のマウント実行部10は、仕向け情報判別部9の判別結果に従って、RAM3上にファイルシステムをマウントするのである。   The destination information discriminating unit 9 of the CPU 6 discriminates the contents of the destination based on the destination information from the destination information reading unit 8. The mount execution unit 10 of the CPU 6 mounts the file system on the RAM 3 according to the determination result of the destination information determination unit 9.

例えば、上記仕向け情報提供部品7には仕向け情報として「加入者情報(仕向先)」が書き込まれており、仕向け情報判別部9による判別結果が「仕向先A」であるとする。そうすると、マウント実行部10は、図2に示すように、不揮発性メモリ2の共通パーティション2a上の共通ファイルシステムを、RAM3上の共通パーティション3aにマウントする。さらに、不揮発性メモリ2の差分パーティッション2b上の差分ファイルシステムAを、RAM3上の差分パーティッション3bにマウントする。その際に、不揮発性メモリ2上の差分ファイルシステムA中にあるRAM3上の共通ファイルシステム中のファイルと同一ファイルは、RAM3上の共通ファイルシステム中の上記ファイルに上書きするのである。   For example, it is assumed that “subscriber information (destination)” is written as destination information in the destination information providing component 7 and the determination result by the destination information determination unit 9 is “destination A”. Then, the mount execution unit 10 mounts the common file system on the common partition 2a of the nonvolatile memory 2 to the common partition 3a on the RAM 3, as shown in FIG. Further, the differential file system A on the differential partition 2 b of the nonvolatile memory 2 is mounted on the differential partition 3 b on the RAM 3. At this time, the same file as the file in the common file system on the RAM 3 in the differential file system A on the nonvolatile memory 2 is overwritten on the file in the common file system on the RAM 3.

以下、図3に従って詳細に説明する。図3は、CPU6によって実行される携帯情報機器1の起動シーケンスを示すフローチャートである。   A detailed description will be given below with reference to FIG. FIG. 3 is a flowchart showing a startup sequence of the portable information device 1 executed by the CPU 6.

図3において、電源が投入されてパワーオンになると、ステップS1で、ブートローダーを読み込むブートローダー実行が行われる。尚、上記ブートローダーは、ファイルとして存在するプログラムではなく、セクタ上に直接書き込まれたプログラムである。   In FIG. 3, when the power is turned on and the power is turned on, boot loader execution for reading the boot loader is performed in step S1. The boot loader is not a program that exists as a file, but a program that is directly written on a sector.

ステップS2で、OSのカーネルが読み込まれてOSカーネルの初期化が行われる。上記カーネルの初期化が完了すると、CPU6は、OSの機能を介することでファイルシステムを認識可能な状態となる。   In step S2, the OS kernel is read and the OS kernel is initialized. When the initialization of the kernel is completed, the CPU 6 can recognize the file system through the OS function.

OSによってファイルシステムが認識可能な状態になったら、ブート時から動作するように設定されているプロセスを順次起動する。各プロセスにはファイルとして存在するデータを必要とするため、ファイルシステムのマウント処理が実行される。   When the file system is recognizable by the OS, processes that are set to operate from the time of booting are sequentially started. Since each process requires data that exists as a file, a file system mount process is executed.

ステップS3で、上記マウント実行部10によって、先ず、上記不揮発性メモリ2の共通パーティション2a上の共通ファイルシステムが、RAM3上の共通パーティション3aにマウントされる。尚、このファイルシステムのマウントは一般的なOSでも実行される処理であり、本OSに基づく共通ファイルシステムマウント処理は、一般的なOSに基づいて実行されるマウント処理と何ら差異はない。   In step S 3, the mount execution unit 10 first mounts the common file system on the common partition 2 a of the nonvolatile memory 2 on the common partition 3 a on the RAM 3. The mounting of the file system is a process executed by a general OS, and the common file system mounting process based on this OS is not different from the mounting process executed based on a general OS.

ステップS4で、上記仕向け情報読取部8によって、仕向け情報提供部品7から読み取られた仕向け情報が、CPU6の仕向け情報判別部9に入力される。こうして、仕向け情報判別部9によって仕向け情報が読み込まれる。尚、上記「仕向け情報」としては、例えばUIMカードに含まれる加入者情報(仕向先情報)等が該当する。   In step S 4, the destination information read from the destination information providing component 7 by the destination information reading unit 8 is input to the destination information determination unit 9 of the CPU 6. In this way, the destination information is read by the destination information determination unit 9. The “destination information” corresponds to subscriber information (destination information) included in the UIM card, for example.

ステップS5で、上記仕向け情報判別部9によって、読み込まれた仕向け情報に基づいてマウント対象が判別される。ここで、上記仕向け情報には仕向先情報が含まれ、仕向先は「A」と「B」と「C」との3者であるとする。そして、仕向先が「A」の場合にはステップS6に進み、仕向先が「B」の場合にはステップS7に進み、仕向先が「C」の場合にはステップS8に進む。   In step S5, the destination information discriminating unit 9 discriminates the mount target based on the read destination information. Here, it is assumed that the destination information includes destination information, and the destinations are “A”, “B”, and “C”. If the destination is "A", the process proceeds to step S6. If the destination is "B", the process proceeds to step S7. If the destination is "C", the process proceeds to step S8.

ステップS6で、上記マウント実行部10によって、仕向先Aのマウントシーケンスが実行された後、次のプロセス処理に移行する。ステップS7で、マウント実行部10によって、仕向先Bのマウントシーケンスが実行された後、次のプロセス処理に移行する。ステップS8で、マウント実行部10によって、仕向先Cのマウントシーケンスが実行された後、次のプロセス処理に移行する。この場合のマウントシーケンスは、二つのファイルシステムを重ね合わせて一つのファイルシステムのように見せる、所謂重ね合わせファイルシステムを得るマウントシーケンスである。   In step S6, after the mount sequence of the destination A is executed by the mount execution unit 10, the process proceeds to the next process. In step S7, after the mount execution unit 10 executes the mount sequence of the destination B, the process proceeds to the next process. In step S8, the mount execution unit 10 executes the mount sequence of the destination C, and then proceeds to the next process. The mount sequence in this case is a mount sequence for obtaining a so-called superposed file system in which two file systems are superposed to make it appear as one file system.

次に、上記マウント実行部10によって、実行される仕向先別のマウントシーケンスに付いて説明する。この仕向先別のマウントシーケンスでは、先にRAM3にマウントされている上記共通ファイルシステムに、不揮発性メモリ2の差分パーティッション2b〜2dから読み出された差分ファイルシステムA〜Cの一部を上書きする形で、RAM3に対する差分ファイルシステムのマウントを行うのである。   Next, the mount sequence for each destination executed by the mount execution unit 10 will be described. In this mount sequence for each destination, a part of the differential file systems A to C read from the differential partitions 2b to 2d of the nonvolatile memory 2 is overwritten on the common file system previously mounted on the RAM 3. In this manner, the differential file system is mounted on the RAM 3.

図4は、上記CPU6のマウント実行部10によって実行される仕向先Aのマウントシーケンスを示すフローチャートである。図3に示す携帯情報機器1の起動シーケンスのフローチャートにおけるステップS5において、仕向け情報判別部9によってマウント対象が差分パーティションAのファイルシステムであると判別されると、仕向けAのマウントシーケンスがスタートする。   FIG. 4 is a flowchart showing a mount sequence of the destination A executed by the mount execution unit 10 of the CPU 6. In step S5 in the flowchart of the activation sequence of the portable information device 1 shown in FIG. 3, when the destination information discriminating unit 9 determines that the mount target is the file system of the differential partition A, the destination A mount sequence starts.

ステップS11で、上記不揮発性メモリ2の差分パーティッション2b上の差分ファイルシステムAから、最初のファイルが検索される。そして、ステップS12で、ファイルが存在するか否かが判別される。その結果、存在する場合にはステップS13に進み、存在しない場合にはステップS17に進む。   In step S11, the first file is retrieved from the differential file system A on the differential partition 2b of the nonvolatile memory 2. In step S12, it is determined whether or not the file exists. As a result, if it exists, the process proceeds to step S13, and if it does not exist, the process proceeds to step S17.

ステップS13で、上記ステップS12において存在すると判別された当該ファイルと同じファイルが、RAM3の共通パーティション3a上にマウントされた共通ファイルシステム中に存在するか否かが判別される。その結果、存在する場合にはステップS14に進み、存在しなければステップS16に進む。ステップS14で、上記同じファイルのうちRAM3の共通パーティション3a上の共通ファイルシステム中のファイルが、上記ステップS12において存在すると判別された当該ファイルで上書きされる。ステップS15で、不揮発性メモリ2の差分パーティッション2b上のファイルシステムAから、次のファイルが検索される。そうした後、上記ステップS12にリターンする。   In step S13, it is determined whether or not the same file as the file determined to exist in step S12 exists in the common file system mounted on the common partition 3a of the RAM 3. As a result, if it exists, the process proceeds to step S14, and if not, the process proceeds to step S16. In step S14, a file in the common file system on the common partition 3a of the RAM 3 among the same files is overwritten with the file determined to exist in step S12. In step S15, the next file is retrieved from the file system A on the differential partition 2b of the nonvolatile memory 2. After that, the process returns to step S12.

ステップS16で、上記ステップS12において存在すると判別された当該ファイルが、RAM3の差分パーティッション3b上にコピーされる。そうした後、上記ステップS15に進んで、不揮発性メモリ2の差分パーティッション2b上の差分ファイルシステムAから次のファイルが検索される。そして、上記ステップS12においてファイルが存在しないと判別されると、上記ステップS17に進む。   In step S16, the file determined to exist in step S12 is copied onto the differential partition 3b of the RAM 3. Thereafter, the process proceeds to step S15, and the next file is retrieved from the differential file system A on the differential partition 2b of the nonvolatile memory 2. If it is determined in step S12 that the file does not exist, the process proceeds to step S17.

ステップS17で、実行するアプリケーションが不揮発性メモリ2から読み出され、RAM3にマウントされて初期化される。そうした後、仕向先Aのマウントシーケンスを終了して次のプロセス処理に移行する。   In step S17, an application to be executed is read from the nonvolatile memory 2, mounted in the RAM 3, and initialized. After that, the mount sequence of the destination A is terminated and the process proceeds to the next process.

以上においては、上記仕向先Aのマウントシーケンスについて説明したが、仕向先Bや仕向先Cのマウントシーケンスの場合も同様である。   In the above, the mount sequence of the destination A has been described, but the same applies to the mount sequence of the destination B and the destination C.

上記CPU6のマウント実行部10によって、以上のようなファイルシステムのマウントを実行した後には、仕向先Aのアプリケーションに基づいて動作しているCPU6からは、RAM3上に共通パーティション3aと差分パーティション3bとに区分されてマウントされたファイルシステムは、図5に示すような一つの重ね合わせファイルシステムとして認識される。   After mounting the file system as described above by the mount execution unit 10 of the CPU 6, the CPU 6 operating based on the application of the destination A receives the common partition 3a and the differential partition 3b on the RAM 3. The file system mounted in such a manner is recognized as one superposed file system as shown in FIG.

図5(a)は、図3に示す起動シーケンスのフローチャートのステップS3において、RAM3にマウントされた共通ファイルシステムを仮にゴシック体で示す。図5(b)は、不揮発性メモリ2における差分パーティッション2b上の差分ファイルシステムAを仮に明朝体で示す。図5(c)は、仕向先Aのアプリケーションに基づいて動作しているCPU6によって認識されるRAM3上のファイルシステム(所謂、仕向先Aのアプリケーションから見たRAM3上のファイルシステム)を示す。   FIG. 5A temporarily shows the common file system mounted on the RAM 3 in step S3 in the flowchart of the startup sequence shown in FIG. FIG. 5 (b) temporarily shows the differential file system A on the differential partition 2b in the nonvolatile memory 2 in a Mincho style. FIG. 5C shows a file system on the RAM 3 recognized by the CPU 6 operating based on the application at the destination A (so-called file system on the RAM 3 as viewed from the application at the destination A).

図4に示す仕向先AのマウントシーケンスのフローチャートにおけるステップS11において、不揮発性メモリ2の差分パーティッション2b上の最初のファイル「/system/app/browser/viewer.res」が検索される。このファイルは、RAM3にマウントされた共通ファイルシステムの2行目に存在するので、仕向先AのマウントシーケンスのフローチャートにおけるステップS12,S13,S14によって、RAM3にマウントされた共通ファイルシステムの2行目のファイル「/system/app/browser/viewer.res」が、不揮発性メモリ2の差分ファイルシステムA上の最初の当該ファイルで上書きされる。   In step S11 in the flowchart of the mount sequence for the destination A shown in FIG. 4, the first file “/system/app/browser/viewer.res” on the differential partition 2b of the nonvolatile memory 2 is searched. Since this file exists on the second line of the common file system mounted on the RAM 3, the second line of the common file system mounted on the RAM 3 in steps S12, S13, and S14 in the flowchart of the mount sequence of the destination A is shown. File “/system/app/browser/viewer.res” is overwritten with the first relevant file on the differential file system A in the nonvolatile memory 2.

次に、上記仕向先AのマウントシーケンスのフローチャートにおけるステップS15において、不揮発性メモリ2の差分パーティッション2b上の2行目のファイル「/system/app/browser/readme.txt」が検索される。このファイルは、RAM3上の共通ファイルシステム中に存在しないので、仕向先AのマウントシーケンスのフローチャートにおけるステップS12,S13,S16によって、RAM3上の差分パーティション3bにコピーされる。   Next, the file “/system/app/browser/readme.txt” on the second line on the differential partition 2b of the nonvolatile memory 2 is searched in step S15 in the flowchart of the mount sequence of the destination A. Since this file does not exist in the common file system on the RAM 3, it is copied to the differential partition 3b on the RAM 3 by steps S12, S13, S16 in the flowchart of the mounting sequence of the destination A.

以下、上述の動作を繰り返すことによって、上記仕向先Aのアプリケーションに基づいて動作しているCPU6からは、図5(c)に示すような一つの重ね合わせファイルシステムとして認識されるファイルシステムが、RAM3上にマウントされる。尚、図5(c)において、明朝体で記載されたファイルは差分ファイルシステムA上のファイルであることを示している。そのうち、破線で囲まれたファイルは上記上書きされたファイルであり、実線で囲まれたファイルは上記コピーされたファイルである。   Hereinafter, by repeating the above operation, a file system recognized as one superposed file system as shown in FIG. 5C from the CPU 6 operating based on the application of the destination A is as follows. Mounted on the RAM 3. In FIG. 5C, it is shown that the file written in Mincho type is a file on the differential file system A. Among them, the file surrounded by a broken line is the overwritten file, and the file surrounded by a solid line is the copied file.

同様に、上記仕向先Bのアプリケーションに基づいて動作しているCPU6からは、RAM3上に共通パーティション3aと差分パーティションとに区分されてマウントされたファイルシステムは、図6に示すような一つの重ね合わせファイルシステムとして認識されるのである。但し、図6(a)は、RAM3にマウントされた共通ファイルシステムを仮にゴシック体で示す。図6(b)は、不揮発性メモリ2の差分パーティッション2a上の差分ファイルシステムBを仮に明朝体で示す。図6(c)は、仕向先Bのアプリケーションに基づいて動作しているCPU6が認識するRAM3上のファイルシステム(所謂、仕向先Bのアプリケーションから見たRAM3上のファイルシステム)を示す。図6(c)において、明朝体で記載されたファイルは差分ファイルシステムB上のファイルであることを示している。そのうちの、破線で囲まれたファイルは上記上書きされたファイルである。   Similarly, from the CPU 6 operating based on the application of the destination B, the file system mounted on the RAM 3 while being divided into the common partition 3a and the differential partition is one overlap as shown in FIG. It is recognized as a combined file system. However, FIG. 6A temporarily shows the common file system mounted on the RAM 3 in a Gothic style. FIG. 6 (b) temporarily shows the differential file system B on the differential partition 2a of the nonvolatile memory 2 in the Mincho style. FIG. 6C shows a file system on the RAM 3 recognized by the CPU 6 operating based on the destination B application (a so-called file system on the RAM 3 viewed from the destination B application). In FIG. 6C, the file written in the Mincho style is a file on the differential file system B. Of these, the files surrounded by broken lines are the overwritten files.

ここで、図5において、上記不揮発性メモリ2上の差分ファイルシステムAには、RAM3上の共通ファイルシステムとの差分ファイルであるファイル「/system/app/browser/readme.txt」の他に、上記共通ファイルシステムと同一のファイルであるファイル「/system/app/browser/viewer.res」等が含まれている。この場合、同一ファイル「/system/app/browser/viewer.res」は、共通ファイルシステム上と同一の名前ではあるが異なる内容となっており、仕向先Aに応じて改変された内容になっている。そして、RAM3にマウントされた共通ファイルシステム上の上記同一ファイル「/system/app/browser/viewer.res」は、不揮発性メモリ2の差分ファイルシステムA上の同一ファイルで上書きされるので、RAM3の共通ファイルシステム中の上記同一ファイルは、差分ファイルシステムA中の上記同一ファイルで書き換えられている。したがって、CPU6が、図5(c)に示される仕向先Aのアプリケーションを実行する場合には、ファイル「/system/app/browser/viewer.res」に関しては、仕向先Aに応じて改変された内容の処理が実行されることになる。   In FIG. 5, the differential file system A on the nonvolatile memory 2 includes a file “/system/app/browser/readme.txt” that is a differential file with the common file system on the RAM 3, The file “/system/app/browser/viewer.res”, which is the same file as the common file system, is included. In this case, the same file “/system/app/browser/viewer.res” has the same name as that on the common file system, but is different, and is changed according to the destination A. Yes. The same file “/system/app/browser/viewer.res” on the common file system mounted on the RAM 3 is overwritten with the same file on the differential file system A of the nonvolatile memory 2. The same file in the common file system is rewritten with the same file in the difference file system A. Therefore, when the CPU 6 executes the application of the destination A shown in FIG. 5C, the file “/system/app/browser/viewer.res” is modified according to the destination A. Content processing will be executed.

一方、図6において、不揮発性メモリ2上の差分ファイルシステムBには、上記共通ファイルシステムと同一のファイル「/system/app/browser/viewer.res」が含まれてはいない。そのため、CPU6が、図6(c)に示される仕向先Bのアプリケーションを実行する場合には、ファイル「/system/app/browser/viewer.res」に関しては、共通ファイルシステム上のファイル(仕向先Bに応じて内容が改変されてはいないファイル)がそのまま実行されることになる。   On the other hand, in FIG. 6, the differential file system B on the nonvolatile memory 2 does not include the same file “/system/app/browser/viewer.res” as the common file system. Therefore, when the CPU 6 executes the application of the destination B shown in FIG. 6C, the file “/system/app/browser/viewer.res” is a file on the common file system (the destination The file whose contents are not modified according to B) is executed as it is.

このように、上記差分ファイルシステムAに、共通ファイルシステムとの差分ファイルのみならず重複ファイルをも含めることによって、仕向先Aに応じたカスタマイズを施す際に、上記共通ファイルシステムに含まれるファイルを仕向先Aに応じて差し替えるケースにも対応することが可能になるのである。   As described above, when the difference file system A includes not only a difference file with the common file system but also a duplicate file, the file included in the common file system can be changed when customization according to the destination A is performed. It is also possible to deal with a case of replacement according to the destination A.

以上のごとく、本実施の形態の携帯情報機器1においては、ファイルシステムを複数の仕向先に応じて仕向けする場合に関して、不揮発性メモリ2に共通パーティション2aと複数の差分パーティション2b〜2dとを設ける。そして、共通パーティション2aには、複数の仕向先A〜Cに共通の共通ファイルシステムを格納し、各差分パーティション2b〜2dには、個々の仕向先A〜Cのアプリケーション用のファイルシステムと上記共通ファイルシステムとの差分である差分ファイルを含む差分ファイルシステムA〜Cを格納している。   As described above, in the portable information device 1 according to the present embodiment, the common partition 2a and the plurality of differential partitions 2b to 2d are provided in the nonvolatile memory 2 when the file system is directed to a plurality of destinations. . The common partition 2a stores a common file system common to a plurality of destinations A to C, and the differential partitions 2b to 2d share the above-mentioned file systems for applications of individual destinations A to C. Difference file systems A to C including difference files that are differences from the file system are stored.

一方、各仕向先A〜Cの情報を含む仕向け情報を、例えばUIMカード等で成る仕向け情報提供部品7によって外部から提供する。そして、携帯情報機器1側の仕向け情報読取部8によって仕向け情報を読み取り、仕向け情報判別部9によって上記読み取られた仕向け情報に基づいて仕向先A〜Cを判別するようにしている。   On the other hand, destination information including information on each destination A to C is provided from the outside by a destination information providing component 7 made of, for example, a UIM card. The destination information reading unit 8 on the portable information device 1 side reads the destination information, and the destination information discriminating unit 9 discriminates the destinations A to C based on the read destination information.

さらに、上記マウント実行部10によって、上記判別された仕向先Aに基づいて、不揮発性メモリ2に格納された複数の差分ファイルシステムから仕向先Aの差分ファイルシステムAを選択して読み出し、当該仕向先Aの差分ファイルシステムAと不揮発性メモリ2から読み出した共通ファイルシステムとの重ね合わせファイルシステムを形成してRAM3にマウントするようにしている。   Further, the mount execution unit 10 selects and reads the differential file system A of the destination A from the plurality of differential file systems stored in the nonvolatile memory 2 based on the determined destination A, and the destination An overlapping file system is formed of the difference file system A of the previous A and the common file system read from the nonvolatile memory 2 and mounted on the RAM 3.

このように、上記RAM3上には、仕向先Aのアプリケーションおよび仕向先Aのアプリケーション用のファイルシステムのみが、存在している。したがって、仕向先Aのアプリケーションに基づいて動作しているCPU6が認識するファイルシステムは、仕向先Aのアプリケーション用の重ね合わせファイルシステム唯一つである。そのため、仕向先Aのアプリケーションから仕向先Aのアプリケーション用のファイルシステムをアクセスする方法が既存のファイルシステムと互換性を有しているとしても、他の仕向先B,Cのアプリケーション用のファイルシステムが参照可能になることはない。   Thus, only the destination A application and the file system for the destination A application exist on the RAM 3. Therefore, the file system recognized by the CPU 6 operating based on the destination A application is the only superposed file system for the destination A application. Therefore, even if the method of accessing the file system for the application of destination A from the application of destination A is compatible with the existing file system, the file system for the application of other destinations B and C Can never be referenced.

すなわち、本実施の形態によれば、複数の仕向先に応じて仕向けする場合において、公開に制約が課せられたアプリケーションであっても、扱うことが可能になるのである。   That is, according to the present embodiment, even when an application is restricted according to a plurality of destinations, it can be handled even if the application has restrictions on publication.

また、上記差分ファイルシステムA〜C内に、特定の仕向先(例えば仕向先A)のアプリケーション用のファイルシステムと上記共通ファイルシステムとで同一のファイルをも含めることが可能になっている。そして、上記重ね合わせファイルシステムを形成する場合には、不揮発性メモリ2から読み出した共通ファイルシステム上の上記同一ファイルを、上記差分ファイルシステムA上の上記同一ファイルで上書きするようにしている。したがって、上記共通ファイルシステム上の上記同一ファイルを当該仕向先A用にカスタマイズすることが可能になる。   Further, in the differential file systems A to C, it is possible to include the same file in the file system for the application of a specific destination (for example, destination A) and the common file system. When forming the superposed file system, the same file on the common file system read from the nonvolatile memory 2 is overwritten with the same file on the differential file system A. Therefore, the same file on the common file system can be customized for the destination A.

また、仕向先A〜Cの情報を含む仕向け情報を、仕向け情報提供部品7によって外部から提供するようにしている。したがって、単一の不揮発性メモリ2上に、複数仕向けのファイルシステムを、秘匿情報を保ったまま共存させることが可能になる。さらに、単一の不揮発性メモリ2によって複数の仕向けに対応できるため、生産設備の稼働率を高めることが可能になる。   Further, the destination information including information on the destinations A to C is provided from the outside by the destination information providing component 7. Therefore, a plurality of file systems can coexist on the single nonvolatile memory 2 while keeping confidential information. Furthermore, since the single non-volatile memory 2 can cope with a plurality of destinations, it is possible to increase the operating rate of the production facility.

1…携帯情報機器、
2…不揮発性メモリ、
3…RAM、
4…表示装置、
5…入力装置、
6…CPU、
7…仕向け情報提供部品、
8…仕向け情報読取部、
9…仕向け情報判別部、
10…マウント実行部。
1 ... portable information device,
2 ... Non-volatile memory,
3 ... RAM,
4 ... display device,
5 ... Input device,
6 ... CPU,
7 ... Information provision parts for destinations,
8 ... Destination information reading unit,
9 ... Destination information discriminator,
10: Mount execution unit.

Claims (5)

ファイルシステムを複数の仕向先に応じて仕向けする場合に関して、複数の仕向先に共通の共通ファイルシステムが格納される共通パーティションと、個々の仕向先のアプリケーション用のファイルシステムと上記共通ファイルシステムとの差分である差分ファイルを含む差分ファイルシステムが格納される複数の差分パーティションとが設けられた不揮発性メモリと、
装着された仕向け情報提供部品から、上記仕向けに関する情報である仕向け情報を読み取る仕向け情報読取部と、
上記仕向け情報読取部によって読み取られた上記仕向け情報に基づいて、上記仕向先を判別する仕向け情報判別部と、
上記不揮発性メモリに格納された共通ファイルシステムおよび差分ファイルシステムから、上記仕向け情報判別部によって判別された仕向先に応じて選択されたファイルシステムがマウントされる記憶部と、
上記仕向け情報判別部によって判別された仕向先に基づいて、上記不揮発性メモリに格納された複数の差分ファイルシステムから上記仕向先の差分ファイルシステムを選択して読み出し、当該差分ファイルシステムと上記不揮発性メモリから読み出した上記共通ファイルシステムとの重ね合わせファイルシステムを形成して上記記憶部にマウントするマウント実行部と
を備えたことを特徴とする情報機器。
When a file system is directed to a plurality of destinations, a common partition in which a common file system common to the plurality of destinations is stored, a file system for an application at each destination, and the common file system A non-volatile memory provided with a plurality of difference partitions in which a difference file system including a difference file that is a difference is stored;
A destination information reading unit that reads destination information that is information about the destination from the installed destination information providing component;
A destination information discriminating unit for discriminating the destination based on the destination information read by the destination information reading unit;
A storage unit on which a file system selected according to the destination determined by the destination information determination unit from the common file system and the differential file system stored in the nonvolatile memory is mounted;
Based on the destination determined by the destination information determination unit, the differential file system of the destination is selected and read from the plurality of differential file systems stored in the nonvolatile memory, and the differential file system and the non-volatile An information device comprising: a mount execution unit that forms a superposition file system with the common file system read from a memory and mounts the file system on the storage unit.
請求項1に記載の情報機器において、
上記差分パーティションに格納される上記差分ファイルシステムには、上記差分ファイルに加えて、該当する仕向先のアプリケーション用のファイルシステムと上記共通ファイルシステムとで同一のファイルを含めることが可能になっており、
上記マウント実行部は、上記重ね合わせファイルシステムを形成する際に、上記読み出した差分ファイルシステム中に上記共通ファイルシステムと同一のファイルが含まれている場合には、上記読み出した共通ファイルシステム中の上記同一のファイルを上記読み出した差分ファイルシステム中の上記同一のファイルで上書きするようになっている
ことを特徴とする情報機器。
The information device according to claim 1,
In addition to the difference file, the difference file system stored in the difference partition can include the same file in the file system for the corresponding destination application and the common file system. ,
The mount execution unit, when forming the superimposed file system, if the read differential file system includes the same file as the common file system, An information device, wherein the same file is overwritten with the same file in the read differential file system.
不揮発性メモリの共通パーティションに、複数の仕向先に共通の共通ファイルシステムを格納する一方、複数の差分パーティションの夫々に、個々の仕向先のアプリケーション用のファイルシステムと上記共通ファイルシステムとの差分である差分ファイルを含む差分ファイルシステムを格納し、
仕向け情報読取部によって、装着された仕向け情報提供部品から、上記仕向けに関する情報である仕向け情報を読み取り、
仕向け情報判別部によって、上記仕向け情報読取部で読み取られた上記仕向け情報に基づいて、上記仕向先を判別し、
マウント実行部によって、上記仕向け情報判別部で判別された仕向先に基づいて、上記不揮発性メモリに格納された複数の差分ファイルシステムから上記仕向先の差分ファイルシステムを選択して読み出し、当該差分ファイルシステムと上記不揮発性メモリから読み出した上記共通ファイルシステムとの重ね合わせファイルシステムを形成して上記記憶部にマウントする
ことを特徴とするファイルシステムマウント方法。
A common file system common to a plurality of destinations is stored in a common partition of the non-volatile memory, while a difference between the file system for each destination destination application and the common file system is stored in each of the plurality of differential partitions. Stores a differential file system including a differential file,
The destination information reading unit reads the destination information, which is information related to the destination, from the installed destination information providing part,
The destination information discriminating unit discriminates the destination based on the destination information read by the destination information reading unit,
Based on the destination determined by the destination information determination unit by the mount execution unit, the differential file system of the destination is selected and read from the plurality of difference file systems stored in the nonvolatile memory, and the difference file A file system mounting method comprising: forming a superposed file system of a system and the common file system read from the nonvolatile memory and mounting the file system on the storage unit.
コンピュータを、
請求項1における不揮発性メモリ,仕向け情報読取部,仕向け情報判別部,記憶部およびマウント実行部として機能させる
ことを特徴とするファイルシステムマウントプログラム。
Computer
A file system mounting program that functions as a nonvolatile memory, a destination information reading unit, a destination information discriminating unit, a storage unit, and a mount execution unit according to claim 1.
請求項4に記載のファイルシステムマウントプログラムが記録されている
ことを特徴とするコンピュータ読出し可能なプログラム記録媒体。
A computer-readable program recording medium on which the file system mounting program according to claim 4 is recorded.
JP2012156498A 2012-07-12 2012-07-12 Information device, file system mounting system, file system mounting program, and program recording medium Pending JP2014021532A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012156498A JP2014021532A (en) 2012-07-12 2012-07-12 Information device, file system mounting system, file system mounting program, and program recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012156498A JP2014021532A (en) 2012-07-12 2012-07-12 Information device, file system mounting system, file system mounting program, and program recording medium

Publications (1)

Publication Number Publication Date
JP2014021532A true JP2014021532A (en) 2014-02-03

Family

ID=50196390

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012156498A Pending JP2014021532A (en) 2012-07-12 2012-07-12 Information device, file system mounting system, file system mounting program, and program recording medium

Country Status (1)

Country Link
JP (1) JP2014021532A (en)

Similar Documents

Publication Publication Date Title
EP3764237B1 (en) System startup method and apparatus, electronic device and storage medium
US10157268B2 (en) Return flow guard using control stack identified by processor register
WO2012172743A1 (en) Information processing device, information processing method, program, and integrated circuit
US20170300311A1 (en) Dynamic Image Generation
US9697010B2 (en) User selectable operating systems
US9477487B2 (en) Virtualized boot block with discovery volume
CN105900105A (en) Media protection policy enforcement for multiple-operating-system environments
US20140067879A1 (en) Application management for a terminal
US20160019002A1 (en) Partial snapshots in virtualized environments
US20130333049A1 (en) Data protection method for portable electronic device and computer program product for the same
KR101615646B1 (en) Computer system, control method thereof and recording medium storing computer program thereof
CN108073507A (en) A kind of processing method and processing device of Kernel Panic field data
EP3785149B1 (en) Memory assignment for guest operating systems
US20100115004A1 (en) Backup system that stores boot data file of embedded system in different strorage sections and method thereof
KR20120037381A (en) Controlling access to software component state
CN113986858B (en) Linux compatible android system shared file operation method and device
JP2014021532A (en) Information device, file system mounting system, file system mounting program, and program recording medium
CN110888649B (en) Application deployment method, application baseline creation method and device
US20160139850A1 (en) Managing method of storage device, computer system and storage medium
KR20220018499A (en) Non-volatile storage partition identifier
JP5950290B1 (en) Nonvolatile storage device and processing method of nonvolatile storage device
WO2000070466A1 (en) Method of accessing i/o device and memory using virtual address and recorded medium having program for performing method of accessing i/o device and memory using virtual address
US11748117B2 (en) Operating system partitioning of different users for single-user applications
US20190347027A1 (en) Pinning in a multi-tiered system
CN116126967A (en) Data partition processing method and device, electronic equipment and storage medium