JP5642128B2 - Information processing apparatus and program - Google Patents

Information processing apparatus and program Download PDF

Info

Publication number
JP5642128B2
JP5642128B2 JP2012195425A JP2012195425A JP5642128B2 JP 5642128 B2 JP5642128 B2 JP 5642128B2 JP 2012195425 A JP2012195425 A JP 2012195425A JP 2012195425 A JP2012195425 A JP 2012195425A JP 5642128 B2 JP5642128 B2 JP 5642128B2
Authority
JP
Japan
Prior art keywords
application
pos
switching
exclusive
mode
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.)
Expired - Fee Related
Application number
JP2012195425A
Other languages
Japanese (ja)
Other versions
JP2014052738A (en
Inventor
秀明 杉山
秀明 杉山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 JP2012195425A priority Critical patent/JP5642128B2/en
Publication of JP2014052738A publication Critical patent/JP2014052738A/en
Application granted granted Critical
Publication of JP5642128B2 publication Critical patent/JP5642128B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Cash Registers Or Receiving Machines (AREA)

Description

本発明の実施形態は、情報処理装置及びプログラムに関する。   Embodiments described herein relate generally to an information processing apparatus and a program.

従来、スーパーマーケット等の店舗で用いられるPOS端末では、プリンタやコードスキャナ等の各種周辺機器をローカル資源として有している。また、近時では、POS端末としてPC(Personal Computer)等のコンピュータを用いることが行われており、この場合、プログラム(POSアプリケーション)の導入によりPOS業務に係るPOS機能が実現されている。   Conventionally, a POS terminal used in a store such as a supermarket has various peripheral devices such as a printer and a code scanner as local resources. Recently, a computer such as a PC (Personal Computer) is used as a POS terminal. In this case, a POS function related to a POS service is realized by introducing a program (POS application).

ところで、上記のコンピュータを用いたPOS端末では、POSアプリケーション以外にも、他のプログラムが導入されることが一般的である。また、POS端末に接続されたデバイス等のローカル資源は、POSアプリケーション以外の他のプログラムからも使用することが可能である。しかしながら、POS業務の実行時に、このPOS業務で使用するローカル資源が他のプログラムにより使用されると、ロック等の競合状態が発生する可能性があるため、POS業務の妨げになるという問題があった。   By the way, in the POS terminal using the above-described computer, in addition to the POS application, other programs are generally introduced. In addition, local resources such as devices connected to the POS terminal can be used by programs other than the POS application. However, if a local resource used in the POS service is used by another program during execution of the POS service, there is a possibility that a conflicting state such as a lock may occur, which hinders the POS service. It was.

実施の形態の情報処理装置は、一又は複数の資源を有する情報処理装置であって、切替手段と、専有手段とを備える。切替手段は、特定の資源を専有する第1アプリケーションと、前記特定の資源の専有が不要な第2アプリケーションとを、切り替え可能に実行する。専有手段は、前記切替手段により、前記第1アプリケーションと前記第2アプリケーションとの切り替えが行われた場合に、前記第1アプリケーションが専有する前記特定の資源を定義した排他設定情報に基づいて当該特定の資源の排他制御を行う。 The information processing apparatus according to the embodiment is an information processing apparatus having one or more resources, and includes a switching unit and a dedicated unit. The switching means executes a switchable first application dedicated to a specific resource and a second application not requiring the specific resource. The exclusive means, when the switching means is switched between the first application and the second application, the specific means based on the exclusive setting information defining the specific resource exclusive to the first application Perform exclusive control of other resources.

図1は、実施形態に係るPOS端末の概観を例示する図である。FIG. 1 is a diagram illustrating an overview of a POS terminal according to an embodiment. 図2は、実施形態に係るPOS端末の電装系の構成を例示する図である。FIG. 2 is a diagram illustrating the configuration of the electrical system of the POS terminal according to the embodiment. 図3は、図2に示した排他設定情報の一例を模式的に示す図である。FIG. 3 is a diagram schematically illustrating an example of the exclusive setting information illustrated in FIG. 図4は、実施形態に係るPOS端末の機能構成を例示する図である。FIG. 4 is a diagram illustrating a functional configuration of the POS terminal according to the embodiment. 図5は、メイン表示器に表示された動作モードの切り替えに係る操作子を例示する図である。FIG. 5 is a diagram illustrating an example of an operator related to switching of operation modes displayed on the main display. 図6は、メイン表示器に表示された動作モードの切り替えに係る操作子を例示する図である。FIG. 6 is a diagram illustrating an example of an operator related to switching of operation modes displayed on the main display. 図7は、POS端末が実行する動作モード切替処理の手順の一例を示すフローチャートである。FIG. 7 is a flowchart illustrating an example of an operation mode switching process performed by the POS terminal.

図1は、本実施形態にかかる情報処理装置の一例として、POS端末の概観を例示する図である。POS端末1は、現金等を収容するためのドロア2の上に載置されており、このドロア2の引出し2aの開閉を制御する。   FIG. 1 is a diagram illustrating an overview of a POS terminal as an example of an information processing apparatus according to the present embodiment. The POS terminal 1 is placed on a drawer 2 for storing cash or the like, and controls opening and closing of a drawer 2a of the drawer 2.

POS端末1には、正面側にオペレータが預かり金額などを入力するためのキーボード3が設けられている。キーボード3には、置数キーや現計キー等(図示せず)の他、モードスイッチ4が設けられている。モードスイッチ4は、「登録」、「点検」、「精算」、「設定」などの各種業務モードを選択するためのスイッチで、鍵にて操作される。   The POS terminal 1 is provided with a keyboard 3 on the front side for an operator to input a deposit amount. The keyboard 3 is provided with a mode switch 4 in addition to a numeric key and a current key (not shown). The mode switch 4 is a switch for selecting various business modes such as “registration”, “inspection”, “settlement”, “setting”, and is operated with a key.

また、POS端末1の正面側にはオペレータ用のメイン表示器5が接続され、背面側に客用のサブ表示器6が接続される。メイン表示器5及びサブ表示器6は、液晶ディスプレイ等で構成され、販売登録された商品の品名及び価格や、一取引の合計金額や釣銭額などを表示する。なお、メイン表示器5及びサブ表示器6をタッチパネル構成とすることで、各表示器に表示される表示画面と協働して、ユーザからの入力を受け付ける形態としてもよい。   Also, an operator main display 5 is connected to the front side of the POS terminal 1, and a customer sub-display 6 is connected to the back side. The main display 5 and the sub display 6 are composed of a liquid crystal display or the like, and display the product name and price of a product registered for sale, the total amount of a transaction, the amount of change, and the like. In addition, it is good also as a form which receives the input from a user in cooperation with the display screen displayed on each display by making the main display 5 and the sub display 6 into a touch-panel structure.

また、POS端末1には、レシート及びジャーナルを印字するプリンタ7が内蔵されており、このプリンタ7によって印字されたレシートがPOS端末1の正面側に形成されたレシート発行口8から発行される。   The POS terminal 1 has a built-in printer 7 for printing receipts and journals, and a receipt printed by the printer 7 is issued from a receipt issuing port 8 formed on the front side of the POS terminal 1.

また、POS端末1には、商品の販売登録の際に商品ラベルに印刷されたバーコードを読取るためのコードスキャナ9が接続されている。コードスキャナ9は、商品に付されたバーコードから、JAN(Japanese Article Number)やEAN(European Article Number)、UPC(Universal Product Code)等の商品コードを含むデータを読み取り、この読み取ったデータをPOS端末1に出力する。   The POS terminal 1 is connected with a code scanner 9 for reading a barcode printed on a product label at the time of product sales registration. The code scanner 9 reads data including product codes such as JAN (Japanese Article Number), EAN (European Article Number), UPC (Universal Product Code), etc. from the barcode attached to the product, and the read data is POS. Output to the terminal 1.

上記したPOS端末1の電装系は図2に示すように構成されている。ここで、図2はPOS端末1の電装系の構成を例示する図である。   The above-described electrical system of the POS terminal 1 is configured as shown in FIG. Here, FIG. 2 is a diagram illustrating the configuration of the electrical system of the POS terminal 1.

図2に示すように、POS端末1は、CPU(Central Processing Unit)、ROM(Read Only Memory)、RAM(Random Access Memory)等で構成されるコンピュータ構成の制御部11を備え、バス12を介して接続された通信インタフェース13を用いて、図示しないストアコンピュータとの間で相互にオンライン通信を実行し得るように構成されている。   As shown in FIG. 2, the POS terminal 1 includes a control unit 11 having a computer configuration including a CPU (Central Processing Unit), a ROM (Read Only Memory), a RAM (Random Access Memory), and the like. By using the communication interface 13 connected to each other, online communication can be performed with a store computer (not shown).

また、制御部11には、バス12及びI/O機器制御部14を介して、上述したドロア2、キーボード3、メイン表示器5、サブ表示器6、プリンタ7及びコードスキャナ9が接続されている。ドロア2、キーボード3、メイン表示器5、サブ表示器6、プリンタ7及びコードスキャナ9は、例えばUSB(Universal Serial Bus)等の汎用インタフェースを用いて接続される。   The drawer 11, the keyboard 3, the main display 5, the sub display 6, the printer 7, and the code scanner 9 are connected to the control unit 11 via the bus 12 and the I / O device control unit 14. Yes. The drawer 2, the keyboard 3, the main display 5, the sub display 6, the printer 7, and the code scanner 9 are connected using a general-purpose interface such as USB (Universal Serial Bus).

また、制御部11には、バス12及びI/O機器制御部14を介して、HDD(Hard Disk Drive)やSSD(Solid State Drive)等の記憶装置から構成される記憶部15が接続されている。記憶部15には、POS端末1の動作に係る各種のファイルが記憶されている。   The control unit 11 is connected to a storage unit 15 including a storage device such as an HDD (Hard Disk Drive) or an SSD (Solid State Drive) via the bus 12 and the I / O device control unit 14. Yes. The storage unit 15 stores various files related to the operation of the POS terminal 1.

例えば、記憶部15には、商品の売上登録に係るファイルとして、電子化されたジャーナルデータを保管するためのジャーナルファイル151と、このPOS端末1で売上登録された売上データ等を商品部門別、時間帯別、キャッシャ別などの項目別に累積処理するための合計ファイル152とが記憶されている。   For example, the storage unit 15 stores a journal file 151 for storing electronic journal data as a file related to product sales registration, and sales data registered by the POS terminal 1 for each product department. A total file 152 for accumulating processing for each item such as time zone and cashier is stored.

また、記憶部15には、POS端末1が後述するPOSモードが動作する場合に、排他処理の対象となるローカル資源を定義した排他設定情報153が記憶されている。   In addition, the storage unit 15 stores exclusive setting information 153 that defines local resources to be subjected to exclusive processing when the POS terminal 1 operates in a POS mode to be described later.

ここで、図3は、排他設定情報153の一例を模式的に示す図である。同図に示すように、排他設定情報153には、POSモードでの動作時に排他処理の対象となるローカル資源として、デバイス及びファイルが定義されている。なお、図3では、POS機能の有効時に排他処理の対象となるデバイスとして、POS業務時に主に用いるドロア2、サブ表示器6、プリンタ7及びコードスキャナ9を定義した例を示している。また、POSモードでの動作時に排他処理の対象となるファイルとして、上述したジャーナルファイル151及び合計ファイル152を定義した例を示している。   Here, FIG. 3 is a diagram schematically illustrating an example of the exclusive setting information 153. As shown in the figure, in the exclusion setting information 153, devices and files are defined as local resources that are subject to exclusion processing during operation in the POS mode. FIG. 3 shows an example in which a drawer 2, a sub display 6, a printer 7, and a code scanner 9 that are mainly used during POS operations are defined as devices to be subjected to exclusive processing when the POS function is valid. In addition, an example is shown in which the above-described journal file 151 and total file 152 are defined as files to be subjected to exclusive processing during operation in the POS mode.

なお、排他設定情報153の設定内容は、図3の例に限らず、POS端末1が有する任意のローカル資源を、排他処理の対象に設定できるものとする。例えば、POS端末1が有する全てのローカル資源を排他処理の対象に設定してもよいし、図3の設定内容とは異なる一部のローカル資源を排他処理の対象に設定してもよい。   Note that the setting content of the exclusive setting information 153 is not limited to the example of FIG. 3, and any local resource that the POS terminal 1 has can be set as an exclusive processing target. For example, all local resources of the POS terminal 1 may be set as exclusion processing targets, or some local resources different from the setting contents of FIG. 3 may be set as exclusion processing targets.

また、記憶部15には、制御部11との協働によりPOS端末1に所定の機能を実現させるための各種の制御プログラムが予め記憶されている。例えば、記憶部15には、POS端末1に、POS業務に係るPOS機能を実現させるためのプログラム(以下、POSアプリケーションという)や、POS業務以外の他の業務に係る機能等を実現させるためのプログラム(以下、非POSアプリケーションという)が記憶されている。   The storage unit 15 stores in advance various control programs for causing the POS terminal 1 to realize predetermined functions in cooperation with the control unit 11. For example, the storage unit 15 causes the POS terminal 1 to realize a program (hereinafter referred to as a POS application) for realizing a POS function related to a POS service, a function related to a business other than the POS service, or the like. A program (hereinafter referred to as a non-POS application) is stored.

ここで、制御部11は、POSアプリケーションによりPOS機能がアクティブ化されたPOSモード時において、キーボード3のモードスイッチ4が精算モードに設定されている状態で、コードスキャナ9による商品コードの読み取りや、置数キーによる商品の入力、及び、置数キーによる売上数量の入力等があると、その商品の売上登録処理を開始する。   Here, in the POS mode in which the POS function is activated by the POS application, the control unit 11 reads the product code by the code scanner 9 while the mode switch 4 of the keyboard 3 is set to the settlement mode, When there is an input of a product with a numeric key, an input of a sales quantity with a numeric key, etc., sales registration processing for that product is started.

売上登録処理において、制御部11は、コードスキャナ9により入力された商品コードを、RAMのワークエリアに記憶する。また、制御部11は、キーボード3により入力された取引種別を、RAMのワークエリアに記憶する。ここで、取引種別としては、例えば、通常取引、値引取引、カード支払等が挙げられる。   In the sales registration process, the control unit 11 stores the product code input by the code scanner 9 in the work area of the RAM. Moreover, the control part 11 memorize | stores the transaction classification input with the keyboard 3 in the work area of RAM. Here, examples of the transaction type include normal transactions, discount transactions, card payments, and the like.

そして、制御部11は、ワークエリアに記憶した情報に基づいて図示しないストアコンピュータに格納された商品マスタテーブルを検索することにより、販売価格や商品名等を取得して、これらの商品コード、販売個数、商品名、販売価格等に基づく売上データを生成する。なお、商品マスタテーブルには、各商品の商品コード関連付けて、その商品の種別、商品名、単価等が予め登録されているものとする。   And the control part 11 acquires sales price, a product name, etc. by searching the goods master table stored in the store computer which is not illustrated based on the information memorize | stored in the work area, These goods codes, sales Sales data based on the number, product name, sales price, etc. is generated. In the product master table, the product type, product name, unit price, etc. of the product are registered in advance in association with the product code of each product.

その後、制御部11は、商品コードが入力される毎にその売上合計金額を算出し、これを現計キーが押下されるまで繰り返す。現計キーが押下されると、制御部11はこの売上データを、本取引を識別するための取引番号とともにストアコンピュータの店舗売上テーブルに登録する。また、制御部11は、売上登録に係るジャーナルデータをジャーナルファイル151に登録するとともに、売上データを合計ファイル152に登録する。   Thereafter, the control unit 11 calculates the total sales amount each time the product code is input, and repeats this until the current key is pressed. When the current total key is pressed, the control unit 11 registers this sales data in the store sales table of the store computer together with a transaction number for identifying this transaction. Further, the control unit 11 registers journal data related to sales registration in the journal file 151 and registers sales data in the total file 152.

一方、制御部11は、非POSアプリケーションによる非POS機能がアクティブ化された非POSモード時において、例えば、メールの送受信やWEBコンテンツの参照等のPOS機能以外の他の機能(非POS機能)を、POS端末1に実現させる。なお、POSモード及び非POSモードは、共通のOS(オペレーティングシステム)の下で動作する形態としてもよい。   On the other hand, in the non-POS mode in which the non-POS function by the non-POS application is activated, the control unit 11 performs other functions (non-POS function) other than the POS function such as transmission / reception of e-mail and browsing of web contents. POS terminal 1 is realized. The POS mode and the non-POS mode may be configured to operate under a common OS (operating system).

また、記憶部15には、上記したPOSモードと非POSモードとの切り替えに係る制御プログラム(以下、排他処理プログラムという)が記憶されている。   The storage unit 15 stores a control program (hereinafter referred to as an exclusive processing program) related to switching between the POS mode and the non-POS mode.

ここで、図4は、制御部11と排他処理プログラムとの協働により実現される、POS端末1の機能構成を例示する図である。図4に示すように、POS端末1は、動作モード切替部111と、排他処理部112とを機能部として備える。   Here, FIG. 4 is a diagram illustrating a functional configuration of the POS terminal 1 realized by the cooperation of the control unit 11 and the exclusive processing program. As illustrated in FIG. 4, the POS terminal 1 includes an operation mode switching unit 111 and an exclusive processing unit 112 as functional units.

動作モード切替部111は、ユーザからの指示に応じて、POS端末1の動作モードをPOSモード又は非POSモードに切り替えることで、何れか一方の動作モードをアクティブ化する。ここで、動作モードのアクティブ化とは、その動作モードでの機能をユーザが利用可能な状態にすることを意味する。また、アクティブ化された動作モード以外の他の動作モードについては、そのアプリケーションが休止又は終了されることで非アクティブ化されるものとする。   The operation mode switching unit 111 activates one of the operation modes by switching the operation mode of the POS terminal 1 to the POS mode or the non-POS mode in accordance with an instruction from the user. Here, the activation of the operation mode means that a function in the operation mode is made available to the user. In addition, the operation modes other than the activated operation mode are deactivated when the application is paused or terminated.

なお、動作モード切り替えの指示方法は特に問わないものとする。例えば、キーボード3に設けられた所定のキーの操作に応じて動作モードを切り替える形態としてもよい。また、メイン表示器5に、動作モードを切り替えるための操作ボタンやアイコン画像等の操作子を表示し、この操作子に対する操作に応じて動作モードを切り替える形態としてもよい。   The operation mode switching instruction method is not particularly limited. For example, the operation mode may be switched according to an operation of a predetermined key provided on the keyboard 3. Further, an operation button such as an operation button for switching the operation mode or an icon image may be displayed on the main display 5 and the operation mode may be switched according to an operation on the operation element.

図5、図6は、メイン表示器5に表示された動作モードの切り替えに係る操作子を例示する図である。図5は、POSモード時にメイン表示器5に表示される画面の一例を示している。同図において、領域A11には、現在日時(2012/01/27(金) 13:57)の他、商品の売上登録等に係る各種ボタンが設けられている。   FIG. 5 and FIG. 6 are diagrams illustrating an example of an operation element related to switching of operation modes displayed on the main display 5. FIG. 5 shows an example of a screen displayed on the main display 5 in the POS mode. In the figure, the area A11 is provided with various buttons related to sales registration of products in addition to the current date and time (2012/01/27 (Friday) 13:57).

図5において、PC切替ボタンB11は、POSモードから非POSモードへの切り替えを指示するための操作子である。PC切替ボタンB11が操作されると、動作モード切替部111は、POS端末1の動作モードを現在のPOSモードから非POSモードに切り替え、図6に示す画面を表示する。なお、領域A12にはPOS業務に係る各種の情報(商品の品名及び価格や、一取引の合計金額や釣銭額等)が表示される。   In FIG. 5, a PC switching button B11 is an operator for instructing switching from the POS mode to the non-POS mode. When the PC switching button B11 is operated, the operation mode switching unit 111 switches the operation mode of the POS terminal 1 from the current POS mode to the non-POS mode, and displays the screen shown in FIG. In the area A12, various kinds of information related to the POS business (product name and price, total amount of a transaction, change amount, etc.) are displayed.

図6は、非POSモード時にメイン表示器5に表示される画面の一例を示している。同図において、POSアイコンB21は、非POSモードからPOSモードへの切り替えを指示するための操作子である。動作モード切替部111は、このPOSアイコンB21が操作されると、POS端末1の動作モードを非POSモードからPOSモードに切り替え、図5の画面を表示する。なお、領域A21には、例えばOSのデスクトップ画面等が表示される。   FIG. 6 shows an example of a screen displayed on the main display 5 in the non-POS mode. In the figure, a POS icon B21 is an operator for instructing switching from the non-POS mode to the POS mode. When the POS icon B21 is operated, the operation mode switching unit 111 switches the operation mode of the POS terminal 1 from the non-POS mode to the POS mode, and displays the screen of FIG. In the area A21, for example, an OS desktop screen or the like is displayed.

図4に戻り、排他処理部112は、動作モード切替部111による動作モードの切り替えに応じて、排他設定情報153に設定されたデバイス及びファイルの排他処理を行う。   Returning to FIG. 4, the exclusion processing unit 112 performs exclusion processing of the device and file set in the exclusion setting information 153 in accordance with the switching of the operation mode by the operation mode switching unit 111.

具体的に、排他処理部112は、POS端末1の動作モードが非POSモードからPOSモードに切り替えられた場合、排他設定情報153に設定されたローカル資源(デバイス及びファイル)の排他処理を行うことで、そのローカル資源をPOS機能の専有状態とする。また、排他処理部112は、POS端末1の動作モードがPOSモードから非POSモードに切り替えられた場合に、排他設定情報153に設定されたローカル資源に対する排他処理を停止することで、当該ローカル資源を専有状態から解除(解放)する。   Specifically, when the operation mode of the POS terminal 1 is switched from the non-POS mode to the POS mode, the exclusive processing unit 112 performs an exclusive process on the local resources (device and file) set in the exclusive setting information 153. Then, the local resource is set to the exclusive state of the POS function. In addition, when the operation mode of the POS terminal 1 is switched from the POS mode to the non-POS mode, the exclusive processing unit 112 stops the exclusive processing for the local resource set in the exclusive setting information 153, so that the local resource Is released (released) from the exclusive state.

例えば、図3に示した排他設定情報153の設定内容を用いる場合、排他処理部112は、POSモードへの切り替えに応じて、ドロア2、サブ表示器6、プリンタ7及びコードスキャナ9の各デバイスと、ジャーナルファイル151及び合計ファイル152の各ファイルとに排他処理を施し、POS機能の専有状態とする。また、排他処理部112は、非POSモードへの切り替えに応じて、専有状態にあったドロア2、サブ表示器6、プリンタ7及びコードスキャナ9の各デバイスと、ジャーナルファイル151及び合計ファイル152の各ファイルとを解放する。   For example, when the setting contents of the exclusive setting information 153 shown in FIG. 3 are used, the exclusive processing unit 112 causes each device of the drawer 2, the sub display 6, the printer 7, and the code scanner 9 in accordance with switching to the POS mode. And exclusive processing is performed on each of the journal file 151 and the total file 152 to make the POS function exclusive. In addition, the exclusive processing unit 112 changes the devices of the drawer 2, the sub display 6, the printer 7, and the code scanner 9, the journal file 151, and the total file 152 that are in the exclusive state in response to switching to the non-POS mode. Free with each file.

排他処理部112の制御により、POS端末1がPOSモードで動作している間、POS機能の専有状態にあるローカル資源は、非POSモードから利用することが不可能となる。このように、排他処理部112は、POSモード時において、このPOSモード下で主に利用されるローカル資源を専有状態とする。これにより、POSアプリケーション(POS機能)と非POSアプリケーション(非POS機能)との間で、ローカル資源の競合が発生するのを防ぐことができるとともに、非POSモードから不用意にファイルが操作されてしまうことを防ぐことができるため、POS業務を円滑に進めることができる。   Under the control of the exclusive processing unit 112, while the POS terminal 1 is operating in the POS mode, local resources that are in the exclusive state of the POS function cannot be used from the non-POS mode. As described above, the exclusive processing unit 112 occupies a local resource mainly used in the POS mode in the POS mode. This prevents local resource contention between the POS application (POS function) and the non-POS application (non-POS function), and the file is inadvertently operated from the non-POS mode. Therefore, the POS business can be smoothly advanced.

なお、非POSモードからPOSモードへの切り替え時に、非POS機能によりローカル資源が使用中(ビジィ状態)の場合には、このビジィ状態が終了するまでの間、POSモードへの切り替えを待機する形態としてもよいし、非POSアプリケーションを強制終了した後、POSモードに切り替える形態としてもよい。また、後者の形態を採用する場合には、非POSアプリケーションを強制終了するか否かをユーザに確認するための画面をメイン表示器5に表示してもよい。   When switching from the non-POS mode to the POS mode, if the local resource is in use (busy state) by the non-POS function, the mode of waiting for switching to the POS mode is waited until the busy state ends. Alternatively, after the non-POS application is forcibly terminated, the mode may be switched to the POS mode. When the latter form is adopted, a screen for confirming to the user whether or not to forcibly terminate the non-POS application may be displayed on the main display 5.

また、POSモードから非POSモードへの切り替え時についても、POS機能によりローカル資源が使用中(ビジィ状態)の場合には、このビジィ状態が終了するまでの間、非POSモードへの切り替えを待機する形態としてもよいし、POSアプリケーションを強制終了した後、非POSモードに切り替える形態としてもよい。また、後者の形態を採用する場合には、POSアプリケーションを強制終了するか否かをユーザに確認するための画面をメイン表示器5に表示してもよい。   Also, when switching from the POS mode to the non-POS mode, if the local resource is in use (busy state) by the POS function, the switch to the non-POS mode is waited until the busy state ends. Alternatively, the mode may be switched to the non-POS mode after the POS application is forcibly terminated. When the latter form is adopted, a screen for confirming to the user whether or not to forcibly terminate the POS application may be displayed on the main display 5.

次に、上記した構成のPOS端末1が行う動作モード切替処理について説明する。ここで、図7は、POS端末1が実行する動作モード切替処理の手順の一例を示すフローチャートである。   Next, an operation mode switching process performed by the POS terminal 1 configured as described above will be described. Here, FIG. 7 is a flowchart showing an example of the procedure of the operation mode switching process executed by the POS terminal 1.

まず、動作モード切替部111は、動作モードの切り替えが指示されるまで待機する(ステップS11;No)。動作モードに切り替えが指示されたと判定すると(ステップS11;Yes)、動作モード切替部111は、切り替えが指示された動作モードが、POSモードか非POSモードかを判定する(ステップS12)。   First, the operation mode switching unit 111 waits until an instruction to switch the operation mode is given (step S11; No). When it is determined that switching to the operation mode is instructed (step S11; Yes), the operation mode switching unit 111 determines whether the operation mode instructed to switch is a POS mode or a non-POS mode (step S12).

ステップS12において、POSモードへの切り替えが指示されたと判定した場合(ステップS12;Yes)、動作モード切替部111は、POS端末1の動作モードを非POSモードからPOSモードへと切り替える(ステップS13)。   If it is determined in step S12 that switching to the POS mode is instructed (step S12; Yes), the operation mode switching unit 111 switches the operation mode of the POS terminal 1 from the non-POS mode to the POS mode (step S13). .

続いて、排他処理部112は、排他設定情報153に設定されたローカル資源に排他処理を施すことで、当該ローカル資源をPOS機能の専有状態に移行させ(ステップS14)、ステップS11に再び戻る。これにより、POS機能がアクティブとなり、専有状態にあるローカル資源(デバイス及びファイル)とともに、POS端末1が備える資源を用いて、上述した売上登録処理等を実行することが可能となる。   Subsequently, the exclusive processing unit 112 performs exclusive processing on the local resource set in the exclusive setting information 153 to shift the local resource to the exclusive state of the POS function (step S14), and returns to step S11 again. As a result, the POS function becomes active, and the above-described sales registration processing and the like can be executed using the resources provided in the POS terminal 1 together with the local resources (devices and files) in the exclusive state.

一方、ステップS12において、非POSモードへの切り替えが指示されたと判定した場合(ステップS12;No)、動作モード切替部111は、POS端末1の動作モードをPOSモードから非POSモードへと切り替える(ステップS15)。   On the other hand, when it is determined in step S12 that switching to the non-POS mode is instructed (step S12; No), the operation mode switching unit 111 switches the operation mode of the POS terminal 1 from the POS mode to the non-POS mode ( Step S15).

続いて、排他処理部112は、排他設定情報153に設定されたローカル資源に対する排他処理を停止することで、POSモードの専有状態から解除(解放)し(ステップS16)、ステップS11に再び戻る。これにより、非POS機能がアクティブとなり、専有状態から解放された資源(デバイス及びファイル)とともに、POS端末1が備える資源を利用することが可能となる。   Subsequently, the exclusive processing unit 112 releases (releases) the exclusive state of the POS mode by stopping the exclusive processing for the local resource set in the exclusive setting information 153 (step S16), and returns to step S11 again. As a result, the non-POS function becomes active, and the resources provided in the POS terminal 1 can be used together with the resources (devices and files) released from the exclusive state.

以上のように、本実施形態によれば、POSアプリケーションの実行時(POSモード時)に、POS業務に主に用いるローカル資源を専有状態とすることができるため、POSアプリケーションと非POSアプリケーションとの間で競合が発生するのを防ぐことができ、POS業務の円滑化を図ることができる。   As described above, according to the present embodiment, when the POS application is executed (in the POS mode), the local resources mainly used for the POS business can be occupied, so that the POS application and the non-POS application It is possible to prevent competition between them and to facilitate the POS operation.

以上、本発明の実施形態を説明したが、上記実施形態は、例として提示したものであり、発明の範囲を限定することは意図していない。上記実施形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更、追加等を行うことができる。また、上記実施形態やその変形は、発明の範囲や要旨に含まれるとともに、特許請求の範囲に記載された発明とその均等の範囲に含まれる。   As mentioned above, although embodiment of this invention was described, the said embodiment was shown as an example and is not intending limiting the range of invention. The above embodiment can be implemented in various other forms, and various omissions, replacements, changes, additions, and the like can be made without departing from the scope of the invention. Moreover, the said embodiment and its deformation | transformation are included in the range of the invention, the summary, and the invention described in the claim, and its equal range.

例えば、上記実施形態では、POS業務に係るデバイス及びファイルを排他設定情報153に登録する形態としたが、これに限らず、他の業務に係るデバイス及びファイルを登録する形態としてもよい。   For example, in the above-described embodiment, the device and file related to the POS job are registered in the exclusive setting information 153. However, the present invention is not limited to this, and a device and file related to another job may be registered.

また、上記実施形態のPOS端末1で実行されるプログラムは、POS端末1が備える記憶媒体(ROM又は記憶部15)に予め組み込んで提供するものとするが、これに限らず、インストール可能な形式又は実行可能な形式のファイルでCD−ROM、フレキシブルディスク(FD)、CD−R、DVD(Digital Versatile Disk)等のコンピュータで読み取り可能な記録媒体に記録して提供するように構成してもよい。さらに、記憶媒体は、コンピュータ或いは組み込みシステムと独立した媒体に限らず、LANやインターネット等により伝達されたプログラムをダウンロードして記憶又は一時記憶した記憶媒体も含まれる。   In addition, the program executed by the POS terminal 1 of the above embodiment is provided by being incorporated in advance in a storage medium (ROM or storage unit 15) provided in the POS terminal 1, but is not limited to this and can be installed. Alternatively, an executable file may be recorded on a computer-readable recording medium such as a CD-ROM, a flexible disk (FD), a CD-R, or a DVD (Digital Versatile Disk). . Furthermore, the storage medium is not limited to a medium independent of a computer or an embedded system, but also includes a storage medium that downloads and stores or temporarily stores a program transmitted via a LAN, the Internet, or the like.

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

1 POS端末
2 ドロア
3 キーボード
4 モードスイッチ
5 メイン表示器
6 サブ表示器
7 プリンタ
8 レシート発行口
9 コードスキャナ
11 制御部
12 バス
13 通信インタフェース
14 I/O機器制御部
15 記憶部
111 動作モード切替部
112 排他処理部
151 ジャーナルファイル
152 合計ファイル
153 排他設定情報
DESCRIPTION OF SYMBOLS 1 POS terminal 2 Drawer 3 Keyboard 4 Mode switch 5 Main display 6 Sub display 7 Printer 8 Receipt issue port 9 Code scanner 11 Control unit 12 Bus 13 Communication interface 14 I / O device control unit 15 Storage unit 111 Operation mode switching unit 112 Exclusive processing unit 151 Journal file 152 Total file 153 Exclusive setting information

特開2004−171065号公報JP 2004-171065 A

Claims (6)

一又は複数の資源を有する情報処理装置であって、
特定の資源を専有する第1アプリケーションと、前記特定の資源の専有が不要な第2アプリケーションとを、切り替え可能に実行する切替手段と、
前記切替手段により、前記第1アプリケーションと前記第2アプリケーションとの切り替えが行われた場合に、前記第1アプリケーションが専有する前記特定の資源を定義した排他設定情報に基づいて当該特定の資源の排他制御を行う専有手段と、
を備える情報処理装置。
An information processing apparatus having one or more resources,
A switching means for switchingly executing a first application that occupies a specific resource and a second application that does not require occupancy of the specific resource ;
When switching between the first application and the second application is performed by the switching means, the exclusion of the specific resource is performed based on the exclusive setting information defining the specific resource dedicated to the first application. A proprietary means of controlling ,
An information processing apparatus comprising:
前記特定の資源自装置が備える特定のデバイスであって、
前記専有手段は、前記切替手段により、前記第1アプリケーションへの切り替えが行われた場合に、前記排他設定情報に基づいて前記特定のデバイスを当該第1アプリケーションの専有状態とする請求項1に記載の情報処理装置。
The specific resource is a specific device that the own apparatus has,
The said exclusive means makes the said specific device the exclusive state of the said 1st application based on the said exclusive setting information, when the switch to the said 1st application is performed by the said switching means. Information processing device.
前記特定の資源自装置に記憶された特定のファイルであって、
前記専有手段は、前記切替手段により、前記第1アプリケーションへの切り替えが行われた場合に、前記排他設定情報に基づいて前記特定のファイルを当該第1アプリケーションの専有状態とする請求項1又は2に記載の情報処理装置。
The specific resource is a specific file stored in the device ,
3. The exclusive device sets the specific file to the exclusive state of the first application based on the exclusive setting information when the switching device switches to the first application. The information processing apparatus described in 1.
前記切替手段は、前記第2アプリケーションから前記第1アプリケーションへの切り替えを指示するためのインタフェースを、前記第2アプリケーションの操作画面内に表示し、当該インタフェースを介したユーザからの指示に応じて、前記第1アプリケーションへの切り替えを行う請求項1〜3の何れか一項に記載の情報処理装置。 The switching means displays an interface for instructing switching from the second application to the first application in the operation screen of the second application, and according to an instruction from the user via the interface, The information processing apparatus according to any one of claims 1 to 3, wherein switching to the first application is performed. 前記切替手段は、前記第1アプリケーション及び前記第2アプリケーションの何れか一方のアプリケーションの実行中に他方のアプリケーションへ切り替えを行う場合に、前記一方のアプリケーションを終了するか否かをユーザに確認し、終了が指示されると、前記一方のアプリケーションを終了した後、前記他方のアプリケーションを実行する請求項1〜4の何れか一項に記載の情報処理装置。The switching means confirms with the user whether or not to end the one application when switching to the other application during execution of either the first application or the second application, The information processing apparatus according to any one of claims 1 to 4, wherein when the termination is instructed, the other application is executed after the one application is terminated. 一又は複数の資源を有する情報処理装置のコンピュータを、
特定の資源を専有する第1アプリケーションと、前記特定の資源の専有が不要な第2アプリケーションとを、切り替え可能に実行する切替手段と、
前記切替手段により、前記第1アプリケーションと前記第2アプリケーションとの切り替えが行われた場合に、前記第1アプリケーションが専有する前記特定の資源を定義した排他設定情報に基づいて当該特定の資源の排他制御を行う専有手段と、
して機能させるためのプログラム。
A computer of an information processing apparatus having one or more resources,
A switching means for switchingly executing a first application that occupies a specific resource and a second application that does not require occupancy of the specific resource ;
When switching between the first application and the second application is performed by the switching means, the exclusion of the specific resource is performed based on the exclusive setting information defining the specific resource dedicated to the first application. A proprietary means of controlling ,
Program to make it function.
JP2012195425A 2012-09-05 2012-09-05 Information processing apparatus and program Expired - Fee Related JP5642128B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012195425A JP5642128B2 (en) 2012-09-05 2012-09-05 Information processing apparatus and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012195425A JP5642128B2 (en) 2012-09-05 2012-09-05 Information processing apparatus and program

Publications (2)

Publication Number Publication Date
JP2014052738A JP2014052738A (en) 2014-03-20
JP5642128B2 true JP5642128B2 (en) 2014-12-17

Family

ID=50611201

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012195425A Expired - Fee Related JP5642128B2 (en) 2012-09-05 2012-09-05 Information processing apparatus and program

Country Status (1)

Country Link
JP (1) JP5642128B2 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005084759A (en) * 2003-09-04 2005-03-31 World:Kk Pos terminal equipment, pos system, and program
JP2007219741A (en) * 2006-02-15 2007-08-30 Ricoh Co Ltd Information processor, method of processing information, recording medium and program
JP4407662B2 (en) * 2006-04-05 2010-02-03 ソニー株式会社 Information processing apparatus and application arbitration method

Also Published As

Publication number Publication date
JP2014052738A (en) 2014-03-20

Similar Documents

Publication Publication Date Title
JP6572884B2 (en) POS system and control method of POS system
JP6181623B2 (en) Checkout system, product registration apparatus and control program thereof, and settlement apparatus and control program thereof
US20150356616A1 (en) Graphical user interface implemented in a mobile computing device that displays alternate images to communicate a product purchase or a product promotion to a user of the mobile computing device
JP7215556B2 (en) Product registration device, control method and program
JP2011253234A (en) Pos register and pos system
JP5736340B2 (en) Accounting system and computer program
JP2012141757A (en) Commodity sales data processor, commodity sales data processing system and program
JP5256322B2 (en) Sales processing device, program, sales processing system, and discount product setting device
JP5642128B2 (en) Information processing apparatus and program
JP6228094B2 (en) Product registration device, control program thereof, and checkout system
JP6449964B2 (en) Product registration device, control program thereof, and checkout system
JP7238932B2 (en) Product registration device, control method, and program
JP5627716B2 (en) Payment apparatus and program
JP6874186B2 (en) Product registration device and its control program, as well as checkout system
JP6373172B2 (en) Product sales data processing device, product sales data processing system
JP2012022471A (en) Commodity sales data processor and control program thereof
JP2021101380A (en) Commodity sales data processing device and data processing program
JP5748715B2 (en) Code symbol reader and program
US20240203216A1 (en) Registration device and registration method
JP2006330838A (en) Commodity sales data processor
JP6213962B2 (en) Payment terminal and program
JP7340570B2 (en) Product sales data processing device
JP2024088066A (en) Registration device and program
JP6769539B2 (en) Sales data processing equipment and programs
JP5037466B2 (en) Merchandise sales data processing apparatus and control program thereof

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140528

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140603

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140804

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20141028

R150 Certificate of patent or registration of utility model

Ref document number: 5642128

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees