JP2008003927A - Merchandise registration processing apparatus and peripheral device recognition program - Google Patents

Merchandise registration processing apparatus and peripheral device recognition program Download PDF

Info

Publication number
JP2008003927A
JP2008003927A JP2006174033A JP2006174033A JP2008003927A JP 2008003927 A JP2008003927 A JP 2008003927A JP 2006174033 A JP2006174033 A JP 2006174033A JP 2006174033 A JP2006174033 A JP 2006174033A JP 2008003927 A JP2008003927 A JP 2008003927A
Authority
JP
Japan
Prior art keywords
peripheral device
information indicating
peripheral
acquired
function
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
JP2006174033A
Other languages
Japanese (ja)
Other versions
JP4659686B2 (en
Inventor
Takeshi Kato
武 加藤
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.)
Toshiba TEC Corp
Original Assignee
Toshiba TEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba TEC Corp filed Critical Toshiba TEC Corp
Priority to JP2006174033A priority Critical patent/JP4659686B2/en
Publication of JP2008003927A publication Critical patent/JP2008003927A/en
Application granted granted Critical
Publication of JP4659686B2 publication Critical patent/JP4659686B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Systems (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To stably recognize a peripheral device when starting by preventing recognition errors for the peripheral device which is externally connected. <P>SOLUTION: A list of the peripheral devices is acquired from peripheral device lists (S2), and the peripheral devices which are connected to an interface are searched (S3). The peripheral devices which are acquired from the list of peripheral devices are compared with the searched peripheral devices, and it is determined whether or not all of the peripheral devices which are acquired from the list of peripheral devices are recognized (S4). If all of them cannot be recognized (S4: NO), a driver of the peripheral device which cannot be recognized is removed (S6), and then a driver for the peripheral device is reloaded (S7) to execute processing for recognizing peripheral devices again. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、プラグアンドプレイにより周辺装置を認識するインタフェースを有する商品登録処理装置及び周辺装置認識プログラムに関する。   The present invention relates to a merchandise registration processing apparatus and a peripheral device recognition program having an interface for recognizing peripheral devices by plug and play.

POS(Point of sales)システムの入力端末である商品登録処理装置(POS端末)本体に、プラグアンドプレイにより周辺装置を認識するインタフェース、例えば、USB(universal serial bus)2.0インタフェースを備えているものもある。このUSB2.0インタフェースには、キーボード、プリンタ、ハンドスキャナなどのPOS端末としての機能を実現するために必要な周辺装置が接続される。このように周辺装置が接続されるPOS端末本体においては、起動時にUSB2.0インタフェースに接続されたキーボード、プリンタ、ハンドスキャナなどの周辺装置を認識するようになっている。   An interface for recognizing peripheral devices by plug and play, for example, a USB (universal serial bus) 2.0 interface, is provided in the main body of a product registration processing device (POS terminal) which is an input terminal of a POS (Point of sales) system. There are also things. Peripheral devices necessary for realizing the function as a POS terminal such as a keyboard, a printer, and a hand scanner are connected to the USB 2.0 interface. The POS terminal main body to which the peripheral device is connected as described above recognizes peripheral devices such as a keyboard, a printer, and a hand scanner connected to the USB 2.0 interface at the time of activation.

なお、入出力装置としては、所定のシステムを構成する1個または複数個のデバイスを一体となるように接続し、接続した各デバイス、および/または、通信ケーブルを介して接続されたシステムのホスト・コンピュータに、コンピュータ電源のON/OFF等の処理を実行させるものが知られている(例えば、特許文献1参照)。
特開2003−345734号公報
As an input / output device, one or a plurality of devices constituting a predetermined system are connected so as to be integrated, and each connected device and / or a system host connected via a communication cable. A computer that causes a computer to execute processing such as turning on / off a computer power supply is known (see, for example, Patent Document 1).
JP 2003-345734 A

ところで、POS端末が起動する際にUSB2.0インタフェースに接続された周辺装置を認識しない場合がある。このように接続された周辺装置を認識せずに起動した場合は、その周辺装置を使用できない等の不具合が生じる場合がある。このように不具合が生じた場合は周辺装置をUSB2.0インタフェースに再接続したり、又はPOS端末本体の再起動を行い、周辺装置を認識するためのドライバに当該周辺装置を認識させる必要がある。   By the way, when the POS terminal is activated, the peripheral device connected to the USB 2.0 interface may not be recognized. When starting up without recognizing a peripheral device connected in this way, there may be a problem that the peripheral device cannot be used. When such a problem occurs, it is necessary to reconnect the peripheral device to the USB 2.0 interface or restart the POS terminal main body so that the driver for recognizing the peripheral device recognizes the peripheral device. .

このようにUSB2.0インタフェースに周辺装置を再接続する作業を行なう場合に、1回で周辺装置を認識すればよいが、複数回繰り返してもドライバが周辺装置を認識しない場合がある。こうなるとPOS端末本体の再起動が必要となり、起動時の作業者の負担が増すとともに起動に時間がかかってしまう。   As described above, when the operation of reconnecting the peripheral device to the USB 2.0 interface is performed, the peripheral device may be recognized once, but the driver may not recognize the peripheral device even if it is repeated a plurality of times. In this case, the POS terminal main body needs to be restarted, which increases the burden on the operator at the time of startup and takes time to start up.

本発明は上記事情に鑑みてなされたものであって、その目的は、外部接続される周辺装置の認識エラーを防止することにより起動時に安定的に周辺装置を認識することができる商品登録処理装置及び周辺装置認識プログラムを提供することにある。   The present invention has been made in view of the above circumstances, and an object thereof is to provide a product registration processing device capable of stably recognizing a peripheral device at start-up by preventing a recognition error of the externally connected peripheral device. And providing a peripheral device recognition program.

第1の本発明は、周辺装置を認識するプラグアンドプレイに対応したインタフェースを有する商品登録処理装置において、起動時に前記インタフェースに接続される周辺装置を示す情報を記憶手段から取得し、インタフェースに接続されている周辺装置をサーチし、サーチした周辺装置を示す情報と取得した周辺装置を示す情報とが一致するかを判断し、一致しないと判断した場合に取得した周辺装置を示す情報とサーチした周辺装置を示す情報とから、取得した情報が示す周辺装置のうちサーチした情報が示す周辺装置でない周辺装置を抽出し、その抽出した周辺装置を認識するドライバを削除し、その削除したドライバをリロードするものである。   According to a first aspect of the present invention, in a merchandise registration processing apparatus having an interface corresponding to plug and play for recognizing a peripheral device, information indicating the peripheral device connected to the interface at the time of activation is acquired from a storage means and connected to the interface The peripheral device being searched is searched, the information indicating the searched peripheral device matches the information indicating the acquired peripheral device, and if it is determined that they do not match, the information indicating the acquired peripheral device is searched. From the information indicating the peripheral device, the peripheral device that is not the peripheral device indicated by the searched information is extracted from the peripheral devices indicated by the acquired information, the driver that recognizes the extracted peripheral device is deleted, and the deleted driver is reloaded To do.

第2の本発明は、周辺装置を認識するプラグアンドプレイに対応したインタフェースを有するコンピュータに、起動時に前記インタフェースに接続される周辺装置を示す情報を記憶手段から取得させる取得機能と、この取得機能で周辺装置を示す情報を取得させると前記インタフェースに接続されている周辺装置をサーチさせるサーチ機能と、このサーチ機能でサーチさせた周辺装置を示す情報と前記取得により取得させた周辺装置を示す情報とが一致するかを判断させる判断機能と、この判断機能で一致しないと判断させた場合に前記取得機能で取得させた周辺装置を示す情報と前記サーチ機能でサーチさせ周辺装置を示す情報とから、前記取得機能で取得した情報が示す周辺装置のうち前記サーチ機能でサーチさせた情報が示す周辺装置でない周辺装置を抽出させその抽出させた周辺装置を認識するドライバを削除させる削除機能と、この削除機能により削除したドライバをリロードさせるリロード機能とを実現させる周辺装置認識プログラムである。   According to a second aspect of the present invention, there is provided an acquisition function for causing a computer having an interface corresponding to plug and play for recognizing a peripheral device to acquire information indicating the peripheral device connected to the interface at the time of startup from a storage means, and the acquisition function When the information indicating the peripheral device is acquired in step 1, the search function for searching the peripheral device connected to the interface, the information indicating the peripheral device searched by the search function, and the information indicating the peripheral device acquired by the acquisition From the information indicating the peripheral device acquired by the acquisition function and the information indicating the peripheral device to be searched by the search function when it is determined that they do not match by the determination function. The peripheral device indicated by the information searched by the search function among the peripheral devices indicated by the information acquired by the acquisition function A delete function for deleting the driver that understands the peripheral device that was extracted by extracting the peripheral devices not a peripheral device recognition program for implementing the reload function to reload the deleted drivers This deletion function.

本発明によると、外部接続される周辺装置の認識エラーを防止することにより起動時に安定的に周辺装置を認識することができる商品登録処理装置及び周辺装置認識プログラムを提供できる。   According to the present invention, it is possible to provide a product registration processing device and a peripheral device recognition program capable of stably recognizing a peripheral device at the time of startup by preventing a recognition error of the peripheral device connected externally.

以下、本発明の一実施の形態について図面を参照して説明する。
図1は、ネットワークの構成を概略的に示す図である。図1に示すように、POS端末1は、LAN2を介してストアコンピュータ3と接続している。なお、図1においてはPOS端末1しか図示していないが、複数のPOS端末1がLAN2に接続されていても勿論良い。
Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
FIG. 1 is a diagram schematically showing the configuration of a network. As shown in FIG. 1, the POS terminal 1 is connected to a store computer 3 via a LAN 2. Although only the POS terminal 1 is shown in FIG. 1, a plurality of POS terminals 1 may of course be connected to the LAN 2.

先ず、POS端末1について説明する。図2は、POS端末1の内部構成を示す制御ブロック図である。図2に示すように、POS端末1は、CPU11、ROM12、RAM13、時計部14、I/O15、ネットワークコントローラ16、キーボードコントローラ17、タッチパネルコントローラ18、ディスプレイコントローラ19、プリンタコントローラ20、スキャナインタフェース(I/F)21、HDDコントローラ22、USB2.0コントローラ23を有する制御回路を有している。また、I/O15にモードスイッチ24及びドロワ開放装置25を接続し、ネットワークコントローラ16にLAN2を接続し、ディスプレイコントローラ19に客用のディスプレイを接続し、スキャナインタフェース21にスキャナ27を接続し、HDDコントローラ22にHDD28を接続している。   First, the POS terminal 1 will be described. FIG. 2 is a control block diagram showing the internal configuration of the POS terminal 1. As shown in FIG. 2, the POS terminal 1 includes a CPU 11, ROM 12, RAM 13, clock unit 14, I / O 15, network controller 16, keyboard controller 17, touch panel controller 18, display controller 19, printer controller 20, scanner interface (I / F) 21, a control circuit having an HDD controller 22 and a USB 2.0 controller 23. Also, the mode switch 24 and the drawer opening device 25 are connected to the I / O 15, the LAN 2 is connected to the network controller 16, the display for customer is connected to the display controller 19, the scanner 27 is connected to the scanner interface 21, and the HDD An HDD 28 is connected to the controller 22.

また、USB2.0コントローラ23には、USB2.0インタフェース29〜31が接続しており、USB2.0インタフェース29にキーボード32を接続し、USB2.0インタフェース30にハンドスキャナ33を接続し、USB2.0インタフェース31にプリンタ34を接続している。すなわち、周辺装置であるキーボード32、ハンドスキャナ33、プリンタ34はUSB2.0インタフェース29〜31を介してそれぞれ接続している。キーボード32、ハンドスキャナ33、プリンタ34はUSB2.0インタフェース29〜31でそれぞれ接続されているため、キーボード32、ハンドスキャナ33、プリンタ34はプラグアンドプレイができるようになっている。   Further, USB 2.0 interfaces 29 to 31 are connected to the USB 2.0 controller 23, a keyboard 32 is connected to the USB 2.0 interface 29, a hand scanner 33 is connected to the USB 2.0 interface 30, and USB 2. A printer 34 is connected to the 0 interface 31. That is, the keyboard 32, the hand scanner 33, and the printer 34, which are peripheral devices, are connected via the USB 2.0 interfaces 29 to 31, respectively. Since the keyboard 32, hand scanner 33, and printer 34 are connected via USB 2.0 interfaces 29 to 31, respectively, the keyboard 32, hand scanner 33, and printer 34 can be plug and play.

CPU11は、ROM12及びHDD28に記憶された制御プログラムを実行することにより、POS端末1を総括的に制御する。ROM12は、基本動作を行うための制御プログラムが記憶される。RAM13はCPU11が制御プログラムを実行するときに必要となるワークエリア等が形成されている。時計部14は時間を計時し、日時情報を生成する。I/O15は、モードスイッチ24からのモードの変更をCPU11に伝える。また、I/O15はCPU11からのドロワを開放するための指示をドロワ開放装置25へ伝える。   The CPU 11 comprehensively controls the POS terminal 1 by executing control programs stored in the ROM 12 and the HDD 28. The ROM 12 stores a control program for performing basic operations. The RAM 13 is formed with a work area and the like necessary when the CPU 11 executes the control program. The clock unit 14 measures time and generates date / time information. The I / O 15 notifies the CPU 11 of the mode change from the mode switch 24. Further, the I / O 15 transmits an instruction for opening the drawer from the CPU 11 to the drawer opening device 25.

ネットワークコントローラ16は、LAN2を介したストアコンピュータ3とのデータ通信の制御を行う。キーボードコントローラ17は、USB2.0インタフェース29を介して取得したキーボード32から入力されたキーの情報をCPU11に伝える制御をする。タッチパネルコントローラ18は、タッチパネル(図示しない。)からの信号をCPU1131に伝える制御をする。また、タッチパネルコントローラ18はCPU11の指示に基づいてタッチパネル(図示しない。)の表示を制御する。ディスプレイコントローラ19は、CPU11の指示に基づいてディスプレイ26の表示を制御する。プリンタコントローラ20は、USB2.0インタフェース31を介してジャーナルやレシートを印字するプリンタ34の印字を制御する。   The network controller 16 controls data communication with the store computer 3 via the LAN 2. The keyboard controller 17 performs control to transmit key information input from the keyboard 32 acquired via the USB 2.0 interface 29 to the CPU 11. The touch panel controller 18 controls to transmit a signal from a touch panel (not shown) to the CPU 1131. The touch panel controller 18 controls display on a touch panel (not shown) based on an instruction from the CPU 11. The display controller 19 controls display on the display 26 based on an instruction from the CPU 11. The printer controller 20 controls printing of the printer 34 that prints journals and receipts via the USB 2.0 interface 31.

スキャナインタフェース21は、スキャナ27で読み取られたバーコードデータの入力を制御する。HDDコントローラ22は、HDD28内のハードディスクへの情報の記憶や、ハードディスクから記憶された情報の読み出し等を制御する。なお、ハードディスクには、POS端末1を動作させるオペレーションシステムを実行するための制御プログラム、USB2.0インタフェース29〜31に接続されている周辺装置を示す周辺装置リストL1(記憶手段)や後述する起動時に行われる周辺装置認識プログラム等が記憶されている。なお、上述のオペレーションシステムは、プラグアンドプレイに対応している。   The scanner interface 21 controls the input of barcode data read by the scanner 27. The HDD controller 22 controls the storage of information on the hard disk in the HDD 28 and the reading of information stored from the hard disk. In the hard disk, a control program for executing an operation system for operating the POS terminal 1, a peripheral device list L1 (storage means) indicating peripheral devices connected to the USB 2.0 interfaces 29 to 31, and an activation to be described later Peripheral device recognition programs that are sometimes executed are stored. The operation system described above is compatible with plug and play.

図3は、周辺装置リストL1を示す図である。上述したように、USB2.0インタフェース29〜31にキーボード32、ハンドスキャナ33、プリンタ34を接続しているため、キーボード32、ハンドスキャナ33、プリンタ34が周辺装置リストL1に登録されている。すなわち、USB1(USB2.0インタフェース30)にハンドスキャナ33(8a6,36,HS−560)が、USB2(USB2.0インタフェース31)にプリンタ34(8a6,b,Printer)が、USB3(USB2.0インタフェース29)にキーボード32(8ab,c,KB)が登録されている。   FIG. 3 is a diagram showing the peripheral device list L1. As described above, since the keyboard 32, hand scanner 33, and printer 34 are connected to the USB 2.0 interfaces 29 to 31, the keyboard 32, hand scanner 33, and printer 34 are registered in the peripheral device list L1. That is, the hand scanner 33 (8a6, 36, HS-560) is connected to USB1 (USB2.0 interface 30), the printer 34 (8a6, b, Printer) is connected to USB2 (USB2.0 interface 31), and USB3 (USB2.0 is connected). A keyboard 32 (8ab, c, KB) is registered in the interface 29).

次にPOS端末1の起動時に実行される周辺装置認識処理を説明する。図4は、CPU11が実行する周辺装置認識処理の要部を示すフローチャートである。   Next, peripheral device recognition processing executed when the POS terminal 1 is started will be described. FIG. 4 is a flowchart showing a main part of the peripheral device recognition process executed by the CPU 11.

図示しない電源がPOS端末1に投入されると、CPU11はUSB2.0インタフェース29〜31に接続している周辺装置を認識するための周辺装置認識プログラム(USBCHK.exe)を起動する(S1)。そして、CPU11は、周辺装置リストL1に登録されている周辺装置のリストを取得する(S2,取得手段)。このように取得した周辺装置のリストを示す情報は、RAM13の所定エリアに保存される。   When a power supply (not shown) is turned on to the POS terminal 1, the CPU 11 starts a peripheral device recognition program (USBCHK.exe) for recognizing peripheral devices connected to the USB 2.0 interfaces 29 to 31 (S1). Then, the CPU 11 acquires a list of peripheral devices registered in the peripheral device list L1 (S2, acquisition means). Information indicating the list of peripheral devices acquired in this way is stored in a predetermined area of the RAM 13.

次にCPU11は、USB2.0インタフェース29〜31に接続している周辺装置をサーチする(S3,サーチ手段)。なお、このようにサーチされた周辺装置を示す情報は、RAM13の所定エリアに保存される。そして、CPU11は周辺装置を全て認識できたか否かを判断する(S4,判断手段)。具体的には、RAM13の所定エリアに保存された周辺装置リストL1から取得された周辺装置と、RAM13の所定エリアに保存されたサーチされた周辺装置とを比較することにより判断される。   Next, the CPU 11 searches for peripheral devices connected to the USB 2.0 interfaces 29 to 31 (S3, search means). Information indicating the peripheral device searched in this way is stored in a predetermined area of the RAM 13. Then, the CPU 11 determines whether or not all peripheral devices have been recognized (S4, determination means). Specifically, the determination is made by comparing the peripheral device acquired from the peripheral device list L1 stored in the predetermined area of the RAM 13 with the searched peripheral device stored in the predetermined area of the RAM 13.

RAM13の所定エリアに保存された周辺装置リストL1から取得された周辺装置とRAM13の所定エリアに保存されたサーチされた周辺装置とが一致しない場合、すなわち、周辺装置リストL1から取得された周辺装置のうちサーチされなかった周辺装置がある場合は(S4でNO)、CPU11は、USB2.0インタフェース29〜31に接続された周辺装置を認識する処理を連続して行なった回数が、所定回数(例えば、3回)か否かを判断する(S5)。   When the peripheral device acquired from the peripheral device list L1 stored in the predetermined area of the RAM 13 does not match the searched peripheral device stored in the predetermined area of the RAM 13, that is, the peripheral device acquired from the peripheral device list L1 If there is a peripheral device that has not been searched for (NO in S4), the CPU 11 performs the process of recognizing peripheral devices connected to the USB 2.0 interfaces 29 to 31 continuously. For example, it is determined whether or not (three times) (S5).

所定回数となっていなければ(S5でNO)、CPU11は周辺装置リストL1から取得された周辺装置のうちサーチした周辺装置でない周辺装置を認識するドライバを削除する(S6,削除手段)。そして、CPU11は当該周辺装置のドライバをリロードする(S7,リロード手段)。そして、ステップS1の処理へ戻り、CPU11は再度周辺装置認識プログラムを起動して、上述した処理を繰り返す。   If the predetermined number of times has not been reached (NO in S5), the CPU 11 deletes the driver that recognizes the peripheral device that is not the searched peripheral device among the peripheral devices acquired from the peripheral device list L1 (S6, deletion means). Then, the CPU 11 reloads the peripheral device driver (S7, reload means). Then, returning to the process of step S1, the CPU 11 activates the peripheral device recognition program again and repeats the above-described process.

一方、CPU11は、所定回数であると判断すると(S5でYES)、ディスプレイ26へエラー表示を行なう(S8)。なお、このディスプレイ26にエラー表示する処理に代えて、次の処理へ進まないように、すなわち、HDD28に記憶されているアプリケーションソフトが起動しないようにしても良い。   On the other hand, when the CPU 11 determines that the number of times is the predetermined number (YES in S5), it displays an error on the display 26 (S8). In place of the process of displaying an error on the display 26, the process may not proceed to the next process, that is, the application software stored in the HDD 28 may not be activated.

CPU11はエラー表示を行なったとき(S8)、又はRAM13の所定エリアに保存された周辺装置リストL1から取得された周辺装置とRAM13の所定エリアに保存されたサーチされた周辺装置とが一致すると判断した場合は(S4でYES)、この処理を終了する。なお処理を終了するときには、CPU11はRAM13の所定エリアに記憶された周辺装置リストL1から取得した周辺装置を示す情報及びRAM13の所定エリアに記憶されたサーチした周辺装置を示す情報はクリアする。   When the CPU 11 performs an error display (S8), it is determined that the peripheral device acquired from the peripheral device list L1 stored in the predetermined area of the RAM 13 matches the searched peripheral device stored in the predetermined area of the RAM 13. If so (YES in S4), this process ends. When the process is ended, the CPU 11 clears the information indicating the peripheral device acquired from the peripheral device list L1 stored in the predetermined area of the RAM 13 and the information indicating the searched peripheral device stored in the predetermined area of the RAM 13.

次に作用について説明する。USB2・0インタフェース29〜31を介して、キーボード32、ハンドスキャナ33、プリンタ34が接続されているPOS端末1の電源スイッチをONし、電源が投入されると、周辺装置として登録されているキーボード32、ハンドスキャナ33、プリンタ34と、起動時にUSB2.0インタフェース29〜31に接続され、認識される周辺装置とが比較される。   Next, the operation will be described. When the power switch of the POS terminal 1 to which the keyboard 32, hand scanner 33, and printer 34 are connected is turned on via the USB 2.0 interface 29 to 31, and the power is turned on, the keyboard registered as a peripheral device 32, the hand scanner 33, the printer 34, and the peripheral devices that are connected to the USB 2.0 interfaces 29 to 31 at the time of activation and are recognized.

認識された周辺装置が、キーボード32、ハンドスキャナ33、プリンタ34である場合にはアプリケーションソフトが起動される。これにより、通常のPOS端末1の業務が実行できるようになる。   If the recognized peripheral devices are the keyboard 32, hand scanner 33, and printer 34, application software is activated. As a result, the normal operation of the POS terminal 1 can be executed.

一方、認識された周辺装置が、例えばハンドスキャナ33とプリンタ34である場合、すなわち、キーボード32が認識できなかった場合には、キーボード32を認識するためのドライバが削除された後、リロードされる。そして、再び、周辺装置として登録されているキーボード32、ハンドスキャナ33、プリンタ34と、起動時にUSB2.0インタフェース29〜31に接続され認識される周辺装置とが比較される。   On the other hand, when the recognized peripheral devices are, for example, the hand scanner 33 and the printer 34, that is, when the keyboard 32 cannot be recognized, the driver for recognizing the keyboard 32 is deleted and reloaded. . Then, again, the keyboard 32, hand scanner 33, and printer 34 registered as peripheral devices are compared with the peripheral devices that are connected to and recognized by the USB 2.0 interfaces 29 to 31 at the time of activation.

再び認識された周辺装置が、キーボード32、ハンドスキャナ33、プリンタ34である場合にはアプリケーションソフトが起動される。これにより、通常のPOS端末1の業務が実行できるようになる。   If the peripheral devices recognized again are the keyboard 32, the hand scanner 33, and the printer 34, application software is activated. As a result, the normal operation of the POS terminal 1 can be executed.

このように認識されない周辺装置のドライバを削除した後、リロードしてから再び周辺装置の認識を行なう処理が所定回数となるまで実行される。所定回数となっても、認識できない周辺装置があるときは、ディスプレイ26にエラー表示がされる。   After deleting the peripheral device driver that is not recognized in this manner, the processing for performing the recognition of the peripheral device again after the reloading is executed until a predetermined number of times. If there is a peripheral device that cannot be recognized even after the predetermined number of times, an error is displayed on the display 26.

したがって、この実施の形態によると、POS端末1は起動時に、USB2.0インタフェース29〜31に接続されている周辺装置のうち認識されない周辺装置のドライバを削除した後リロードしてから再度周辺装置を認識する処理を行なう。この処理を行なうことにより、周辺装置であるキーボード32、ハンドスキャナ33、プリンタ34の認識エラーを防止することができ、安定的に周辺装置を認識することができる。したがって、作業者は、周辺装置をUSB2.0インタフェース29〜31に再接続する作業やPOS端末1の再起動を行なわなくても良い。   Therefore, according to this embodiment, at the time of activation, the POS terminal 1 deletes a peripheral device driver that is not recognized among peripheral devices connected to the USB 2.0 interfaces 29 to 31 and reloads the peripheral device again. Performs recognition processing. By performing this processing, recognition errors of the keyboard 32, hand scanner 33, and printer 34, which are peripheral devices, can be prevented, and the peripheral devices can be recognized stably. Therefore, the worker does not have to perform the work of reconnecting the peripheral device to the USB 2.0 interfaces 29 to 31 or the restart of the POS terminal 1.

また、POS端末1が起動時に周辺装置リストL1に登録されている周辺装置が全て認識できない場合はアプリケーションソフトを起動しないようにすることにより、例えばキーボード32のように特定の周辺装置をUSB2.0インタフェース29から外しておくことにより、POS端末1を操作できないようにすることができる。すなわち、POS端末1の起動のキーとして周辺装置を利用することができる。つまり、ある特定の周辺装置を接続しない限り、POS端末1のシステムを起動させないセキュリティーとして利用することができる。   Further, when all the peripheral devices registered in the peripheral device list L1 cannot be recognized when the POS terminal 1 is started up, a specific peripheral device such as the keyboard 32 is connected to the USB 2.0 by not starting the application software. By removing from the interface 29, the POS terminal 1 can be disabled. That is, the peripheral device can be used as a key for starting the POS terminal 1. That is, it can be used as security that does not activate the system of the POS terminal 1 unless a specific peripheral device is connected.

なお、上述した実施の形態では、周辺装置を接続するインタフェースとしてUSB2.0インタフェースを使用したが、これに限るものではなく、プラグアンドプレイに対応したインタフェースであればよい。   In the above-described embodiment, the USB 2.0 interface is used as an interface for connecting peripheral devices. However, the present invention is not limited to this, and any interface corresponding to plug and play may be used.

なお、本発明は、上述した実施の形態そのままに限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で構成要素を変形して具体化できるものである。   Note that the present invention is not limited to the above-described embodiments as they are, and can be embodied by modifying constituent elements without departing from the scope of the invention in the implementation stage.

本発明の実施の形態におけるネットワーク構成を概略的に示す図。1 is a diagram schematically showing a network configuration in an embodiment of the present invention. 同実施の形態における商品登録処理装置の制御構成を示すブロック図。The block diagram which shows the control structure of the merchandise registration processing apparatus in the embodiment. 同実施の形態における周辺装置登録リストを示す図。The figure which shows the peripheral device registration list | wrist in the embodiment. 同実施の形態における周辺装置認識処理の要部を示すフローチャート。The flowchart which shows the principal part of the peripheral device recognition process in the embodiment.

符号の説明Explanation of symbols

1…POS端末、11…CPU、12…ROM、13…RAM、28…HDD、29から31…USB2.0インタフェース,L1…周辺装置リスト、32…キーボード、33…ハンドスキャナ、34…プリンタ DESCRIPTION OF SYMBOLS 1 ... POS terminal, 11 ... CPU, 12 ... ROM, 13 ... RAM, 28 ... HDD, 29 to 31 ... USB2.0 interface, L1 ... Peripheral device list, 32 ... Keyboard, 33 ... Hand scanner, 34 ... Printer

Claims (2)

周辺装置を認識するプラグアンドプレイに対応したインタフェースを有する商品登録処理装置において、
起動時に前記インタフェースに接続される周辺装置を示す情報を記憶手段から取得する取得手段と、
この取得手段で周辺装置を示す情報を取得すると前記インタフェースに接続されている周辺装置をサーチするサーチ手段と、
このサーチ手段でサーチした周辺装置を示す情報と前記取得手段により取得した周辺装置を示す情報とが一致するかを判断する判断手段と、
この判断手段で一致しないと判断した場合に前記取得手段で取得した周辺装置を示す情報と前記サーチ手段でサーチした周辺装置を示す情報とから、前記取得手段で取得した情報が示す周辺装置のうち前記サーチ手段でサーチした情報が示す周辺装置でない周辺装置を抽出し、その抽出した周辺装置を認識するドライバを削除する削除手段と、
この削除手段により削除したドライバをリロードするリロード手段とを具備することを特徴とする商品登録処理装置。
In the product registration processing device having an interface corresponding to plug and play for recognizing peripheral devices,
Acquisition means for acquiring information indicating a peripheral device connected to the interface at the time of startup from a storage means;
Search means for searching for peripheral devices connected to the interface when information indicating peripheral devices is acquired by the acquisition means;
Determining means for determining whether the information indicating the peripheral device searched by the search means matches the information indicating the peripheral device acquired by the acquiring means;
Of the peripheral devices indicated by the information acquired by the acquiring means, the information indicating the peripheral devices acquired by the acquiring means and the information indicating the peripheral devices searched by the search means when the determining means determines that they do not match. A deletion unit that extracts a peripheral device that is not a peripheral device indicated by the information searched by the search unit, and deletes a driver that recognizes the extracted peripheral device;
A merchandise registration processing apparatus comprising: reloading means for reloading the driver deleted by the deleting means.
周辺装置を認識するプラグアンドプレイに対応したインタフェースを有するコンピュータに、
起動時に前記インタフェースに接続される周辺装置を示す情報を記憶手段から取得させる取得機能と、
この取得機能で周辺装置を示す情報を取得させると前記インタフェースに接続されている周辺装置をサーチさせるサーチ機能と、
このサーチ機能でサーチさせた周辺装置を示す情報と前記取得により取得させた周辺装置を示す情報とが一致するかを判断させる判断機能と、
この判断機能で一致しないと判断させた場合に前記取得機能で取得させた周辺装置を示す情報と前記サーチ機能でサーチさせ周辺装置を示す情報とから、前記取得機能で取得した情報が示す周辺装置のうち前記サーチ機能でサーチさせた情報が示す周辺装置でない周辺装置を抽出させその抽出させた周辺装置を認識するドライバを削除させる削除機能と、
この削除機能により削除したドライバをリロードさせるリロード機能とを実現させる周辺装置認識プログラム。
To a computer having a plug-and-play interface that recognizes peripheral devices,
An acquisition function for acquiring information indicating a peripheral device connected to the interface at startup from a storage unit;
A search function for searching for peripheral devices connected to the interface when information indicating peripheral devices is acquired by this acquisition function;
A determination function for determining whether the information indicating the peripheral device searched by the search function matches the information indicating the peripheral device acquired by the acquisition;
The peripheral device indicated by the information acquired by the acquisition function from the information indicating the peripheral device acquired by the acquisition function and the information indicating the peripheral device searched by the search function when the determination function determines that they do not match A delete function for extracting a peripheral device that is not a peripheral device indicated by the information searched by the search function and deleting a driver that recognizes the extracted peripheral device;
A peripheral device recognition program for realizing a reload function for reloading a driver deleted by this deletion function.
JP2006174033A 2006-06-23 2006-06-23 Product registration processing device and peripheral device recognition program Active JP4659686B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006174033A JP4659686B2 (en) 2006-06-23 2006-06-23 Product registration processing device and peripheral device recognition program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006174033A JP4659686B2 (en) 2006-06-23 2006-06-23 Product registration processing device and peripheral device recognition program

Publications (2)

Publication Number Publication Date
JP2008003927A true JP2008003927A (en) 2008-01-10
JP4659686B2 JP4659686B2 (en) 2011-03-30

Family

ID=39008244

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006174033A Active JP4659686B2 (en) 2006-06-23 2006-06-23 Product registration processing device and peripheral device recognition program

Country Status (1)

Country Link
JP (1) JP4659686B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019185660A (en) * 2018-04-17 2019-10-24 Dynabook株式会社 Electronic apparatus, connection method, and program

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003345734A (en) * 2002-05-28 2003-12-05 Seiko Epson Corp Input-output device
WO2005026936A1 (en) * 2003-09-09 2005-03-24 Transact Technologies Incorporated Standard configurable universal serial bus (usb) device identifier
JP2005323407A (en) * 2005-08-01 2005-11-17 Canon Inc Apparatus for information processing, method therefor and control program

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003345734A (en) * 2002-05-28 2003-12-05 Seiko Epson Corp Input-output device
WO2005026936A1 (en) * 2003-09-09 2005-03-24 Transact Technologies Incorporated Standard configurable universal serial bus (usb) device identifier
JP2005323407A (en) * 2005-08-01 2005-11-17 Canon Inc Apparatus for information processing, method therefor and control program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019185660A (en) * 2018-04-17 2019-10-24 Dynabook株式会社 Electronic apparatus, connection method, and program
JP7062500B2 (en) 2018-04-17 2022-05-06 Dynabook株式会社 Electronic devices, connection methods and programs

Also Published As

Publication number Publication date
JP4659686B2 (en) 2011-03-30

Similar Documents

Publication Publication Date Title
JP4385900B2 (en) COMMUNICATION SETTING PROGRAM, START PROGRAM, COMMUNICATION SETTING METHOD, AND APPLICATION START METHOD
US8451484B2 (en) Information processing apparatus, printing apparatus, electronic device, and computer program therefor based on existence of printer configuration file
US8908211B2 (en) Printing system, printing control apparatus, and non-transitory computer readable recording medium stored with printing control program
JP2008009967A (en) Information processor, information processing system, program and storage medium thereof
US10089102B2 (en) Information processing apparatus, method, and program
JP2007004679A (en) Information processor, method and control program
JP2013218510A (en) Information processing apparatus, program update method for information processing apparatus, and program
US20110258348A1 (en) Electronic device having physical switch to select functionality exposed to host computing device
JP4659686B2 (en) Product registration processing device and peripheral device recognition program
JP2009181336A (en) Image forming apparatus, print control method, print control program, and recording medium
EP2538365A1 (en) Information input display device and control program thereof
US9300837B2 (en) Information processing apparatus, information processing method, and storage medium for identifiable information about print jobs
JP5524148B2 (en) Computer equipment
JP2015102989A (en) Peripheral device control fault avoidance method, peripheral device control fault avoidance program, processing apparatus, and processing system
US20200302046A1 (en) Information processing apparatus and computer program product
JP6349827B2 (en) Information processing apparatus, initialization method, and program
JP2005196261A (en) Information processor, its control method and program
JP2011215889A (en) Information processing apparatus and method for starting the same
JP2010012755A (en) Image forming apparatus, method for forming image, control program, and recording medium
JP2008009859A (en) Retrieval index creating device and retrieval index creating method
JP5353997B2 (en) Information processing apparatus, information processing system, program, and recording medium thereof
JP7400551B2 (en) Command generation device, system and command generation method
JP2010049412A (en) Information processor and boot control method
JP4797210B2 (en) Information terminal and operation method thereof
JP2007264864A (en) Installation program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080910

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

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

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

Free format text: PAYMENT UNTIL: 20140107

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4659686

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150