JPH11296590A - Period information managing device - Google Patents

Period information managing device

Info

Publication number
JPH11296590A
JPH11296590A JP10484698A JP10484698A JPH11296590A JP H11296590 A JPH11296590 A JP H11296590A JP 10484698 A JP10484698 A JP 10484698A JP 10484698 A JP10484698 A JP 10484698A JP H11296590 A JPH11296590 A JP H11296590A
Authority
JP
Japan
Prior art keywords
date
data
condition
extraction
period
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP10484698A
Other languages
Japanese (ja)
Inventor
Naoshi Wakao
直志 若生
Mitsuru Nomura
満 野村
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP10484698A priority Critical patent/JPH11296590A/en
Publication of JPH11296590A publication Critical patent/JPH11296590A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To efficiently retrieve such as object period that is not a date, but a specific activity day, a specific activity month or a specific activity year through simple condition setting in the case that an action day for starting a process (action) is retrieved when the specific object period comes round. SOLUTION: The device is equipped with a period condition registering means 4 which registers extraction source data 2 consisting of process data including date data and a condition of retrieval of process data from the extraction source data 2 as a period condition including the kind of the data constituting the date data and a period information extracting means which retrieves date data included in the extraction source data 2 according to the data kind set in the period condition and which extracts the corresponding process data.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、顧客の生年月日、
各種契約日等の日付が管理されている各種管理情報を参
照し、特定の期日には処理(アクション)を起こす必要
がある場合の期日情報を管理するための制御に関するも
のである。管理情報を参照し、特定の期日が近づいた場
合に処理(アクション)を起こす場合には、定期預金の
満期日の付近になったら、満期が近いという案内状を送
付するような例がある。送付状作成送付には処理期間が
必要なため、アクションを起こすのは期日の1ヶ月前と
なり、満期日の年月日を検索対象として該当する定期預
金契約者情報を検索することになる。その他の例として
は、誕生日等の個人情報を会員情報として登録している
顧客に対して、来店すれば誕生日プレゼントがあるとい
う交換はがきを送付するような例がある。送付状作成送
付には処理期間が必要なため、アクションを起こすのは
期日の1ヶ月前となり、また、誕生日は特定の年だけで
はなく、複数年の月日でプレゼント対象となる場合に
は、会員情報に登録された生年月日の内、月日を検索対
象として該当する会員を検索することになる。
TECHNICAL FIELD The present invention relates to the birth date of a customer,
This is related to control for managing date information when processing (action) needs to be performed on a specific date by referring to various management information in which dates such as various contract dates are managed. When processing (action) is performed when a specific deadline is approached by referring to the management information, there is an example in which a guide letter indicating that the maturity is near is sent when the expiration date of the time deposit is reached. Since a processing period is required for sending a cover sheet, an action is taken one month before the due date, and the relevant term deposit contractor information is searched for the expiration date. As another example, there is an example in which a customer who has registered personal information such as a birthday as member information is sent an exchange postcard indicating that there is a birthday present when visiting the store. Since the processing of the cover sheet requires a processing period, the action will take place one month before the due date, and if the birthday is not limited to a specific year, but is eligible for gifts on multiple days, Then, among the dates of birth registered in the member information, the relevant member is searched by searching for the date.

【0002】[0002]

【従来の技術】従来、特定の日付、期間に対する処理
(アクション)を管理するために、日付を含む各種管理
情報を検索する場合には、図7の従来例にあるように、
アクション項目一覧80から未処理項目及び処理期日を
確認し、次に検索画面81等を利用して管理情報のデー
タベースに対して期間に含まれるデータを検索してい
た。日付の検索は、一般には特定の年月日であるか、ま
たは、開始及び終了日の設定による一定の期間に含まれ
るか、または、特定の日付からの月、週等の一定期間に
含まれるか否かで検索される。
2. Description of the Related Art Conventionally, when various types of management information including a date are searched in order to manage a process (action) for a specific date and period, as shown in the conventional example of FIG.
The unprocessed item and the processing date are confirmed from the action item list 80, and then the data included in the period is searched in the management information database using the search screen 81 or the like. The date search is generally a specific date, or is included in a certain period by setting start and end dates, or is included in a certain period such as a month or a week from a specific date It is searched by whether or not.

【0003】既述の例であれば、従来は定期預金の満期
日を検索する場合には、定期預金契約データベースを検
索し、満期日が設定されていれば、該当する満期日を検
索し、また、満期日が設定されていなければ、契約年月
日及び何年物の定期預金かの情報から満期日を換算し該
当する満期日を検索していた。次に、その他の検索例で
ある会員の誕生月日を検索する場合には、会員情報に登
録されている各会員の生年月日データを検索するが、会
員の誕生年はばらばらであるため、検索に必要な誕生月
日を検索するためには、検索対象月日に対象範囲となる
複数の年号を付加して検索年月日を設定し、複数年に渡
って検索処理を繰り返し、該当する誕生月日の会員を検
索していた。
In the above-described example, conventionally, when searching for the maturity date of a time deposit, a time deposit contract database is searched. If the maturity date is set, the corresponding maturity date is searched. Further, if the maturity date is not set, the maturity date is converted from the contract date and the information on the number of time deposits to search for the corresponding maturity date. Next, when searching for the birth date of a member, which is another search example, the birth date data of each member registered in the member information is searched, but since the birth years of members are different, In order to search for the birth date required for the search, set the search date by adding multiple eras that are the target range to the search date and repeat the search process over multiple years, I was searching for a member of the birth date.

【0004】[0004]

【発明が解決しようとする課題】従来の日付検索処理で
は、検索する日付は特定の年月日及び、特定の年月日か
らの一定期間の日付であるため、検索対象とする日付が
日付データの一部である月日や日、或いは年月のみであ
る場合には、検索者が他の年月日情報を補って検索条件
として指定して複数回検索を繰り返さなければならな
い、または、検索目的に応じて検索処理ルーチンを生成
しなければならない、という問題があった。
In the conventional date search process, the date to be searched is a specific date and a date within a certain period from the specific date, so that the date to be searched is date data. If the search is only part of the month, day or day, or year and month, the searcher must repeat the search multiple times by specifying the search conditions in addition to other date information, or There is a problem that a search processing routine must be generated according to the purpose.

【0005】[0005]

【課題を解決するための手段】本願発明は、上記課題を
解決するために、日付データを含むような各種管理情報
を対象とした検索処理を行う期日情報管理装置におい
て、対象データに含まれる日付データの検索条件が年月
日なのか、月日なのかといった種別を指定して期日条件
として登録する期日条件登録手段と、登録した期日条件
に設定された種別に応じて検索に必要な日付情報を補完
して対象データを検索し、該当する日付が含まれる処理
データを抽出する期日情報抽出手段を備えるように構成
する。
SUMMARY OF THE INVENTION In order to solve the above-mentioned problems, the present invention provides a date information management apparatus for performing a search process on various types of management information including date data. A date condition registration unit that specifies the type of data search condition, such as date, month, or day, and registers it as a date condition, and date information required for search according to the type set in the registered date condition To search for target data and extract processing data including the corresponding date.

【0006】[0006]

【発明の実施の形態】以下に、本発明の実施の形態を図
面に基づいて説明する。図1に、本願発明のシステムの
構成を示す。図中、1は指定された検索対象とする管理
情報である抽出データ、検索条件を指定する期日条件デ
ータを各種記憶装置に備え、期日条件データにオペレー
タ等から登録した検索条件を登録するプログラム、登録
した検索条件に従って抽出データを検索し、指定された
条件に一致する日付データを含む管理情報を抽出するプ
ログラム等から構成される期日情報管理装置である。2
に示す抽出元データは、契約年月日、生年月日などの日
付情報を有する各種管理情報であり、例えば、流通業な
どで管理される顧客管理情報、金融業などで管理される
定期預金の契約者情報などの管理情報を指す。3に示す
期日条件データは、管理情報で設定されている日付情報
に対して特に検索したい期日に関する情報を設定したデ
ータファイルであり、例えば、誕生月セールの案内状を
送付するために誕生月日で検索するような条件、案内状
送付処理にかかる工数を除いたアクション日を設定する
ための条件等が設定されるデータファイルである。4に
示す期日条件登録手段は、3に示す期日条件データを登
録するプログラムであり、期日条件データに登録する各
項目についてディスプレイ画面上に登録画面を表示させ
オペレータから入力された情報をデータファイルに登録
するものである。期日条件データは、登録画面から登録
させるほかに、後述するようなデータ形式であれば、テ
キストファイルとしてテキストエディタ等で作成しても
よい。5に示す期日情報抽出手段は、4に示す期日条件
登録手段で登録された3に示す期日条件データの内容を
参照し、指定された期日条件に従って該当するデータを
抽出すると共に、抽出された各データに対するアクショ
ンの開始日を算出し、6に示す抽出データとして出力す
るものである。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 shows the configuration of the system of the present invention. In the figure, reference numeral 1 denotes a program for providing extracted data as management information to be specified as a search target, date condition data specifying search conditions in various storage devices, and registering search conditions registered by an operator or the like in the date condition data; This is a date information management device including a program for searching for extracted data according to registered search conditions and extracting management information including date data matching the specified conditions. 2
Extraction source data shown in (1) is various management information having date information such as contract date, date of birth, etc., for example, customer management information managed in the distribution industry, etc. Refers to management information such as contractor information. The date condition data shown in FIG. 3 is a data file in which information relating to a date to be searched is particularly set with respect to the date information set in the management information. Is a data file in which conditions such as search conditions, conditions for setting an action date excluding the number of steps required for the guide letter sending process, and the like are set. The date condition registration means 4 is a program for registering the date condition data shown in 3, and displays a registration screen on a display screen for each item to be registered in the date condition data, and stores information input by the operator in a data file. It is to register. In addition to registering the date condition data from the registration screen, the date condition data may be created as a text file using a text editor or the like as long as the data format is described later. The due date information extracting means shown in 5 refers to the contents of the due date condition data 3 registered by the due date condition registering means 4 and extracts the corresponding data according to the designated due date condition. The start date of the action on the data is calculated and output as extracted data shown in FIG.

【0007】本実施の形態で説明する期日情報管理装置
は、パーソナルコンピューター、ワークステーション等
の汎用的な目的で使用される計算機上で実行するコンピ
ュータプログラムにより実現する形態を示す。計算機上
で実行されるものであることから、期日条件データ3へ
の登録内容や、登録画面は、図示しないキーボード、デ
ィスプレイ等で入力、出力するものである。
The date information management apparatus described in the present embodiment shows a form realized by a computer program executed on a computer used for general purposes such as a personal computer and a workstation. Since it is executed on a computer, the registration contents to the date condition data 3 and the registration screen are input and output by a keyboard, a display, or the like (not shown).

【0008】計算機は、処理装置、主記憶装置、補助記
憶装置、入出力装置などから構成され、コンピュータプ
ログラムを実行するものであり、コンピュータプログラ
ムは、フロッピーディスクやCD−ROM等の可搬型媒
体やネットワーク接続された他の計算機の主記憶装置や
補助記憶装置等に格納されて提供される。提供されたコ
ンピュータプログラムは、可搬型媒体から直接計算機の
主記憶装置にロードされ、または可搬型媒体からいった
ん補助記憶装置にコピーまたはインストール後に、主記
憶装置にロードされた実行する。また、ネットワーク接
続された他の装置に格納されて提供された場合も、他の
装置からネットワークを経由して受信後に、補助記憶装
置にコピー、主記憶装置にロードされ実行するものであ
る。
The computer is constituted by a processing device, a main storage device, an auxiliary storage device, an input / output device, and the like, and executes a computer program. The computer program includes a portable medium such as a floppy disk, a CD-ROM, or the like. The program is stored and provided in a main storage device or an auxiliary storage device of another computer connected to the network. The provided computer program is loaded directly into the main storage of the computer from the portable medium, or copied and installed from the portable medium to the auxiliary storage once, and then loaded and executed in the main storage. Also, when provided by being stored in another device connected to a network, it is also copied to an auxiliary storage device, loaded into a main storage device, and executed after receiving from another device via a network.

【0009】次に図2で、本発明で使用する期日条件デ
ータについて説明する。期日条件データは、図2に示す
ように構成されており、期日条件登録手段4により登録
されるものであるが、具体的にはオペレータ等が図示し
ない登録ツール等が用意する画面から入力して登録した
り、期日条件データ自体を直接エディタ等で修正して登
録するものである。まず項目名7には、検索対象とする
データファイル名中のどのデータ項目名を検索して抽出
対象とするかを指定するものであり、顧客基本データベ
ース中の「生年月日」といった項目名を設定するもので
ある。データ区分8は、検索してデータを抽出する対象
となる抽出元データのデータファイル名を指定するもの
であり、顧客基本データベースファイル等ファイル名を
設定するものである。抽出期間9は、データの抽出期間
を指定するものであり、特に処理を開始したいアクショ
ン基準日からの抽出対象期間を1ヶ月、2ヶ月というよ
うな月数で設定する。本例では月数で設定する例で説明
するが、抽出期間が1週間、5日間のような場合であれ
ば、週、日数で指定してもよい。日付桁数10は、日付
データについて検索する場合に抽出対象日付の種別が何
か、抽出対象日付のどの部分について処理するかを指定
するものであり、月、年に係わらず特定の日を含む日付
情報を検索する場合には日を示す「2」、特定の月日を
含む日付情報を検索する場合には「4」、特定の年月を
含み、日については検索対象としない場合には「6」、
特定の年月日を含む日付情報を検索する場合には「8」
を設定する。期間数11、区分12から構成される期間
は、抽出したデータについて処理(アクション)を開始
する日(アクション日)を何日前にするかを指定するも
のであり、お誕生日について記念品引き換えはがきを送
付する場合などでは、送付の手間を考慮して2週間前を
示すように期間数11、区分12を設定する。アクショ
ン日をどれくらい前にするかの期間の指定は、期間数1
1と区分12の組み合わせにより指定するものであり、
区分で月数か週数か日数かを示すコードを指定し、期間
数に数値を登録するとで「何カ月」「何週間」「何日」
前かを指定する。例えば、2週間前であれば、期間数と
して「2」区分として「W」を設定する。備考13は、
抽出する目的、抽出したデータの意味を示すものであ
る。
Next, the date condition data used in the present invention will be described with reference to FIG. The due date condition data is configured as shown in FIG. 2, and is registered by the due date condition registering means 4. Specifically, the operator or the like inputs the due date from a screen prepared by a registration tool (not shown) or the like. The registration or the date condition data itself is corrected by an editor or the like and registered. First, the item name 7 specifies which data item name in the data file name to be searched is to be searched and extracted, and the item name such as “birth date” in the customer basic database is specified. To set. The data section 8 specifies the data file name of the extraction source data from which data is searched and extracted, and sets a file name such as a customer basic database file. The extraction period 9 designates a data extraction period, and particularly sets an extraction target period from the action reference date at which processing is desired to be started to be one month or two months. In this example, an example in which the number of months is set will be described. However, if the extraction period is one week or five days, the number of weeks may be specified. The number of date digits 10 specifies the type of the extraction target date when searching for date data and which part of the extraction target date is to be processed, and includes a specific day regardless of month or year. "2" indicating the day when searching for date information, "4" when searching for date information including a specific month and day, and "4" when including a specific year and month and not searching for days "6",
"8" to search for date information including a specific date
Set. The period constituted by the number of periods 11 and the divisions 12 specifies how many days before the date (action date) to start processing (action) for the extracted data, and a souvenir exchange postcard for the birthday. In the case of sending, for example, the number of periods 11 and the division 12 are set to indicate two weeks before in consideration of the trouble of sending. Specify how long before the action date is the number of periods 1
Designated by a combination of 1 and 12
By specifying a code indicating the number of months, weeks, or days in the category, and registering the number in the number of periods, "months", "weeks", "days"
Specify before. For example, if two weeks ago, “W” is set as the “2” category as the number of periods. Remark 13
It indicates the purpose of extraction and the meaning of the extracted data.

【0010】次に、図2で示した期日条件データの設定
内容に従って抽出元データを検索する期日情報抽出手段
5の処理の流れについて、図3に説明する。期日条件デ
ータの具体例、抽出元データの具体例として図5の例を
使用し、図5に示すデータに従って、顧客の誕生日の2
週間前に記念品引き換えはがきを送付する例に基づいて
説明する。本例では、アクション日を抽出する基準日と
して1998年6月1日、抽出期間として1ヶ月を設定
し、1998年6月1日から1ヶ月の間にはがき送付の
アクションを起こすべき対象データを抽出する。基準日
は、検索指定時にオペレータが図示しない入力画面上か
ら指定させたり、期日条件データ中に設定できるように
してもよい。
Next, the flow of processing of the date information extracting means 5 for searching the extraction source data in accordance with the setting contents of the date condition data shown in FIG. 2 will be described with reference to FIG. Using the example of FIG. 5 as a specific example of the date condition data and a specific example of the extraction source data, according to the data shown in FIG.
The explanation is based on the example of sending a souvenir exchange postcard a week ago. In this example, June 1, 1998 is set as a reference date for extracting an action date, and one month is set as an extraction period. Extract. The reference date may be specified by an operator on an input screen (not shown) when specifying the search, or may be set in the date condition data.

【0011】期日情報抽出手段5は、まずオペレータ等
から設定された検索条件である期日条件データを読み込
む(S20)。次に、期日条件データ中で設定されてい
るデータ区分8を参照し、抽出元データファイル名を特
定し、抽出元データファイルから対象データを1件ずつ
読み込む(S21)。データ内容が0、すなわちファイ
ル中のデータ読み込みが終了した場合であれば(S2
2)、処理を終了する(S34)。図5(a)に示す期
日条件データ例(2)であれば、データ区分として「顧
客基本データ」が設定されているため、図5(b)に示
す顧客基本データの1件目のデータを読み込む。図5
(b)の例であれば、顧客番号1のデータを読み込む。
The date information extracting means 5 first reads date condition data, which is a search condition set by an operator or the like (S20). Next, referring to the data section 8 set in the date condition data, the extraction source data file name is specified, and the target data is read one by one from the extraction source data file (S21). If the data content is 0, that is, if the reading of the data in the file has been completed (S2
2), end the processing (S34). In the case of the date condition data example (2) shown in FIG. 5A, since “customer basic data” is set as the data category, the first data of the customer basic data shown in FIG. Read. FIG.
In the case of (b), the data of the customer number 1 is read.

【0012】次に、期日条件データ4中に設定されてい
る項目名7に従って、検索対象データを特定する。図5
(a)に示す期日条件データ例(2)であれば、項目名
として「生年月日」が設定されているため、既に読み込
んだ1件目のデータのうち「生年月日」に対応する「1
9700630」が検索対象日付の判断対象となる。次
に、期日条件データ4中に設定されている日付桁数10
に従って、検索対象日付データの判定処理方法を特定す
る。日付桁数10に、日付データの内、日について検索
対象とすることを示す「2」が設定されている場合(S
23)には、判断対象日付について日のみを抽出し、基
準日として指定されている日付(本例であれば1998
年6月1日)の年と月を付加し指定期日を生成する(S
24)。日付データの内、月日について検索対象とする
ことを示す「4」が設定されている場合(S25)に
は、判断対象日付について月日のみを抽出し、基準日と
して指定されている日付(本例であれば1998年6月
1日)の年を付加し指定期日を生成する(S26)。日
付データの内、年月について検索対象とすることを示す
「6」が設定されている場合(S27)には、判断対象
日付について年月のみを抽出し、基準日として1日を付
加し指定期日を生成する(S28)。上記以外の場合で
あれば特定の年月日を検索対象としていると判断し、判
断対象日付を指定期日とする。図5(a)に示す期日条
件データ例(2)であれば、日付桁数としてて「4(月
日)」が設定されているため、図5(b)に示す顧客基
本データの1件目の生年月日である「1970063
0」の内、「0630」の部分のみ抽出し、指定された
基準日である1998年6月1日の年「1998」を付
加し、指定期日として「1998年6月30日」が生成
される。
Next, search target data is specified according to the item name 7 set in the date condition data 4. FIG.
In the case of the date condition data example (2) shown in (a), since “birth date” is set as the item name, “birth date” corresponding to “birth date” in the first data already read is set. 1
9700630 "is the determination target for the search target date. Next, the number of date digits 10 set in the due date condition data 4
, The determination processing method of the search target date data is specified. When “2” indicating that the date is to be searched for in the date data is set to the number of date digits 10 (S
23), only the day is extracted for the judgment target date, and the date designated as the reference date (in this example, 1998)
The specified date is generated by adding the year and the month of June 1 of the year (S
24). If “4” indicating that the date is to be searched is set in the date data (S25), only the date is extracted for the determination target date, and the date specified as the reference date ( In this example, the designated date is generated by adding the year of June 1, 1998) (S26). When “6” indicating that the date is to be searched for is set in the date data (S27), only the year and month are extracted for the judgment target date, and one day is added and designated as the reference date. A due date is generated (S28). In cases other than the above, it is determined that a specific date is a search target, and the determination target date is set as a designated date. In the case of the due date condition data example (2) shown in FIG. 5A, since “4 (month and day)” is set as the number of date digits, one of the customer basic data shown in FIG. "1970063, which is the date of birth of the eyes
0, only the portion "0630" is extracted, and the specified reference date, June 1, 1998, is added to the year "1998" to generate "June 30, 1998" as the designated date. You.

【0013】次に、期日条件データ4中に設定されてい
る期間数11と区分12から構成される処理期間を算出
し、先に求められた指定期日から処理期間を除いたアク
ション日(処理開始日)を算出する(S29)。図5
(a)に示す期日条件データ例(2)であれば、期間数
11として「2」区分として「W(週)」が指定されて
いるため処理期間は2週間となり、先に生成した指定期
日「1998年6月30日」から2週間を除いた「19
98年6月16日」がアクション日となる。
Next, a processing period composed of the number of periods 11 and the divisions 12 set in the date condition data 4 is calculated, and an action date (processing start time) obtained by excluding the processing period from the previously determined designated date is calculated. Day) (S29). FIG.
In the case of the date condition data example (2) shown in (a), since “W (week)” is specified as the “2” category as the number of periods 11, the processing period is two weeks, and the specified date generated earlier is used. "19, excluding two weeks from" June 30, 1998 "
June 16, 1998 "is the action date.

【0014】次にアクション日は処理の開始日であるこ
とから、営業日以外の休日等がアクション日となっても
処理を開始できないため、アクション日が営業日か否か
の判定を行う(S30)。休日等、営業日でない場合に
は、直前の営業日をアクション日に修正する(S3
1)。例えば、アクション日が、土曜、日曜の営業日以
外であれば、直前の営業日である金曜日をアクション日
に修正する。営業日か否かの判断については、図示しな
い非営業日一覧テーブル等を予め設定しておき、テーブ
ル検索等で判断し、直前の営業日に修正するものであ
る。図5の例であれば、アクション日として算出された
「1998年6月16日」は営業日であることからその
ままアクション日となる。6月16日が非営業日である
土曜日であれば、直前の営業日である15日がアクショ
ン日となる。
Next, since the action date is the start date of the process, the process cannot be started even if a holiday other than a business day is the action date, so it is determined whether or not the action date is a business day (S30). ). If it is not a business day such as a holiday, the immediately preceding business day is corrected to the action day (S3
1). For example, if the action date is not a business day on Saturday and Sunday, the immediately preceding business day, Friday, is corrected to the action date. The determination as to whether or not it is a business day is made by setting a non-business day list table or the like (not shown) in advance, making a determination by table search or the like, and correcting the immediately preceding business day. In the example of FIG. 5, “June 16, 1998” calculated as the action date is a business day, and thus becomes the action date as it is. If June 16 is a Saturday that is a non-business day, the 15th immediately preceding business day is the action day.

【0015】次に、期日条件データ4中に設定されてい
る抽出期間9を参照し、算出されたアクション日が抽出
期間内に含まれているかを判断する(S32)。抽出期
間内のものであれば、抽出データとして書き込み(S3
3)、期間外のものであれば、抽出データとして書き込
まず、次の抽出元データの読み込み処理に戻る。図5
(a)に示す期日条件データ例(2)であれば、抽出期
間9として「1(ヶ月)」が指定されているため抽出期
間は基準日から1ヶ月となり、基準日である1998年
6月1日から1ヶ月間が抽出期間となる。図5の例であ
れば、アクション日として算出された「1998年6月
16日」はこの期間に含まれるため、抽出データとして
出力される。
Next, with reference to the extraction period 9 set in the date condition data 4, it is determined whether the calculated action date is included in the extraction period (S32). If it is within the extraction period, it is written as extracted data (S3
3) If the data is out of the period, the process returns to the process of reading the next extraction source data without writing it as the extracted data. FIG.
In the case of the date condition data example (2) shown in (a), since "1 (month)" is specified as the extraction period 9, the extraction period is one month from the base date, and the base date is June 1998. One day to one month is the extraction period. In the example of FIG. 5, "June 16, 1998" calculated as the action date is included in this period, and is thus output as the extracted data.

【0016】以上のように、1件目のデータの判定処理
が終了すると、続いて2件目のデータの読み込みを行
い、1件目と同様に処理を行う。図5の例であれば、2
件目の顧客基本データの生年月日は「1965年11月
28日」であるため、指定期日は「1998年11月2
8日」となる。この指定期日から処理期間を除いたアク
ション日は「1998年11月14日」であるが、非営
業日である土曜日であるため直前の営業日である「19
98年11月13日」に修正される。抽出期間は199
8年6月1日から1ヶ月間であるため、修正されたアク
ション日は抽出期間外であるとして抽出データとして書
き込まれない。同様に顧客基本データに登録されている
データの終了まで判断処理を行う。図5(a)に示す期
日条件データ設定例(2)に該当する抽出データは1件
めの顧客番号1のデータのみとなり、図5(c)に示す
ような抽出結果データが出力される。抽出結果データに
は、処理を行うアクション日と共に該当する顧客基本デ
ータの全てを出力してもよいし、予め出力用の定義デー
タとして出力項目を定義しておくことにより、顧客基本
データのうち必要なデータ(顧客番号、顧客名、生年月
日のみ)を出力してもよい。
As described above, when the determination processing of the first data is completed, the data of the second data is read, and the processing is performed in the same manner as the first data. In the example of FIG.
Since the birth date of the second customer basic data is “November 28, 1965”, the designated date is “November 2, 1998”.
8 days ". The action date excluding the processing period from the designated date is “November 14, 1998”, but since it is a non-business day Saturday, it is the last business day “19”.
November 13, 1998. " The extraction period is 199
Since it is one month from June 1, 2008, the corrected action date is outside the extraction period and is not written as extracted data. Similarly, the determination processing is performed until the end of the data registered in the customer basic data. The extracted data corresponding to the date condition data setting example (2) shown in FIG. 5A is only the data of the first customer number 1, and the extraction result data as shown in FIG. 5C is output. In the extraction result data, all of the applicable customer basic data may be output together with the action date to be processed, or the output items may be defined in advance as output definition data, so that the necessary Data (only the customer number, customer name, and date of birth) may be output.

【0017】次に、図4、図6及び図3を用いて、処理
日付種別として「日」「年月」が指定された場合の例に
ついて、既に説明した処理と相違する部分を中心に説明
する。まず、図4に従って、銀行等で給与の自動振込を
行っている顧客に対して、給与振込があった日に定期預
金をお願いするような電話をかけるアクション日を、1
998年の2月15日から2週間について抽出する例を
説明する。図4(a)に示す期日条件データ設定例
(1)には、抽出元データを指定するデータ区分8とし
て「顧客情報データ」、抽出対象項目名7として「給与
振込日」、抽出期間9として「0.5ヶ月(2週間)」
(本例では、抽出期間の基準単位は1ヶ月であるため、
「0.5」の設定により1ヶ月の半分として2週間と換
算するものである。)、処理日付種別である日付桁数1
0として「2(日)」、処理期間は当日依頼するので特
に設定する必要がないため、期間数11、及び区分12
共に特に設定せず、備考13として「給与振込者」が設
定されている。また、抽出対象の基準日は、「1998
年2月15日」とする。
Next, with reference to FIGS. 4, 6, and 3, an example in which “day” and “year / month” are designated as the processing date type will be described, focusing on the differences from the processing already described. I do. First, according to FIG. 4, the date of an action to call a customer who has made an automatic transfer of salary at a bank or the like, asking for a time deposit on the day when the payroll was transferred, is defined as 1 day.
An example of extracting two weeks from February 15, 998 will be described. In the date condition data setting example (1) shown in FIG. 4A, “customer information data” is specified as the data section 8 for specifying the extraction source data, “salary transfer date” is specified as the extraction target item name 7, and the extraction period 9 is specified as the extraction period 9. "0.5 months (2 weeks)"
(In this example, since the reference unit of the extraction period is one month,
With the setting of “0.5”, half of one month is converted to two weeks. ), Date digit number 1 which is the processing date type
“2 (day)” is set to 0, and the processing period is requested on the day, so there is no need to set the processing period.
Neither is set particularly, and “Salary transferer” is set as remark 13. The reference date to be extracted is “1998
February 15, 2008 ".

【0018】期日情報抽出手段5は、期日条件データを
読み込み(S20)、データ区分8を参照し、抽出元デ
ータファイルから対象データを1件ずつ読み込む(S2
1)。図4の例であれば、顧客情報データの1件め、顧
客番号1のデータを読み込む。次に、項目名7に従っ
て、「給与振込日」に対応する「26」を抽出し、日付
桁数10に従って、指定日付を生成する。図4の例であ
れば、日付桁数10に日について検索対象とすることを
示す「2」が設定されている(S23)ため、判断対象
日付について、基準日として指定されている日付(本例
であれば1998年2月15日)の年と月を付加し指定
期日として「1998年2月26日」を生成する(S2
4)。次に、期日条件データ4中に設定されている期間
数11と区分12から構成される処理期間を指定期日か
ら除いたアクション日を算出する(S29)が、図4の
例では、指定期日当日に処理を処理を行うため、指定期
日はそのままとなる。次にアクション日が営業日か否か
の判定を行い(S30)、営業日であることから、次に
抽出期間内のデータであるかを判断する(S32)。図
4の例では基準日から2週間を対象としているため、抽
出データに書き込まれる。上記の処理を顧客情報データ
全件について繰り返すことにより、給与振込日が設定さ
れている人については、2月15日からの1ヶ月間に電
話をかけるアクションを起こすデータが抽出される。従
って、顧客B、Dは給与振込日が設定されていない(給
与の自動振込の設定をしていない)ことから抽出対象外
となり、また、顧客Cについては給与振込日が設定され
ているが、抽出期間外であることから抽出データとして
出力されず、図4(c)に示すような抽出結果となる。
The date information extracting means 5 reads the date condition data (S20), reads the target data one by one from the extraction source data file with reference to the data section 8 (S2).
1). In the example of FIG. 4, the first customer information data, that is, the data of customer number 1 is read. Next, “26” corresponding to “payment transfer date” is extracted according to item name 7, and a designated date is generated according to date digit number 10. In the example of FIG. 4, “2” indicating that the date is to be searched for is set in the number of date digits 10 (S23). In the example, the year and month of February 15, 1998) are added to generate "February 26, 1998" as the designated date (S2).
4). Next, an action date is calculated by excluding the processing period constituted by the number of periods 11 and the divisions 12 set in the date condition data 4 from the specified date (S29). In the example of FIG. , The designated date is left as it is. Next, it is determined whether or not the action date is a business day (S30). Since it is a business day, it is next determined whether or not the data is within the extraction period (S32). In the example of FIG. 4, two weeks from the reference date are targeted, and thus are written in the extracted data. By repeating the above processing for all the customer information data, for the person for whom the payout transfer date is set, data that causes an action of making a telephone call during a month from February 15 is extracted. Therefore, the customers B and D are excluded from the extraction because the payroll transfer date is not set (the payroll automatic transfer is not set), and the payout transfer date is set for the customer C. Since it is outside the extraction period, it is not output as extraction data, and the extraction result is as shown in FIG.

【0019】次に、図6に従って、銀行等で来月満期を
迎える定期預金のデータを抽出し、満期になることを顧
客に通知するはがきを作成するアクション日を、199
8年の1月1日から1ヶ月について抽出する例を説明す
る。図6(a)に示す期日条件データ設定例(1)に
は、抽出元データを指定するデータ区分8として「定期
預金契約データ」、抽出対象項目名7として「定期満期
日」、抽出期間9として「1ヶ月」、処理日付種別であ
る日付桁数10として「6(年月)」、処理期間は期間
数11として「1」、区分として「M(月)」、備考1
3として「来月満期定期」が設定されている。また、抽
出対象の基準日は、「1998年1月1日」とする。
Next, in accordance with FIG. 6, data of the time deposit which will be due next month at a bank or the like is extracted, and an action date for creating a postcard for notifying the customer of the expiration is set to 199.
An example of extracting one month from January 1 of 8 years will be described. In the date condition data setting example (1) illustrated in FIG. 6A, “time deposit contract data” is specified as the data category 8 for specifying the extraction source data, “term expiration date” is specified as the extraction target item name 7, and the extraction period 9 is specified. “1 month”, “6 (year / month)” as the number of date digits 10 as the processing date type, “1” as the processing period 11 as the period, “M (month)” as the classification, remarks 1
As “3,“ expiration period next month ”is set. The reference date to be extracted is “January 1, 1998”.

【0020】期日情報抽出手段5は、期日条件データを
読み込み(S20)、データ区分8を参照し、抽出元デ
ータファイルから対象データを1件ずつ読み込む(S2
1)。図6の例であれば、定期預金契約データの1件
め、顧客番号1のデータを読み込む。次に、項目名7に
従って、「定期満期日」に対応する「1998年9月1
0日」を抽出し、日付桁数10に従って、指定日付を生
成する。図6の例であれば、日付桁数10に年月につい
て検索対象とすることを示す「6」が設定されている
(S23)ため、判断対象日付について、基準日として
1日を付加し指定期日として「1998年9月1日」を
生成する(S24)。次に、期日条件データ4中に設定
されている期間数11と区分12から構成される処理期
間を指定期日から除いたアクション日を算出する(S2
9)。図6の例では、期間数として「1」区分として
「M(月)」が設定されているため、処理期間が1ヶ月
となり、アクション日は「1998年8月1日」とな
る。次に、営業日か否かの判定を行い(S30)、営業
日でないことから、直前の営業日である「1998年7
月31日」に修正される(S31)。次に抽出期間内の
データであるかを判断する(S32)。図6の例では基
準日「1998年1月1日」から1ヶ月が抽出期間とな
るため、抽出期間外と判断されることから、抽出データ
として書き込まれず、2件目のデータ読み込み処理に移
る。上記の処理を定期預金契約データ全件について繰り
返すことにより、顧客番号4、顧客名Dのデータのみが
抽出され、処理期間1ヶ月を除いたアクション日は「1
998年2月1日」となり、営業日ではないことから、
直前の営業日である「1998年1月30日」に修正さ
れ、抽出期間内(1998年1月1日から1ヶ月)に含
まれることから、図6(c)の抽出結果データのように
出力される。
The date information extraction means 5 reads the date condition data (S20), reads the target data one by one from the extraction source data file with reference to the data section 8 (S2).
1). In the example of FIG. 6, the first case of the term deposit contract data, that is, the data of the customer number 1 is read. Next, according to item name 7, “September 1, 1998” corresponding to “period expiration date”
"0 day" is extracted, and a designated date is generated according to the number of date digits 10. In the example of FIG. 6, “6” indicating that the date and number of digits are to be searched for year and month is set (S23), so one day is added and designated as the reference date for the judgment target date. "September 1, 1998" is generated as the due date (S24). Next, an action date is calculated by excluding the processing period composed of the number of periods 11 and the division 12 set in the date condition data 4 from the designated date (S2).
9). In the example of FIG. 6, since the number of periods is set to “1” and “M (month)” is set, the processing period is one month, and the action date is “August 1, 1998”. Next, it is determined whether or not it is a business day (S30). Since the business day is not a business day, the last business day "July 1998
31st "(S31). Next, it is determined whether the data is within the extraction period (S32). In the example of FIG. 6, since the extraction period is one month from the reference date "January 1, 1998", it is determined that the data is outside the extraction period. . By repeating the above processing for all the time deposit contract data, only the data of the customer number 4 and the customer name D is extracted, and the action date excluding the processing period of one month is “1”.
February 1, 998 ", which is not a business day,
Since it was corrected to the immediately preceding business day “January 30, 1998” and included within the extraction period (one month from January 1, 1998), as shown in the extraction result data in FIG. Is output.

【0021】次に、車検日の3ヶ月前に車検のためのロ
ーンの案内のはがきを作成するアクション日を、199
8年の2月1日から1ヶ月について抽出する例のよう
に、データベース中に設定されている特定の年月日につ
いてアクション日を抽出するような例について、図3に
示す処理の流れを説明する。特定の年月日を抽出する場
合には、期日条件データの設定に従い、該当するデータ
ファイルから該当する項目名中の日付データを抽出する
(S20、S21)。図示しないが、例えば、車の購入
時に登録した顧客情報データ中に車検予定日を合わせて
管理しておけば、顧客情報データを検索し車検予定日を
抽出することができる。本例では、車検日の3ヶ月前に
アクションを起こすため、日付桁数に伴う指定期日補正
処理はせずに、抽出したデータそのものを指定期日とす
る。次に指定期日から、期日条件データ内の設定に従い
処理期間を除いたアクション日を算出する(S29)。
例えば車検日が「1998年5月10日」であれば、処
理期間である3ヶ月を除いたアクション日は「1998
年2月10日」となる。次にアクション日が営業日か否
かの判定(S30)を行い、営業日であるため修正せ
ず、(S31)、アクション日が抽出期間内か否かの判
定(S32)を行い、抽出期間内である基準日「199
8年2月1日」から3ヶ月に含まれると判断し、抽出デ
ータとして出力するものである。
Next, three months before the vehicle inspection date, an action date for preparing a postcard for a loan for vehicle inspection is set to 199 days.
The flow of processing shown in FIG. 3 will be described for an example in which an action date is extracted for a specific date set in the database, such as an example of extracting one month from February 1 of 8 years. I do. When extracting a specific date, the date data in the corresponding item name is extracted from the corresponding data file in accordance with the setting of the date condition data (S20, S21). Although not shown, for example, if the scheduled vehicle inspection date is managed in the customer information data registered at the time of purchasing the car, the customer information data can be searched and the scheduled vehicle inspection date can be extracted. In this example, since an action occurs three months before the vehicle inspection date, the extracted data itself is used as the specified date without performing the specified date correction process according to the number of date digits. Next, an action date excluding the processing period is calculated from the designated date according to the setting in the date condition data (S29).
For example, if the vehicle inspection date is “May 10, 1998”, the action date excluding the three-month processing period is “1998”.
February 10, 2009 ". Next, it is determined whether or not the action date is a business day (S30), and is not corrected because it is a business day (S31). It is determined whether or not the action date is within the extraction period (S32). Within the reference date "199
It is determined that it is included in three months from "February 1, 8 years", and is output as extracted data.

【0022】[0022]

【発明の効果】以上に説明したように、本願発明によれ
ば、特定の期日が近づいた場合に処理(アクション)を
起こすようなアクション日を検索する場合に、特定の期
日が年月日ではなく、特定の日、特定の月日、特定の年
月というような検索対象でも簡単な条件設定で効率的に
検索できるものである。誕生日等の個人情報を会員情報
として登録している顧客に対して、来店すれば誕生日プ
レゼントがあるという交換はがきを送付するような例で
も、会員情報に登録された生年月日の内、月日を検索対
象として該当する会員を検索することが可能となる。ま
た、対象日付の内どの部分を検索対象とするかの指定を
条件データとして簡易に設定できるため、検索目的に応
じて異なる検索ルーチンを設定しなくても検索が可能と
なるという効果を奏するものである。
As described above, according to the present invention, when searching for an action date that causes a process (action) when a specific date is approaching, the specific date does not match the date. In addition, a search target such as a specific day, a specific month, a specific year, and a specific year can be efficiently searched with simple condition settings. Even if you send an exchange postcard indicating that you have a birthday present if you visit the store where personal information such as birthday is registered as member information, within the birth date registered in the member information, It becomes possible to search for the corresponding member by using the date as a search target. In addition, since it is possible to easily set which part of the target date to be a search target as condition data, it is possible to perform a search without setting a different search routine according to a search purpose. It is.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明のシステム構成図である。FIG. 1 is a system configuration diagram of the present invention.

【図2】期日条件データを構成する各項目についての説
明図である。
FIG. 2 is an explanatory diagram of each item constituting date condition data.

【図3】期日情報抽出手段の処理フローを示す図であ
る。
FIG. 3 is a diagram showing a processing flow of date information extraction means.

【図4】期日条件データ等の設定例(1)を示す図であ
る。
FIG. 4 is a diagram showing a setting example (1) of due date condition data and the like.

【図5】期日条件データ等の設定例(2)を示す図であ
る。
FIG. 5 is a diagram showing a setting example (2) of date condition data and the like.

【図6】期日条件データ等の設定例(3)を示す図であ
る。
FIG. 6 is a diagram illustrating a setting example (3) of date condition data and the like.

【図7】従来例を示す図である。FIG. 7 is a diagram showing a conventional example.

【符号の説明】[Explanation of symbols]

図中で使用している符号の内容は以下のとおりである。 1:期日情報管理装置 2:抽出元データ 3:期日条件データ 4:期日条件登録手段 5:期日情報抽出手段 6:抽出データ The contents of the reference numerals used in the figures are as follows. 1: Due date information management device 2: Extraction source data 3: Due date condition data 4: Due date condition registration means 5: Due date information extracting means 6: Extracted data

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】日付データを含む処理データから構成され
る抽出元データと、 前記抽出元データから処理データを検索する条件を、日
付データを構成するデータの種別を含む期日条件として
登録する期日条件登録手段と、 前記期日条件に設定されたデータ種別に従って前記抽出
元データに含まれる日付データを検索し、該当する処理
データを抽出する期日情報抽出手段から構成されること
を特徴とする期日情報管理装置。
1. A date condition for registering extraction source data composed of processing data including date data and a condition for searching for processing data from the extraction source data as a date condition including a type of data constituting the date data. Date information management means for retrieving date data included in the extraction source data in accordance with the data type set in the date condition and extracting relevant processing data; apparatus.
【請求項2】前記期日条件登録手段で登録される期日条
件のデータの種別は、日付データを構成する年、月、日
のいずれかの組み合わせで指定されることを特徴とする
請求項1記載の期日情報管理装置。
2. The data type of the due date condition registered by the due date condition registering means is designated by any combination of year, month and day constituting the date data. Date information management device.
【請求項3】前記期日条件登録手段で登録される期日条
件は検索結果の抽出期間を含み、 前記期日情報抽出手段は、検索し抽出された処理データ
の内、前記抽出期間に含まれるデータのみ抽出データと
することを特徴とする請求項1記載の期日情報管理装
置。
3. The due date condition registered by the due date condition registering means includes a retrieval result extraction period, and the due date information extracting means includes only data included in the extraction period among the retrieved and extracted processed data. 2. The date information management device according to claim 1, wherein the date information management device uses extracted data.
【請求項4】特定の期日を含む処理データを検索する期
日情報管理装置において、 日付データを含む処理データから構成される抽出元デー
タと、 前記抽出元データから処理データを検索する条件を、日
付データを構成するデータの種別を含む期日条件として
登録する期日条件登録手段と、 前記期日条件に設定されたデータ種別に従って前記抽出
元データに含まれる日付データを検索し、該当する処理
データを抽出する期日情報抽出手段をコンピュータに実
行させるプログラムを記録した記録媒体。
4. A date information management apparatus for searching for processing data including a specific date, wherein extraction source data composed of processing data including date data, and a condition for searching for processing data from the extraction source data include a date and time. A due date condition registering means for registering as a due date condition including a type of data constituting the data; and searching for date data included in the extraction source data according to the data type set in the due date condition, and extracting corresponding processing data. A recording medium on which a program for causing a computer to execute date information extraction means is recorded.
JP10484698A 1998-04-15 1998-04-15 Period information managing device Pending JPH11296590A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10484698A JPH11296590A (en) 1998-04-15 1998-04-15 Period information managing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10484698A JPH11296590A (en) 1998-04-15 1998-04-15 Period information managing device

Publications (1)

Publication Number Publication Date
JPH11296590A true JPH11296590A (en) 1999-10-29

Family

ID=14391696

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10484698A Pending JPH11296590A (en) 1998-04-15 1998-04-15 Period information managing device

Country Status (1)

Country Link
JP (1) JPH11296590A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003085334A (en) * 2001-09-10 2003-03-20 Ttt Kk Retirement administration system for part-time employees
JP2012118664A (en) * 2010-11-30 2012-06-21 Japan Research Institute Ltd Event transfer management device, system and program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003085334A (en) * 2001-09-10 2003-03-20 Ttt Kk Retirement administration system for part-time employees
JP2012118664A (en) * 2010-11-30 2012-06-21 Japan Research Institute Ltd Event transfer management device, system and program

Similar Documents

Publication Publication Date Title
US5870711A (en) Method and system for management of cargo claims
US8725549B2 (en) System and business method for work-flow review and management
US6061506A (en) Adaptive strategy-based system
US20060010051A1 (en) Method and system for time sheet reporting
JP6997629B2 (en) Credit pass / fail judgment device, credit pass / fail judgment method, and credit pass / fail judgment program
US20020069097A1 (en) Database management system and method
US20090254393A1 (en) Billing, docketing and document management
Meyer NOTIS: The system and its features
US8190460B1 (en) Advertisement sales and management system
JP4381841B2 (en) Inheritance support system
EP0472786A1 (en) Computer system and method for work management
Saman et al. E-court: Information and communication technologies for civil court management
JPH11296590A (en) Period information managing device
JP4217222B2 (en) Integrated business system
JPH06266731A (en) Customer information system
JP2002324153A (en) System and method for managing duty circumstances of dispatched employee, and program therefor
JPH10154090A (en) Data management system
JP3226018B2 (en) Initial registration method of media transfer management system of automatic transfer device
US7895357B1 (en) Invoice mediation system and method
WO2004003804A1 (en) Audit service managing system
JP2000207463A (en) Automatic salary calculating device, automatic salary calculating method and record medium with automatic salary calculation program recorded therein
JPH05257765A (en) Database management system
Chow Implementing Microsoft Dynamics NAV
JP2006309384A (en) Management method for document
CN106408151A (en) Work support system and work support method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050201

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070925

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20080205