Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP5293261B2 - Server device, data processing device, and program - Google Patents
[go: Go Back, main page]

JP5293261B2 - Server device, data processing device, and program - Google Patents

Server device, data processing device, and program Download PDF

Info

Publication number
JP5293261B2
JP5293261B2 JP2009042037A JP2009042037A JP5293261B2 JP 5293261 B2 JP5293261 B2 JP 5293261B2 JP 2009042037 A JP2009042037 A JP 2009042037A JP 2009042037 A JP2009042037 A JP 2009042037A JP 5293261 B2 JP5293261 B2 JP 5293261B2
Authority
JP
Japan
Prior art keywords
mail
attendance
business
record
storage means
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
JP2009042037A
Other languages
Japanese (ja)
Other versions
JP2010198285A5 (en
JP2010198285A (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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP2009042037A priority Critical patent/JP5293261B2/en
Publication of JP2010198285A publication Critical patent/JP2010198285A/en
Publication of JP2010198285A5 publication Critical patent/JP2010198285A5/ja
Application granted granted Critical
Publication of JP5293261B2 publication Critical patent/JP5293261B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To prevent any unnecessary mail distribution by distributing only necessary mail to an operation executer of a store. <P>SOLUTION: According to an information center server 2, a CPU 20 stores the attendance/leaving information of the operation executer of a store transmitted from a sales data processing apparatus 1 in an attendance/leaving history file 242 stored in a storage part 24, and discriminates the operation executer as the object of distribution of mail related with the sales data or operation contact based on the attendance/leaving information stored in the attendance/leaving history file 242, and transmits electronic mail to the address of the portable terminal of the operation executer discriminated as the object of distribution by a mail distribution device 27. <P>COPYRIGHT: (C)2010,JPO&amp;INPIT

Description

本発明は、サーバ装置、データ処理装置及びプログラムに関する。 The present invention relates to a server device, a data processing device, and a program.

従来、店舗の売上データや業務連絡をオーナー、店長、店員等の業務遂行者の所持する端末装置に送信する技術が知られている。   2. Description of the Related Art Conventionally, a technique for transmitting store sales data and business communication to a terminal device possessed by a business person such as an owner, a store manager, or a store clerk is known.

例えば、特許文献1には、キャッシュレジスタにおいて予め定めた登録業務時間帯における販売データから作成した販売集計データを、サーバを介して店舗責任者等の携帯電話に送信する技術が記載されている。また、特許文献2には、店舗の来客総数、手続完了客総数、レジにおいて許容される客数等の情報に基づいて、店舗において不足するレジ数を算出し、不足レジ数及び店員にレジに着くことを促すメッセージを含む電子メール(以下、メールという)を店員の携帯情報端末に送信する技術が記載されている。   For example, Patent Document 1 describes a technique for transmitting sales summary data created from sales data in a registered business time zone predetermined in a cash register to a mobile phone such as a store manager via a server. Patent Document 2 calculates the number of cashiers deficient in a store based on information such as the total number of customers at the store, the total number of customers who have completed the procedure, the number of customers allowed at the cashier, and arrives at the cashier at the cashier at the shortage. A technique for transmitting an e-mail (hereinafter referred to as an e-mail) including a message for prompting to a store clerk's portable information terminal is described.

特開2008−176484号公報JP 2008-176484 A 特開2006−221367号公報JP 2006-221367 A

従来の技術においては、予め設定されている送信先の端末装置に一律にメールが送信されている。そのため、出勤していないマネージャーや店員等にもメールが配信されてしまう。   In the prior art, mail is uniformly transmitted to a terminal device set in advance. As a result, emails are also distributed to managers and salesclerks who are not working.

しかしながら、例えば、朝、昼、夜の決められたタイミングで実行すべき業務を指示するための業務連絡のメールは、休みのマネージャーや店員等に送信しても無駄である。また、メールの受信先においても、不要なメールが頻繁に受信されるとメールチェックや削除の手間がかかり、重要なメールを見落とす可能性もある。   However, for example, a business communication mail for instructing a business to be executed at a predetermined timing in the morning, noon, and night is useless even if it is transmitted to a manager or a store clerk. In addition, if an unnecessary mail is frequently received at the mail recipient, it takes time to check and delete the mail, and an important mail may be overlooked.

一方、オーナーやジェネラルマネージャー等の店舗の管理者や責任者については、出勤しているか否かにかかわらず、メールを全て受信したいという要望もある。   On the other hand, managers and managers of stores such as owners and general managers also want to receive all emails regardless of whether they are working.

本発明の課題は、店舗の業務遂行者に対し必要なメールのみを配信し、不要なメール配信を防止することである。   An object of the present invention is to distribute only necessary mail to a store business person and to prevent unnecessary mail distribution.

上記課題を解決するため、請求項1に記載の発明は、通信ネットワークを介してデータ処理装置に接続されるサーバ装置であって、電子メールを配信するメール配信手段と、
前記データ処理装置から送信された店舗の業務遂行者の出退勤情報を記憶する記憶手段と、前記記憶手段に記憶されている出退勤情報に基づいて電子メールの配信対象となる業務遂行者を判別し、前記配信対象として判別された業務遂行者の端末装置のアドレスに前記メール配信手段により電子メールを配信させる制御手段と、を備え、前記記憶手段は、更に、前記店舗の業務遂行者の管理レベルを記憶し、前記制御手段は、前記記憶手段に記憶されている管理レベルが予め定められた管理レベルである業務遂行者は電子メールの配信対象と判別し、前記予め定められた管理レベルではない業務遂行者については、前記出退勤情報に基づいて電子メールの配信対象とするか否かの判別を行う、ことを特徴とする
In order to solve the above problems, the invention described in claim 1 is a server device connected to a data processing device via a communication network, and a mail delivery means for delivering an email;
Storage means for storing the attendance and attendance information of the store business performer transmitted from the data processing device, and determining the business performer to which the email is to be distributed based on the attendance and attendance information stored in the storage means, wherein a control means for delivering an electronic mail by the mail distribution unit to the address of the determined business operations of the terminal apparatus as a distribution object, Bei example, said storage unit further business conduct for the administrative level of the store The control means determines that a business performer whose management level stored in the storage means is a predetermined management level is an e-mail delivery target, and is not at the predetermined management level. It is characterized in that the business performer determines whether or not to make an e-mail delivery target based on the attendance / leaving information .

請求項に記載の発明は、電子メールを配信するサーバ装置と通信ネットワークを介して接続されるデータ処理装置であって、操作手段の操作に応じて入力される業務遂行者の出退勤情報を記憶する記憶手段と、前記記憶手段に記憶されている出退勤情報に基づいて電子メールの配信対象となる業務遂行者を判別し、前記配信対象として判別された業務遂行者の端末装置のアドレスへの電子メールの配信要求コマンドを前記サーバ装置に送信する制御手段と、を備え、前記記憶手段は、更に、前記店舗の業務遂行者の管理レベルを記憶し、前記制御手段は、前記記憶手段に記憶されている管理レベルが予め定められた管理レベルである業務遂行者については電子メールの配信対象と判別し、前記予め定められた管理レベルではない業務遂行者は前記出退勤情報に基づいて電子メールの配信対象とするか否かの判別を行う、ことを特徴とする。 According to a third aspect of the present invention, there is provided a data processing device connected to a server device for delivering electronic mail via a communication network, and stores work attendance information that is input in response to an operation of an operation means. And a storage means, and a business person who is a delivery target of an e-mail based on the attendance information stored in the storage means, and an electronic to the address of the terminal of the business person determined as the delivery target e Bei control means for transmitting the mail delivery request command to the server device, wherein the storage means further stores a management level business prosecutor of the store, the control means, stored in said storage means A business person whose management level is a predetermined management level is determined as an e-mail delivery target, and a business person who does not have the predetermined management level. Performed is determined whether or not a distribution target of the e-mail based on the time and attendance information, characterized in that.

本発明によれば、店舗の業務遂行者に対し必要なメールのみを配信し、不要なメール配信を防止することが可能となる。   ADVANTAGE OF THE INVENTION According to this invention, it becomes possible to deliver only necessary mail to the business performer of a store and to prevent unnecessary mail delivery.

本発明の実施形態における店舗システムの全体構成例を示す図である。It is a figure showing the example of whole composition of the store system in the embodiment of the present invention. 図1の売上データ処理装置の機能的構成を示すブロック図である。It is a block diagram which shows the functional structure of the sales data processing apparatus of FIG. 図2の入力部の一例を示す図である。It is a figure which shows an example of the input part of FIG. 図1の情報センタサーバの機能的構成を示すブロック図である。It is a block diagram which shows the functional structure of the information center server of FIG. 図4のRAM(実施形態2において図2のRAM)のデータ格納領域を示す図である。FIG. 5 is a diagram illustrating a data storage area of the RAM of FIG. 4 (the RAM of FIG. 2 in the second embodiment). 図4の記憶部に記憶される出退勤履歴ファイルのデータ格納例を示す図である。It is a figure which shows the data storage example of the attendance / leaving history file memorize | stored in the memory | storage part of FIG. 図4の記憶部(実施形態2において図2の記憶部)に記憶される従業員設定ファイルのデータ格納例を示す図である。It is a figure which shows the data storage example of the employee setting file memorize | stored in the memory | storage part (memory | storage part of FIG. 2 in Embodiment 2) of FIG. 図4の記憶部に記憶されるメール配信指令設定ファイルのデータ格納例を示す図である。It is a figure which shows the data storage example of the mail delivery command setting file memorize | stored in the memory | storage part of FIG. 図2のCPUにより実行される出退勤情報登録処理を示すフローチャートである。It is a flowchart which shows the attendance / leaving information registration process performed by CPU of FIG. 図2のCPUにより実行されるデータ受信処理を示すフローチャートである。It is a flowchart which shows the data reception process performed by CPU of FIG. 図2のCPUにより実行されるデータ受信処理を示すフローチャートである。It is a flowchart which shows the data reception process performed by CPU of FIG. 図2のCPUにより実行されるメール配信処理を示すフローチャートである。It is a flowchart which shows the mail delivery process performed by CPU of FIG. 図2のCPUにより実行されるメール配信処理を示すフローチャートである。It is a flowchart which shows the mail delivery process performed by CPU of FIG. 図2のCPUにより実行されるメール配信処理を示すフローチャートである。It is a flowchart which shows the mail delivery process performed by CPU of FIG. 図2の記憶部に記憶される出退勤履歴ファイルのデータ格納例を示す図である。It is a figure which shows the data storage example of the attendance / leaving history file memorize | stored in the memory | storage part of FIG. 図2の記憶部に記憶される業務連絡ファイルのデータ格納例を示す図である。It is a figure which shows the example of data storage of the business communication file memorize | stored in the memory | storage part of FIG. 図2のCPUにより実行される出勤情報登録処理を示すフローチャートである。It is a flowchart which shows the attendance information registration process performed by CPU of FIG. 図2のCPUにより実行される退勤情報登録処理を示すフローチャートである。It is a flowchart which shows the leaving information registration process performed by CPU of FIG. 図2のCPUにより実行される釣銭準備処理を示すフローチャートである。It is a flowchart which shows the change preparation process performed by CPU of FIG. 図2のCPUにより実行される点検処理を示すフローチャートである。It is a flowchart which shows the inspection process performed by CPU of FIG. 図2のCPUにより実行される精算処理を示すフローチャートである。It is a flowchart which shows the adjustment process performed by CPU of FIG. 図2のCPUにより実行されるメール配信要求処理を示すフローチャートである。It is a flowchart which shows the mail delivery request | requirement process performed by CPU of FIG. 図2のCPUにより実行されるメール配信要求処理を示すフローチャートである。It is a flowchart which shows the mail delivery request | requirement process performed by CPU of FIG. 図2のCPUにより実行されるメール配信要求処理を示すフローチャートである。It is a flowchart which shows the mail delivery request | requirement process performed by CPU of FIG. 図19CのステップS139で情報センタサーバ2に送信されるメール配信要求コマンドのデータ構成例を示す図である。It is a figure which shows the data structural example of the mail delivery request command transmitted to the information center server 2 by step S139 of FIG. 19C.

以下、図を参照して本発明の実施形態1について詳細に説明する。
まず、構成を説明する。
Hereinafter, Embodiment 1 of the present invention will be described in detail with reference to the drawings.
First, the configuration will be described.

〔実施形態1〕
(店舗システム100の構成)
図1に、本発明の実施形態における店舗システム100の全体構成例を示す。図1に示すように、店舗システム100は、売上データ処理装置1と、情報センタサーバ2とが通信ネットワークNを介してデータ送受信可能に接続されて構成されている。通信ネットワークNは、専用線や既存の公衆回線、インターネット等を利用して構築された情報通信網である。なお、売上データ処理装置1の台数は特に限定されない。
売上データ処理装置1は、電子式キャッシュレジスタ、ECR(Electronic Cash Resister)、金銭登録機等を含むものである。この売上データ処理装置1を使用して業務を遂行する業務遂行者には、マネージャーや店員等の従業員の他、店舗の業務実績に関わるオーナーも含まれる。
Embodiment 1
(Configuration of store system 100)
In FIG. 1, the example of whole structure of the shop system 100 in embodiment of this invention is shown. As shown in FIG. 1, the store system 100 is configured by connecting a sales data processing device 1 and an information center server 2 via a communication network N so that data can be transmitted and received. The communication network N is an information communication network constructed using a dedicated line, an existing public line, the Internet, or the like. The number of sales data processing devices 1 is not particularly limited.
The sales data processing apparatus 1 includes an electronic cash register, an ECR (Electronic Cash Register), a cash register, and the like. The business performer who performs business using the sales data processing apparatus 1 includes managers, store employees and other employees, as well as owners involved in store business performance.

(売上データ処理装置1の構成)
売上データ処理装置1は、店舗に設けられ、従業員の操作に基づいて購買された商品の登録処理(購買された商品の商品名、商品の売上個数、売上金額等の売上データ等の登録)、点検処理、精算処理等を行う。また、売上データ処理装置1は、従業員の操作に基づいて従業員の出退勤情報の入力を受け付ける。
(Configuration of sales data processing apparatus 1)
The sales data processing apparatus 1 is provided in a store, and registration processing of products purchased based on the operations of employees (registration of sales data such as the name of the purchased products, the number of products sold, the sales amount, etc.) , Check processing, settlement processing, etc. Further, the sales data processing apparatus 1 accepts input of employee attendance information based on the employee's operation.

図2に、売上データ処理装置1の機能構成例を示す。図2に示すように、売上データ処理装置1は、CPU(Central Processing Unit)10、入力部11、表示部12、RAM(Random Access Memory)13、記憶部14、通信部15、印字部16、ドロア17、スキャナ部18、計時部19等を備えて構成され、各部はバス101を介して接続されている。   FIG. 2 shows a functional configuration example of the sales data processing apparatus 1. As shown in FIG. 2, the sales data processing apparatus 1 includes a CPU (Central Processing Unit) 10, an input unit 11, a display unit 12, a RAM (Random Access Memory) 13, a storage unit 14, a communication unit 15, a printing unit 16, A drawer 17, a scanner unit 18, a time measuring unit 19, and the like are provided, and each unit is connected via a bus 101.

CPU10は、記憶部14に記憶されているシステムプログラムを読み出し、RAM13のワークエリアに展開し、該システムプログラムに従って各部を制御する。また、CPU10は、記憶部14に記憶されている各種プログラムを読み出してワークエリアに展開し、後述する出退勤情報登録処理を始めとする各種処理を実行する。   The CPU 10 reads the system program stored in the storage unit 14, develops it in the work area of the RAM 13, and controls each unit according to the system program. In addition, the CPU 10 reads out various programs stored in the storage unit 14 and develops them in the work area, and executes various processes including an attendance and attendance information registration process described later.

入力部11は、図3に示すように、テンキー111、部門キー112等の商品登録に必要な各種キーの他、モードキー113、出勤キー114、退勤キー115、釣銭準備キー116等を備えて構成され、各キー操作に応じた操作信号をCPU10に出力する操作手段である。   As shown in FIG. 3, the input unit 11 includes a mode key 113, an attendance key 114, an exit key 115, a change preparation key 116, etc. in addition to various keys necessary for product registration such as a numeric keypad 111 and a department key 112. The operation means is configured to output an operation signal corresponding to each key operation to the CPU 10.

モードキー113は、売上データ処理装置1の動作モードを切り替えるためのキーであり、登録モードキー113a、設定モードキー113b、点検モードキー113c、精算モードキー113dにより構成される。登録モードキー113aは、購買された商品の登録処理を行う登録モードに切り替えるためのキーである。設定モードキー113bは、売上データ処理装置1の各種設定を行う設定モードに切り替えるためのキーである。点検モードキー113cは、登録された売上データの点検処理を行う点検モードに切り替えるためのキーである。精算モードキー113dは、閉店後に1日の売上の精算処理を行う精算モードに切り替えるためのキーである。   The mode key 113 is a key for switching the operation mode of the sales data processing apparatus 1, and includes a registration mode key 113a, a setting mode key 113b, an inspection mode key 113c, and a settlement mode key 113d. The registration mode key 113a is a key for switching to a registration mode for registering purchased products. The setting mode key 113b is a key for switching to a setting mode for performing various settings of the sales data processing apparatus 1. The inspection mode key 113c is a key for switching to an inspection mode for inspecting registered sales data. The settlement mode key 113d is a key for switching to a settlement mode for performing a settlement process for sales for one day after the store is closed.

出勤キー114は、店舗の従業員の出勤データを情報センタサーバ2に送信する指示を入力するためのキーである。退勤キー115は、店舗の従業員の退勤データを情報センタサーバ2に送信する指示を入力するためのキーである。
釣銭準備キー116は、ドロア17中の金種毎の枚数(個数)を登録する釣銭準備処理の実行指示を入力するためのキーである。
The attendance key 114 is a key for inputting an instruction to transmit attendance data of store employees to the information center server 2. The leave key 115 is a key for inputting an instruction to transmit the employee's leave data to the information center server 2.
The change preparation key 116 is a key for inputting a change preparation process execution instruction for registering the number (number) of denominations in the drawer 17.

表示部12は、LCD(Liquid Crystal Display)や有機EL(Electro-Luminescence)ディスプレイ等により構成され、CPU10から入力される表示信号の指示に従って、各種画面を表示する。   The display unit 12 includes an LCD (Liquid Crystal Display), an organic EL (Electro-Luminescence) display, and the like, and displays various screens according to instructions of display signals input from the CPU 10.

RAM13は、CPU10により記憶部14から読み出された各種プログラム、入力若しくは出力データ、及びパラメータ等を一時的に格納する。   The RAM 13 temporarily stores various programs read from the storage unit 14 by the CPU 10, input or output data, parameters, and the like.

記憶部14は、半導体の不揮発性メモリ等により構成される。記憶部14は、CPU10で実行されるシステムプログラム、各種処理プログラム、これらのプログラムの実行に必要なデータ等を記憶する。
例えば、記憶部14は、後述する出退勤情報登録処理や、商品の登録処理、点検処理、精算処理等を実行するためのプログラムを記憶している。
これらのプログラムは、コンピュータ読み取り可能なプログラムコードの形態で記憶部14に格納される。CPU10は、当該プログラムコードに従った動作を逐次実行する。
The storage unit 14 is configured by a semiconductor nonvolatile memory or the like. The storage unit 14 stores a system program executed by the CPU 10, various processing programs, data necessary for executing these programs, and the like.
For example, the storage unit 14 stores programs for executing attendance / leaving information registration processing, merchandise registration processing, inspection processing, and settlement processing described later.
These programs are stored in the storage unit 14 in the form of computer-readable program codes. The CPU 10 sequentially executes operations according to the program code.

また、記憶部14は、商品の登録情報(購買された商品の商品名、売上個数、売上金額等の売上データ)を格納するための商品登録情報ファイル141や、売上データ処理装置1が設置されている店舗の店舗名等を記憶している。   The storage unit 14 is also provided with a product registration information file 141 for storing product registration information (sales data such as the product name, sales quantity, sales amount, etc. of the purchased product) and the sales data processing device 1. Stores the store name etc.

通信部15は、モデム、ルータ、ネットワークカード等により構成される。通信部15は、通信ネットワークNを介して接続された情報センタサーバ2等の外部装置とのデータ送受信を行う。   The communication unit 15 includes a modem, a router, a network card, and the like. The communication unit 15 performs data transmission / reception with an external device such as the information center server 2 connected via the communication network N.

印字部16は、例えば、サーマルプリンタ(感熱式プリンタ)であり、レシート用、ジャーナル用のロール紙(感熱紙)を有し、CPU10から入力される指示信号に従って、各ロール紙に対して金額や売上データ等をプリントアウトする。   The printing unit 16 is, for example, a thermal printer (thermal printer), and has receipt and journal roll paper (thermal paper). According to an instruction signal input from the CPU 10, the amount of money or Print out sales data.

ドロア17は、硬貨や紙幣等の現金を収納する引出しである。ドロア17は、CPU10の指示により、引出しが開けられる。   The drawer 17 is a drawer that stores cash such as coins and banknotes. The drawer 17 is opened by the instruction of the CPU 10.

スキャナ部18は、商品に設けられたバーコードを読み取るバーコードリーダやバーコードスキャナ等を備える。   The scanner unit 18 includes a barcode reader, a barcode scanner, or the like that reads a barcode provided on a product.

計時部19は、RTC(Real Time Clock)等の計時回路を内蔵し、現在時刻及び現在日付を計時してCPU10に出力する。   The timer unit 19 incorporates a timer circuit such as RTC (Real Time Clock), and measures the current time and the current date and outputs them to the CPU 10.

(情報センタサーバ2の構成)
情報センタサーバ2は、売上データ処理装置1から送信された売上データを蓄積記憶する。また、情報センタサーバ2は、売上データ処理装置1から送信された従業員の出退データや退勤データを記憶し、予め記憶されたメール配信指令に従ってメールを配信する。
(Configuration of information center server 2)
The information center server 2 accumulates and stores sales data transmitted from the sales data processing apparatus 1. In addition, the information center server 2 stores employee leaving / leaving data and leaving data transmitted from the sales data processing apparatus 1 and distributes mail according to a mail distribution instruction stored in advance.

図4に、情報センタサーバ2の機能構成例を示す。図4に示すように、情報センタサーバ2は、CPU20、入力部21、表示部22、RAM23、記憶部24、通信部25、計時部26、メール配信装置27等を備えて構成され、各部はバス28を介して接続されている。   FIG. 4 shows a functional configuration example of the information center server 2. As shown in FIG. 4, the information center server 2 includes a CPU 20, an input unit 21, a display unit 22, a RAM 23, a storage unit 24, a communication unit 25, a time measuring unit 26, a mail distribution device 27, and the like. They are connected via a bus 28.

CPU20は、記憶部24に記憶されているシステムプログラムを読み出し、RAM23内に形成されたワークエリアに展開し、該システムプログラムに従って各部を制御する。また、CPU20は、記憶部24に記憶されている各種処理プログラムを読み出してワークエリアに展開し、後述するデータ受信処理、メール配信処理を始めとする各種処理を実行する。   The CPU 20 reads a system program stored in the storage unit 24, develops it in a work area formed in the RAM 23, and controls each unit according to the system program. Further, the CPU 20 reads out various processing programs stored in the storage unit 24 and develops them in the work area, and executes various processes including a data reception process and a mail delivery process described later.

入力部21は、カーソルキー、数字入力キー、及び各種機能キー等を備えたキーボードと、マウス等のポインティングデバイスを備えて構成され、キーボードに対するキー操作やマウス操作により入力された指示信号をCPU20に出力する。   The input unit 21 includes a keyboard having cursor keys, numeric input keys, various function keys, and the like, and a pointing device such as a mouse. The input signal is input to the CPU 20 through key operations on the keyboard and mouse operations. Output.

表示部22は、LCDやCRT(Cathode Ray Tube)や有機ELディスプレイ等により構成され、CPU20から入力される表示信号の指示に従って、各種画面を表示する。   The display unit 22 is configured by an LCD, a CRT (Cathode Ray Tube), an organic EL display, or the like, and displays various screens according to instructions of display signals input from the CPU 20.

RAM23は、CPU20により記憶部24から読み出された各種プログラム、入力若しくは出力データ、及びパラメータ等を一時的に格納する。
例えば、RAM23は、図5に示すように、メール配信一時メモリ231、従業員設定一時メモリ232、メール配信予定メモリ233等のデータ格納領域を有する。
メール配信一時メモリ231は、後述するメール配信処理において、現時刻で配信すべきメールの送信先及びメール内容を一時的に格納するための領域である。
従業員設定一時メモリ232は、後述するメール配信処理において、メールの送信先に該当する従業員の従業員コード、名前、メールアドレス等を格納するための領域である。
メール配信予定メモリ233は、後述するメール配信処理において、従業員設定一時メモリ232に記憶された従業員のうち、メール配信対象として判別された従業員の従業員コード、名前、メールアドレスを格納するための領域である。
The RAM 23 temporarily stores various programs read from the storage unit 24 by the CPU 20, input or output data, parameters, and the like.
For example, as shown in FIG. 5, the RAM 23 has data storage areas such as a mail delivery temporary memory 231, an employee setting temporary memory 232, and a mail delivery schedule memory 233.
The mail distribution temporary memory 231 is an area for temporarily storing a mail destination and mail contents to be distributed at the current time in a mail distribution process to be described later.
The employee setting temporary memory 232 is an area for storing an employee code, a name, an e-mail address, and the like of an employee corresponding to an e-mail transmission destination in an e-mail delivery process described later.
The mail delivery schedule memory 233 stores the employee code, name, and mail address of the employee determined as the mail delivery target among the employees stored in the employee setting temporary memory 232 in the mail delivery process described later. It is an area for.

記憶部24は、HDD(Hard Disc Drive)や半導体の不揮発性メモリ等により構成される。記憶部24は、CPU20で実行されるシステムプログラムや、データ受信処理、メール配信処理を始めとする各種処理を実行するためのプログラム、これらのプログラムの実行に必要なデータを記憶する。各種プログラムは、コンピュータ読み取り可能なプログラムコードの形態で記憶部24に格納される。CPU20は、当該プログラムコードに従った動作を逐次実行する。   The storage unit 24 includes an HDD (Hard Disc Drive), a semiconductor nonvolatile memory, or the like. The storage unit 24 stores a system program executed by the CPU 20, a program for executing various processes such as a data reception process and a mail delivery process, and data necessary for the execution of these programs. Various programs are stored in the storage unit 24 in the form of computer-readable program codes. The CPU 20 sequentially executes operations according to the program code.

また、記憶部24は、売上情報DB(Data Base)241、出退勤履歴ファイル242、従業員設定ファイル243、メール配信指令設定ファイル244を記憶している。   In addition, the storage unit 24 stores a sales information DB (Data Base) 241, an attendance / leaving history file 242, an employee setting file 243, and a mail delivery command setting file 244.

売上情報DB241は、売上データ処理装置1から送信される売上データを格納するデータベースである。   The sales information DB 241 is a database that stores sales data transmitted from the sales data processing apparatus 1.

出退勤履歴ファイル242は、売上データ処理装置1が設置されている全店舗における従業員の出退勤情報を格納するファイルである。図6に、出退勤履歴ファイル242のデータ格納例を示す。図6に示すように、出退勤履歴ファイル242には、「従業員コード」、「出勤情報(店舗名、出勤時刻)」、「退勤情報(店舗名、退勤時刻)」が対応付けられて1レコードとして格納される。「従業員コード」は、従業員を個別に識別するためのコードである。
売上データ処理装置1から出勤データが受信されると、出退勤履歴ファイル242に1レコードが追加され、出勤データに含まれる従業員コード、店舗名、出勤時刻が格納される。売上データ処理装置1から退勤データが受信されると、出退勤履歴ファイル242において、退勤データと従業員コードが一致し、退勤時刻がセットされていないレコードに、店舗名及び退勤時刻が格納される。
The attendance / leaving history file 242 is a file for storing employee attendance information at all stores where the sales data processing apparatus 1 is installed. FIG. 6 shows a data storage example of the attendance / leaving history file 242. As shown in FIG. 6, the attendance / leaving history file 242 is associated with “employee code”, “attendance information (store name, attendance time)”, and “attempt information (store name, attendance time)”. Stored as “Employee code” is a code for individually identifying an employee.
When attendance data is received from the sales data processing device 1, one record is added to the attendance / leaving history file 242, and the employee code, store name, and attendance time included in the attendance data are stored. When the work data is received from the sales data processing device 1, the work name and the work time are stored in a record in which the work data and the employee code match and the work time is not set in the work attendance history file 242.

従業員設定ファイル243は、売上データ処理装置1が設置されている全店舗の従業員の情報を格納するファイルである。図7に、従業員設定ファイル243のデータ格納例を示す。図7に示すように、従業員設定ファイル243には、各従業員の「従業員コード」、「管理レベル」、「名前」、「メールアドレス」の情報が対応付けられて1レコードとして格納されている。「管理レベル」は、各従業員の職務レベルを示すものであり、「オーナー」、「Gマネージャー」、「マネージャー」、「店員」の何れかが設定可能である。Gマネージャーは、ジェネラルマネージャーの略であり、一又は複数店舗の運営を統括する役職である。「メールアドレス」は、その従業員が所持する携帯端末のメールアドレスである。   The employee setting file 243 is a file that stores information on employees of all stores where the sales data processing apparatus 1 is installed. FIG. 7 shows a data storage example of the employee setting file 243. As shown in FIG. 7, in the employee setting file 243, information of “employee code”, “management level”, “name”, and “email address” of each employee is associated and stored as one record. ing. The “management level” indicates the job level of each employee, and “owner”, “G manager”, “manager”, or “clerk” can be set. G manager is an abbreviation for general manager, and is a position that oversees the operation of one or more stores. “Mail address” is the mail address of the mobile terminal possessed by the employee.

ここで、従業員設定ファイル243では、「従業員コード」を便宜的にオーナーに与えることができ、また、上述のように「管理レベル」に「オーナー」を設定することが可能である。即ち、店舗システム100では、オーナーに従業員コードを与えて従業員と同様に名前、管理レベル、メールアドレスを従業員設定ファイル243に登録しておくことによって、オーナーを従業員と同様に取り扱うことができる。オーナーは、売上データ処理装置1において従業員コードを用いて従業員と同様に各種操作や出退勤情報の登録等を行うことが可能である。   Here, in the employee setting file 243, “employee code” can be given to the owner for convenience, and “owner” can be set to “management level” as described above. That is, in the store system 100, the owner is handled in the same manner as the employee by giving the employee an employee code and registering the name, management level, and email address in the employee setting file 243 in the same manner as the employee. Can do. The owner can use the employee code in the sales data processing apparatus 1 to register various operations and attendance / leaving information in the same manner as the employee.

メール配信指令設定ファイル244は、従業員に配信すべきメールに関する情報を格納するファイルである。図8に、メール配信指令設定ファイル244のデータ格納例を示す。図8に示すように、メール配信指令設定ファイル244には、配信すべき各メールの「配信時刻」、「送信先」、「メール内容」が対応付けられて1レコードとして格納される。「送信先」には、メールの送信先となる管理レベル(オーナー、Gマネージャー、マネージャー、店員)の何れかが設定される。   The mail delivery command setting file 244 is a file that stores information about mail to be delivered to employees. FIG. 8 shows a data storage example of the mail delivery command setting file 244. As shown in FIG. 8, in the mail delivery command setting file 244, “delivery time”, “transmission destination”, and “mail content” of each mail to be delivered are stored as one record. In the “transmission destination”, any of the management levels (owner, G manager, manager, clerk) as the transmission destination of the mail is set.

通信部25は、モデム、ルータ、ネットワークカード等によって構成される。通信部25は、通信ネットワークNに接続された売上データ処理装置1を始めとする外部装置とのデータ送受信を行う。   The communication unit 25 includes a modem, a router, a network card, and the like. The communication unit 25 performs data transmission / reception with an external device such as the sales data processing device 1 connected to the communication network N.

計時部26は、RTC(Real Time Clock)等の計時回路を内蔵し、現在時刻及び現在日付を計時してCPU20に出力する。   The timer unit 26 incorporates a timer circuit such as RTC (Real Time Clock), and measures the current time and the current date and outputs them to the CPU 20.

メール配信装置27は、SMTP(Simple Mail Transfer Protocol)サーバとしての機能を備え、CPU20からの指示に従って、メール配信を行う。   The mail delivery device 27 has a function as an SMTP (Simple Mail Transfer Protocol) server, and delivers mail according to an instruction from the CPU 20.

(店舗システム100の動作)
次に、店舗システム100の動作について説明する。
まず、従業員の出勤時及び退勤時における売上データ処理装置1の処理について説明する。
(Operation of store system 100)
Next, the operation of the store system 100 will be described.
First, the processing of the sales data processing apparatus 1 when an employee goes to work or leaves will be described.

〈出退勤情報登録処理〉
従業員は、出勤すると、入力部11のテンキー111により自身の従業員コードを入力し、出勤キー114を押下する操作を行う。退勤時には、入力部11のテンキー111により自身の従業員コードを入力し、退勤キー115を押下する操作を行う。これらの操作に応じて売上データ処理装置1においては出退勤情報登録処理が実行される。
<Time and attendance information registration process>
When the employee goes to work, he / she inputs his / her employee code using the numeric keypad 111 of the input unit 11 and performs an operation of pressing the work key 114. At the time of leaving the office, the employee code is input by the ten key 111 of the input unit 11 and the operation of pressing the leaving key 115 is performed. In accordance with these operations, the sales data processing apparatus 1 executes attendance / leaving information registration processing.

図9に、出退勤情報登録処理のフローチャートを示す。出退勤情報登録処理は、出勤キー114又は退勤キー115が押下された際に、CPU10とプログラムとの協働により実行される。   FIG. 9 shows a flowchart of the attendance / leaving information registration process. The attendance / leaving information registration process is executed in cooperation with the CPU 10 and the program when the attendance key 114 or the attendance key 115 is pressed.

まず、計時部19から現在時刻が取得され(ステップS1)、出勤/退勤(出勤又は退勤)を区別するコマンドコード、従業者コード、現在時刻、及び店舗名が通信部15により情報センタサーバ2に送信される(ステップS2)。出勤キー114の押下により出退勤情報登録処理が開始された場合は、出勤を示すコマンドコード、従業者コード、現在時刻(即ち、出勤時刻)、及び店舗名からなる出勤データが情報センタサーバ2へ送信される。退勤キー115の押下により出退勤情報登録処理が開始された場合は、退勤を示すコマンドコード、従業者コード、現在時刻(即ち、退勤時刻)、及び店舗名からなる退勤データが情報センタサーバ2へ送信される。   First, the current time is acquired from the time measuring unit 19 (step S1), and the command code, employee code, current time, and store name for distinguishing work / leaving (working or leaving) are stored in the information center server 2 by the communication unit 15. It is transmitted (step S2). When the attendance / leaving information registration process is started by pressing the attendance key 114, attendance data consisting of a command code indicating attendance, an employee code, a current time (ie, attendance time), and a store name is transmitted to the information center server 2. Is done. If the attendance / leaving information registration process is started by pressing the leaving key 115, the leaving data including the command code indicating the leaving time, the employee code, the current time (that is, the leaving time), and the store name is transmitted to the information center server 2. Is done.

情報センタサーバ2への出勤データ又は退勤データの送信後、処理は情報センタサーバ2からの応答待ち状態となる(ステップS3)。通信部15により情報センタサーバ2からの応答が受信されると(ステップS3;YES)、受信された応答の内容が判別される(ステップS4)。受信された応答が出退勤情報登録の正常終了を示すデータ(正常終了+従業員の名前+出勤(退勤)時刻)であると判別されると(ステップS4;正常)、受信された応答に含まれる従業員名及び時刻が表示部12に表示され(ステップS5)、出退勤情報登録処理は終了する。   After sending attendance data or leaving data to the information center server 2, the process waits for a response from the information center server 2 (step S3). When the response from the information center server 2 is received by the communication unit 15 (step S3; YES), the content of the received response is determined (step S4). If it is determined that the received response is data indicating the normal end of the attendance and attendance information registration (normal end + employee name + attendance (exit) time) (step S4; normal), it is included in the received response The employee name and time are displayed on the display unit 12 (step S5), and the attendance / leaving information registration process ends.

一方、通信部15により情報センタサーバ2から受信された応答が出退勤情報登録エラーを示すデータであると判別されると(ステップS4;エラー)、受信された応答に基づいてエラーメッセージが表示部12に表示され(ステップS6)、出退勤情報登録処理は終了する。   On the other hand, if it is determined that the response received from the information center server 2 by the communication unit 15 is data indicating an attendance / leaving information registration error (step S4; error), an error message is displayed based on the received response. (Step S6), and the attendance / leaving information registration process is completed.

次に、情報センタサーバ2の動作について説明する。
〈データ受信処理〉
情報センタサーバ2においては、売上データ処理装置1からのデータの受信に応じて、図10A〜図10Bに示すデータ受信処理が実行される。データ受信処理は、CPU20と記憶部24に記憶されているプログラムとの協働により実行される。
Next, the operation of the information center server 2 will be described.
<Data reception processing>
In the information center server 2, data reception processing shown in FIGS. 10A to 10B is executed in response to reception of data from the sales data processing device 1. The data reception process is executed in cooperation with the CPU 20 and a program stored in the storage unit 24.

通信部25により売上データ処理装置1から送信されたデータが受信されると(ステップS11)、受信されたデータが売上データであるか否かが判断される(ステップS12)。売上データ処理装置1から送信されるデータは、出勤/退勤を区別するためのコマンドコード、又は売上データであることを示すコマンドコードが含まれており、このコマンドコードに基づいて、受信されたデータが売上データであるか否かが判断される。   When the data transmitted from the sales data processing apparatus 1 is received by the communication unit 25 (step S11), it is determined whether or not the received data is sales data (step S12). The data transmitted from the sales data processing apparatus 1 includes a command code for distinguishing between attendance and leaving, or a command code indicating sales data, and data received based on this command code. Whether or not is sales data is determined.

ステップS12において、受信されたデータが売上データであると判断されると(ステップS12;YES)、受信された売上データの確認処理が行われる(ステップS13)。例えば、受信された売上データのデータ構造が、予め定められた売上データのデータ構造であるか、データが壊れていないか等が確認される。確認の結果、予め定められたデータ構造ではない、データが壊れている等の異常が存在した場合(ステップS14;YES)、通信部25により売上データ処理装置1に売上データ登録エラーを示す応答が返送され(ステップS15)、データ受信処理は終了する。確認の結果、売上データに異常が存在しない場合(ステップS14;NO)、売上情報DB241に売上データが格納され(ステップS16)、通信部25により売上データ処理装置1に売上データ登録の正常終了を示す応答が返送され(ステップS17)、データ受信処理は終了する。   If it is determined in step S12 that the received data is sales data (step S12; YES), the received sales data is confirmed (step S13). For example, it is confirmed whether the data structure of the received sales data is a predetermined sales data data structure, whether the data is broken, or the like. As a result of the confirmation, if there is an abnormality such as a data structure that is not a predetermined data structure or data is broken (step S14; YES), a response indicating a sales data registration error is sent to the sales data processing apparatus 1 by the communication unit 25. Returned (step S15), the data reception process ends. As a result of the confirmation, if there is no abnormality in the sales data (step S14; NO), the sales data is stored in the sales information DB 241 (step S16), and the communication unit 25 confirms that the sales data registration is normally completed in the sales data processing apparatus 1. A response is returned (step S17), and the data reception process ends.

ステップS12において、受信されたデータが売上データではないと判断されると(ステップS12;NO)、受信されたデータが出勤データであるか否かが判断される(ステップS18)。受信されたデータが出勤データであると判断されると(ステップS18;YES)、受信された出勤データに含まれる従業員コードと「従業員コード」が一致するレコードが出退勤履歴ファイル242から検索される(ステップS19)。なお、検索時には、RAM23に形成される検索カウンタが使用され、処理対象のレコードの位置が管理される。具体的には、先頭のレコードを1として、以下検索カウンタを1ずつカウントアップ(インクリメント)しながら、最終レコードに向けて順次1レコードずつ、該当するレコードが存在するか又は最終レコードに到達するまで検索が行われる。   If it is determined in step S12 that the received data is not sales data (step S12; NO), it is determined whether the received data is attendance data (step S18). When it is determined that the received data is attendance data (step S18; YES), a record in which the employee code included in the received attendance data matches the “employee code” is retrieved from the attendance / employment history file 242. (Step S19). At the time of search, a search counter formed in the RAM 23 is used to manage the position of the record to be processed. Specifically, the first record is set to 1, and the search counter is incremented (incremented) one by one, one record at a time toward the last record until the corresponding record exists or the last record is reached. A search is performed.

ステップS19における検索の結果、受信された出勤データと「従業員コード」が一致するレコードが存在した場合(ステップS20;YES)、検索されたレコードに「退勤時刻」がセット(格納)されているか否かが判断される(ステップS21)。検索されたレコード「退勤時刻」がセットされていると判断されると(ステップS21;YES)、検索カウンタが1インクリメントされ(ステップS22)、処理はステップS19に戻り、検索カウンタに対応する位置のレコードから新たに検索が開始される。
ここで、「退勤時刻」がセットされているレコードは、過去の出退勤情報であるので、本処理では使用しない。
一方、検索されたレコードに「退勤時刻」がセットされていないと判断されると(ステップS21;NO)、出退勤情報登録エラーを示す応答が通信部25により売上データ処理装置1に返送され(ステップS23)、データ受信処理は終了する。「退勤時刻」がセットされていないレコードが存在した場合、売上データ処理装置1で同一従業員について出勤操作が続けて行われたことを示すので、出退勤情報登録エラーを示す応答が売上データ処理装置1に返送される。
As a result of the search in step S19, if there is a record in which the received attendance data matches the “employee code” (step S20; YES), is “working time” set (stored) in the searched record? It is determined whether or not (step S21). If it is determined that the searched record “working time” is set (step S21; YES), the search counter is incremented by 1 (step S22), the process returns to step S19, and the position corresponding to the search counter is set. A new search is started from the record.
Here, the record in which the “time to leave” is set is past attendance information, so it is not used in this process.
On the other hand, if it is determined that the “working time” is not set in the retrieved record (step S21; NO), a response indicating an attendance / leaving information registration error is returned to the sales data processing device 1 by the communication unit 25 (step S21). S23), the data reception process ends. When there is a record in which “time-off” is not set, it indicates that the attendance operation has been continuously performed for the same employee in the sales data processing apparatus 1, and therefore a response indicating an attendance information registration error is displayed in the sales data processing apparatus. Returned to 1.

ステップS19における検索の結果、受信された出勤データと「従業員コード」が一致するレコードが出退勤履歴ファイル242の以降のレコードに存在せず、最終レコードに到達した場合(ステップS20;NO)、出退勤履歴ファイル242に新規レコードが追加され、受信された出勤データの「従業員コード」、「店舗名」及び「出勤時刻」がセット(格納)される(ステップS24)。そして、従業員コードに対応する「従業員名」が従業員設定ファイル243から取得され(ステップS25)、出退勤情報登録の正常終了を示す応答データ(正常終了+従業員の名前+出勤時刻)が通信部25により売上データ処理装置1に返送され(ステップS26)、データ受信処理は終了する。   As a result of the search in step S19, when the record that matches the received attendance data and the “employee code” does not exist in the subsequent records of the attendance / employment history file 242, the final record is reached (step S20; NO). A new record is added to the history file 242, and the “employee code”, “store name”, and “attendance time” of the received attendance data are set (stored) (step S24). Then, the “employee name” corresponding to the employee code is acquired from the employee setting file 243 (step S25), and response data (normal end + employee name + attendance time) indicating the normal end of the attendance / attendance information registration is obtained. The data is returned to the sales data processing apparatus 1 by the communication unit 25 (step S26), and the data reception process is ended.

一方、ステップS18において、受信されたデータが出勤データではないと判断されると(ステップS18;NO)、受信されたデータが退勤データであるか否かが判断される(ステップS27)。受信されたデータが退勤データであると判断されると(ステップS27;YES)、受信された出勤データに含まれる従業員コードと「従業員コード」が一致するレコードが出退勤履歴ファイル242から検索される(ステップS28)。検索時には、RAM23に形成される検索カウンタが使用され、処理対象のレコードの位置が管理される。具体的には、先頭のレコードを1として、以下検索カウンタを1ずつカウントアップ(インクリメント)しながら、最終レコードに向けて順次1レコードずつ、該当するレコードが存在するか又は最終レコードに到達するまで検索が行われる。   On the other hand, if it is determined in step S18 that the received data is not attendance data (step S18; NO), it is determined whether or not the received data is leaving data (step S27). When it is determined that the received data is leaving data (step S27; YES), a record in which the employee code included in the received attendance data matches the “employee code” is searched from the attendance / leaving history file 242. (Step S28). When searching, a search counter formed in the RAM 23 is used to manage the position of the record to be processed. Specifically, the first record is set to 1, and the search counter is incremented (incremented) one by one, one record at a time toward the last record until the corresponding record exists or the last record is reached. A search is performed.

ステップS28における検索の結果、受信された退勤データと「従業員コード」が一致するレコードが存在した場合(ステップS29;YES)、検索されたレコードに「退勤時刻」がセットされているか否かが判断される(ステップS30)。検索されたレコードに「退勤時刻」がセットされていると判断されると(ステップS30;YES)、検索カウンタが1インクリメントされ(ステップS31)、処理はステップS28に戻り、検索カウンタに対応する位置のレコードから新たに検索が開始される。ここで、「退勤時刻」がセットされているレコードは、過去の出退勤情報であるので、本処理では使用しない。
一方、検索されたレコードに「退勤時刻」がセットされていないと判断されると(ステップS30;NO)、出退勤履歴ファイル242の検索されたレコードに「店舗名」及び「退勤時刻」が格納される(ステップS32)。そして、「従業員コード」に対応する「従業員名」が従業員設定ファイル243から取得され(ステップS33)、出退勤情報登録の正常終了を示す応答データ(正常終了+従業員の名前+退勤時刻)が通信部25により売上データ処理装置1に返送され(ステップS34)、データ受信処理は終了する。
As a result of the search in step S28, if there is a record in which the received work time data and the “employee code” match (step S29; YES), it is determined whether or not “work time” is set in the retrieved record. Judgment is made (step S30). If it is determined that “working time” is set in the searched record (step S30; YES), the search counter is incremented by 1 (step S31), the process returns to step S28, and the position corresponding to the search counter A new search is started from this record. Here, the record in which the “time to leave” is set is past attendance information, so it is not used in this process.
On the other hand, if it is determined that the “working time” is not set in the retrieved record (step S30; NO), the “store name” and the “working time” are stored in the retrieved record of the attendance / leaving history file 242. (Step S32). Then, the “employee name” corresponding to the “employee code” is acquired from the employee setting file 243 (step S33), and response data indicating the normal end of the attendance / exit information registration (normal end + employee name + offtime) ) Is returned to the sales data processing apparatus 1 by the communication unit 25 (step S34), and the data receiving process is terminated.

一方、ステップS27において、受信されたデータが退勤データではないと判断された場合(ステップS27;NO)、又は、ステップS28における検索の結果、受信された退勤データと「従業員コード」が一致するレコードが出退勤履歴ファイル242の以降のレコードに存在せず、最終レコードに到達した(即ち、「従業員コード」が一致するレコードが存在しないか又は「従業員コード」が一致する全てのレコードに「退勤時刻」がセットされていた)場合(ステップS29;NO)、出退勤情報登録エラーを示す応答が通信部25により売上データ処理装置1に返送され(ステップS35)、データ受信処理は終了する。出退勤履歴ファイル142に「従業員コード」が一致するレコードが存在しないか又は「従業員コード」が一致する全てのレコードに「退勤時刻」がセットされていた場合、売上データ処理装置1において、その従業員について今回の退勤操作に対応する出勤操作がされていないことを示すので、出退勤情報登録エラーとなる。   On the other hand, when it is determined in step S27 that the received data is not work data (step S27; NO), or as a result of the search in step S28, the received work data and the “employee code” match. The record does not exist in the subsequent records in the attendance / employment history file 242, and the final record has been reached (that is, there is no record that matches the “employee code” or all records that match the “employee code” are “ In the case where “working time” is set) (step S29; NO), a response indicating an attendance / leaving information registration error is returned to the sales data processing apparatus 1 by the communication unit 25 (step S35), and the data receiving process is terminated. When there is no record with the same “employee code” in the attendance / leaving history file 142 or when all the records with the same “employee code” are set, “sales time” is set in the sales data processing device 1. Since it indicates that the attendance operation corresponding to the current leave operation is not performed for the employee, an attendance / leaving information registration error occurs.

以上のデータ受信処理により、売上データ、出勤データ、退勤データが情報センタサーバ2に登録される。   Sales data, attendance data, and leaving data are registered in the information center server 2 by the above data reception processing.

〈メール配信処理〉
次に、情報センタサーバ2において所定時間毎に実行されるメール配信処理について説明する。本実施形態においては、メール配信処理は1秒毎に実行される。図11A〜図11Cに、メール配信処理のフローチャートを示す。メール配信処理は、CPU20と記憶部24に記憶されているプログラムとの協働により実行される。
<Mail delivery processing>
Next, a mail delivery process executed at predetermined time intervals in the information center server 2 will be described. In the present embodiment, the mail delivery process is executed every second. 11A to 11C are flowcharts of the mail delivery process. The mail delivery process is executed in cooperation with the CPU 20 and a program stored in the storage unit 24.

まず、次のメール配信処理実行のために1秒間のタイマが起動される(ステップS41)。即ち、CPU20のクロックによる1秒間のカウントが開始される。   First, a one-second timer is started to execute the next mail delivery process (step S41). That is, counting for one second by the clock of the CPU 20 is started.

次いで、計時部26から現在時刻が取得され(ステップS42)、メール配信指令設定ファイル244の処理対象レコードの「配信時刻」が取得される(ステップS43)。ここで、RAM23には「メール配信指令設定ファイルの検索カウンタ」が形成され、処理対象のレコードの位置が管理される。具体的には、先頭のレコードを1として、以下「メール配信指令設定ファイルの検索カウンタ」を1ずつカウントアップ(インクリメント)しながら、最終レコードに向けて1レコードずつ処理対象のレコードをずらして処理が行われる。   Next, the current time is acquired from the time measuring unit 26 (step S42), and the “distribution time” of the processing target record in the mail distribution command setting file 244 is acquired (step S43). Here, a “mail delivery command setting file search counter” is formed in the RAM 23 to manage the position of the record to be processed. Specifically, the first record is set to 1, and the “mail delivery command setting file search counter” is incremented by 1 and the processing target record is shifted by 1 record toward the final record. Is done.

次いで、現在時刻とメール配信指令設定ファイル244の処理対象レコードの「配信時刻」が比較される(ステップS44)。なお、ステップS44の比較においては、現在時刻と「配信時刻」の時分が一致した場合、一致したと判断される。   Next, the current time is compared with the “delivery time” of the processing target record in the mail delivery command setting file 244 (step S44). In the comparison in step S44, if the current time and the time of “delivery time” match, it is determined that they match.

比較の結果、現在時刻と「配信時刻」が一致した場合(ステップS44;一致)、メール配信指令設定ファイル244から該当するレコードの「送信先」及び「メール内容」が取得され、RAM23のメール配信一時メモリ231に格納される(ステップS45)。   As a result of comparison, if the current time and the “delivery time” match (step S44; match), the “transmission destination” and “mail content” of the corresponding record are acquired from the mail delivery command setting file 244, and the mail delivery in the RAM 23 is performed. It is stored in the temporary memory 231 (step S45).

次いで、メール配信一時メモリ231に格納した「送信先」と「管理レベル」が一致するレコードが従業員設定ファイル243から検索される(ステップS46)。検索時には、RAM23に形成される「従業員設定ファイルの検索カウンタ」が使用され、処理対象のレコードの位置が管理される。具体的には、先頭のレコードを1として、「従業員設定ファイルの検索カウンタ」を1ずつカウントアップ(インクリメント)しながら、最終レコードに向けて順次1レコードずつ、該当するレコードが存在するか又は最終レコードに到達するまで検索が行われる。   Next, a record in which the “transmission destination” stored in the mail delivery temporary memory 231 matches the “management level” is searched from the employee setting file 243 (step S46). At the time of search, an “employee setting file search counter” formed in the RAM 23 is used to manage the position of the record to be processed. Specifically, assuming that the first record is 1, the “employee setting file search counter” is incremented (incremented) one by one, and the corresponding record exists one by one toward the last record, or The search is performed until the last record is reached.

検索の結果、従業員設定ファイル243にメール配信一時メモリ231に格納した「送信先」と「管理レベル」が一致するレコードが存在した場合(ステップS47;YES)、RAM23の従業員設定一時メモリ232に検索されたレコードの「従業員コード」、「名前」、「メールアドレス」が一時記憶される(ステップS48)。   As a result of the search, if there is a record that matches the “transmission destination” stored in the mail delivery temporary memory 231 and the “management level” in the employee setting file 243 (step S 47; YES), the employee setting temporary memory 232 in the RAM 23. The “employee code”, “name”, and “mail address” of the retrieved record are temporarily stored (step S48).

次いで、従業員設定一時メモリ232に記憶されたレコードの「管理レベル」が参照され、オーナーもしくはGマネージャーであるか否かが判断される(ステップS49)。従業員設定一時メモリ232に記憶されたレコードの「管理レベル」がオーナーもしくはGマネージャーであると判断された場合(ステップS49;YES)、従業員設定一時メモリ232に記憶されたデータがメール配信予定メモリ233にセットされる(ステップS50)。そして、「従業員設定ファイルの検索カウンタ」が1インクリメントされ(ステップS51)、処理はステップS46に戻り、「従業員設定ファイルの検索カウンタ」に対応する位置のレコードから新たに検索が開始される。即ち、管理レベルがオーナーもしくはGマネージャーの場合は、出勤しているか否かにかかわらず業務の進捗を把握する必要があるので、メール配信対象と判別され、メール配信予定メモリ233にメールアドレス等が設定される。   Next, the “management level” of the record stored in the employee setting temporary memory 232 is referred to, and it is determined whether the user is the owner or the G manager (step S49). When it is determined that the “management level” of the record stored in the employee setting temporary memory 232 is the owner or the G manager (step S49; YES), the data stored in the employee setting temporary memory 232 is scheduled to be mailed. It is set in the memory 233 (step S50). Then, the “employee setting file search counter” is incremented by 1 (step S51), the process returns to step S46, and a new search is started from the record at the position corresponding to the “employee setting file search counter”. . That is, when the management level is the owner or the G manager, it is necessary to grasp the progress of the business regardless of whether or not he / she is attending work. Is set.

一方、従業員設定一時メモリ232に記憶されたレコードの「管理レベル」がオーナーもしくはGマネージャーではないと判断された場合(ステップS49;NO)、ステップS52〜S54の処理によって出退勤に基づいてメール配信対象とするか否かが判別される。   On the other hand, if it is determined that the “management level” of the record stored in the employee setting temporary memory 232 is not the owner or the G manager (step S49; NO), the mail distribution is performed based on the attendance and leaving by the processing of steps S52 to S54. It is discriminated whether or not it is a target.

まず、従業員設定一時メモリ232に記憶されたレコードと「従業員コード」が一致するレコードが出退勤履歴ファイル242から検索される(ステップS52)。検索時には、RAM23に形成される「出退勤履歴ファイルの検索カウンタ」が使用され、先頭のレコードを1として、「出退勤履歴ファイルの検索カウンタ」を1ずつカウントアップ(インクリメント)しながら、最終レコードに向けて順次1レコードずつ、該当するレコードが存在するか又は最終レコードに到達するまで検索が行われる。   First, a record whose “employee code” matches the record stored in the employee setting temporary memory 232 is searched from the time and attendance history file 242 (step S52). At the time of the search, the “attendance / attendance history file search counter” formed in the RAM 23 is used. The first record is set to 1, and the “attendance / attendance history file search counter” is incremented (incremented) one by one, toward the final record. Then, the search is performed sequentially for each record until the corresponding record exists or the last record is reached.

ステップS52における検索の結果、出退勤履歴ファイル242に「従業員コード」が一致するレコードが存在した場合(ステップS53;YES)、当該レコードに「退勤時刻」がセットされているか否かが判断される(ステップS54)。当該レコードに「退勤時刻」がセットされていると判断されると(ステップS54;YES)、「出退勤履歴ファイルの検索カウンタ」が1インクリメントされ(ステップS56)、処理はステップS52に戻り、「出退勤履歴ファイルの検索カウンタ」に対応する位置のレコードから新たに検索が開始される。ここで、「退勤時刻」がセットされているレコードは、過去の出勤についてのレコードであるか又は当日すでに退勤していることを示している。よって、メール配信対象として判別されず、メールアドレスはセットされない。   As a result of the search in step S52, if there is a record with the same “employee code” in the attendance / leaving history file 242 (step S53; YES), it is determined whether or not the “working time” is set in the record. (Step S54). If it is determined that the “time of work” is set in the record (step S54; YES), the “search counter for time and attendance history file” is incremented by 1 (step S56), and the process returns to step S52. The search is newly started from the record at the position corresponding to the “history file search counter”. Here, the record in which “working time” is set indicates that it is a record about past work or has already left work on that day. Therefore, it is not determined as a mail delivery target, and a mail address is not set.

ステップS54において、ステップS53において検索されたレコードに「退勤時刻」がセットされていないと判断されると(ステップS54;NO)、従業員設定一時メモリ232に記憶されたデータがメール配信予定メモリ233にセットされる(ステップS55)。そして、「出退勤履歴ファイルの検索カウンタ」が1インクリメントされ(ステップS56)、処理はステップS52に戻り、「出退勤履歴ファイルの検索カウンタ」に対応する位置のレコードから新たに検索が開始される。ここで、「退勤時刻」が格納されていないレコードは、その「従業員コード」の従業員が出勤中であることを示しており、出勤中の従業員がメール配信対象として、メール配信予定メモリ233にメールアドレスがセットされる。   In step S54, if it is determined that the “working time” is not set in the record searched in step S53 (step S54; NO), the data stored in the employee setting temporary memory 232 is stored in the mail delivery schedule memory 233. (Step S55). The “attendance / attendance history file search counter” is incremented by 1 (step S56), the process returns to step S52, and a new search is started from the record corresponding to the “attendance / attendance history file search counter”. Here, the record that does not store the “working time” indicates that the employee of that “employee code” is going to work. An e-mail address is set in 233.

一方、ステップS52における検索の結果、従業員設定一時メモリ232に記憶されたレコードと「従業員コード」が一致するレコードが出退勤履歴ファイル242の以降のレコードに存在せず、最終レコードに到達したと判断された場合(ステップS53;NO)、処理はステップS51に移行し、「従業員設定ファイルの検索カウンタ」が1インクリメントされ(ステップS51)、処理はステップS46に戻り、「従業員設定ファイルの検索カウンタ」に対応する位置のレコードから新たな検索が開始される。   On the other hand, as a result of the search in step S52, a record whose “employee code” matches the record stored in the employee setting temporary memory 232 does not exist in the subsequent records in the time and attendance history file 242, and has reached the last record. If it is determined (step S53; NO), the process proceeds to step S51, the “employee setting file search counter” is incremented by 1 (step S51), the process returns to step S46, and the “employee setting file search counter” A new search is started from the record corresponding to the “search counter”.

ステップS46における検索の結果、メール配信一時メモリ231に格納した「送信先」と「管理レベル」が一致するレコードが従業員設定ファイル243の以降のレコードに存在せず、全てのレコードの検索が終了したと判断された場合(ステップS47;NO)、処理はステップS57に移行する。   As a result of the search in step S46, a record whose “transmission destination” and “management level” stored in the mail delivery temporary memory 231 do not exist in the subsequent records of the employee setting file 243, and the search of all records is completed. If it is determined that the process has been performed (step S47; NO), the process proceeds to step S57.

ステップS57においては、メール配信一時メモリ231に記憶されている「メール内容」から今回のメール内容がコマンドか文字列かが判別される(ステップS57)。ここで、メール配信指令設定ファイル244及びメール配信一時メモリ231の「メール内容」には、コマンドか文字列かの区分(例えば、図8の「文字列:」又は「コマンド:」)が含まれており、この区分によって、コマンドか文字列かが判別される。   In step S57, it is determined from the “mail content” stored in the mail delivery temporary memory 231 whether the current mail content is a command or a character string (step S57). Here, the “mail content” in the mail delivery command setting file 244 and the mail delivery temporary memory 231 includes a command or character string classification (for example, “character string:” or “command:” in FIG. 8). Whether this is a command or a character string is discriminated by this classification.

今回のメール内容がコマンド(売上データメール配信コマンド)であると判別された場合(ステップS58;YES)、売上情報DB241から売上データが取得され、取得された売上データを本文とし、件名を「売上連絡」とするメールが作成され(ステップS59)、処理はステップS62に移行する。本実施形態においては、コマンドは売上データをメールで配信するコマンドである、売上データメール配信コマンドのみとするが、その他のコマンドとしてもよい。   If it is determined that the current mail content is a command (sales data mail delivery command) (step S58; YES), sales data is acquired from the sales information DB 241. The acquired sales data is used as the text, and the subject is “sales. A mail “contact” is created (step S59), and the process proceeds to step S62. In this embodiment, the command is only a sales data mail delivery command that is a command for delivering sales data by mail, but may be other commands.

今回のメール内容がコマンドではなく(ステップS58;NO)、文字列であると判別されると(ステップS60;YES)、メール配信一時メモリ231に記憶されている「メール内容」に記憶されている文字列をメール本文とし、件名を「業務連絡」とするメールが作成され(ステップS61)、処理はステップS62に移行する。   If it is determined that the current mail content is not a command (step S58; NO) but a character string (step S60; YES), it is stored in the “mail content” stored in the mail delivery temporary memory 231. A mail having the character string as the mail text and the subject as “business communication” is created (step S61), and the process proceeds to step S62.

ステップS62においては、メール配信予定メモリ233からメールアドレスが取得されてステップS59又はステップS61で作成されたメールのあて先として設定され(ステップS62)、メール配信装置27により通信部25を介してメールが配信される(ステップS63)。   In step S62, the mail address is acquired from the mail distribution schedule memory 233 and set as the destination of the mail created in step S59 or step S61 (step S62), and the mail is sent via the communication unit 25 by the mail distribution device 27. Delivered (step S63).

メール配信後、メール配信予定メモリ233に記憶されている全てのメールアドレスに対してメールが配信されたか否かが判断され、全てのメールアドレスに対してメールがまだ配信されていないと判断されると(ステップS64;NO)、処理はステップS62に戻る。そして、ステップS62〜S63の処理が繰り返し実行され、メール配信予定メモリ233に記憶されている全てのメールアドレスに対してメールが配信されたと判断されると、(ステップS64;YES)、「メール配信指令設定ファイルの検索カウンタ」が1インクリメントされ(ステップS65)、処理はステップS43に戻り、「メール配信指令設定ファイルの検索カウンタ」に対応する位置のレコードを処理対象のレコードとして、ステップS43以降の処理が実行される。   After mail distribution, it is determined whether or not mail has been distributed to all mail addresses stored in the mail distribution schedule memory 233, and it is determined that mail has not yet been distributed to all mail addresses. (Step S64; NO), the process returns to Step S62. Then, when the processing of steps S62 to S63 is repeatedly executed and it is determined that the mail has been delivered to all the mail addresses stored in the mail delivery schedule memory 233 (step S64; YES), “mail delivery” The “command setting file search counter” is incremented by 1 (step S65), the process returns to step S43, and the record at the position corresponding to the “mail delivery command setting file search counter” is set as the processing target record. Processing is executed.

ステップS44において、現在時刻と「配信時刻」が一致しないと判断された場合(ステップS44;一致しない)、メール配信指令設定ファイル244の全レコードについての処理が終了したか否かが判断され、終了していないと判断されると(ステップS66;NO)、「メール配信指定設定ファイルの検索カウンタ」が1インクリメントされ(ステップS67)、処理はステップS43に戻り、「メール配信指令設定ファイルの検索カウンタ」に対応する位置のレコードを処理対象のレコードとして、ステップS43以降の処理が実行される。メール配信指令設定ファイル244の全レコードについての処理が終了したと判断されると(ステップS66;YES)、メール配信処理は終了する。   If it is determined in step S44 that the current time and the “delivery time” do not match (step S44; do not match), it is determined whether or not the processing for all the records in the mail delivery command setting file 244 is completed. If it is determined that it has not (step S66; NO), the “mail delivery designation setting file search counter” is incremented by 1 (step S67), the process returns to step S43, and the “mail delivery command setting file search counter”. The processing at step S43 and subsequent steps is executed with the record at the position corresponding to "" as the processing target record. When it is determined that the processing for all the records in the mail delivery command setting file 244 has been completed (step S66; YES), the mail delivery process is finished.

以上説明したように、実施形態1の店舗システム100によれば、情報センタサーバ2のCPU20は、売上データ処理装置1から送信された店舗の業務遂行者(従業員コードで管理される従業者及びオーナー)の出退勤情報を記憶部24に記憶された出退勤履歴ファイル242に蓄積しておき、出退勤履歴ファイル242に記憶されている出退勤情報に基づいて売上データや業務連絡に係るメールの配信対象となる業務遂行者を判別し、配信対象として判別された業務遂行者の携帯端末のアドレスにメール配信装置27により電子メールを送信する。   As described above, according to the store system 100 of the first embodiment, the CPU 20 of the information center server 2 performs the store business performers (employees managed by the employee code and the employees transmitted from the sales data processing device 1). The attendance and attendance information of the owner) is accumulated in the attendance and attendance history file 242 stored in the storage unit 24, and is subject to distribution of sales data and mail related to business communication based on the attendance and attendance information stored in the attendance and attendance history file 242. The mail delivery device 27 transmits an e-mail to the address of the mobile terminal of the work performer identified as the distribution target.

従って、出勤していないマネージャーや店員等の、メールを配信する必要のない業務遂行者の携帯端末にメールが配信されてしまうことを防止することができる。   Therefore, it is possible to prevent the mail from being distributed to the mobile terminal of a business person who does not need to distribute the mail, such as a manager or a clerk who does not work.

また、記憶部24は、全店舗の業務遂行者の管理レベルが格納された従業員設定ファイル243を記憶しており、CPU20は、管理レベルがオーナー、Gマネージャー等の予め定められた管理レベルである業務遂行者については、全て電子メールの配信対象と判別し、予め定められた管理レベルではない業務遂行者については、出退勤情報に基づいて電子メールの配信対象とするか否かの判別を行う。   In addition, the storage unit 24 stores an employee setting file 243 in which the management levels of business performers in all stores are stored, and the CPU 20 has a management level set at a predetermined management level such as an owner or a G manager. For certain business performers, all are determined as e-mail delivery targets, and for those who are not at a predetermined management level, it is determined whether or not e-mails are to be delivered based on the attendance information. .

従って、オーナーやGマネージャー等の店舗の管理者や責任者等、業務や売上を把握しておく必要がある管理レベルの者には、出勤しているか否かにかかわらずメールを配信することが可能となる。   Therefore, it is possible to deliver an email regardless of whether or not he / she is attending work to a manager at a management level who needs to know business and sales, such as an owner or manager of a store such as a manager. It becomes possible.

また、記憶部24は、電子メールの配信時刻と、送信先と、メール内容とを対応付けて格納するメール配信指令設定ファイル244を記憶しており、CPU20は、メール配信指令設定ファイル244に設定されている配信時刻が到来した際に、送信先として指定されている業務遂行者のなかから電子メールの配信対象の業務遂行者を判別し、メール配信指令設定ファイル244に記憶されているメール内容に基づいて、配信対象として判別された業務遂行者の携帯端末のアドレスにメール配信装置27によりメールを配信する。   In addition, the storage unit 24 stores a mail delivery command setting file 244 that stores an email delivery time, a destination, and mail contents in association with each other, and the CPU 20 sets the mail delivery command setting file 244. When the scheduled delivery time arrives, the business performer to whom the e-mail is to be delivered is determined from the business performers designated as the transmission destination, and the mail content stored in the mail delivery command setting file 244 Based on the above, the mail delivery device 27 delivers the mail to the address of the mobile terminal of the business performer determined as the delivery target.

従って、予め設定された配信時刻に、管理レベルや出退勤情報に基づいて、予め送信先として指定された業務遂行者のうち必要な業務遂行者にメールを配信することが可能となる。   Therefore, at a preset delivery time, it is possible to deliver mail to a necessary business performer among business performers designated as transmission destinations based on the management level and attendance information.

〔実施形態2〕
以下、本発明の実施形態2について説明する。
実施形態2においては、実施形態1において情報センタサーバ2で記憶していた出退勤履歴ファイル、従業員設定ファイル等を売上データ処理装置1で記憶し、売上データ処理装置1でメール配信対象となる従業員の判別やメールの作成等を行う。
[Embodiment 2]
Hereinafter, Embodiment 2 of the present invention will be described.
In the second embodiment, the sales data processing device 1 stores the attendance and attendance history file, the employee setting file, and the like stored in the information center server 2 in the first embodiment, and the sales data processing device 1 is the target of mail distribution. Discriminating staff and creating emails.

(実施形態2の構成)
まず、実施形態2の構成を説明する。
実施形態2における店舗システム100の全体構成は、実施形態1で説明したものと同様である。売上データ処理装置1、情報センタサーバ2の構成は、実施形態1で説明したものと略同様であるので、異なる部分について以下に説明する。
(Configuration of Embodiment 2)
First, the configuration of the second embodiment will be described.
The overall configuration of the store system 100 in the second embodiment is the same as that described in the first embodiment. Since the configurations of the sales data processing apparatus 1 and the information center server 2 are substantially the same as those described in the first embodiment, different portions will be described below.

売上データ処理装置1の記憶部14は、商品登録情報ファイル141の他、出退勤履歴ファイル142、従業員設定ファイル143、業務連絡ファイル144を記憶している。   In addition to the product registration information file 141, the storage unit 14 of the sales data processing apparatus 1 stores an attendance / attendance history file 142, an employee setting file 143, and a business contact file 144.

出退勤履歴ファイル142は、売上データ処理装置1が設置されている店舗における従業員の出退勤情報を格納するファイルである。図12に、出退勤履歴ファイル142のデータ格納例を示す。図12に示すように、出退勤履歴ファイル142には、「従業員コード」、「出勤時刻」、「退勤時刻」が対応付けられて1レコードとして格納される。   The attendance and attendance history file 142 is a file that stores employee attendance and attendance information at the store where the sales data processing apparatus 1 is installed. FIG. 12 shows an example of data storage in the attendance / leaving history file 142. As shown in FIG. 12, “employee code”, “attendance time”, and “attendance time” are associated with each other and stored as one record in the attendance / leaving history file 142.

従業員設定ファイル143は、売上データ処理装置1が設置されている店舗の従業員の情報を格納するファイルである。従業員設定ファイル143のデータ格納構成は、図7で示したものと同様である。即ち、従業員設定ファイル143には、図7に示すように、各従業員の「従業員コード」、「管理レベル」、「名前」、「メールアドレス」の情報が対応付けられて1レコードとして格納される。管理レベルは、各従業員の職務レベルを示すものであり、「オーナー」、「Gマネージャー」、「マネージャー」、「店員」の何れかが設定可能である。メールアドレスは、その従業員が所持する携帯端末のメールアドレスである。   The employee setting file 143 is a file that stores information on the employees of the store where the sales data processing apparatus 1 is installed. The data storage configuration of the employee setting file 143 is the same as that shown in FIG. That is, in the employee setting file 143, as shown in FIG. 7, information of “employee code”, “management level”, “name”, and “email address” of each employee is associated with each other as one record. Stored. The management level indicates the job level of each employee, and any one of “owner”, “G manager”, “manager”, and “clerk” can be set. The e-mail address is the e-mail address of the mobile terminal possessed by the employee.

ここで、従業員設定ファイル143では、従業員設定ファイル243と同様に、「従業員コード」を便宜的にオーナーに与えることができ、また、上述のように「管理レベル」に「オーナー」を設定することが可能である。即ち、店舗システム100では、オーナーに従業員コードを与えて従業員と同様に名前、管理レベル、メールアドレスを従業員設定ファイル143に登録しておくことによって、オーナーを従業員と同様に取り扱うことができる。オーナーは、売上データ処理装置1において従業員コードを用いて従業員と同様に各種操作や出退勤情報の登録等を行うことが可能である。   Here, in the employee setting file 143, as with the employee setting file 243, the “employee code” can be given to the owner for convenience, and the “management level” is set to “owner” as described above. It is possible to set. That is, in the store system 100, the owner is handled in the same manner as the employee by giving the employee an employee code and registering the name, management level, and e-mail address in the employee setting file 143 in the same manner as the employee. Can do. The owner can use the employee code in the sales data processing apparatus 1 to register various operations and attendance / leaving information in the same manner as the employee.

業務連絡ファイル144は、従業員に配信すべきメールに関する情報を格納するファイルである。図13に、業務連絡ファイル144のデータ格納例を示す。図13に示すように、業務連絡ファイル144には、配信すべき各メールの「配信時刻」、「送信先」、「操作」、「メール内容」、「操作完了日付時刻」が対応付けられて1レコードとして格納される。「送信先」は、メールの送信先として指定されている管理レベルを示す情報であり、ここでは、「オーナー」、「Gマネージャー」、「マネージャー」、「店員」の何れかが指定可能である。「操作」は、メールを配信するか否かの判断基準となる操作を示す情報であり、ここでは、点検操作、釣銭準備操作、精算操作の何れかが設定可能である。「操作完了日付時刻」は、「操作」で指定されている操作が完了した最終日時を示す情報である。   The business contact file 144 is a file that stores information about mail to be distributed to employees. FIG. 13 shows a data storage example of the business communication file 144. As shown in FIG. 13, the business communication file 144 is associated with “delivery time”, “destination”, “operation”, “mail content”, and “operation completion date / time” of each mail to be delivered. Stored as one record. The “transmission destination” is information indicating the management level designated as the mail transmission destination, and here, “owner”, “G manager”, “manager”, or “clerk” can be designated. . “Operation” is information indicating an operation that is a criterion for determining whether or not to deliver mail, and here, any of an inspection operation, a change preparation operation, and a settlement operation can be set. The “operation completion date / time” is information indicating the last date and time when the operation designated by “operation” is completed.

また、記憶部14は、後述する出勤情報登録処理、退勤情報登録処理、釣銭準備処理、点検処理、精算処理、メール配信要求処理等の各種処理を実行するためのプログラムを記憶しており、CPU10は、プログラムに従ってこれらの処理を実行する。   Further, the storage unit 14 stores programs for executing various processes such as attendance information registration processing, leaving information registration processing, change preparation processing, inspection processing, settlement processing, and mail delivery request processing, which will be described later. Performs these processes according to the program.

また、売上データ処理装置1のRAM13は、図5に示すように、メール配信一時メモリ131、従業員設定一時メモリ132、メール配信予定メモリ133等のデータ格納領域を有する。
メール配信一時メモリ131は、後述するメール配信要求処理において、現時刻で配信すべきメールの送信先及びメール内容を一時的に格納するための領域である。
従業員設定一時メモリ132は、後述するメール配信要求処理において、メールの送信先に該当する従業員の従業員コード、名前、メールアドレス等を格納するための領域である。
メール配信予定メモリ133は、後述するメール配信要求処理において、従業員設定一時メモリ132に記憶された従業員のうち、メール配信対象として判別された従業員の従業員コード、名前、メールアドレスを格納するための領域である。
The RAM 13 of the sales data processing apparatus 1 has data storage areas such as a mail delivery temporary memory 131, an employee setting temporary memory 132, and a mail delivery schedule memory 133, as shown in FIG.
The mail distribution temporary memory 131 is an area for temporarily storing a mail destination and mail contents to be distributed at the current time in a mail distribution request process described later.
The employee setting temporary memory 132 is an area for storing an employee code, a name, an email address, and the like of an employee corresponding to an email transmission destination in an email delivery request process described later.
The mail delivery schedule memory 133 stores the employee code, name, and mail address of the employee determined as the mail delivery target among the employees stored in the employee setting temporary memory 132 in the mail delivery request processing described later. It is an area to do.

その他の売上データ処理装置1、情報センタサーバ2の構成は、実施形態1で説明したものと同様であるので説明を援用する。   Other configurations of the sales data processing apparatus 1 and the information center server 2 are the same as those described in the first embodiment, and thus the description is cited.

(実施形態2における動作)
次に、実施形態2の動作について説明する。
まず、従業員の出勤時及び退勤時における売上データ処理装置1の処理について説明する。
(Operation in Embodiment 2)
Next, the operation of the second embodiment will be described.
First, the processing of the sales data processing apparatus 1 when an employee goes to work or leaves will be described.

従業員は、出勤すると、入力部11のテンキー111により自身の従業員コードを入力し、出勤キー114を押下する操作を行う。この操作に応じて、出勤情報登録処理が実行される。   When the employee goes to work, he / she inputs his / her employee code using the numeric keypad 111 of the input unit 11 and performs an operation of pressing the work key 114. In response to this operation, attendance information registration processing is executed.

〈出勤情報登録処理〉
図14に、出勤情報登録処理のフローチャートを示す。出勤情報登録処理は、従業員コードが入力され出勤キー114が押下された際に、CPU10とプログラムとの協働により実行される。
<Attendance information registration process>
FIG. 14 shows a flowchart of the attendance information registration process. The attendance information registration process is executed in cooperation with the CPU 10 and the program when the employee code is input and the attendance key 114 is pressed.

まず、計時部19から現在時刻が取得され(ステップS71)、テンキー111により入力された数値(入力コード)と「従業者コード」が一致するレコードが出退勤履歴ファイル142から検索される(ステップS72)。なお、検索時には、RAM13に形成される検索カウンタが使用され、処理対象のレコードの位置が管理される。具体的には、先頭のレコードを1として、以下検索カウンタを1ずつカウントアップ(インクリメント)しながら、最終レコードに向けて順次1レコードずつ、該当するレコードが存在するか又は最終レコードに到達するまで検索が行われる。   First, the current time is acquired from the timekeeping unit 19 (step S71), and a record in which the numerical value (input code) input by the numeric keypad 111 matches the “employee code” is searched from the attendance / employment history file 142 (step S72). . At the time of search, a search counter formed in the RAM 13 is used to manage the position of the record to be processed. Specifically, the first record is set to 1, and the search counter is incremented (incremented) one by one, one record at a time toward the last record until the corresponding record exists or the last record is reached. A search is performed.

ステップS72における検索の結果、入力コードと「従業員コード」が一致するレコードが存在した場合(ステップS73;YES)、検索されたレコードに「退勤時刻」がセットされているか否かが判断される(ステップS74)。検索されたレコードに「退勤時刻」がセットされていると判断されると(ステップS74;YES)、検索カウンタが1インクリメントされ(ステップS75)、処理はステップS72に戻り、検索カウンタに対応する位置のレコードから新たに検索が開始される。
検索されたレコードに「退勤時刻」がセットされていないと判断されると(ステップS74;NO)、エラーメッセージが表示部12に表示され(ステップS76)、出勤情報登録処理は終了する。「退勤時刻」がセットされていないレコードが存在した場合、売上データ処理装置1で同一従業員について出勤操作が続けて行われたことを示すので、その旨を示すエラーメッセージが表示部12に表示される。
As a result of the search in step S72, if there is a record in which the input code and the “employee code” match (step S73; YES), it is determined whether or not “working time” is set in the searched record. (Step S74). If it is determined that “working time” is set in the searched record (step S74; YES), the search counter is incremented by 1 (step S75), the process returns to step S72, and the position corresponding to the search counter A new search is started from this record.
If it is determined that “working time” is not set in the retrieved record (step S74; NO), an error message is displayed on the display unit 12 (step S76), and the attendance information registration process ends. If there is a record that does not have the “working time” set, the sales data processing device 1 indicates that the attendance operation was continuously performed for the same employee, and an error message indicating that fact is displayed on the display unit 12. Is done.

一方、ステップS72の検索の結果、入力コードと「従業員コード」が一致するレコードが出退勤履歴ファイル142の以降のレコードに存在せず、最終レコードに到達した(即ち、「従業員コード」が一致するレコードが存在しないか又は「従業員コード」が一致する全てのレコードに「退勤時刻」がセットされていた)場合(ステップS73;NO)、出退勤履歴ファイル142に新規レコードが追加され、入力コードが従業員コードに、ステップS71で取得された現在時刻が「出勤時刻」に格納される(ステップS77)。そして、出勤情報登録処理は終了する。   On the other hand, as a result of the search in step S72, a record in which the input code matches the “employee code” does not exist in the subsequent records in the attendance / employment history file 142, and has reached the final record (that is, the “employee code” matches). If there is no record to be recorded or “working time” is set for all the records with the same “employee code”) (step S73; NO), a new record is added to the time and attendance history file 142, and the input code Is stored in the employee code, and the current time acquired in step S71 is stored in “attendance time” (step S77). Then, the attendance information registration process ends.

〈退勤情報登録処理〉
従業員は、退勤時には入力部11のテンキー111により自身の従業員コードを入力し、退勤キー115を押下する操作を行う。この操作に応じて売上データ処理装置1においては退勤情報登録処理が実行される。
<Exit information registration process>
When the employee leaves the office, the employee inputs his / her employee code using the numeric keypad 111 of the input unit 11 and performs an operation of pressing down the employee leave key 115. In response to this operation, the sales data processing apparatus 1 executes a work leave information registration process.

図15に、退勤情報登録処理のフローチャートを示す。退勤情報登録処理は、従業員コードが入力され退勤キー115が押下された際に、CPU10とプログラムとの協働により実行される。   FIG. 15 shows a flowchart of the leave information registration process. The leave information registration process is executed in cooperation with the CPU 10 and the program when the employee code is input and the leave key 115 is pressed.

まず、計時部19から現在時刻が取得され(ステップS81)、テンキー111により入力された数値(入力コード)と「従業者コード」が一致するレコードが出退勤履歴ファイル142から検索される(ステップS82)。検索時には、RAM13に形成される検索カウンタが使用され、処理対象のレコードの位置が管理される。具体的には、先頭のレコードを1として、以下検索カウンタを1ずつカウントアップ(インクリメント)しながら、最終レコードに向けて順次1レコードずつ、該当するレコードが存在するか又は最終レコードに到達するまで検索が行われる。   First, the current time is acquired from the time measuring unit 19 (step S81), and a record in which the numerical value (input code) input by the numeric keypad 111 matches the “employee code” is searched from the attendance / attendance history file 142 (step S82). . When searching, a search counter formed in the RAM 13 is used to manage the position of the record to be processed. Specifically, the first record is set to 1, and the search counter is incremented (incremented) one by one, one record at a time toward the last record until the corresponding record exists or the last record is reached. A search is performed.

ステップS82における検索の結果、入力コードと「従業員コード」が一致するレコードが出退勤履歴ファイル142に存在した場合(ステップS83;YES)、検索されたレコードに「退勤時刻」がセットされているか否かが判断される(ステップS84)。検索されたレコードに「退勤時刻」がセットされていると判断されると(ステップS84;YES)、検索カウンタが1インクリメントされ(ステップS85)、処理はステップS82に戻り、検索カウンタに対応する位置のレコードから新たに検索が開始される。
ここで、「退勤時刻」がセットされているレコードは、過去の出退勤情報であるので、本処理では使用しない。
As a result of the search in step S82, if there is a record in which the input code matches the “employee code” in the attendance / leaving history file 142 (step S83; YES), whether or not “working time” is set in the retrieved record. Is determined (step S84). If it is determined that “working time” is set in the searched record (step S84; YES), the search counter is incremented by 1 (step S85), the process returns to step S82, and the position corresponding to the search counter A new search is started from this record.
Here, the record in which the “time to leave” is set is past attendance information, so it is not used in this process.

ステップS84において、検索されたレコードに「退勤時刻」がセットされていないと判断されると(ステップS84;NO)、出退勤履歴ファイル142の検索されたレコードに「退勤時刻」がセットされ(ステップS86)、退勤情報登録処理は終了する。   If it is determined in step S84 that the “working time” has not been set in the retrieved record (step S84; NO), the “working time” is set in the retrieved record in the attendance / leaving history file 142 (step S86). ), The leaving information registration process ends.

一方、ステップS82における検索の結果、入力コードと「従業員コード」が一致するレコードが出退勤履歴ファイル142の以降のレコードに存在せず、最終レコードに到達した(即ち、「従業員コード」が一致するレコードが存在しないか又は「従業員コード」が一致する全てのレコードに「退勤時刻」がセットされていた)場合(ステップS83;NO)、エラーメッセージが表示部12に表示され(ステップS87)、退勤情報登録処理は終了する。出退勤履歴ファイル142に「従業員コード」が一致するレコードが存在しないか又は「従業員コード」が一致する全てのレコードに「退勤時刻」がセットされていた場合、売上データ処理装置1において、その従業員について今回の退勤操作に対応する出勤操作がされていないことを示すので、その旨を示すエラーメッセージが表示部12に表示される。   On the other hand, as a result of the search in step S82, the record in which the input code matches the “employee code” does not exist in the subsequent records in the attendance / leaving history file 142, and has reached the final record (that is, the “employee code” matches). In the case where there is no record to be recorded or "working time" is set for all records having the same "employee code") (step S83; NO), an error message is displayed on the display unit 12 (step S87). The leave information registration process ends. When there is no record with the same “employee code” in the attendance / leaving history file 142 or when all the records with the same “employee code” are set, “sales time” is set in the sales data processing device 1. Since the employee indicates that the attendance operation corresponding to the current leave operation has not been performed, an error message indicating that fact is displayed on the display unit 12.

次に、売上データ処理装置1において各種キーの操作に応じて実行される処理について説明する。   Next, processing executed in response to various key operations in the sales data processing apparatus 1 will be described.

〈釣銭準備処理〉
図16に、釣銭準備キー116の押下に応じてCPU10により実行される釣銭準備処理について説明する。釣銭準備処理は、CPU10と記憶部14に記憶されているプログラムとの協働により実行される。
<Change preparation processing>
FIG. 16 illustrates a change preparation process executed by the CPU 10 in response to pressing of the change preparation key 116. The change preparation process is executed in cooperation with the CPU 10 and a program stored in the storage unit 14.

入力部11により釣銭準備操作(例えば、ドロア17に準備されている各金種の釣銭の数が入力される等)が行われると(ステップS91)、入力部11から行われた操作内容(入力された数の値等)が表示部12に表示される(ステップS92)。また、入力部11から行われた操作内容(各金種の枚数等)が印字部16により印字される(ステップS93)。   When a change preparation operation (for example, the number of change of each denomination prepared in the drawer 17 is input) is performed by the input unit 11 (step S91), an operation content (input) performed from the input unit 11 is performed. The number of values etc.) is displayed on the display unit 12 (step S92). Further, the operation content (number of denominations, etc.) performed from the input unit 11 is printed by the printing unit 16 (step S93).

次いで、記憶部14の業務連絡ファイル144において、「操作」のエリアに「釣銭準備操作」がセットされているレコードが存在するか否かが判断される(ステップS94)。「釣銭準備操作」がセットされているレコードが存在すると判断されると(ステップS94;YES)、計時部19から現在の日付及び時刻が取得され(ステップS95)、該当するレコードの「操作完了日付時刻」のエリアに現在の日付及び時刻がセットされる(ステップS96)。そして、釣銭準備処理は終了する。   Next, it is determined whether or not there is a record in which “change preparation operation” is set in the “operation” area in the business communication file 144 of the storage unit 14 (step S94). If it is determined that there is a record in which “change preparation operation” is set (step S94; YES), the current date and time are acquired from the time measuring unit 19 (step S95), and the “operation completion date” of the corresponding record is acquired. The current date and time are set in the “time” area (step S96). Then, the change preparation process ends.

一方、業務連絡ファイル144において、「操作」のエリアに「釣銭準備操作」がセットされているレコードが存在しないと判断されると(ステップS94;NO)、釣銭準備処理は終了する。   On the other hand, if it is determined in the business communication file 144 that there is no record in which “change preparation operation” is set in the “operation” area (step S94; NO), the change preparation process ends.

〈点検処理〉
図17に、点検モードキー113cの押下により動作モードが点検モードに移行した際にCPU10により実行される点検処理について説明する。点検処理は、CPU10と記憶部14に記憶されているプログラムとの協働により実行される。
<Inspection process>
FIG. 17 illustrates an inspection process executed by the CPU 10 when the operation mode shifts to the inspection mode by pressing the inspection mode key 113c. The inspection process is executed in cooperation with the CPU 10 and a program stored in the storage unit 14.

入力部11により所定の点検操作(例えば、点検処理の対象となる範囲(期間等)の入力等)が行われると(ステップS101)、入力部11から行われた点検操作の内容が表示部12に表示される(ステップS102)。そして、入力部11から行われた点検操作に応じて、商品登録情報ファイル141の売上データが読み出されて印字部16により印字される(ステップS103)。   When a predetermined inspection operation (for example, input of a range (period or the like) subject to inspection processing) is performed by the input unit 11 (step S101), the content of the inspection operation performed from the input unit 11 is displayed on the display unit 12. (Step S102). Then, according to the inspection operation performed from the input unit 11, the sales data of the product registration information file 141 is read and printed by the printing unit 16 (step S103).

次いで、記憶部14の業務連絡ファイル144において、「操作」のエリアに「点検操作」が格納されているレコードが存在するか否かが判断される(ステップS104)。「点検操作」が格納されているレコードが存在すると判断されると(ステップS104;YES)、計時部19から現在の日付及び時刻が取得され(ステップS105)、該当するレコードの「操作完了日付時刻」のエリアに現在の日付及び時刻がセットされる(ステップS106)。そして、点検処理は終了する。   Next, it is determined whether or not there is a record storing “inspection operation” in the “operation” area in the business communication file 144 in the storage unit 14 (step S104). If it is determined that there is a record storing “inspection operation” (step S104; YES), the current date and time are acquired from the time measuring unit 19 (step S105), and the “operation completion date time” of the corresponding record is acquired. ”Is set to the current date and time (step S106). Then, the inspection process ends.

一方、業務連絡ファイル144において、「操作」のエリアに「点検操作」がセットされているレコードが存在しないと判断されると(ステップS104;NO)、点検処理は終了する。   On the other hand, when it is determined in the business communication file 144 that there is no record in which “inspection operation” is set in the “operation” area (step S104; NO), the inspection process ends.

〈精算処理〉
図18に、精算モードキー113dの押下により動作モードが精算モードに移行した際にCPU10により実行される精算処理について説明する。精算処理は、CPU10と記憶部14に記憶されているプログラムとの協働により実行される。精算処理は、夜間等、一日の業務の終了時に行われる。
<Checkout process>
FIG. 18 illustrates a settlement process executed by the CPU 10 when the operation mode shifts to the settlement mode by pressing the settlement mode key 113d. The settlement process is executed in cooperation with the CPU 10 and the program stored in the storage unit 14. The checkout process is performed at the end of the day's work, such as at night.

入力部11により所定の精算操作(例えば、精算処理の対象となる範囲の入力等)が行われると(ステップS111)、入力部11から行われた精算操作の内容が表示部12に表示される(ステップS112)。そして、入力部11から行われた精算操作に応じて、商品登録情報ファイル141の売上データが読み出されて印字部16により印字され(ステップS113)、読み出された売上データが商品登録情報ファイル141から削除される(ステップS114)。   When a predetermined settlement operation (for example, input of a range to be settled) is performed by the input unit 11 (step S111), the contents of the settlement operation performed from the input unit 11 are displayed on the display unit 12. (Step S112). Then, according to the settlement operation performed from the input unit 11, the sales data of the product registration information file 141 is read and printed by the printing unit 16 (step S113), and the read sales data is stored in the product registration information file. 141 is deleted (step S114).

次いで、記憶部14の業務連絡ファイル144において、「操作」のエリアに「精算操作」が格納されているレコードが存在するか否かが判断される(ステップS115)。「精算操作」が格納されているレコードが存在すると判断されると(ステップS115;YES)、計時部19から現在の日付及び時刻が取得され(ステップS116)、該当するレコードの「操作完了日付時刻」のエリアに現在の日付及び時刻がセットされる(ステップS117)。そして、精算処理は終了する。   Next, it is determined whether or not there is a record storing “settlement operation” in the “operation” area in the business communication file 144 in the storage unit 14 (step S115). If it is determined that there is a record storing “settlement operation” (step S115; YES), the current date and time are acquired from the time measuring unit 19 (step S116), and “operation completion date time” of the corresponding record is acquired. The current date and time are set in the area "" (step S117). Then, the settlement process ends.

一方、業務連絡ファイル144において、「操作」のエリアに「精算操作」がセットされているレコードが存在しないと判断されると(ステップS115;NO)、精算処理は終了する。   On the other hand, when it is determined in the business communication file 144 that there is no record in which the “settlement operation” is set in the “operation” area (step S115; NO), the settlement process ends.

〈メール配信要求処理〉
次に、売上データ処理装置1において所定時間毎に実行されるメール配信要求処理について説明する。本実施形態においては、メール配信要求処理は1秒毎に実行される。図19A〜図19Cに、メール配信要求処理のフローチャートを示す。メール配信要求処理は、CPU10と記憶部14に記憶されているプログラムとの協働により実行される。
<Mail delivery request processing>
Next, a mail delivery request process executed every predetermined time in the sales data processing apparatus 1 will be described. In the present embodiment, the mail delivery request process is executed every second. 19A to 19C are flowcharts of the mail delivery request process. The mail delivery request process is executed in cooperation with the CPU 10 and a program stored in the storage unit 14.

まず、次のメール配信要求処理実行のために1秒間のタイマが起動される(ステップS121)。即ち、CPU10のクロックによる1秒間のカウントが開始される。   First, a one-second timer is started to execute the next mail delivery request process (step S121). That is, counting for one second by the clock of the CPU 10 is started.

次いで、計時部19から現在時刻が取得され(ステップS122)、業務連絡ファイル144の処理対象のレコードの「配信時刻」及び「操作完了日付時刻」が取得される(ステップS123)。ここで、RAM13には「業務連絡ファイルの検索カウンタ」が形成され、処理対象のレコードの位置が管理される。具体的には、先頭のレコードを1として、以下検索カウンタを1ずつカウントアップ(インクリメント)しながら、最終レコードに向けて1レコードずつ処理対象のレコードをずらして処理が行われる。   Next, the current time is acquired from the timer unit 19 (step S122), and the “distribution time” and “operation completion date time” of the processing target record of the business communication file 144 are acquired (step S123). Here, a “business communication file search counter” is formed in the RAM 13, and the position of the record to be processed is managed. Specifically, the first record is set to 1, and the search counter is incremented (incremented) by 1 while the processing target record is shifted by 1 record toward the final record.

次いで、現在時刻と業務連絡ファイル144の処理対象レコードの「配信時刻」が比較される(ステップS124)。なお、ステップS124の比較においては、現在時刻と「配信時刻」の時分が一致した場合、一致したと判断される。   Next, the current time is compared with the “delivery time” of the processing target record in the business communication file 144 (step S124). In the comparison in step S124, if the current time and the time of “delivery time” match, it is determined that they match.

比較の結果、現在時刻と配信時刻が一致した場合(ステップS124;一致)、処理対象レコードの「操作完了日付時刻」の日付が当日で時刻が現在時刻から一時間以内であるか否かが判断される(ステップS125)。処理対象レコードの「操作完了日付時刻」の日付が当日で時刻が現在時刻から一時間以内である(即ち、処理対象レコードの「操作」で指定されている操作が完了した)と判断されると(ステップS125;YES)、処理はステップS140に移行し、「業務連絡ファイルの検索カウンタ」が1インクリメントされ、処理はステップS123に戻る。   As a result of the comparison, if the current time and the delivery time match (step S124; match), it is determined whether the date of “operation completion date time” of the processing target record is the current day and the time is within one hour from the current time. (Step S125). When it is determined that the date of “operation completion date / time” of the processing target record is the current day and the time is within one hour from the current time (that is, the operation specified by “operation” of the processing target record has been completed) (Step S125; YES), the process proceeds to Step S140, the “business communication file search counter” is incremented by 1, and the process returns to Step S123.

一方、処理対象レコードの「操作完了日付時刻」の日付が当日でないか、当日であっても時刻が現在時刻から一時間以内ではない(即ち、処理対象レコードの「操作」で指定されている、現在時刻で行われているべき操作が完了していない)と判断されると(ステップS125;NO)、業務連絡ファイル144から該当するレコードの「送信先」及び「メール内容」が取得され、RAM13のメール配信一時メモリ131にセットされる(ステップS126)。   On the other hand, the date of “operation completion date / time” of the processing target record is not the current day, or even if it is the current date, the time is not within one hour from the current time (that is, specified by “operation” of the processing target record, If it is determined that the operation to be performed at the current time has not been completed (step S125; NO), the “transmission destination” and “mail content” of the corresponding record are acquired from the business communication file 144, and the RAM 13 Is set in the temporary mail delivery memory 131 (step S126).

次いで、メール配信一時メモリ131に格納した「送信先」と「管理レベル」が一致するレコードが従業員設定ファイル143から検索される(ステップS127)。検索時には、RAM13に形成される「従業員設定ファイルの検索カウンタ」が使用され、処理対象のレコードの位置が管理される。具体的には、先頭のレコードを1として、以下「従業員設定ファイルの検索カウンタ」を1ずつカウントアップ(インクリメント)しながら、最終レコードに向けて順次1レコードずつ、該当するレコードが存在するか又は最終レコードに到達するまで検索が行われる。   Next, a record in which the “transmission destination” stored in the mail delivery temporary memory 131 matches the “management level” is searched from the employee setting file 143 (step S127). At the time of search, an “employee setting file search counter” formed in the RAM 13 is used to manage the position of the record to be processed. Specifically, with the first record as 1, the “employee setting file search counter” is counted up (incremented) one by one, and the corresponding record exists one by one toward the last record. Alternatively, the search is performed until the last record is reached.

検索の結果、従業員設定ファイル143にメール配信一時メモリ131に格納した「送信先」と「管理レベル」が一致するレコードが存在した場合(ステップS128;YES)、RAM13の従業員設定一時メモリ132に、検索されたレコードの「従業員コード」、「名前」、「メールアドレス」が一時記憶される(ステップS129)。   As a result of the search, if there is a record that matches the “transmission destination” stored in the mail delivery temporary memory 131 and the “management level” in the employee setting file 143 (step S128; YES), the employee setting temporary memory 132 in the RAM 13 is stored. The “employee code”, “name”, and “mail address” of the retrieved record are temporarily stored (step S129).

次いで、従業員設定一時メモリ132に記憶されたレコードの「管理レベル」が参照され、オーナーもしくはGマネージャーであるか否かが判断される(ステップS130)。従業員設定一時メモリ132に記憶されたレコードの「管理レベル」がオーナーもしくはGマネージャーであると判断された場合(ステップS130;YES)、従業員設定一時メモリ132に記憶されたデータがメール配信予定メモリ133にセットされる(ステップS131)。そして、「従業員設定ファイルの検索カウンタ」が1インクリメントされ(ステップS132)、処理はステップS127に戻り、「従業員設定ファイルの検索カウンタ」に対応する位置のレコードから新たに検索が開始される。即ち、管理レベルがオーナーもしくはGマネージャーの場合は、出勤しているか否かにかかわらず、メール配信対象と判別され、メール配信予定メモリ133にメールアドレス等が設定される。   Next, the “management level” of the record stored in the employee setting temporary memory 132 is referred to, and it is determined whether the user is the owner or the G manager (step S130). When it is determined that the “management level” of the record stored in the employee setting temporary memory 132 is the owner or the G manager (step S130; YES), the data stored in the employee setting temporary memory 132 is scheduled to be mailed. It is set in the memory 133 (step S131). Then, the “employee setting file search counter” is incremented by 1 (step S132), the process returns to step S127, and a new search is started from the record corresponding to the “employee setting file search counter”. . That is, when the management level is the owner or the G manager, it is determined that the mail is to be delivered regardless of whether or not he / she is at work, and an email address or the like is set in the email delivery schedule memory 133.

一方、従業員設定一時メモリ132に記憶されたレコードの「管理レベル」がオーナーもしくはGマネージャーではないと判断された場合(ステップS130;NO)、ステップS133〜S135の処理によって出退勤に基づいてメール配信対象とするか否かが判別される。   On the other hand, when it is determined that the “management level” of the record stored in the employee setting temporary memory 132 is not the owner or the G manager (step S130; NO), mail distribution is performed based on the attendance and leaving by the processing of steps S133 to S135. It is discriminated whether or not it is a target.

まず、従業員設定一時メモリ132に記憶されたレコードと「従業員コード」が一致するレコードが出退勤履歴ファイル142から検索される(ステップS133)。検索時には、RAM13に形成される「出退勤履歴ファイルの検索カウンタ」が使用され、処理対象のレコードの位置が管理される。具体的には、先頭のレコードを1として、以下「出退勤履歴ファイルの検索カウンタ」を1ずつカウントアップ(インクリメント)しながら、最終レコードに向けて順次1レコードずつ、該当するレコードが存在するか又は最終レコードに到達するまで検索が行われる。   First, a record whose “employee code” matches the record stored in the employee setting temporary memory 132 is searched from the time and attendance history file 142 (step S133). At the time of search, a “attendance / attendance history file search counter” formed in the RAM 13 is used to manage the position of the record to be processed. Specifically, the first record is set to 1, and the corresponding record exists sequentially one record at a time toward the final record while incrementing (incrementing) the “attendance / attendance history file search counter” by one. The search is performed until the last record is reached.

検索の結果、出退勤履歴ファイル142に「従業員コード」が一致するレコードが存在した場合(ステップS134;YES)、当該レコードに「退勤時刻」がセットされているか否かが判断される(ステップS135)。当該レコードに「退勤時刻」がセットされていると判断されると(ステップS135;YES)、「出退勤履歴ファイルの検索カウンタ」が1インクリメントされ(ステップS137)、処理はステップS133に戻り、「出退勤履歴ファイルの検索カウンタ」に対応する位置のレコードから新たに検索が開始される。ここで、「退勤時刻」がセットされているレコードは、過去の出勤についてのレコードであるか又は当日すでに退勤していることを示している。よって、メール配信対象として判別されず、メールアドレスはセットされない。   As a result of the search, when there is a record with the same “employee code” in the attendance / leaving history file 142 (step S134; YES), it is determined whether or not “time away” is set in the record (step S135). ). If it is determined that the “time of work” is set in the record (step S135; YES), the “search counter of the time and attendance history file” is incremented by 1 (step S137), and the process returns to step S133. The search is newly started from the record at the position corresponding to the “history file search counter”. Here, the record in which “working time” is set indicates that it is a record about past work or has already left work on that day. Therefore, it is not determined as a mail delivery target, and a mail address is not set.

ステップS135において、検索されたレコードに「退勤時刻」がセットされていないと判断されると(ステップS135;NO)、従業員設定一時メモリ132に記憶されたデータがメール配信予定メモリ133にセットされる(ステップS136)。そして、「出退勤履歴ファイルの検索カウンタ」が1インクリメントされ(ステップS137)、処理はステップS133に戻り、出退勤履歴ファイル142の「出退勤履歴ファイルの検索カウンタ」に対応するレコードから新たに検索が開始される。ここで、「退勤時刻」がセットされていないレコードは、その従業員コードの従業員が出勤中であることを示しており、出勤中の従業員がメール配信対象と判別され、メール配信予定メモリ133にメールアドレスが格納される。   In step S135, if it is determined that the “working time” is not set in the retrieved record (step S135; NO), the data stored in the employee setting temporary memory 132 is set in the mail delivery schedule memory 133. (Step S136). Then, the “attendance / attendance history file search counter” is incremented by 1 (step S137), the process returns to step S133, and a new search is started from the record corresponding to the “attendance / attendance history file search counter” in the attendance / attendance history file 142. The Here, a record in which “time away from work” is not set indicates that the employee of the employee code is working, and the employee who is working is determined to be mail delivery target, and the mail delivery schedule memory An e-mail address is stored in 133.

一方、ステップS133における検索の結果、従業員設定一時メモリ132に記憶されたレコードと「従業員コード」が一致するレコードが出退勤履歴ファイル142の以降のレコードに存在せず、最終レコードに到達したと判断された場合(ステップS134;NO)、処理はステップS132に移行し、「従業員設定ファイルの検索カウンタ」が1インクリメントされ(ステップS132)、処理はステップS127に戻り、「従業員設定ファイルの検索カウンタ」に対応する位置のレコードから新たに検索が開始される。   On the other hand, as a result of the search in step S133, a record whose “employee code” matches the record stored in the employee setting temporary memory 132 does not exist in the subsequent records in the attendance / employment history file 142, and has reached the final record. If it is determined (step S134; NO), the process proceeds to step S132, the “employee setting file search counter” is incremented by 1 (step S132), the process returns to step S127, and “employee setting file search counter” is set. A new search is started from the record corresponding to the “search counter”.

ステップS127における検索の結果、メール配信一時メモリ131にセットした「送信先」と「管理レベル」が一致するレコードが従業員設定ファイル143の以降のレコードに存在せず、最終レコードに到達したと判断された場合(ステップS128;NO)、処理はステップS138に移行する。   As a result of the search in step S127, it is determined that a record in which the “transmission destination” set in the mail delivery temporary memory 131 matches the “management level” does not exist in the subsequent records of the employee setting file 143 and has reached the final record. If so (step S128; NO), the process proceeds to step S138.

ステップS138においては、メール配信予定メモリ133に記憶されているデータとメール配信一時メモリ131に記憶されているメール内容に基づいて、メール配信要求コマンドが作成される(ステップS138)。   In step S138, a mail delivery request command is created based on the data stored in the mail delivery schedule memory 133 and the mail contents stored in the mail delivery temporary memory 131 (step S138).

図20に、ステップS138において作成されるメール配信要求コマンドのデータ構成例を示す。図20に示すように、メール配信要求コマンドは、メール配信要求コマンドであることを示すメール配信要求コマンドコードと、メール配信予定メモリ133に記憶されている従業員コード、名前、メールアドレス、及びメール配信一時メモリ131に記憶されているメール内容により構成される。   FIG. 20 shows a data configuration example of the mail delivery request command created in step S138. As shown in FIG. 20, the mail delivery request command includes a mail delivery request command code indicating that it is a mail delivery request command, an employee code, name, email address, and email stored in the email delivery schedule memory 133. The mail contents stored in the temporary distribution memory 131 are configured.

メール配信要求コマンドの作成が終了すると、作成されたメール配信要求コマンドが通信部15により情報センタサーバ2に送信される(ステップS139)。そして、業務連絡ファイルの検索カウンタが1インクリメントされ(ステップS140)、処理はステップS123に戻り、「メール配信指令設定ファイルの検索カウンタ」に対応する位置のレコードを処理対象のレコードとして、ステップS123以降の処理が実行される。   When the creation of the mail delivery request command is completed, the created mail delivery request command is transmitted to the information center server 2 by the communication unit 15 (step S139). Then, the business communication file search counter is incremented by 1 (step S140), the process returns to step S123, and the record corresponding to the “mail delivery command setting file search counter” is set as the processing target record. The process is executed.

ステップS124において、現在時刻と「配信時刻」が一致しないと判断された場合(ステップS124;一致しない)、業務連絡ファイル144の全レコードについての処理が終了したか否かが判断され、終了していないと判断されると(ステップS141;NO)、「業務連絡ファイルの検索カウンタ」が1インクリメントされ(ステップS142)、処理はステップS123に戻り、「業務連絡ファイルの検索カウンタ」に対応する位置のレコードを処理対象のレコードとして、ステップS123以降の処理が実行される。業務連絡ファイル144の全レコードについての処理が終了したと判断されると(ステップS141;YES)、メール配信要求処理は終了する。   If it is determined in step S124 that the current time does not match the “distribution time” (step S124; does not match), it is determined whether or not the processing for all the records in the business communication file 144 has been completed. If it is determined that there is not (step S141; NO), the “business contact file search counter” is incremented by 1 (step S142), the process returns to step S123, and the position corresponding to the “business contact file search counter” is reached. The processing after step S123 is executed with the record as the processing target record. If it is determined that the processing for all the records in the business communication file 144 has been completed (step S141; YES), the mail delivery request processing ends.

情報センタサーバ2においては、通信部25により売上データ処理装置1からのメール配信要求コマンドが受信されると、受信されたメール配信要求コマンドに含まれる「メール内容」をメール本文とし、「業務連絡」を件名としたメールが作成され、メール配信装置27により「メールアドレス」にメールが配信される。   In the information center server 2, when the mail delivery request command is received from the sales data processing device 1 by the communication unit 25, the “mail content” included in the received mail delivery request command is used as the mail text, and “business communication” The mail with the subject “is created, and the mail is delivered to the“ mail address ”by the mail delivery device 27.

以上説明したように、実施形態2の店舗システム100によれば、売上データ処理装置1のCPU10は、記憶部14の出退勤履歴ファイル142に記憶されている出退勤情報に基づいて売上データや業務連絡に係るメールの配信対象となる業務遂行者(従業員コードで管理される従業者及びオーナー)を判別し、配信対象として判別された業務遂行者の携帯端末のアドレスへのメールの配信要求コマンドを生成して通信部15により情報センタサーバ2に送信する。情報センタサーバ2は、メール配信要求コマンドに基づいてメール配信を行う。   As described above, according to the store system 100 of the second embodiment, the CPU 10 of the sales data processing apparatus 1 performs sales data and business communication based on the attendance / leaving information stored in the attendance / leaving history file 142 of the storage unit 14. Identify the business performers (employees and owners managed by employee codes) that are subject to the delivery of such emails, and generate a mail delivery request command to the mobile terminal address of the business performer identified as the delivery target Then, the information is transmitted to the information center server 2 by the communication unit 15. The information center server 2 performs mail distribution based on the mail distribution request command.

従って、出勤していないマネージャーや店員等の、メールを配信する必要のない業務遂行者の携帯端末にメールが配信されてしまうことを防止することができる。   Therefore, it is possible to prevent the mail from being distributed to the mobile terminal of a business person who does not need to distribute the mail, such as a manager or a clerk who does not work.

また、記憶部14は、全店舗の業務遂行者の管理レベルが格納された従業員設定ファイル143を記憶しており、CPU10は、管理レベルがオーナー、Gマネージャー等の予め定められた管理レベルである業務遂行者については、全て電子メールの配信対象と判別し、予め定められた管理レベルではない業務遂行者については、出退勤情報に基づいて電子メールの配信対象とするか否かの判別を行う。   The storage unit 14 stores an employee setting file 143 in which management levels of business performers in all stores are stored. The CPU 10 has a management level of a predetermined management level such as an owner or a G manager. For certain business performers, all are determined as e-mail delivery targets, and for those who are not at a predetermined management level, it is determined whether or not e-mails are to be delivered based on the attendance information. .

従って、オーナーやGマネージャー等の店舗の管理者や責任者等、業務や売上を把握しておく必要がある管理レベルの者には、出勤しているか否かにかかわらずメールを配信することが可能となる。   Therefore, it is possible to deliver an email regardless of whether or not he / she is attending work to a manager at a management level who needs to know business and sales, such as an owner or manager of a store such as a manager. It becomes possible.

また、記憶部14は、電子メールの配信時刻と、送信先と、メール内容とを対応付けて格納する業務連絡ファイル144を記憶しており、CPU10は、業務連絡ファイル144に設定されている配信時刻が到来した際に、送信先として指定されている業務遂行者のなかからメールの配信対象の業務遂行者を判別し、業務連絡ファイル144に記憶されているメール内容のメールの配信要求コマンドを通信部15により情報センタサーバ2に送信する。   In addition, the storage unit 14 stores a business contact file 144 that stores an electronic mail delivery time, a transmission destination, and mail content in association with each other, and the CPU 10 delivers the delivery set in the business contact file 144. When the time arrives, the business performer to whom the mail is to be delivered is determined from among the business performers designated as the transmission destinations, and a mail delivery request command for the mail content stored in the business contact file 144 is issued. The information is transmitted to the information center server 2 by the communication unit 15.

従って、予め設定された配信時刻に、管理レベルや出退勤情報に基づいて、予め送信先として指定された業務遂行者のうち必要な業務遂行者にメールを配信することが可能となる。   Therefore, at a preset delivery time, it is possible to deliver mail to a necessary business performer among business performers designated as transmission destinations based on the management level and attendance information.

また、配信されるメールは、業務において実行すべき所定の操作を指示するためのメールであり、CPU10は、所定操作が実行されたか否かを判断し、実行されていないと判断した場合に、メールの配信対象となる業務遂行者の判別を行い、メール配信を行う情報センタサーバ2に対し、配信対象として判別された業務遂行者の端末装置のアドレスへのメールの配信要求コマンドを送信する。   In addition, the delivered mail is a mail for instructing a predetermined operation to be executed in the business, and the CPU 10 determines whether or not the predetermined operation has been executed. The business performer to whom the mail is to be distributed is determined, and a mail distribution request command to the address of the terminal of the business performer determined as the distribution target is transmitted to the information center server 2 that performs the mail distribution.

従って、所定の操作が行われていれば配信する必要のないメールの配信を防止することができる。例えば、点検業務を行う時刻に、「点検操作をお願いします」等の業務連絡メールを配信する設定がなされていても、既に点検操作が行われている場合には、メールが配信されないので、不要なメール配信を防止することができる。   Therefore, if a predetermined operation is performed, it is possible to prevent delivery of mail that does not need to be delivered. For example, at the time of inspection work, even if it is set to deliver a business contact email such as "Please check in", if the inspection operation has already been performed, the email will not be delivered. Unnecessary mail delivery can be prevented.

なお、上記実施形態における記述内容は、本発明に係る店舗システム100の好適な一例であり、これに限定されるものではない。   In addition, the description content in the said embodiment is a suitable example of the store system 100 which concerns on this invention, and is not limited to this.

例えば、上記実施形態1、2においては、業務遂行者の携帯端末にメールを配信する場合を例にとり説明したが、これに限定されず、業務遂行者のPC(Personal Computer)等であってもよい。   For example, in the first and second embodiments, the case where mail is delivered to the mobile terminal of the business operator has been described as an example. However, the present invention is not limited to this, and the business operator's PC (Personal Computer) or the like may be used. Good.

また、実施形態2においては、実施形態1におけるメール配信指令設定ファイル244の変わりに業務連絡ファイル144を用い、業務連絡ファイル144に格納されている操作が完了している場合にはメールを配信しない態様について説明したが、メール配信指令設定ファイル244と同様のファイルを記憶部14に記憶し、出退勤情報及び管理レベルのみによってメール配信対象を判別することとしてもよい。   In the second embodiment, the business communication file 144 is used instead of the mail distribution command setting file 244 in the first embodiment, and mail is not distributed when the operation stored in the business communication file 144 is completed. Although the mode has been described, a file similar to the mail delivery command setting file 244 may be stored in the storage unit 14, and the mail delivery target may be determined based only on the attendance information and the management level.

また、メール配信対象とする管理レベルは、予め定められていることとしたが、入力部からの操作に基づいて設定できるようにしてもよい。また、管理レベルに関わらず、一律に出退勤情報によってメール配信対象を判別することとしてもよい。   In addition, although the management level for mail delivery is determined in advance, it may be set based on an operation from the input unit. In addition, regardless of the management level, it is also possible to determine the mail delivery target based on the attendance / leaving information.

その他、店舗システム100を構成する各装置の細部構成及び細部動作に関しても、発明の趣旨を逸脱することのない範囲で適宜変更可能である。   In addition, the detailed configuration and detailed operation of each device constituting the store system 100 can be changed as appropriate without departing from the spirit of the invention.

1 売上データ処理装置
10 CPU
11 入力部
12 表示部
13 RAM
131 メール配信一時メモリ
132 従業員設定一時メモリ
133 メール配信予定メモリ
14 記憶部
141 商品登録情報ファイル
142 出退勤履歴ファイル
143 従業員設定ファイル
144 業務連絡ファイル
15 通信部
16 印字部
17 ドロア
18 スキャナ部
19 計時部
101 バス
2 情報センタサーバ
20 CPU
21 入力部
22 表示部
23 RAM
231 メール配信一時メモリ
232 従業員設定一時メモリ
233 メール配信予定メモリ
24 記憶部
241 売上情報DB
242 出退勤履歴ファイル
243 従業員設定ファイル
244 メール配信指令設定ファイル
25 通信部
26 計時部
27 メール配信装置
28 バス
1 Sales Data Processing Device 10 CPU
11 Input unit 12 Display unit 13 RAM
131 Temporary mail delivery memory 132 Temporary employee setting memory 133 Email delivery scheduled memory 14 Storage unit 141 Product registration information file 142 Time and attendance history file 143 Employee setting file 144 Business communication file 15 Communication unit 16 Printing unit 17 Drawer 18 Scanner unit 19 Timekeeping Unit 101 Bus 2 Information center server 20 CPU
21 Input unit 22 Display unit 23 RAM
231 temporary mail distribution memory 232 employee setting temporary memory 233 mail distribution scheduled memory 24 storage unit 241 sales information DB
242 Time and attendance history file 243 Employee setting file 244 Mail distribution command setting file 25 Communication section 26 Timing section 27 Mail distribution apparatus 28 Bus

Claims (7)

通信ネットワークを介してデータ処理装置に接続されるサーバ装置であって、
電子メールを配信するメール配信手段と、
前記データ処理装置から送信された店舗の業務遂行者の出退勤情報を記憶する記憶手段と、
前記記憶手段に記憶されている出退勤情報に基づいて電子メールの配信対象となる業務遂行者を判別し、前記配信対象として判別された業務遂行者の端末装置のアドレスに前記メール配信手段により電子メールを配信させる制御手段と、
を備え、
前記記憶手段は、更に、前記店舗の業務遂行者の管理レベルを記憶し、
前記制御手段は、前記記憶手段に記憶されている管理レベルが予め定められた管理レベルである業務遂行者は電子メールの配信対象と判別し、前記予め定められた管理レベルではない業務遂行者については、前記出退勤情報に基づいて電子メールの配信対象とするか否かの判別を行う、
ことを特徴とするサーバ装置。
A server device connected to a data processing device via a communication network,
A mail delivery means for delivering e-mail;
Storage means for storing the attendance / leaving information of the business performer of the store transmitted from the data processing device;
Based on the attendance and attendance information stored in the storage means, a business person who is a delivery target of the electronic mail is determined, and an email is sent to the address of the terminal of the business person determined as the delivery target by the mail delivery means. Control means for delivering
Bei to give a,
The storage means further stores a management level of a business performer of the store,
The control means determines that a business performer whose management level stored in the storage means is a predetermined management level is an e-mail delivery target, and for a business performer who does not have the predetermined management level. Determines whether or not to be an e-mail delivery target based on the attendance information.
The server apparatus characterized by the above-mentioned .
前記記憶手段は、更に、電子メールの配信時刻と、送信先と、メール内容とを対応付けて記憶し、
前記制御手段は、前記記憶手段に記憶されている配信時刻が到来した際に、前記送信先として指定された業務遂行者のなかから電子メールの配信対象の業務遂行者を判別し、前記記憶手段に記憶されている前記メール内容に基づいて、前記配信対象として判別された業務遂行者の端末装置のアドレスに前記メール配信手段により電子メールを配信させる、
ことを特徴とする請求項1に記載のサーバ装置。
The storage means further stores an electronic mail delivery time, a destination, and mail contents in association with each other,
When the delivery time stored in the storage means has arrived, the control means discriminates a business performer to whom e-mail is to be delivered from among business performers designated as the transmission destination, and the storage means based on the mail contents stored in, Ru is deliver email by the mail distribution unit to the address of the determined business operations of the terminal apparatus as the distribution object,
The server apparatus according to claim 1 .
電子メールを配信するサーバ装置と通信ネットワークを介して接続されるデータ処理装置であって、
操作手段の操作に応じて入力される業務遂行者の出退勤情報を記憶する記憶手段と、
前記記憶手段に記憶されている出退勤情報に基づいて電子メールの配信対象となる業務遂行者を判別し、前記配信対象として判別された業務遂行者の端末装置のアドレスへの電子メールの配信要求コマンドを前記サーバ装置に送信する制御手段と、
を備え、
前記記憶手段は、更に、前記店舗の業務遂行者の管理レベルを記憶し、
前記制御手段は、前記記憶手段に記憶されている管理レベルが予め定められた管理レベルである業務遂行者については電子メールの配信対象と判別し、前記予め定められた管理レベルではない業務遂行者は前記出退勤情報に基づいて電子メールの配信対象とするか否かの判別を行う、
ことを特徴とするデータ処理装置。
A data processing device connected via a communication network to a server device for delivering electronic mail,
Storage means for storing the attendance information of the business performer input according to the operation of the operation means;
An e-mail delivery request command to the address of the terminal of the work performer identified as the delivery target is determined based on the attendance information stored in the storage means. Control means for transmitting to the server device;
Bei to give a,
The storage means further stores a management level of a business performer of the store,
The control unit determines that a business performer whose management level stored in the storage unit is a predetermined management level is an e-mail delivery target, and performs a business performer who does not have the predetermined management level. Determines whether or not to be an e-mail delivery target based on the attendance information.
A data processing apparatus.
前記記憶手段は、更に、電子メールの配信時刻と、送信先と、メール内容とを対応付けて記憶し、
前記制御手段は、前記記憶手段に記憶されている配信時刻が到来した際に、前記送信先として指定されている業務遂行者から電子メールの配信対象の業務遂行者を判別し、前記配信対象と判別された業務遂行者の端末装置のアドレスへの前記記憶手段に記憶されているメール内容の電子メールの配信要求コマンドを前記サーバに送信する請求項に記載のデータ処理装置。
The storage means further stores an electronic mail delivery time, a destination, and mail contents in association with each other,
When the delivery time stored in the storage means has arrived, the control means discriminates a business performer to whom e-mail is to be delivered from a business performer designated as the transmission destination, and the delivery target 4. The data processing apparatus according to claim 3 , wherein an e-mail distribution request command of e-mail content stored in the storage means to the address of the determined business executor terminal apparatus is transmitted to the server.
前記電子メールは、業務において実行すべき所定の操作を指示するためのメールであり、
前記記憶手段は、更に、前記操作手段の操作履歴を記憶し、
前記制御手段は、前記配信時刻が到来した際に、前記記憶手段に記憶されている操作履歴に基づいて前記所定の操作が実行されたか否かを判断し、実行されていないと判断した場合に、前記電子メールの配信対象となる業務遂行者の判別を行い、前記サーバ装置に対し、前記配信対象として判別された業務遂行者の端末装置のアドレスへの電子メールの配信要求コマンドを送信する請求項に記載のデータ処理装置。
The e-mail is a mail for instructing a predetermined operation to be executed in business,
The storage means further stores an operation history of the operation means,
The control means determines whether or not the predetermined operation has been executed based on an operation history stored in the storage means when the distribution time has arrived, and when determining that the predetermined operation has not been executed. Determining a business performer to whom the electronic mail is to be distributed, and transmitting, to the server device, an electronic mail distribution request command to the address of the terminal of the business performer identified as the distribution target. Item 5. A data processing apparatus according to Item 4 .
通信ネットワークを介してデータ処理装置に接続されるサーバ装置に用いられるコンピュータを、
電子メールを配信するメール配信手段、
前記データ処理装置から送信された店舗の業務遂行者の出退勤情報を記憶する記憶手段、
前記記憶手段に記憶されている出退勤情報に基づいて電子メールの配信対象となる業務遂行者を判別し、前記配信対象として判別された業務遂行者の端末装置のアドレスに前記メール配信手段により電子メールを配信させる制御手段、
として機能させ、
前記記憶手段は、更に、前記店舗の業務遂行者の管理レベルを記憶し、
前記制御手段は、前記記憶手段に記憶されている管理レベルが予め定められた管理レベルである業務遂行者は電子メールの配信対象と判別し、前記予め定められた管理レベルではない業務遂行者については、前記出退勤情報に基づいて電子メールの配信対象とするか否かの判別を行う、
ためのプログラム。
A computer used for a server device connected to a data processing device via a communication network,
Mail delivery means for delivering e-mail,
Storage means for storing the attendance / leaving information of the store business performer transmitted from the data processing device;
Based on the attendance and attendance information stored in the storage means, a business person who is a delivery target of the electronic mail is determined, and an email is sent to the address of the terminal of the business person determined as the delivery target by the mail delivery means. Control means to deliver,
Function as
The storage means further stores a management level of a business performer of the store,
The control means determines that a business performer whose management level stored in the storage means is a predetermined management level is an e-mail delivery target, and for a business performer who does not have the predetermined management level. Determines whether or not to be an e-mail delivery target based on the attendance information.
Program for.
電子メールを送信するサーバ装置と通信ネットワークを介して接続されるデータ処理装置に用いられるコンピュータを、
操作手段の操作に応じて入力される業務遂行者の出退勤情報を記憶する記憶手段、
前記記憶手段に記憶されている出退勤情報に基づいて電子メールの配信対象となる業務遂行者を判別し、前記配信対象として判別された業務遂行者の端末装置のアドレスへの電子メールの配信要求コマンドを前記サーバ装置に送信する制御手段、
として機能させ、
前記記憶手段は、更に、前記店舗の業務遂行者の管理レベルを記憶し、
前記制御手段は、前記記憶手段に記憶されている管理レベルが予め定められた管理レベルである業務遂行者については電子メールの配信対象と判別し、前記予め定められた管理レベルではない業務遂行者は前記出退勤情報に基づいて電子メールの配信対象とするか否かの判別を行う、
ためのプログラム。
A computer used in a data processing device connected via a communication network to a server device that transmits electronic mail,
Storage means for storing the attendance information of the business performer input in response to the operation of the operation means;
An e-mail delivery request command to the address of the terminal of the work performer identified as the delivery target is determined based on the attendance information stored in the storage means. Control means for transmitting to the server device,
Function as
The storage means further stores a management level of a business performer of the store,
The control unit determines that a business performer whose management level stored in the storage unit is a predetermined management level is an e-mail delivery target, and performs a business performer who does not have the predetermined management level. Determines whether or not to be an e-mail delivery target based on the attendance information.
Program for.
JP2009042037A 2009-02-25 2009-02-25 Server device, data processing device, and program Expired - Fee Related JP5293261B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009042037A JP5293261B2 (en) 2009-02-25 2009-02-25 Server device, data processing device, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009042037A JP5293261B2 (en) 2009-02-25 2009-02-25 Server device, data processing device, and program

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2013111693A Division JP5904158B2 (en) 2013-05-28 2013-05-28 Information processing apparatus and program

Publications (3)

Publication Number Publication Date
JP2010198285A JP2010198285A (en) 2010-09-09
JP2010198285A5 JP2010198285A5 (en) 2011-11-17
JP5293261B2 true JP5293261B2 (en) 2013-09-18

Family

ID=42822955

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009042037A Expired - Fee Related JP5293261B2 (en) 2009-02-25 2009-02-25 Server device, data processing device, and program

Country Status (1)

Country Link
JP (1) JP5293261B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6915361B2 (en) * 2017-04-25 2021-08-04 カシオ計算機株式会社 Attendance management system and attendance management method
JP2018085106A (en) * 2017-11-08 2018-05-31 能美防災株式会社 Support system
JP6810295B1 (en) * 2019-09-25 2021-01-06 宇雄 丹野 Attendance management methods, attendance management programs, and attendance management systems

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3373918B2 (en) * 1993-11-30 2003-02-04 三洋電機株式会社 Sales registration device
JP2006277685A (en) * 2005-03-30 2006-10-12 Fujitsu Ltd Failure occurrence notification program and notification device.
JP2007334543A (en) * 2006-06-14 2007-12-27 Nec Corp Project management system, daily work management server, project management method, and program

Also Published As

Publication number Publication date
JP2010198285A (en) 2010-09-09

Similar Documents

Publication Publication Date Title
JP4560237B2 (en) Deposit system using vending machines
JP5571351B2 (en) Production management system, control method thereof, and program thereof
JP6275175B2 (en) Delivery management device and delivery management system
JP2019037389A (en) Locker device, locker management system, locker management method, and locker management program
JP2009098976A (en) Advertisement display system
JP5293261B2 (en) Server device, data processing device, and program
JP6850471B2 (en) Game management device and game management system
JP5987334B2 (en) Information setting system and maintenance management device
JP2005100192A (en) Commodity order receiving/placing stock management system and device
JP2016136409A (en) Information processing apparatus and program
CN106558158A (en) Job managing apparatus and job management method
JP5904158B2 (en) Information processing apparatus and program
JP5287341B2 (en) Sales data processing apparatus and program
JP4991271B2 (en) Server device and its program
JP2004199525A (en) Method for advance payment-allowable payment and server device, and program
JP6116189B2 (en) Lease target object management system and management server
JP6123188B2 (en) Ordering system
US20160253609A1 (en) Information Processing System and Information Processing Method
JP2009098975A (en) Advertisement distribution system
JP2005222243A (en) Transaction approval method, transaction approval program, and transaction approval device
JP2019121034A (en) Settlement support system, settlement support device, and settlement support method
JP5428819B2 (en) Sales data processing system and program
JP6739569B2 (en) Deposit management device and deposit management method
JP2010157067A (en) Device, method and program for managing document
CN109196536A (en) Information processing unit, display methods and program

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110929

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110929

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20110929

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130124

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130305

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130422

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130527

R150 Certificate of patent or registration of utility model

Ref document number: 5293261

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees