JP2011133978A - Electronic equipment and program - Google Patents

Electronic equipment and program Download PDF

Info

Publication number
JP2011133978A
JP2011133978A JP2009290924A JP2009290924A JP2011133978A JP 2011133978 A JP2011133978 A JP 2011133978A JP 2009290924 A JP2009290924 A JP 2009290924A JP 2009290924 A JP2009290924 A JP 2009290924A JP 2011133978 A JP2011133978 A JP 2011133978A
Authority
JP
Japan
Prior art keywords
changeover switch
state
ports
hdd
storage
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
JP2009290924A
Other languages
Japanese (ja)
Inventor
Masahito Watabe
雅人 渡部
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 JP2009290924A priority Critical patent/JP2011133978A/en
Publication of JP2011133978A publication Critical patent/JP2011133978A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide electronic equipment and a program for enabling even a user who is unfamiliar with a BIOS setting operation to easily switch a serially connected start device. <P>SOLUTION: When an HDD changeover switch 10 is turned on, and the input signal of a chip set 6 is 1, a POS terminal 100 sets an HDD9a connected to an HD port 0 as a start device, and reads an OS program from the HDD9a, and starts an OS. Meanwhile, when the HDD changeover switch 10 is turned off, and the input signal of the chip set 6 is 0, the POS terminal 100 sets an HDD9b connected to an HD port 1 as a start device, and reads the OS program from the HDD9b, and starts the OS. Thus, it is attainable to easily switch the HDD to be read in starting an OS without performing any setting processing on a BIOS setting screen. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

本発明は、電子機器およびプログラムに関する。   The present invention relates to an electronic device and a program.

従来、スーパーマーケットや量販店において商品販売データの処理を行うPOS(Point Of Sales)端末においては、HDD(Hard Disk Drive)が故障した際に迅速に対応するために2台のHDDに同一のデータを格納し、故障時には故障したHDDから正常なHDDに切替えている。また、HDDの切替作業においては、BIOS(Basic Input/Output System)の設定画面を立ち上げて、当該設定画面において起動(ブート)時に読み込む起動デバイスの優先順位を変更する。すなわち、故障していないHDDの起動順位を、故障したHDDの起動順位よりも上位に設定することにより、正常なHDDを優先的に読み込んでOSを起動することが可能となる。   Conventionally, in a POS (Point Of Sales) terminal that processes merchandise sales data at supermarkets and mass merchandisers, the same data is stored in two HDDs in order to respond quickly when an HDD (Hard Disk Drive) fails. When a failure occurs, the HDD is switched from the failed HDD to a normal HDD. Also, in the HDD switching work, a BIOS (Basic Input / Output System) setting screen is launched, and the priority order of boot devices read at the time of booting (booting) is changed on the setting screen. That is, by setting the boot order of HDDs that are not faulty higher than the boot order of faulty HDDs, it is possible to preferentially read normal HDDs and start up the OS.

ところが、営業時間内等にHDDが故障し、急遽HDDの切替作業が必要となった場合に、BIOS設定操作に不慣れな店員が迅速に対応することは難しいという問題がある。   However, there is a problem that it is difficult for a store clerk who is unfamiliar with the BIOS setting operation to respond quickly when an HDD breaks down during business hours or the like and the HDD needs to be switched suddenly.

これに対して、特許文献1では、1つのHDDポートに対して2つのHDDをパラレル接続したパラレルATA(PATA)方式のHDDにおいて、ジャンパースイッチを切替操作するだけで2台のHDDを切替える技術が開示されている。   On the other hand, in Patent Document 1, in a parallel ATA (PATA) type HDD in which two HDDs are connected in parallel to one HDD port, a technique for switching two HDDs only by switching a jumper switch. It is disclosed.

しかしながら近年では、転送速度の高速化のために、データをシリアル転送するシリアルATA(SATA)方式が広く用いられている。SATA方式では、1つのHDDポートに対して1つのHDDがシリアル接続されるため、上述のようにジャンパースイッチ等でHDDバスの切替を行うことは難しい。従って従来、HDDが故障した際にはサービスマンを呼んでBIOS設定操作をすることにより、HDDの切替作業を行っていた。   However, in recent years, a serial ATA (SATA) system for serially transferring data has been widely used to increase the transfer speed. In the SATA system, since one HDD is serially connected to one HDD port, it is difficult to switch the HDD bus with a jumper switch or the like as described above. Therefore, conventionally, when an HDD fails, a service person is called to perform a BIOS setting operation to perform HDD switching work.

本発明は、上記に鑑みてなされたものであって、BIOS設定作業に不慣れなユーザであっても、シリアル接続された起動デバイスを簡単に切替えることができる電子機器およびプログラムを提供することを目的とする。   The present invention has been made in view of the above, and it is an object of the present invention to provide an electronic apparatus and a program capable of easily switching a serially connected startup device even if a user is unfamiliar with BIOS setting work. And

上述した課題を解決し、目的を達成するために、本発明の電子機器は、複数の記憶装置と、前記記憶装置のそれぞれをシリアル接続する複数のポートと、前記ポートにそれぞれ対応する複数の状態を切替える切替スイッチと、前記切替スイッチの状態を検出する検出手段と、前記検出手段が検出した前記切替スイッチの状態に応じて、前記複数のポートのうちいずれか1つを選択して、選択した前記ポートに接続された1つの前記記憶装置を起動デバイスとして設定する起動デバイス設定手段と、を備えたことを特徴とする。   In order to solve the above-described problems and achieve the object, an electronic device according to the present invention includes a plurality of storage devices, a plurality of ports for serially connecting the storage devices, and a plurality of states corresponding to the ports. A changeover switch for switching, a detection means for detecting the state of the changeover switch, and selecting and selecting any one of the plurality of ports according to the state of the changeover switch detected by the detection means Boot device setting means for setting one of the storage devices connected to the port as a boot device.

また、本発明の電子機器は、複数の記憶装置と、前記記憶装置のそれぞれをシリアル接続する複数のポートと、前記ポートにそれぞれ対応する複数の状態を切替える切替スイッチと、前記複数のポートから前記各ポートに対応する前記記憶装置を読み込む順番を記憶する記憶手段と、前記切替スイッチの状態を検出する検出手段と、前記検出手段が検出した前記切替スイッチの状態に応じて、前記記憶手段が記憶する前記順番を書き換える書換手段と、を備えたことを特徴とする。   The electronic device of the present invention includes a plurality of storage devices, a plurality of ports for serially connecting the storage devices, a changeover switch for switching a plurality of states corresponding to the ports, and the plurality of ports. Storage means for storing the order of reading the storage device corresponding to each port, detection means for detecting the state of the changeover switch, and the storage means for storing according to the state of the changeover switch detected by the detection means Rewriting means for rewriting the order.

また、本発明のプログラムは、複数の記憶装置と、前記記憶装置のそれぞれをシリアル接続する複数のポートと、前記ポートにそれぞれ対応する複数の状態を切替える切替スイッチと、を備えた電子機器において、コンピュータを、前記切替スイッチの状態を検出する検出手段と、前記検出手段が検出した前記切替スイッチの状態に応じて、前記複数のポートのうちいずれか1つを選択して、選択した前記ポートに接続された1つの前記記憶装置を起動デバイスとして設定する起動デバイス設定手段と、して機能させることを特徴とする。   According to another aspect of the present invention, there is provided an electronic apparatus comprising: a plurality of storage devices; a plurality of ports that serially connect the storage devices; and a changeover switch that switches a plurality of states corresponding to the ports. A computer that detects a state of the changeover switch; and selects one of the plurality of ports according to the state of the changeover switch detected by the detection unit; It is made to function as an activation device setting means for setting one connected storage device as an activation device.

また、本発明のプログラムは、複数の記憶装置と、前記記憶装置のそれぞれをシリアル接続する複数のポートと、前記ポートにそれぞれ対応する複数の状態を切替える切替スイッチと、前記複数のポートから前記各ポートに対応する前記記憶装置を読み込む順番を記憶する記憶手段と、を備えた電子機器において、コンピュータを、前記切替スイッチの状態を検出する検出手段と、前記検出手段が検出した前記切替スイッチの状態に応じて、前記記憶手段が記憶する前記順番を書き換える書換手段と、して機能させることを特徴とする。   Further, the program of the present invention includes a plurality of storage devices, a plurality of ports that serially connect the storage devices, a changeover switch that switches a plurality of states corresponding to the ports, and each of the plurality of ports. In an electronic device comprising: storage means for storing an order of reading the storage device corresponding to the port; a detection means for detecting a state of the changeover switch; and a state of the changeover switch detected by the detection means Accordingly, the storage unit functions as a rewriting unit that rewrites the order stored in the storage unit.

本発明によれば、切替スイッチの状態に応じて複数のポートのいずれか1つを選択して、選択したポートに接続された1つの記憶装置を起動デバイスとして設定するので、BIOS設定画面での設定作業を行わずとも起動デバイスを切替えることが可能となり、BIOS設定作業に不慣れなユーザであっても、シリアル接続された起動デバイスを簡単に切替えることができるという効果を奏する。   According to the present invention, one of a plurality of ports is selected according to the state of the changeover switch, and one storage device connected to the selected port is set as a boot device. It is possible to switch the boot device without performing the setting work, and even a user unfamiliar with the BIOS setting work can easily switch the boot device connected in serial.

図1は、本発明の第1の実施の形態にかかるPOS端末の外観斜視図である。FIG. 1 is an external perspective view of a POS terminal according to a first embodiment of the present invention. 図2は、HDD切替スイッチの概観図である。FIG. 2 is an overview of the HDD changeover switch. 図3は、POS端末の構成を示すブロック図である。FIG. 3 is a block diagram showing the configuration of the POS terminal. 図4は、POS端末の機能的構成を示す機能ブロック図である。FIG. 4 is a functional block diagram showing a functional configuration of the POS terminal. 図5は、OS起動処理の手順を説明するフローチャートである。FIG. 5 is a flowchart for explaining the procedure of the OS startup process. 図6は、第2の実施の形態にかかるPOS端末の機能的構成を示す機能ブロック図である。FIG. 6 is a functional block diagram illustrating a functional configuration of the POS terminal according to the second embodiment. 図7は、OS起動処理の手順を説明するフローチャートである。FIG. 7 is a flowchart for explaining the procedure of the OS startup process.

以下に添付図面を参照して、この発明にかかる電子機器およびプログラムの最良な実施の形態を詳細に説明する。本実施の形態においては、スーパーマーケットや量販店において商品の販売登録処理を行うPOS端末に電子機器を適用する場合について説明する。また、本実施の形態にかかるプログラムは、当該POS端末において実行されるプログラムである。   Exemplary embodiments of an electronic device and a program according to the present invention will be explained below in detail with reference to the accompanying drawings. In the present embodiment, a case will be described in which an electronic device is applied to a POS terminal that performs merchandise sales registration processing in a supermarket or a mass retailer. The program according to the present embodiment is a program executed in the POS terminal.

(第1の実施の形態)
図1は、第1の実施の形態にかかるPOS端末100の外観斜視図である。POS端末100は、現金等を収容するためのドロワ12の上に載置されており、このドロワ12の引出し12aの開閉を制御する。POS端末100の正面側には、登録、点検、精算、設定などの各種業務モードを選択するためのモードキー14が設けられている。また、POS端末100の正面に設けられたキーボード13には、オペレータ(店員)が、例えば預かり金額などを置数するための置数キーや、1商取引として販売登録が行われた商品の合計出力を指示する小計キーなど、各種操作入力を行うための操作キーが配置されている。また、キーボード13に近接する位置には、カードリーダ11が設けられている。
(First embodiment)
FIG. 1 is an external perspective view of a POS terminal 100 according to the first embodiment. The POS terminal 100 is placed on a drawer 12 for storing cash and controls the opening and closing of the drawer 12a of the drawer 12. On the front side of the POS terminal 100, a mode key 14 is provided for selecting various business modes such as registration, inspection, checkout, and setting. Also, on the keyboard 13 provided in front of the POS terminal 100, an operator (store clerk) outputs a total number of products registered for sale as one commercial transaction, for example, a numeric key for entering a deposit amount or the like. Operation keys for performing various operation inputs such as a subtotal key for instructing are provided. A card reader 11 is provided at a position close to the keyboard 13.

また、POS端末100には、商品に付与されたバーコードを読取るためのスキャナ19が接続されている。さらに、POS端末100には、正面側には店員用ディスプレイ15が、背面側には客用ディスプレイ16が取り付けられており、これらは販売登録された商品の品名、価格や、販売登録の終了が宣言された1商取引の合計金額、釣銭額などを表示するもので、液晶カラーディスプレイ等が用いられる。また、POS端末100は、レシート、ジャーナルやクーポン等を印字するプリンタ17を内蔵しており、プリンタ17によって印字されたレシート等はPOS端末100の正面側に形成されたレシート発行口18から発行される。また、店員用ディスプレイ15の外枠部には扉20が設けてある。図2に示すように、扉20を開くとディスプレイ15の外枠部には、オン・オフの切替によってHDDの切替をすることができるHDD切替スイッチ10が設けられている。ここで切替スイッチ10としては、図2に示すようなスライド式のスイッチとしたが、これに限定されず、ジャンパー式やロータリー式のスイッチでもよい。   The POS terminal 100 is connected to a scanner 19 for reading a barcode attached to a product. Further, the POS terminal 100 is provided with a display 15 for a store clerk on the front side and a display 16 for a customer on the back side. These display the name and price of the product registered for sale and the end of the sales registration. A liquid crystal color display or the like is used to display the declared total amount of money for one transaction, change amount, and the like. The POS terminal 100 has a built-in printer 17 for printing receipts, journals, coupons, and the like. The receipt printed by the printer 17 is issued from a receipt issuing port 18 formed on the front side of the POS terminal 100. The Further, a door 20 is provided on the outer frame portion of the display 15 for the store clerk. As shown in FIG. 2, when the door 20 is opened, the outer frame portion of the display 15 is provided with an HDD changeover switch 10 that can change the HDD by switching on and off. Here, the change-over switch 10 is a slide-type switch as shown in FIG. 2, but is not limited thereto, and may be a jumper-type or rotary-type switch.

図3は、POS端末100の構成を示すブロック図である。POS端末100は、CPU(Central Processing Unit)2と、メモリ4と、RAM(Random Access Memory)5と、表示コントローラ25と、キーボードコントローラ23と、プリンタコントローラ27と、スキャナコントローラ28と、リーダコントローラ21と、チップセット6と、HDDコントローラ7と、通信I/F(インタフェース)29とを備えており、これらがバス3により相互に接続されている。   FIG. 3 is a block diagram showing a configuration of the POS terminal 100. The POS terminal 100 includes a CPU (Central Processing Unit) 2, a memory 4, a RAM (Random Access Memory) 5, a display controller 25, a keyboard controller 23, a printer controller 27, a scanner controller 28, and a reader controller 21. A chip set 6, an HDD controller 7, and a communication I / F (interface) 29, which are connected to each other via a bus 3.

メモリ4は、フラッシュメモリ(フラッシュEEPROM)など書換え可能な不揮発性メモリで構成される。メモリ4は、CPU2が実行する各種プログラムや各種データ、ならびに、BIOS設定41や本実施の形態にかかるプログラムを記憶する記憶手段として機能する。   The memory 4 is composed of a rewritable nonvolatile memory such as a flash memory (flash EEPROM). The memory 4 functions as a storage unit that stores various programs executed by the CPU 2 and various data, as well as the BIOS setting 41 and the program according to the present embodiment.

BIOS設定41は、起動デバイスの優先順位として、複数のHDDを読み込む順番を記憶している。一例としてBIOS設定41は、HDDコントローラ7に接続された複数のHDDのうち、HDポート0に接続されたHDD9aを1番目に読み込み、HDポート1に接続されたHDD9bを2番目に読み込む旨を記憶している。   The BIOS setting 41 stores the order of reading a plurality of HDDs as the priority order of the boot device. As an example, the BIOS setting 41 stores information indicating that the HDD 9a connected to the HD port 0 is read first, and the HDD 9b connected to the HD port 1 is read second among a plurality of HDDs connected to the HDD controller 7. is doing.

RAM5は、CPU2が各種プログラムを実行する際に一時的にデータやプログラムを記憶する。   The RAM 5 temporarily stores data and programs when the CPU 2 executes various programs.

CPU2は、メモリ4が記憶する各種プログラムをRAM5に展開することでPOS端末100の起動処理や、販売登録処理などを行い、POS端末100のシステム全体を制御する制御手段として機能するものである。   The CPU 2 functions as control means for controlling the entire system of the POS terminal 100 by performing various types of programs stored in the memory 4 in the RAM 5 to perform startup processing of the POS terminal 100, sales registration processing, and the like.

表示コントローラ25は、CPU2から表示データが入力された場合に、当該表示データに基づいてディスプレイ15、16に表示を行う。   When the display data is input from the CPU 2, the display controller 25 performs display on the displays 15 and 16 based on the display data.

キーボードコントローラ23は、ユーザのキーボード13における入力操作に応じて操作ボタンやテンキーなどの入力を受付ける。   The keyboard controller 23 accepts inputs such as operation buttons and numeric keys in accordance with an input operation on the user keyboard 13.

プリンタコントローラ27は、CPU2からレシート等の印刷データが入力された場合に、当該印刷データに基づいてプリンタ17による印刷を行う。   When print data such as a receipt is input from the CPU 2, the printer controller 27 performs printing by the printer 17 based on the print data.

スキャナコントローラ28は、スキャナ19によって商品に付されたバーコード等のコードシンボルがスキャンされた場合に、読み取ったコードシンボル情報の入力を受付ける。   The scanner controller 28 receives input of the read code symbol information when a code symbol such as a barcode attached to a product is scanned by the scanner 19.

リーダコントローラ21は、カードリーダ11によって読み取った磁気カードの情報の入力を受付ける。   The reader controller 21 accepts input of information on the magnetic card read by the card reader 11.

通信I/F29は、POS端末100がLAN(Local Area Network)で接続されたストアサーバ(不図示)やインターネットで接続された店舗のサーバ等と相互に通信を行う場合に通信関連の制御を行う。   The communication I / F 29 performs communication-related control when the POS terminal 100 communicates with a store server (not shown) connected via a LAN (Local Area Network) or a store server connected via the Internet. .

HDD9a、9bは、CPU2がOSを起動する場合に読み込むOSプログラムや、CPU2が実行する各種プログラムを記憶している。POS端末100は、一方のHDDが故障しても他方のHDDを稼動することが可能なRAID(Redundant Array of Inexpensive Disks)構成をとっており、HDD9a、9bは同一のデータを格納する。   The HDDs 9a and 9b store an OS program that is read when the CPU 2 starts the OS and various programs that the CPU 2 executes. The POS terminal 100 has a RAID (Redundant Array of Inexpensive Disks) configuration that allows the other HDD to operate even if one HDD fails, and the HDDs 9a and 9b store the same data.

HDDコントローラ7は、SATA方式のHDDインタフェースであり、HDポート0とHDポート1とを備えている。各ポートには、SATA方式のバスを用いてHDDを1台ずつシリアル接続することができる。本実施の形態では、図3に示すように、HDポート0にHDD9aが接続され、HDポート1にHDD9bが接続されている。HDDコントローラ7は、CPU2の制御により、HDDを読み込むHDDポートを選択する。   The HDD controller 7 is a SATA type HDD interface and includes an HD port 0 and an HD port 1. One HDD can be serially connected to each port using a SATA bus. In the present embodiment, as shown in FIG. 3, the HDD 9 a is connected to the HD port 0 and the HDD 9 b is connected to the HD port 1. The HDD controller 7 selects the HDD port from which the HDD is read under the control of the CPU 2.

入力電圧INには、POS端末100に電力が供給された場合に電圧が供給される。   A voltage is supplied to the input voltage IN when power is supplied to the POS terminal 100.

HDD切替スイッチ10は、図2で示したように、オン状態(第1状態)とオフ状態(第2状態)を切替えるスライド式の2値スイッチである。HDD切替スイッチ10がオン状態の場合には、入力電圧INが入力信号としてチップセット6に入力される。一方、HDD切替スイッチ10がオフ状態の場合には、入力電圧INはチップセット6に入力されない。   As shown in FIG. 2, the HDD changeover switch 10 is a slide type binary switch that switches between an on state (first state) and an off state (second state). When the HDD changeover switch 10 is on, the input voltage IN is input to the chip set 6 as an input signal. On the other hand, when the HDD changeover switch 10 is in the OFF state, the input voltage IN is not input to the chip set 6.

チップセット6は、HDD切替スイッチ10がオン状態の場合には、入力信号の値を1とし、HDD切替スイッチ10がオフ状態の場合には、入力信号の値を0として出力する。チップセット6は、これら入力信号の値をバス3を介してCPU2に入力する。   The chip set 6 outputs an input signal value of 1 when the HDD change-over switch 10 is on, and outputs an input signal value of 0 when the HDD change-over switch 10 is off. The chip set 6 inputs the values of these input signals to the CPU 2 via the bus 3.

図4は、POS端末100の機能的構成を示す機能ブロック図である。POS端末100は、メモリ4に格納された本実施の形態にかかるプログラムをCPU2が読み出して実行することにより、検出部31と、起動デバイス設定部32と、起動部33とを主記憶装置上にロードして生成する。   FIG. 4 is a functional block diagram showing a functional configuration of the POS terminal 100. The POS terminal 100 causes the detection unit 31, the activation device setting unit 32, and the activation unit 33 to be installed on the main storage device when the CPU 2 reads out and executes the program according to the present embodiment stored in the memory 4. Generate by loading.

検出部31は、HDD切替スイッチ10のオン状態、オフ状態を検出する。すなわち、検出部31は、チップセット6において入力信号の値が1の場合には、HDD切替スイッチ10がオン状態であると検出し、入力信号の値が0の場合には、HDD切替スイッチ10がオフ状態であると検出する。   The detecting unit 31 detects the on / off state of the HDD changeover switch 10. That is, when the value of the input signal is 1 in the chip set 6, the detection unit 31 detects that the HDD changeover switch 10 is in the on state, and when the value of the input signal is 0, the HDD changeover switch 10. Is detected to be off.

起動デバイス設定部32は、検出部31が検出したHDD切替スイッチ10のオン・オフ状態と、BIOS設定41が記憶する起動デバイスの優先順位とに応じて、HDポート0に接続されたHDD9aまたはHDポート1に接続されたHDD9bのいずれか1つを、OSを起動する起動デバイスとして設定する。   The boot device setting unit 32 selects the HDD 9a or HD connected to the HD port 0 according to the on / off state of the HDD switch 10 detected by the detection unit 31 and the priority of the boot device stored in the BIOS setting 41. One of the HDDs 9b connected to the port 1 is set as a boot device for booting the OS.

即ち、起動デバイス設定部32は、HDD切替スイッチ10がオンの場合には、BIOS設定41が記憶する起動デバイスの優先順位に従って、優先順位が1番目であるHDポート0に接続されたHDD9aを起動デバイスとして設定する。   That is, when the HDD changeover switch 10 is on, the boot device setting unit 32 boots the HDD 9a connected to the HD port 0 having the first priority according to the boot device priority stored in the BIOS setting 41. Set as a device.

また、起動デバイス設定部32は、HDD切替スイッチ10がオフの場合には、BIOS設定41が記憶する起動デバイスの優先順位に対して、優先順位の1番目と2番目とを入替えて、優先順位が2番目であるHDポート1に接続されていたHDD9bを起動デバイスとして設定する。   In addition, when the HDD changeover switch 10 is off, the boot device setting unit 32 switches the priority order of the boot device stored in the BIOS setting 41 between the first and second priorities. The HDD 9b connected to the HD port 1 having the second is set as the boot device.

起動部33は、起動デバイス設定部32により起動デバイスとして設定されたHDDからOSプログラムを読み込んでOSを起動する。   The activation unit 33 reads the OS program from the HDD set as the activation device by the activation device setting unit 32 and activates the OS.

次に、本実施の形態にかかるPOS端末100が行うOS起動処理の手順について説明する。図5は、POS端末100が行うOS起動処理の手順を説明するフローチャートである。   Next, the procedure of OS startup processing performed by the POS terminal 100 according to the present embodiment will be described. FIG. 5 is a flowchart for explaining the procedure of the OS startup process performed by the POS terminal 100.

POS端末100において電源が投入されると、HDD切替スイッチ10に入力電圧INが入力され、HDD切替スイッチ10のオン・オフに応じてチップセット6に入力信号が入力される。検出部31は、チップセット6の入力信号の値を検出し(ステップS1)、検出した入力信号の値が1か判定する(ステップS2)。   When the POS terminal 100 is turned on, the input voltage IN is input to the HDD changeover switch 10, and an input signal is input to the chip set 6 in accordance with the on / off of the HDD changeover switch 10. The detection unit 31 detects the value of the input signal of the chip set 6 (step S1), and determines whether the detected value of the input signal is 1 (step S2).

入力信号の値が1である場合(ステップS2:Yes)に、起動デバイス設定部32はBIOS設定41に設定された起動デバイスの優先順位に従って、HDポート0に接続されたHDD9aを起動デバイスとして設定する(ステップS3)。一方、入力信号の値が0である場合(ステップS2:No)に、起動デバイス設定部32はBIOS設定41で2番目の優先順位に設定されているHDポート1に接続されたHDD9bを起動デバイスとして設定する(ステップS4)。起動部33はステップS3またはステップS4で起動デバイス設定部32が設定した起動デバイスから、OSプログラムを読み込んでOSを起動する(ステップS5)。   When the value of the input signal is 1 (step S2: Yes), the boot device setting unit 32 sets the HDD 9a connected to the HD port 0 as the boot device in accordance with the boot device priority set in the BIOS setting 41. (Step S3). On the other hand, when the value of the input signal is 0 (step S2: No), the activation device setting unit 32 sets the HDD 9b connected to the HD port 1 set to the second priority in the BIOS setting 41 as the activation device. (Step S4). The activation unit 33 reads the OS program from the activation device set by the activation device setting unit 32 in step S3 or step S4 and activates the OS (step S5).

上述のように、POS端末100は、HDD切替スイッチ10のオン・オフ状態に応じて起動デバイスを切替える。従って、ユーザはBIOS設定画面での設定作業を行わずとも、HDD切替スイッチ10を切替えるだけでシリアル接続された起動デバイスを切り替えることができる。これにより、BIOS設定作業に不慣れなユーザであっても、OS起動時に読み込む起動デバイスを簡単に切替えることができるという効果を奏する。   As described above, the POS terminal 100 switches the activation device according to the on / off state of the HDD changeover switch 10. Therefore, the user can switch the serially connected boot device by simply switching the HDD changeover switch 10 without performing the setting operation on the BIOS setting screen. As a result, even a user unfamiliar with the BIOS setting work can easily switch the boot device read when the OS is booted.

(第2の実施の形態)
第2の実施の形態にかかるPOS端末200の機能的構成を示すブロック図を図6に示す。第1の実施の形態と同じ構成については同じ符号を付してここでの説明を省略する。図6に示すように、POS端末200は、HDD切替スイッチ10の切替に応じてBIOS設定41における起動デバイスの優先順位を書換える書換部34を備える。
(Second Embodiment)
FIG. 6 is a block diagram showing a functional configuration of the POS terminal 200 according to the second embodiment. The same components as those in the first embodiment are denoted by the same reference numerals and description thereof is omitted here. As illustrated in FIG. 6, the POS terminal 200 includes a rewriting unit 34 that rewrites the priority order of the boot device in the BIOS setting 41 in accordance with the switching of the HDD changeover switch 10.

書換部34は、検出部31がHDD切替スイッチ10がオフ状態となったことを検出した場合に、HDポート1に接続されたHDD9bが1番目に読み込まれ、HDポート0に接続されたHDD9aが2番目に読み込まれるようにBIOS設定41を書き換える。   When the detection unit 31 detects that the HDD changeover switch 10 is turned off, the rewrite unit 34 reads the HDD 9b connected to the HD port 1 first and the HDD 9a connected to the HD port 0 The BIOS setting 41 is rewritten so that it is read second.

次に、本実施の形態にかかるPOS端末200が行うOS起動処理の手順について説明する。図7は、POS端末200が行うOS起動処理の手順を説明するフローチャートである。   Next, the procedure of the OS startup process performed by the POS terminal 200 according to this embodiment will be described. FIG. 7 is a flowchart for explaining the procedure of OS activation processing performed by the POS terminal 200.

ステップS1、S2は図5のステップS1、S2と同様である。ステップS2において、チップセット6の入力信号の値が1でない場合(ステップS2:No)に、書換部34は、HDポート1に接続されたHDD9bが1番目に読み込まれるように、BIOS設定41における起動デバイスの優先順位を書き換える(ステップS6)。入力信号の値が1である場合(ステップS2:Yes)は、ステップS7に移行する。起動部33は、BIOS設定41が記憶する起動デバイスの優先順位に従って、優先順位が1番目であるHDD9bからOSプログラムを読み込んでOSを起動する(ステップS7)。   Steps S1 and S2 are the same as steps S1 and S2 in FIG. In step S2, when the value of the input signal of the chip set 6 is not 1 (step S2: No), the rewrite unit 34 sets the BIOS 9 so that the HDD 9b connected to the HD port 1 is read first. The priority order of the boot device is rewritten (step S6). When the value of the input signal is 1 (step S2: Yes), the process proceeds to step S7. The boot unit 33 reads the OS program from the HDD 9b having the first priority according to the boot device priority stored in the BIOS setting 41, and boots the OS (step S7).

このようにすることで、ユーザはHDD切替スイッチ10を切替えるだけで簡単にBIOS設定41を変更することができるため、BIOS設定画面での設定作業を行わずともOS起動時に読み込むHDDを簡単かつ迅速に切替えることができる。従って、BIOS設定作業に不慣れなユーザであっても、シリアル接続された起動デバイスを簡単に切替えることができるという効果を奏する。   In this way, the user can easily change the BIOS setting 41 simply by switching the HDD changeover switch 10. Therefore, the HDD to be read when the OS is started up can be easily and quickly performed without performing the setting operation on the BIOS setting screen. Can be switched to. Therefore, even a user who is unfamiliar with the BIOS setting work can easily switch the serially connected startup devices.

尚、本実施形態のPOS端末100、200で実行されるプログラムを、インストール可能な形式又は実行可能な形式のファイルでCD−ROM、フレキシブルディスク(FD)、CD−R、DVD(Digital Versatile Disk)等のコンピュータで読み取り可能な記録媒体に記録されて提供するとしてもよい。   It should be noted that the program executed in the POS terminals 100 and 200 of the present embodiment is a CD-ROM, flexible disk (FD), CD-R, DVD (Digital Versatile Disk) in an installable or executable file. For example, the program may be provided by being recorded on a computer-readable recording medium.

また、本実施形態のPOS端末100、200で実行されるプログラムを、インターネット等のネットワークに接続されたコンピュータ上に格納し、ネットワーク経由でダウンロードさせることにより提供するように構成しても良い。また、本実施形態のPOS端末100,200で実行されるプログラムをインターネット等のネットワーク経由で提供または配布するように構成しても良い。   Further, the program executed by the POS terminals 100 and 200 of the present embodiment may be stored on a computer connected to a network such as the Internet and provided by being downloaded via the network. Further, the program executed by the POS terminals 100 and 200 according to the present embodiment may be configured to be provided or distributed via a network such as the Internet.

尚、HDD切替スイッチ10は2値スイッチに限られるものではなく、切替えるHDDの数に合わせて、3値以上のスイッチとしてもよい。これにより、3つ以上のHDDを使用する場合においても、OS起動時に1番目に読み込むHDDを簡単に選択できるという効果を奏する。   The HDD selector switch 10 is not limited to a binary switch, and may be a switch of three or more values according to the number of HDDs to be switched. As a result, even when three or more HDDs are used, the first HDD to be read when the OS is started can be easily selected.

以上のように、本発明にかかる電子機器およびプログラムは、スーパーマーケットや量販店等で用いられるPOS端末に対して特に有用である。   As described above, the electronic device and the program according to the present invention are particularly useful for a POS terminal used in a supermarket or a mass retailer.

100、200 POS端末
10 HDD切替スイッチ
15 ディスプレイ
20 扉
100, 200 POS terminal 10 HDD switch 15 Display 20 Door

特開2002−229742公報JP 2002-229742 A

Claims (6)

複数の記憶装置と、
前記記憶装置のそれぞれをシリアル接続する複数のポートと、
前記ポートにそれぞれ対応する複数の状態を切替える切替スイッチと、
前記切替スイッチの状態を検出する検出手段と、
前記検出手段が検出した前記切替スイッチの状態に応じて、前記複数のポートのうちいずれか1つを選択して、選択した前記ポートに接続された1つの前記記憶装置を起動デバイスとして設定する起動デバイス設定手段と、
を備えたことを特徴とする電子機器。
A plurality of storage devices;
A plurality of ports for serially connecting each of the storage devices;
A changeover switch for switching a plurality of states corresponding to each of the ports;
Detecting means for detecting a state of the changeover switch;
Startup in which one of the plurality of ports is selected according to the state of the changeover switch detected by the detection means, and one storage device connected to the selected port is set as a startup device Device setting means;
An electronic device characterized by comprising:
前記複数のポートから前記各ポートに対応する前記記憶装置を読み込む順番を記憶する記憶手段をさらに備え、
前記起動デバイス設定手段は、前記記憶手段が記憶する前記順番と、前記検出手段が検出した前記切替スイッチの状態とに応じて、前記複数のポートのうちいずれか1つを選択して、選択した前記ポートに接続された1つの前記記憶装置を前記起動デバイスとして設定すること、
を特徴とする請求項1に記載の電子機器。
Storage means for storing the order of reading the storage device corresponding to each port from the plurality of ports;
The activation device setting unit selects and selects one of the plurality of ports according to the order stored in the storage unit and the state of the changeover switch detected by the detection unit. Setting one of the storage devices connected to the port as the boot device;
The electronic device according to claim 1.
前記切替スイッチは、第1状態と第2状態とを切替えて、
前記検出手段は、前記切替スイッチの前記第1状態または前記第2状態を検出し、
前記起動デバイス設定手段は、前記検出手段が前記切替スイッチは前記第1状態であると検出した場合に、前記記憶手段が記憶する前記順番において1番目に読み込むと設定されている前記ポートに接続された前記記憶装置を前記起動デバイスとして設定し、前記検出手段が前記切替スイッチは前記第2状態であると検出した場合に、前記記憶手段が記憶する前記順番において2番目に読み込むと設定されている前記ポートに接続された前記記憶装置を前記起動デバイスとして設定すること、
を特徴とする請求項2に記載の電子機器。
The changeover switch switches between the first state and the second state,
The detecting means detects the first state or the second state of the changeover switch;
The activation device setting means is connected to the port set to be read first in the order stored in the storage means when the detection means detects that the changeover switch is in the first state. The storage device is set as the activation device, and when the detection unit detects that the changeover switch is in the second state, the storage device is set to be read second in the order stored by the storage unit. Setting the storage device connected to the port as the boot device;
The electronic device according to claim 2.
複数の記憶装置と、
前記記憶装置のそれぞれをシリアル接続する複数のポートと、
前記ポートにそれぞれ対応する複数の状態を切替える切替スイッチと、
前記複数のポートから前記各ポートに対応する前記記憶装置を読み込む順番を記憶する記憶手段と、
前記切替スイッチの状態を検出する検出手段と、
前記検出手段が検出した前記切替スイッチの状態に応じて、前記記憶手段が記憶する前記順番を書き換える書換手段と、
を備えたことを特徴とする電子機器。
A plurality of storage devices;
A plurality of ports for serially connecting each of the storage devices;
A changeover switch for switching a plurality of states corresponding to each of the ports;
Storage means for storing an order of reading the storage device corresponding to each port from the plurality of ports;
Detecting means for detecting a state of the changeover switch;
Rewriting means for rewriting the order stored in the storage means according to the state of the changeover switch detected by the detection means;
An electronic device characterized by comprising:
複数の記憶装置と、
前記記憶装置のそれぞれをシリアル接続する複数のポートと、
前記ポートにそれぞれ対応する複数の状態を切替える切替スイッチと、
を備えた電子機器において、コンピュータを、
前記切替スイッチの状態を検出する検出手段と、
前記検出手段が検出した前記切替スイッチの状態に応じて、前記複数のポートのうちいずれか1つを選択して、選択した前記ポートに接続された1つの前記記憶装置を起動デバイスとして設定する起動デバイス設定手段と、
して機能させるプログラム。
A plurality of storage devices;
A plurality of ports for serially connecting each of the storage devices;
A changeover switch for switching a plurality of states corresponding to each of the ports;
In an electronic device equipped with a computer,
Detecting means for detecting a state of the changeover switch;
Startup in which one of the plurality of ports is selected according to the state of the changeover switch detected by the detection means, and one storage device connected to the selected port is set as a startup device Device setting means;
Program to make it work.
複数の記憶装置と、
前記記憶装置のそれぞれをシリアル接続する複数のポートと、
前記ポートにそれぞれ対応する複数の状態を切替える切替スイッチと、
前記複数のポートから前記各ポートに対応する前記記憶装置を読み込む順番を記憶する記憶手段と、
を備えた電子機器において、コンピュータを、
前記切替スイッチの状態を検出する検出手段と、
前記検出手段が検出した前記切替スイッチの状態に応じて、前記記憶手段が記憶する前記順番を書き換える書換手段と、
して機能させるプログラム。
A plurality of storage devices;
A plurality of ports for serially connecting each of the storage devices;
A changeover switch for switching a plurality of states corresponding to each of the ports;
Storage means for storing an order of reading the storage device corresponding to each port from the plurality of ports;
In an electronic device equipped with a computer,
Detecting means for detecting a state of the changeover switch;
Rewriting means for rewriting the order stored in the storage means according to the state of the changeover switch detected by the detection means;
Program to make it work.
JP2009290924A 2009-12-22 2009-12-22 Electronic equipment and program Pending JP2011133978A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009290924A JP2011133978A (en) 2009-12-22 2009-12-22 Electronic equipment and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009290924A JP2011133978A (en) 2009-12-22 2009-12-22 Electronic equipment and program

Publications (1)

Publication Number Publication Date
JP2011133978A true JP2011133978A (en) 2011-07-07

Family

ID=44346675

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009290924A Pending JP2011133978A (en) 2009-12-22 2009-12-22 Electronic equipment and program

Country Status (1)

Country Link
JP (1) JP2011133978A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001184148A (en) * 1999-12-27 2001-07-06 Toshiba Corp Computer system
JP2002149260A (en) * 2000-11-08 2002-05-24 Toshiba Tec Corp Computer device with forcible start-up switch
JP2002351808A (en) * 2001-05-24 2002-12-06 Sharp Corp Method and system for changing priority in reading storage device
JP2006227684A (en) * 2005-02-15 2006-08-31 Seiko Epson Corp Data processor and its error information managing method
JP2006251945A (en) * 2005-03-09 2006-09-21 Nec Engineering Ltd Basic input/output control system
WO2006104197A1 (en) * 2005-03-29 2006-10-05 Fujitsu Limited Information processing device, program, and storage medium
JP2007164420A (en) * 2005-12-13 2007-06-28 Toshiba Tec Corp Merchandise sales data processor
JP2009251680A (en) * 2008-04-01 2009-10-29 Toshiba Tec Corp Method and program for starting information processor

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001184148A (en) * 1999-12-27 2001-07-06 Toshiba Corp Computer system
JP2002149260A (en) * 2000-11-08 2002-05-24 Toshiba Tec Corp Computer device with forcible start-up switch
JP2002351808A (en) * 2001-05-24 2002-12-06 Sharp Corp Method and system for changing priority in reading storage device
JP2006227684A (en) * 2005-02-15 2006-08-31 Seiko Epson Corp Data processor and its error information managing method
JP2006251945A (en) * 2005-03-09 2006-09-21 Nec Engineering Ltd Basic input/output control system
WO2006104197A1 (en) * 2005-03-29 2006-10-05 Fujitsu Limited Information processing device, program, and storage medium
JP2007164420A (en) * 2005-12-13 2007-06-28 Toshiba Tec Corp Merchandise sales data processor
JP2009251680A (en) * 2008-04-01 2009-10-29 Toshiba Tec Corp Method and program for starting information processor

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
CSND200401271001; Ta 152H-1: '第2特集 マザーボードBIOS設定入門:ストレージ関連のBIOS設定' DOS/V POWER REPORT 第13巻,第12号(通巻112号), 20031201, pp.139〜141, 株式会社インプレス *
JPN6012023281; Ta 152H-1: '第2特集 マザーボードBIOS設定入門:ストレージ関連のBIOS設定' DOS/V POWER REPORT 第13巻,第12号(通巻112号), 20031201, pp.139〜141, 株式会社インプレス *

Similar Documents

Publication Publication Date Title
US8805092B2 (en) Store system, reading apparatus, and sales registration apparatus
US20180144320A1 (en) Checkout system and settlement apparatus utilized in the same
JP2009093290A (en) Commodity sales processor
JP4684875B2 (en) Product sales data processing device
JP6794144B2 (en) Operation input device, sales data processing device and program
US20170161712A1 (en) Display device of a point-of-sale terminal and control method thereof
JP6434896B2 (en) POS terminal device, POS terminal exclusive control method, and POS system
JP2009099045A (en) Merchandise sales processor
JP2011133978A (en) Electronic equipment and program
JP5473162B2 (en) Product sales data processing device
JPH08167077A (en) Article sale registration data processor
JP7449113B2 (en) Sales data processing device and program
EP3611650A1 (en) Code symbol reading device and method therefor
JP6920800B2 (en) Payment device, program and logging method
JP2005141485A (en) Commodity sales data processor
JP4381286B2 (en) Product sales data processing device
US20220129939A1 (en) Commodity registration apparatus and commodity registration method
JP5502838B2 (en) Product sales data processing apparatus and program
JP5379764B2 (en) Product sales data processing apparatus and program
JP4825659B2 (en) Product registration processing device
JP6110286B2 (en) Product sales data processing apparatus and program
JP2006330838A (en) Commodity sales data processor
JP2008140072A (en) Electronic device
US20210090409A1 (en) Payment apparatus and payment method for a payment apparatus
JP2011028642A (en) Scanner device, commodity sales processing apparatus, and control program and control method for the processing apparatus

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120425

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120508

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120702

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20121023