JP2007272315A - File management system - Google Patents

File management system Download PDF

Info

Publication number
JP2007272315A
JP2007272315A JP2006094253A JP2006094253A JP2007272315A JP 2007272315 A JP2007272315 A JP 2007272315A JP 2006094253 A JP2006094253 A JP 2006094253A JP 2006094253 A JP2006094253 A JP 2006094253A JP 2007272315 A JP2007272315 A JP 2007272315A
Authority
JP
Japan
Prior art keywords
data
file
file number
database
registered
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.)
Granted
Application number
JP2006094253A
Other languages
Japanese (ja)
Other versions
JP4907208B2 (en
Inventor
Yasuhiro Misu
康博 三栖
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.)
Sato Corp
Original Assignee
Sato 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 Sato Corp filed Critical Sato Corp
Priority to JP2006094253A priority Critical patent/JP4907208B2/en
Publication of JP2007272315A publication Critical patent/JP2007272315A/en
Application granted granted Critical
Publication of JP4907208B2 publication Critical patent/JP4907208B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Abstract

<P>PROBLEM TO BE SOLVED: To quickly display registered data in the order of file numbers. <P>SOLUTION: Registration data are registered in the order of registration in a merchandise database constructed in a flash ROM 108, and file number data included in the registration data are registered in the order of file numbers in a file number database constructed in the flash ROM 108. When the data registered in the merchandise database are displayed in a list, the file numbers are read from the file number database, and the registration data corresponding to the read file numbers are retrieved and acquired from the merchandise database in the order of the read file numbers and displayed. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明はファイル管理システムに関し、特に、登録したデータを検索して出力するファイル管理システムに関する。   The present invention relates to a file management system, and more particularly to a file management system that searches and outputs registered data.

従来、画面内における表示位置に関する情報をロケーションコードとしてテーブルファイルに格納し、このテーブルファイルに基づいて表示を実施する画面表示データにロケーションコードを付加するとともに、ロケーションコードを付加した画面表示データを集団項目により編集し、集団項目に対して表示命令を実行することにより、画面表示データを一括表示することにより、表示命令の実行回数を増大させることなく処理速度を向上させることができるようにしたものがある(例えば、特許文献1参照)。   Conventionally, information about the display position in the screen is stored as a location code in a table file, and the location code is added to the screen display data to be displayed based on the table file, and the screen display data to which the location code is added is grouped. By editing items and executing display commands on group items, the screen display data can be displayed in a lump so that the processing speed can be improved without increasing the number of executions of display commands. (For example, refer to Patent Document 1).

特開平5−224852号公報Japanese Patent Laid-Open No. 5-224852

しかしながら、背景技術では、ファイル番号が付加されたデータを登録した後、番号順にデータを検索して表示する処理を高速に行うということはできなかった。   However, in the background art, after registering data to which a file number is added, it has not been possible to perform processing for searching and displaying data in numerical order at high speed.

本発明はこのような状況に鑑みてなされたものであり、ファイル番号が付加されたデータをファイル番号に関係なくランダムな順番に登録した場合でも、ファイル番号順に迅速にデータを検索して表示することができるようにするものである。   The present invention has been made in view of such a situation. Even when data with file numbers added is registered in a random order regardless of the file number, the data is quickly searched and displayed in the order of the file numbers. Is to be able to.

請求項1に記載のファイル管理システムは、ファイル番号を示すファイル番号データとファイル番号データに対応する商品データを入力する入力手段と、入力手段によって入力されたファイル番号データと商品データとを対応付けて、入力された順に第1のデータベースに登録する商品データ登録手段と、ファイル番号データのみを第2のデータベースにファイル番号が昇順に並ぶように並べ替えながら登録するファイル番号登録手段とを備えることを特徴とする。
また、第1のデータベースに登録された商品データの一覧をファイル番号の順番に所定の表示装置に表示するとき、第2のデータベースからファイル番号データを順に読み出し、読み出したファイル番号データに対応する商品データを第2のデータベースから検索して取得する取得手段と、取得手段によって取得された商品データを出力する出力手段とをさらに備えるようにすることができる。
The file management system according to claim 1, wherein the file number data indicating the file number and the input means for inputting the product data corresponding to the file number data are associated with the file number data input by the input means and the product data. Product data registering means for registering in the first database in the input order, and file number registering means for registering only the file number data while rearranging the file numbers in ascending order in the second database. It is characterized by.
Further, when displaying a list of product data registered in the first database on a predetermined display device in the order of file numbers, the file number data is sequentially read from the second database, and the product corresponding to the read file number data An acquisition unit that searches and acquires data from the second database and an output unit that outputs the product data acquired by the acquisition unit can be further provided.

本発明のファイル管理システムによれば、ファイル番号が付加されたデータをファイル番号に関係なくランダムな順番に登録した場合でも、ファイル番号は昇順に登録されるので、ファイル番号順に迅速にデータを検索することができる。
また、ファイル番号順に迅速にデータを検索することができるので、ファイル番号順にデータを迅速に所定の表示装置に表示することができる。
According to the file management system of the present invention, even when data with file numbers added is registered in a random order regardless of the file number, the file numbers are registered in ascending order, so that data can be searched quickly in the order of the file numbers. can do.
Further, since the data can be quickly searched in the order of the file numbers, the data can be quickly displayed on the predetermined display device in the order of the file numbers.

図1は、本発明が適用されるプリンタの一実施の形態の構成例を示すブロック図である。同図に示すように、本実施の形態は、後述するフラッシュROM(Read Only Memory)108に記憶されている制御プログラムに従って動作し、各部を制御するとともに、各種処理を実行するCPU(Central Processing Unit)101と、CPU101が処理を実行する上で必要となる各種データを記憶するRAM(Random Access Memory)109と、CPU101の制御下、用紙を搬送する搬送部を駆動するモータ106と、搬送部によって搬送された用紙に対して所定の印字データを所定のタイミングで印字するサーマルヘッド107と、外部機器との間のデータの送受信を制御する通信インタフェース102と、CPU101の制御下、所定のタイミングで点灯および消灯することによって所定の情報を伝達するLED(Light Emitting Diode)103と、各種コマンドやデータを入力するための操作部104と、各種データを記憶するメモリを備えた着脱可能なカード110と、CPU101によって実行される制御プログラムを記憶するフラッシュROM108と、各種情報を表示するLCD(Liquid Crystal Display)105等から構成されている。通信インタフェース102は、RS232C、セントロニクス、無線等である。操作部104は、テンキーとタッチパネルにより構成されている。タッチパネルは透過部材で構成され、LCD105に重ねて設置されている。従って、LCD105に表示された選択項目やボタン等の表示位置に対応するタッチパネルの所定の部分がユーザによってタッチされると、CPU101は、タッチパネルのどの部分がタッチされたかを認識する。そして、LCD105の表示内容とタッチパネルのタッチされた部分の位置とに基づいて、ユーザによる選択項目の選択操作やボタン操作を認識する。   FIG. 1 is a block diagram illustrating a configuration example of an embodiment of a printer to which the present invention is applied. As shown in the figure, the present embodiment operates in accordance with a control program stored in a flash ROM (Read Only Memory) 108 described later, controls each unit, and executes various processes. ) 101, a RAM (Random Access Memory) 109 that stores various data necessary for the CPU 101 to execute processing, a motor 106 that drives a conveyance unit that conveys paper under the control of the CPU 101, and a conveyance unit Lights at a predetermined timing under the control of the thermal head 107 that prints predetermined print data on the conveyed paper at a predetermined timing, a communication interface 102 that controls transmission / reception of data to / from an external device, and the CPU 101. In addition, an LED (Light Emitting Diode) 103 that transmits predetermined information by turning it off, An operation unit 104 for inputting commands and data, a removable card 110 having a memory for storing various data, a flash ROM 108 for storing a control program executed by the CPU 101, and an LCD ( Liquid Crystal Display) 105 and the like. The communication interface 102 is RS232C, Centronics, wireless, or the like. The operation unit 104 includes a numeric keypad and a touch panel. The touch panel is composed of a transmissive member and is placed over the LCD 105. Therefore, when a predetermined part of the touch panel corresponding to the display position of the selection item or button displayed on the LCD 105 is touched by the user, the CPU 101 recognizes which part of the touch panel is touched. Based on the display content of the LCD 105 and the position of the touched portion of the touch panel, the selection operation or button operation of the selection item by the user is recognized.

次に、図2のフローチャートを参照して、本実施の形態の動作について説明する。まず、ステップS1において、CPU101により、ユーザによる操作部104の操作に基づいて、データの登録が指示されたか否かが判定される。その結果、データの登録が指示されたと判定された場合、ステップS2に進む。   Next, the operation of the present embodiment will be described with reference to the flowchart of FIG. First, in step S <b> 1, the CPU 101 determines whether data registration is instructed based on the operation of the operation unit 104 by the user. As a result, if it is determined that data registration has been instructed, the process proceeds to step S2.

ステップS2においては、CPU101は、ユーザにより操作部104が操作されて入力されたファイル番号および商品データからなる登録データ、または通信インタフェース102を介してパーソナルコンピュータ等から送信されてきた登録データを一端RAM109に供給し、記憶させる。   In step S <b> 2, the CPU 101 once stores the registration data including the file number and the product data input by operating the operation unit 104 by the user or the registration data transmitted from the personal computer or the like via the communication interface 102. To supply and memorize.

次に、ステップS3において、CPU101の制御により、フラッシュROM108に構築された商品データベースに、RAM109に記憶された登録データが入力された順番に登録される。   Next, in step S <b> 3, the registration data stored in the RAM 109 is registered in the product database constructed in the flash ROM 108 in the order in which the registration data is input, under the control of the CPU 101.

次に、ステップS4において、CPU101により、フラッシュROM108にファイル番号データベースが既に構築されているか否かが判定される。その結果、フラッシュROM108にファイル番号データベースが既に構築されていると判定された場合、ステップS5に進む。一方、フラッシュROM108にファイル番号データベースがまだ構築されていないと判定された場合、ステップS6に進む。   Next, in step S <b> 4, the CPU 101 determines whether a file number database has already been constructed in the flash ROM 108. As a result, if it is determined that the file number database has already been constructed in the flash ROM 108, the process proceeds to step S5. On the other hand, if it is determined that the file number database has not yet been built in the flash ROM 108, the process proceeds to step S6.

ステップS5においては、CPU101の制御下、ステップS3において商品データベースに登録された登録データに含まれるファイル番号と同一のファイル番号を示すファイル番号データがファイル番号データベースにファイル番号順に並ぶように登録される。即ち、ファイル番号データベースに登録されたファイル番号データは常に昇順に並ぶように並び替えられる。その後、ステップS13に進む。   In step S5, under the control of the CPU 101, file number data indicating the same file number as the file number included in the registration data registered in the product database in step S3 is registered in the file number database so as to be arranged in the file number order. . That is, the file number data registered in the file number database is always rearranged so as to be arranged in ascending order. Thereafter, the process proceeds to step S13.

一方、ステップS6においては、CPU101の制御下、ファイル番号データベースがフラッシュROM108に新規に作成される。即ち、商品データベースに登録されている各登録データに含まれるファイル番号が読み出され、昇順にファイル番号データベースに登録される。その後、ステップS13に進む。   On the other hand, in step S 6, a file number database is newly created in the flash ROM 108 under the control of the CPU 101. That is, the file number included in each registration data registered in the product database is read and registered in the file number database in ascending order. Thereafter, the process proceeds to step S13.

ステップS1において、データの登録が指示されていないと判定された場合、ステップS7に進み、CPU101により、登録データの削除が指示されたか否かが判定される。その結果、登録データの削除が指示されたと判定された場合、ステップS8に進む。   If it is determined in step S1 that data registration is not instructed, the process proceeds to step S7, and the CPU 101 determines whether or not deletion of registered data is instructed. As a result, if it is determined that deletion of registered data has been instructed, the process proceeds to step S8.

ステップS8においては、操作部104よりファイル番号が入力されるか、後述する商品データ一覧表示画面(図4)において削除すべき登録データがカーソル129(図4)等によって指定されるなどして、CPU101により削除すべき登録データのファイル番号が認識される。   In step S8, a file number is input from the operation unit 104, or registration data to be deleted is specified by a cursor 129 (FIG. 4) or the like on a product data list display screen (FIG. 4) described later. The CPU 101 recognizes the file number of registration data to be deleted.

次に、ステップS9において、CPU101は、削除するように指定された登録データを商品データベースより削除する。その後、ステップS4に進み、ファイル番号データベースが存在するか否かが判定され、ファイル番号データベースが存在する場合、ファイル番号データベースが更新される。即ち、削除された登録データに含まれるファイル番号に対応するファイル番号データがファイル番号データベースから削除される。その後、ステップS13に進む。   Next, in step S9, the CPU 101 deletes the registration data designated to be deleted from the product database. Then, it progresses to step S4, it is determined whether a file number database exists, and a file number database is updated when a file number database exists. That is, the file number data corresponding to the file number included in the deleted registration data is deleted from the file number database. Thereafter, the process proceeds to step S13.

ファイル番号データベースが存在しない場合、商品データベースに登録された登録データに含まれるファイル番号に基づいて、新たにファイル番号データベースが作成される。このファイル番号データベースには、ステップS9において削除された登録データに含まれるファイル番号は含まれない。その後、ステップS13に進む。   If the file number database does not exist, a new file number database is created based on the file number included in the registration data registered in the product database. This file number database does not include the file number included in the registration data deleted in step S9. Thereafter, the process proceeds to step S13.

ステップS7において、登録データの削除が指示されていないと判定された場合、ステップS10に進み、CPU101により、登録データの一覧表示が指示されたか否かが判定される。その結果、登録データの一覧表示が指示されていないと判定された場合、ステップS12に進み、その他の処理が実行された後、ステップS13に進む。一方、登録データの一覧表示が指示されたと判定された場合、ステップS11に進む。   If it is determined in step S7 that deletion of registration data has not been instructed, the process proceeds to step S10, and the CPU 101 determines whether or not a list display of registration data has been instructed. As a result, if it is determined that the list display of registered data is not instructed, the process proceeds to step S12, and after other processes are executed, the process proceeds to step S13. On the other hand, if it is determined that the list display of registered data is instructed, the process proceeds to step S11.

ステップS11においては、図3のフローチャートを参照して後述する登録データの一覧表示処理が実行される。その後、ステップS13に進む。   In step S11, a list display process of registered data, which will be described later with reference to the flowchart of FIG. 3, is executed. Thereafter, the process proceeds to step S13.

ステップS13においては、処理の終了が指示されたか否かが判定される。その結果、処理の終了が指示されていないと判定された場合、ステップS1に戻り、ステップS1以降の処理が繰り返し実行される。一方、処理の終了が指示されたと判定された場合、本処理を終了する。   In step S13, it is determined whether an instruction to end the process has been issued. As a result, when it is determined that the end of the process is not instructed, the process returns to step S1 and the processes after step S1 are repeatedly executed. On the other hand, if it is determined that the end of the process has been instructed, the present process ends.

次に、図3のフローチャートを参照して、図1のステップS11において実行される登録データの一覧表示処理について詳細に説明する。   Next, the registration data list display process executed in step S11 of FIG. 1 will be described in detail with reference to the flowchart of FIG.

まず、ステップS21において、CPU101により、ファイル番号データベースがフラッシュROM108に既に存在するか否かが判定される、その結果、ファイル番号データベースがフラッシュROM108に存在しないと判定された場合、ステップS22に進み、ファイル番号データベースがフラッシュROM108に新規に作成される。その後、ステップS23に進む。   First, in step S21, the CPU 101 determines whether or not the file number database already exists in the flash ROM 108. As a result, if it is determined that the file number database does not exist in the flash ROM 108, the process proceeds to step S22. A file number database is newly created in the flash ROM 108. Thereafter, the process proceeds to step S23.

一方、ファイル番号データベースがフラッシュROM108に存在すると判定された場合、ステップS23に進み、CPU101の制御下、ファイル番号データベースからファイル番号を示すファイル番号データが読み込まれる。読み込まれたファイル番号データは、RAM109に供給され、記憶される。   On the other hand, if it is determined that the file number database exists in the flash ROM 108, the process proceeds to step S23, and file number data indicating the file number is read from the file number database under the control of the CPU 101. The read file number data is supplied to the RAM 109 and stored therein.

次に、ステップS24において、CPU101により、データ一覧表示処理が実行される。即ち、CPU101は、RAM109に記憶されているファイル番号データをLCD105の画面に表示可能な数だけ読み出す。次に、読み出したファイル番号データに対応する登録データを商品データベースから検索して取得し、一旦RAM109に記憶させる。その後、CPU101は、RAM109に供給された登録データを表示するための表示データを生成し、LCD105に供給する。LCD105は、CPU101より供給された表示データを表示する。   Next, in step S24, the CPU 101 executes a data list display process. That is, the CPU 101 reads out the file number data stored in the RAM 109 by the number that can be displayed on the screen of the LCD 105. Next, registration data corresponding to the read file number data is retrieved from the product database, and is temporarily stored in the RAM 109. Thereafter, the CPU 101 generates display data for displaying the registration data supplied to the RAM 109 and supplies the display data to the LCD 105. The LCD 105 displays the display data supplied from the CPU 101.

図4は、商品データ一覧表示画面例を示している。図4に示すように、商品データ一覧表示画面には、ファイル番号順に登録データが表示される。また、この画面には、画面のタイトルを示す「商品データ一覧表示画面」、番号検索のためのファイル番号入力欄、カーソルを上方向に移動させるときに操作される「カーソル上移動」ボタン121、カーソルを下方向に移動させるときに操作される「カーソル下移動」ボタン122、データを追加するときに操作される「追加」ボタン123、登録データを修正するときに操作される「修正」ボタン124、登録データを削除するときに操作される「削除」ボタン125、前の画面に戻るときに操作される「戻る」ボタン126、前のページに戻るとき操作される「前」ボタン127、次のページに移動するときに操作される「次」ボタン128等も表示される。   FIG. 4 shows an example of a product data list display screen. As shown in FIG. 4, registration data is displayed in order of file numbers on the product data list display screen. Also, on this screen, a “product data list display screen” indicating the title of the screen, a file number input field for number search, a “cursor up” button 121 operated when moving the cursor upward, A “cursor down” button 122 that is operated when moving the cursor downward, an “add” button 123 that is operated when adding data, and a “correct” button 124 that is operated when correcting registered data. , “Delete” button 125 operated when deleting registered data, “Back” button 126 operated when returning to the previous screen, “Previous” button 127 operated when returning to the previous page, Next A “next” button 128 or the like operated when moving to the page is also displayed.

即ち、CPU101によって生成される表示データには、図4に示すように、画面のタイトルを示す「商品データ一覧表示画面」、番号検索のためのファイル番号入力欄、カーソルを上方向に移動させるときに操作される「カーソル上移動」ボタン121、カーソルを下方向に移動させるときに操作される「カーソル下移動」ボタン122、データを追加するときに操作される「追加」ボタン123、登録データを修正するときに操作される「修正」ボタン124、登録データを削除するときに操作される「削除」ボタン125、前の画面に戻るときに操作される「戻る」ボタン126、前のページに戻るとき操作される「前」ボタン127、次のページに移動するときに操作される「次」ボタン128等を表示するためのデータが含まれる。   That is, the display data generated by the CPU 101 includes, as shown in FIG. 4, a “product data list display screen” indicating the title of the screen, a file number input field for number search, and when moving the cursor upward. The “cursor up” button 121 operated when the cursor is moved downward, the “cursor down” button 122 operated when moving the cursor downward, the “add” button 123 operated when adding data, and the registered data “Correct” button 124 operated when correcting, “Delete” button 125 operated when deleting registered data, “Return” button 126 operated when returning to the previous screen, and returning to the previous page Data for displaying a “Previous” button 127 that is operated when the “Next” button 128 is operated when moving to the next page is included.

次に、ステップS25において、CPU101により、ページ切替キー(「前」ボタン127、または「次」ボタン128)が操作されたか否かが判定される。その結果、ページ切替キーが操作されたと判定された場合、ステップS26に進む。一方、ページ切替キーが操作されていないと判定された場合、ステップS27に進む。   Next, in step S <b> 25, the CPU 101 determines whether or not the page switching key (“Previous” button 127 or “Next” button 128) has been operated. As a result, if it is determined that the page switching key has been operated, the process proceeds to step S26. On the other hand, if it is determined that the page switching key has not been operated, the process proceeds to step S27.

ステップS26においては、CPU101により、次に切り替えるページに表示すべき登録データのファイル番号をファイル番号データベースより読み出し、RAM109に記憶させておいたファイル番号データから取得する。   In step S26, the CPU 101 reads the file number of the registered data to be displayed on the page to be switched next from the file number database, and obtains it from the file number data stored in the RAM 109.

次に、ステップS24に戻り、ステップS26において取得されたファイル番号データに基づいて、データ一覧表示処理が実行される。即ち、上述したように、CPU101は、ステップS26において取得されたファイル番号データに対応する登録データを商品データベースから検索して取得し、一旦RAM109に記憶させる。その後、CPU101は、RAM109に供給された登録データを表示するための表示データを生成し、LCD105に供給する。LCD105は、CPU101より供給された表示データを表示する。このようにして、ページ切替が行われる。   Next, the process returns to step S24, and the data list display process is executed based on the file number data acquired in step S26. That is, as described above, the CPU 101 retrieves and acquires registration data corresponding to the file number data acquired in step S26 from the product database, and temporarily stores it in the RAM 109. Thereafter, the CPU 101 generates display data for displaying the registration data supplied to the RAM 109 and supplies the display data to the LCD 105. The LCD 105 displays the display data supplied from the CPU 101. In this way, page switching is performed.

次に、ステップS27において、ユーザにより操作部104が操作されるなどして、商品データの一覧表示処理の終了が指示されたか否かが判定される。その結果、商品データの一覧表示処理の終了が指示されていないと判定された場合、ステップS24に戻り、ステップS24以降の処理が繰り返し実行される。一方、商品データの一覧表示処理の終了が指示されたと判定された場合、本処理を終了し、図2のステップS13に進む。   Next, in step S27, it is determined whether or not the user has operated the operation unit 104 to instruct the end of the product data list display process. As a result, when it is determined that the end of the product data list display process is not instructed, the process returns to step S24, and the processes after step S24 are repeatedly executed. On the other hand, if it is determined that the end of the product data list display process has been instructed, this process ends, and the process proceeds to step S13 in FIG.

図4に示した商品データ一覧表示画面に表示されている「カーソル上移動」ボタン121および「カーソル下移動」ボタン122の少なくともいずれかを操作して画面に表示されたカーソル129を所望の登録データ上に移動させて選択し、「削除」ボタン125を操作することにより、その登録データを削除することができる。   By operating at least one of the “cursor up” button 121 and the “cursor down” button 122 displayed on the product data list display screen shown in FIG. 4, the cursor 129 displayed on the screen is displayed as desired registration data. The registered data can be deleted by moving it up and selecting it, and operating the “delete” button 125.

また、「カーソル上移動」ボタン121および「カーソル下移動」ボタン122の少なくともいずれかを操作して画面に表示されたカーソル129を所望の登録データ上に移動させて選択し、「修正」ボタン124を操作した後、操作部104を操作して、その登録データを修正することができる。   Further, by operating at least one of the “cursor up” button 121 and the “cursor down” button 122, the cursor 129 displayed on the screen is moved and selected onto desired registration data, and the “correct” button 124 is selected. After the operation, the operation unit 104 can be operated to correct the registered data.

また、「追加」ボタン123を操作した後、操作部104を操作して、所望のデータを新たに登録することができる。   In addition, after the “add” button 123 is operated, desired data can be newly registered by operating the operation unit 104.

図5は、フラッシュROM108等に構築される商品データベースのデータ構成例を示している。同図に示すように、商品データベースは、1または複数のデータファイル(レコード)により構成され、各データファイルは、データファイルの番号を示すファイル番号と、商品データを構成する商品の品名と、価格と、原材料等の各項目より構成されている。商品データベースへの各データファイルの登録は、登録順に行われる。   FIG. 5 shows a data configuration example of a product database constructed in the flash ROM 108 or the like. As shown in the figure, the product database is composed of one or a plurality of data files (records). Each data file includes a file number indicating the number of the data file, the product name of the product constituting the product data, and the price. And each item such as raw materials. Each data file is registered in the product database in the order of registration.

この例では、商品データベースには、ファイル番号「0005」、商品名「E弁当」、価格「350円」、原材料「ごはん、...」からなるデータファイルと、ファイル番号「0002」、商品名「B弁当」、価格「450円」、原材料「ごはん、...」からなるデータファイルと、ファイル番号「0004」、商品名「D弁当」、価格「400円」、原材料「ごはん、...」からなるデータファイルと、ファイル番号「0001」、商品名「A弁当」、価格「500円」、原材料「ごはん、...」からなるデータファイルと、ファイル番号「0003」、商品名「C弁当」、価格「600円」、原材料「ごはん、...」からなるデータファイルと、ファイル番号「0006」、商品名「たまごサンド」、価格「200円」、原材料「パン、...」からなるデータファイルと、ファイル番号「0008」、商品名「野菜サンド」、価格「210円」、原材料「パン、...」からなるデータファイルと、ファイル番号「0007」、商品名「ハムサンド」、価格「200円」、原材料「パン、...」からなるデータファイル等がこの順に登録されている。   In this example, the product database includes a data file including a file number “0005”, a product name “E lunch box”, a price “350 yen”, a raw material “rice,...”, A file number “0002”, a product name. Data file consisting of “B lunch”, price “450 yen”, raw material “rice, ...”, file number “0004”, product name “D lunch”, price “400 yen”, raw material “rice, ...” .., A file number “0001”, a product name “A bento”, a price “500 yen”, a raw material “rice,...”, A data file “File” “0003”, a product name “ Data file consisting of “C lunch box”, price “600 yen”, raw material “rice, ...”, file number “0006”, product name “Tamago Sand”, price “200 yen”, raw material A data file consisting of “bread,...”, A file number “0008”, a product name “vegetable sandwich”, a price “210 yen”, a raw material “bread,. ”, A product name“ ham sand ”, a price“ 200 yen ”, and a data file including raw materials“ bread,... ”Are registered in this order.

図6は、フラッシュROM108等に構築されるファイル番号データベースのデータ構成例を示している。同図に示すように、ファイル番号データベースは、1または複数のデータファイル(レコード)により構成され、各データファイルは、商品データベースの各データファイルのファイル番号に対応する項目のみで構成されている。   FIG. 6 shows a data configuration example of a file number database constructed in the flash ROM 108 or the like. As shown in the figure, the file number database is composed of one or a plurality of data files (records), and each data file is composed only of items corresponding to the file numbers of the respective data files of the product database.

ファイル番号データベースには、商品データベースに登録されたデータファイルに含まれるファイル番号に対応するファイル番号データが、昇順に並ぶように並べ替えられて登録される。   In the file number database, the file number data corresponding to the file numbers included in the data file registered in the product database is rearranged and registered in ascending order.

このように、商品データベースの登録データのファイル番号は登録された順番に並んでいるが、ファイル番号データベースのファイル番号は、常に昇順になるように並んでいるため、ファイル番号データベースに登録されているファイル番号の順番に商品データベースの登録データを検索して取得することにより、迅速にファイル番号順に登録データを表示することができる。ファイル番号データベースに登録されているファイル番号が連続していない場合でも同様である。   In this way, the file numbers of the registration data of the product database are arranged in the order of registration, but the file numbers of the file number database are always arranged in ascending order, and are registered in the file number database. By searching and acquiring registration data in the product database in the order of file numbers, the registration data can be quickly displayed in the order of file numbers. The same applies when the file numbers registered in the file number database are not consecutive.

なお、上記実施の形態の構成及び動作は例であって、本発明の趣旨を逸脱しない範囲で適宜変更することができることは言うまでもない。   It should be noted that the configuration and operation of the above-described embodiment are examples, and it goes without saying that they can be changed as appropriate without departing from the spirit of the present invention.

本発明の活用例として、例えば、商品データだけでなく、様々なデータを登録し検索する際にも本発明を適用することができる。   As an application example of the present invention, for example, the present invention can be applied when registering and searching various data as well as product data.

本発明の一実施の形態の構成例を示すブロック図である。It is a block diagram which shows the structural example of one embodiment of this invention. 図1の実施の形態の動作を説明するためのフローチャートである。It is a flowchart for demonstrating operation | movement of embodiment of FIG. 図2の一覧表示処理の詳細な処理手順を説明するためのフローチャートである。It is a flowchart for demonstrating the detailed process sequence of the list display process of FIG. 商品データ一覧表示画面例を示す図である。It is a figure which shows the example of a goods data list display screen. 商品データベースの構成例を示す図である。It is a figure which shows the structural example of a goods database. ファイル番号データベースの構成例を示す図である。It is a figure which shows the structural example of a file number database.

符号の説明Explanation of symbols

101 CPU
102 通信インタフェース
103 LED
104 操作部
105 LCD
106 モータ
107 サーマルヘッド
108 フラッシュROM
109 RAM
110 カード
121 「カーソル上移動」ボタン
122 「カーソル下移動」ボタン
123 「追加」ボタン
124 「修正」ボタン
125 「削除」ボタン
126 「戻る」ボタン
127 「前」ボタン
128 「次」ボタン
129 カーソル


101 CPU
102 Communication interface 103 LED
104 Operation unit 105 LCD
106 Motor 107 Thermal head 108 Flash ROM
109 RAM
110 Card 121 “Cursor up” button 122 “Cursor down” button 123 “Add” button 124 “Modify” button 125 “Delete” button 126 “Back” button 127 “Previous” button 128 “Next” button 129 Cursor


Claims (2)

ファイル番号を示すファイル番号データと前記ファイル番号データに対応する商品データを入力する入力手段と、
前記入力手段によって入力された前記ファイル番号データと前記商品データとを対応付けて、入力された順に第1のデータベースに登録する商品データ登録手段と、
前記ファイル番号データのみを第2のデータベースに前記ファイル番号が昇順に並ぶように並べ替えながら登録するファイル番号登録手段と
を備えることを特徴とするファイル管理システム。
Input means for inputting file number data indicating a file number and product data corresponding to the file number data;
Product data registration means for associating the file number data input by the input means with the product data and registering them in the first database in the order of input;
A file management system comprising: file number registration means for registering only the file number data while rearranging the file numbers in the second database so that the file numbers are arranged in ascending order.
前記第1のデータベースに登録された前記商品データの一覧を前記ファイル番号データの順番に所定の表示装置に表示するとき、前記第2のデータベースから前記ファイル番号データを順に読み出し、読み出した前記ファイル番号データに対応する前記商品データを前記第2のデータベースから検索して取得する取得手段と、
前記取得手段によって取得された前記商品データを出力する出力手段と
をさらに備えることを特徴とする請求項1に記載のファイル管理システム。

When displaying the list of product data registered in the first database on a predetermined display device in the order of the file number data, the file number data is read out from the second database in order, and the read file number Obtaining means for retrieving and obtaining the product data corresponding to data from the second database;
The file management system according to claim 1, further comprising: an output unit that outputs the product data acquired by the acquisition unit.

JP2006094253A 2006-03-30 2006-03-30 File management system Active JP4907208B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006094253A JP4907208B2 (en) 2006-03-30 2006-03-30 File management system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006094253A JP4907208B2 (en) 2006-03-30 2006-03-30 File management system

Publications (2)

Publication Number Publication Date
JP2007272315A true JP2007272315A (en) 2007-10-18
JP4907208B2 JP4907208B2 (en) 2012-03-28

Family

ID=38675095

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006094253A Active JP4907208B2 (en) 2006-03-30 2006-03-30 File management system

Country Status (1)

Country Link
JP (1) JP4907208B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09179762A (en) * 1995-12-27 1997-07-11 Sanyo Electric Co Ltd Simple inquiry method for index order organization type file
JP2004110696A (en) * 2002-09-20 2004-04-08 Sharp Corp Device, method, program for managing data base and recording medium in which data base management program is recorded
JP2005056223A (en) * 2003-08-06 2005-03-03 Inax Corp Text data retrieval system, method therefor and its program

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09179762A (en) * 1995-12-27 1997-07-11 Sanyo Electric Co Ltd Simple inquiry method for index order organization type file
JP2004110696A (en) * 2002-09-20 2004-04-08 Sharp Corp Device, method, program for managing data base and recording medium in which data base management program is recorded
JP2005056223A (en) * 2003-08-06 2005-03-03 Inax Corp Text data retrieval system, method therefor and its program

Also Published As

Publication number Publication date
JP4907208B2 (en) 2012-03-28

Similar Documents

Publication Publication Date Title
JP2007531098A5 (en)
JP2010260221A (en) Label printer and information processor
JP5469144B2 (en) Search screen information display method, search screen information processing system and program thereof
JP2007025980A5 (en)
JP4907208B2 (en) File management system
JP2010179521A (en) Label printer and information processing apparatus
JP4595800B2 (en) Label printer
JP2006228009A (en) Printer driver and print system
JP3662644B2 (en) Price card creation system
US20060203258A1 (en) File management apparatus
JP5794073B2 (en) Information display device and information display program
JP2012006407A (en) Printer
JP5272124B2 (en) Data input device and data input method to print item of print format in price tag printer
JP2007157090A (en) Meal management system
JP5039505B2 (en) Document search apparatus and document search support method
JP2007293924A (en) Portable terminal
JP2008140285A (en) Document managing method and tool using standard document system
CN116932481A (en) Information processing apparatus, computer readable medium, and information processing method
JP6620593B2 (en) Information processing apparatus and program
JP6682875B2 (en) Information processing device and program
JP2014182416A (en) Information processing device and program
JP2016126508A (en) Label issuing application, mobile information processing apparatus, and label printer
JP2023043348A (en) Program, information processing system, and information processing method
JP2023043346A (en) Program, information processing system, and information processing method
JP2005271239A (en) Printer

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090306

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110929

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20111014

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20111207

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: 20111226

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: 20120111

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

Free format text: PAYMENT UNTIL: 20150120

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4907208

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

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