JP5297666B2 - Data creation support system for primary key transfer / numbering device - Google Patents

Data creation support system for primary key transfer / numbering device Download PDF

Info

Publication number
JP5297666B2
JP5297666B2 JP2008067086A JP2008067086A JP5297666B2 JP 5297666 B2 JP5297666 B2 JP 5297666B2 JP 2008067086 A JP2008067086 A JP 2008067086A JP 2008067086 A JP2008067086 A JP 2008067086A JP 5297666 B2 JP5297666 B2 JP 5297666B2
Authority
JP
Japan
Prior art keywords
data
registration
new
old
person
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.)
Active
Application number
JP2008067086A
Other languages
Japanese (ja)
Other versions
JP2009223602A (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.)
National Federation of Agricultural Cooperative Associations
Fuji Electric Co Ltd
Original Assignee
National Federation of Agricultural Cooperative Associations
Fuji Electric 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 National Federation of Agricultural Cooperative Associations, Fuji Electric Co Ltd filed Critical National Federation of Agricultural Cooperative Associations
Priority to JP2008067086A priority Critical patent/JP5297666B2/en
Publication of JP2009223602A publication Critical patent/JP2009223602A/en
Application granted granted Critical
Publication of JP5297666B2 publication Critical patent/JP5297666B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a data origination support system for a main key transfer-numbering device stably usable in a system while reducing origination load by supporting data origination concerning main key transfer-numbering through a menu screen and a maintenance screen. <P>SOLUTION: All items of new and old data are compared in a procedure 1. In a procedure 2, the registration numbers of the new and old data are compared concerning application information with changes. In a procedure 3, designated items are compared for the new and old data with application information classified not to be new/invalid but to be change. The new and old data are assumed to be the same on all the items to proceed to a procedure 4. When items with different meanings exist among the items, the application information are assumed to be new/invalid to proceed to a procedure 5. In the procedure 4, when the new and old data are 1:1 and are determined to be the same out of the new and old data assumed to have the same application information, all the items are compared, and different items are changed and output. In other cases, proceed to the procedure 5. In the procedure 5, a person in charge determines whether the new and old application data are the same on the maintenance screen. <P>COPYRIGHT: (C)2010,JPO&amp;INPIT

Description

本発明は、独立行政法人農林水産消費安全技術センターから提供される適用情報に対してシステムで安定的に利用できるようにするための主キー振替え・採番装置用データ作成支援システムに関する。   The present invention relates to a data creation support system for a primary key transfer / numbering device that enables the system to stably use application information provided by the National Agriculture, Forestry and Fisheries Consumption Safety Technology Center.

JAグループ(全国農業協同組合連合会等)においては、営農指導員によりJA傘下組合員の農業生産や農業経営などについて技術指導を行っている。営農指導員の主な業務は、農業技術巡回指導で農薬情報や病害虫情報を参照しながら営農指導を行うことである。   In the JA group (National Agricultural Cooperative Federation, etc.), a farming instructor provides technical guidance on agricultural production and farm management of JA affiliated members. The main task of farming instructors is to provide farming guidance while referring to pesticide information and pest information in agricultural technology patrol guidance.

日本国内で使用される全ての農薬は、国の行政機関である農林水産省が登録番号を付与して一元的に管理している。農薬の管理期限は、3年間と義務付けされており、そして農薬は、使用対象の作物や病害虫、雑草に変更があったり、残留基準値の設定で使用方法がしばしば変更され、変更の都度、例えばウェブサイトを使って、独立行政法人農林水産消費安全技術センターが農薬登録情報を提供している。営農指導員は、農林水産省で管理されている農薬情報を、ウェブサイトを常時閲覧し、正確に把握しておく必要がある。   All pesticides used in Japan are managed centrally by the Ministry of Agriculture, Forestry and Fisheries, which is a national government agency. The management period of agricultural chemicals is obliged to be 3 years, and agricultural chemicals are subject to changes in the crops, pests and weeds to be used, and the usage method is often changed according to the setting of residual standard values. Agricultural, forestry and fisheries consumption safety technology center provides agricultural chemical registration information using website. Farming instructors need to keep track of the information on pesticides managed by the Ministry of Agriculture, Forestry and Fisheries by constantly browsing the website.

また農林水産省で管理されている農薬情報はウェブサイトで提供するサービスにも利用されている。たとえば全国農業協同組合連合会は「アピネス」という名称で農薬情報に関するサービスを提供している。アピネスには、パソコン(パーソナルコンピュータ)向けのサイトと携帯電話向けのサイトとがある。   Pesticide information managed by the Ministry of Agriculture, Forestry and Fisheries is also used for services provided on the website. For example, the National Federation of Agricultural Cooperatives provides a service related to pesticide information under the name “Appines”. Appiness has a site for personal computers and a site for mobile phones.

このような状況にあって下記特許文献1には、装置内に農業資材の適正な使用条件を記憶した適正使用条件記憶部を備えておき、農業資材の使用者が所持する端末から送信された使用計画で計画された農業資材使用の適否を前記適正使用条件記憶部に記憶された適正使用条件を用いて判定し、判定した農業資材使用の適否を前記端末に送信して、農業資材の使用者が使用する農業資材が使用条件に適合するか否かの情報を農業資材の使用前に提供する農業資材使用適否判定装置が開示されている。
特開2005-063239号公報
Under such circumstances, the following Patent Document 1 is provided with an appropriate use condition storage unit that stores appropriate use conditions for agricultural materials in the apparatus, and is transmitted from a terminal possessed by the user of the agricultural materials. Appropriate use of agricultural materials planned in the use plan is determined using the appropriate use conditions stored in the appropriate use condition storage unit, and the determined use of agricultural materials is transmitted to the terminal to use the agricultural materials. An agricultural material use suitability determination device that provides information on whether or not an agricultural material used by a person meets usage conditions before use of the agricultural material is disclosed.
JP 2005-063239 A

ところで独立行政法人農林水産消費安全技術センターがウェブサイトで提供している農薬登録情報に含まれる適用情報は頻繁に更新されるため、ウェブサイトから最新の適用情報を採取しても前回採取された適用情報とどこがどのように変更になったのか簡単には知り得ないためシステムで使用するには毎回毎回採取したデータを最新のものに変更する必要がありシステムにおけるメンテナンスに膨大な時間と労力が掛かり、ひとたび構築したシステムを安定的に使用することができない。   By the way, since the application information included in the pesticide registration information provided by the National Agriculture, Forestry and Fisheries Consumption Safety Technology Center is frequently updated, it was collected last time even if the latest application information was collected from the website. Since it is not easy to know the application information and where it has changed, it is necessary to change the data collected each time to the latest to use it in the system. As a result, the system once constructed cannot be used stably.

上記農林水産消費安全技術センターから提供される農薬登録情報は、農業分野における生産履歴管理システムのデータソースとして一般的に活用されているが、農薬の適用情報を一意に定める主キーが存在しないため、以降のデータ活用において、変更点を特定できないという致命的な問題があった。   The pesticide registration information provided by the Agricultural, Forestry and Fisheries Consumption Safety Technology Center is generally used as a data source for production history management systems in the agricultural field, but there is no primary key that uniquely defines pesticide application information. In the subsequent use of data, there was a fatal problem that the changes could not be identified.

適用情報において、主キーを用いず一意に絞ろうとした場合、適用情報のうち13項目(25項目中)程度をユニークキーとしなければならず、且つ、ユニークキーに重要な変更を含む項目が多く含まれるため、この変更を検出することができず、システムで適用情報を利用することが事実上不可能であるといっても過言ではない。   In the application information, when trying to uniquely narrow down without using the primary key, about 13 items (of 25 items) of the application information must be made unique keys, and there are many items that include important changes in the unique keys. It is not an exaggeration to say that this change cannot be detected and it is virtually impossible to use the application information in the system.

また上記特許文献1に開示される農業資材使用適否判定装置は、頻繁に更新される適用情報を自システム内でメンテナンスして適用情報を農業資材の使用者に提供するため、システムにおけるメンテナンスに膨大な時間と労力が掛かるという問題を有する。   Further, the agricultural material use propriety determination device disclosed in Patent Document 1 maintains application information that is frequently updated in its own system and provides the application information to the user of the agricultural material. Time and labor.

そこで本発明においては、メニュー画面及びメンテナンス画面を通じて主キー振替え・採番に係るデータ作成を支援して作成負荷を減らすと共にシステムで安定的に利用可能な主キー振替え・採番装置用データ作成支援システムを提供することを目的とする。   Therefore, in the present invention, data creation related to primary key change / numbering is supported through the menu screen and the maintenance screen to reduce creation load, and data creation support for primary key change / numbering device that can be stably used in the system. The purpose is to provide a system.

上記課題を解決するために本発明の主キー振替え・採番装置用データ作成支援システムは、システム起動時に表示されるメニュー画面のデータ取込みを担当者が操作することで農薬登録情報中の登録適用部(適用情報)のデータを新データとしてデータベースに取り込むとともに該データベース中に存在する前回に取り込まれ処理された前記登録適用部のデータを旧データとして処理するデータ初期化処理手段と、該データ初期化処理手段で処理された新旧データについて適用コード,登録更新日を除く全項目を比較して該新旧データが全く同じである新データを特定し、旧データのデータ取得時に別途採番した主キーを該新データの主キーとして振替える主キー振替え手段と、前記適用コード,登録更新日を除く全項目の比較で特定できなかった前記新旧データの登録番号を比較し、旧データに無い登録番号が新データに存在した場合には新規データとして取り扱い、新データに無い登録番号が旧データに存在した場合には失効データとして取り扱い、該新規データには新しい主キーを採番し、該失効データには失効フラグを設定する主キー採番・失効フラグ設定手段と、前記登録番号の比較で特定できなかった新旧データにおいて、前記登録番号ごとに前記登録適用部の農薬を使用する際の条件に該当する項目からなる指定項目を1つずつ比較し、前記新旧データの前記指定項目が一致とみなされ、且つ前記新旧データの数が1:1である場合には、前記新旧データは同じデータであると特定して新データに旧データの主キーを振替えるともに、前記指定項目と前記登録適用部の農薬の使用基準に該当する項目とを含む全項目について変更がある項目を変更点として出力する主キー振替え・変更点出力手段と、前記登録適用部の農薬を使用する際の条件に該当する指定項目の比較で特定できなかった新旧データについては、メンテナンス画面を用いたデータメンテナンス処理で担当者が同じであるか否かを特定し、同じデータと特定された場合は前記担当者の指示で主キーの振替えを行い、同じデータと特定されない場合であって、旧データに無いが新データに存在した場合には新規データとして取り扱い、新データに無いが旧データに存在した場合には失効データと取り扱い、前記担当者の指示で該新規データには新しい主キーを採番し、該失効データには失効フラグを設定するデータメンテナンス処理手段と、を備えることを特徴とする。 In order to solve the above-mentioned problems, the data creation support system for the primary key transfer / numbering device of the present invention is applied to registration in the pesticide registration information by the person in charge operating the data capture of the menu screen displayed at the time of system startup. Data initialization processing means for capturing the data of the application unit (application information) into the database as new data and processing the data of the registration application unit that was previously captured and processed in the database as old data; Primary key that was numbered separately at the time of data acquisition of old data by comparing all items except the application code and registration renewal date to identify new data that is exactly the same, Can be specified by comparing the primary key transfer means for transferring the data as the primary key of the new data, and all items except the application code and the registration renewal date Said comparing the registration number of the old and new data, handling as new data when the registration number is not in the old data is present in the new data, the handling is as stale data in the case where there is no registration number to the new data is present in the old data In the new and old data that could not be specified by comparing the registration number with primary key numbering / revocation flag setting means for assigning a new primary key to the new data and setting a revocation flag for the revocation data, For each registration number, the designated items consisting of items corresponding to the conditions when using the agricultural chemicals of the registration application unit are compared one by one, the designated items of the old and new data are regarded as matching, and the number of the old and new data Is 1: 1, the new and old data are identified as the same data, the primary key of the old data is transferred to the new data, and the specified item and the registration application unit Primary key transfer / change point output means for outputting items with changes as changes in all items including items that fall under the criteria for use of medicines, and designations that meet the conditions for using pesticides in the registration application department the old and new data can not be identified by comparison of the item, when identifying whether personnel are the same in the data maintenance process using the maintenance screen, have been identified as the same data is primarily at the direction of the person If the key is transferred and is not identified as the same data, if it is not in the old data but is present in the new data, it is treated as new data. handling the numbered with a representative new primary key to the new data in the instruction, and a data maintenance processing means for setting the revocation flag in the stale data It is characterized in.

前記メンテナンス画面に表示された前記新旧データが同じ内容であるとされた後に同意チェックテーブル登録ボタンを担当者が操作した場合は、同意チェックテーブル登録画面を表示し、該同意チェックテーブル登録画面における登録ボタンを担当者が操作することで同意/非同意チェックテーブルにその内容を反映させることを特徴とする。 When the person in charge operates the consent check table registration button after the old and new data displayed on the maintenance screen have the same contents, the consent check table registration screen is displayed. The person in charge operates the registration button , and the contents are reflected in the agreement / non-agreement check table.

本発明によれば、メニュー画面に表示されるボタンを担当者が操作するだけで動作を開始でき、さらに同画面に表示される一つの処理完了表示でさらに次の処理に移行できるため、メニュー画面及びメンテナンス画面を通じて主キー振替え・採番に係るデータ作成を支援して作成負荷を軽減すると共にシステムで安定的に利用することが可能となる。また常に変わりゆく農薬登録情報(農薬適用部)のデータの継続的な特定のためにメンテナンス画面にデータ内容を表示するので主キーの振替え・採番に係るデータ作成支援を可視化することができる。 According to the present invention, the operation can be started only by operating the button displayed on the menu screen by the person in charge , and the menu screen can be further shifted to the next processing by one processing completion display displayed on the screen. In addition, it is possible to support creation of data related to primary key transfer / numbering through the maintenance screen to reduce the creation load and to stably use the system. Moreover, since the data content is displayed on the maintenance screen for the continuous identification of the data of the pesticide registration information (agricultural chemical application section) that is constantly changing, it is possible to visualize the data creation support related to the transfer and numbering of the primary key.

また同意/非同意の内容を登録することで繰り返し同じパターンで変更される情報に対して一括で処理でき、メンテナンス負荷を軽減することができる。   In addition, by registering the contents of consent / non-consent, information that is repeatedly changed in the same pattern can be processed in a lump, and the maintenance load can be reduced.

以下、本発明の実施の形態を、図面を参照しながら説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

図1は、本発明の実施形態に係る主キー振替え・採番装置用データ作成支援システムの構成を示すブロック図である。同図において本発明の実施形態に係る主キー振替え・採番装置用データ作成支援システムは、データ取込処理部101、データベース102、データ展開処理部103、主キー振替え処理部104、データメンテナンス処理部105及び同意チェックテーブル107を有する同意チェックテーブル登録処理部106を備えて構成されている。   FIG. 1 is a block diagram showing a configuration of a data creation support system for a primary key transfer / numbering device according to an embodiment of the present invention. In the figure, a data creation support system for a primary key transfer / numbering device according to an embodiment of the present invention includes a data import processing unit 101, a database 102, a data expansion processing unit 103, a primary key transfer processing unit 104, and a data maintenance process. A consent check table registration processing unit 106 having a unit 105 and a consent check table 107 is provided.

データ取込処理部101は、上述した農林水産消費安全技術センターから提供される農薬登録情報における登録適用部311を入力情報として取り込み、処理する。この際、前回処理してデータベース102に格納済みの旧登録適用部展開データ(図15参照)を参考にすることができる。農林水産消費安全技術センターから提供される農薬登録情報における登録適用部311には、登録基本部(図13参照)および登録適用部(図14参照)がある。なお上記登録適用部311には「主キー」となる情報が存在しないため、本明細書においては、作業用のテーブルである後記登録適用部展開データに項目「適用コード」を作成し、「主キー」は「登録番号+適用コード」とする(以下、同様)。   The data capture processing unit 101 captures and processes the registration application unit 311 in the agricultural chemical registration information provided from the above-mentioned Agriculture, Forestry and Fisheries Consumption Safety Technology Center as input information. At this time, it is possible to refer to the old registration application unit expansion data (see FIG. 15) that has been processed last time and stored in the database 102. The registration application unit 311 in the agricultural chemical registration information provided by the Agriculture, Forestry and Fisheries Consumption Safety Technology Center includes a registration basic unit (see FIG. 13) and a registration application unit (see FIG. 14). Since there is no “primary key” information in the registration application unit 311, an item “application code” is created in the postscript registration application unit expanded data, which is a working table, in this specification, The “key” is “registration number + application code” (hereinafter the same).

データベース102には、データ取込処理部101で取込み処理された登録基本部(図13参照)及び登録適用部(図14参照)の外、前回までに処理した、上述の旧登録基本部展開データ(図12参照)、旧登録適用部展開データ(図15参照)、メンテ済み登録適用部(図16参照)、変更点出力テーブル(図17参照)、最終適用コードマスタ(図18参照)、登録基本部展開データ(図19参照)、登録適用部展開データ(図20参照)などが格納されている。 In the database 102, in addition to the registration basic part (see FIG. 13) and the registration application part (see FIG. 14) taken in by the data take-in processing part 101 , the above-mentioned old registration basic part expanded data processed so far (See FIG. 12), old registration application section expansion data (see FIG. 15), maintained registration application section (see FIG. 16), change point output table (see FIG. 17), final application code master (see FIG. 18), registration Basic part development data (see FIG. 19), registration application part development data (see FIG. 20), and the like are stored.

データ取込処理部101は、後でも説明するが、データベース102に格納されている登録基本部展開データ(図19参照)をコピーして旧登録基本部展開データ(図12参照)を展開し、メンテ済み登録適用部(図16参照)をコピーして旧登録適用部展開データ(図15参照)にデータを移動し、登録基本部(図13参照)を用いて登録基本部展開データ(図19参照)にデータを移動し、登録適用部(図14参照)を用いて登録適用部展開データ(図20参照)にデータを移動して、適用コードをはじめ、失効フラグ、更新年月日などを付けるための作業用として使用する。   As will be described later, the data fetch processing unit 101 copies the registration basic part expansion data (see FIG. 19) stored in the database 102 and expands the old registration basic part expansion data (see FIG. 12). Copy the maintained registration application part (see FIG. 16), move the data to the old registration application part development data (see FIG. 15), and use the registration basic part (see FIG. 13) to register basic part development data (FIG. 19). The data is moved to the registration application section development data (see FIG. 20) using the registration application section (see FIG. 14), and the application code, revocation flag, update date, etc. are displayed. Used for attaching work.

主キー振替え処理部104は、データ取込処理部101で取り込み処理された登録適用部(図14参照)の項目を以下に示すグループ1およびグループ2に分けるとともに、データベース102に格納されている旧データであるところの旧登録適用部展開データ(図15参照)と登録適用部(図14参照)から移動処理された新データであるところの登録適用部展開データ(図20参照)との間で登録番号ごとに新旧データをグループ1およびグループ2の項目ごとに比較してデータを特定し、変更データであれば新データ(登録適用部展開データ)に旧データ(旧登録適用部展開データ)の適用コードを振替える。なお、データの特定とは、登録適用部展開データに含まれる情報が、新しく登録された新規データ、前回のデータと内容は同じだが一部内容の変更された変更データ、または前回に存在したデータが失われた失効データ、のいずれに該当するものであるかを判定することである。その場合に項目比較はシステム(後述する)で機械的に文字列を比較するが、新データ(登録適用部展開データ)と旧データ(旧登録適用部展開データ)とで機械的な文字列比較では異なる判定結果であっても人が見たら意味的には同じ(これを同意という。以下同じ)である場合があり、その場合を考慮して同意チェックテーブル107(図21のテーブル参照)を参照して機械的に同意判定も行っている。なお機械的に同意判定を行うということは非同意チェックテーブル(図21のテーブルで分類=1参照)を参照して機械的に非同意判定を行えることを含むものである。これらについては後で説明する。   The primary key transfer processing unit 104 divides the items of the registration application unit (see FIG. 14) acquired by the data acquisition processing unit 101 into groups 1 and 2 shown below, and stores the old data stored in the database 102. Between the old registration application unit expansion data (see FIG. 15) as data and the registration application unit expansion data (see FIG. 20) as new data moved from the registration application unit (see FIG. 14). For each registration number, the new and old data are compared for each item of group 1 and group 2 to identify the data. If the data is changed, the new data (registered application development data) is replaced with the old data (old registration application development data). Transfer the application code. Note that the data specification means that the information included in the registered application development data is newly registered new data, changed data whose contents are the same as the previous data but partially changed, or previously existing data. It is to determine which of the revocation data is lost. In this case, the item comparison mechanically compares the character strings with the system (described later), but mechanical character string comparison between the new data (registered application development data) and the old data (old registration application data). Then, even if the judgment results are different, there are cases where the meaning is the same (this is referred to as consent, hereinafter the same) when viewed by a person, and the consent check table 107 (see the table in FIG. 21) is taken into account in that case. The consent is also determined mechanically with reference. It should be noted that performing the consent determination mechanically includes that the disagreement determination can be performed mechanically with reference to the disagreement check table (see classification = 1 in the table of FIG. 21). These will be described later.

ここで上記した登録適用部(図14参照)における項目のグループ分けについて説明する。グループ1は、農薬使用基準を決める上で、使用する際の条件に該当するものとしてグループ分けしたものであり、以下の項目(指定項目と呼ぶ)が含まれる。すなわち、
・作物名
・適用病害虫雑草名
・使用方法
・適用地帯名
・使用目的
・適用場所
・適用土壌
農薬使用基準の具体的内容は、「農薬を使用する者が遵守すべき基準を定める省令」という農林水産省の省令により定められ、例えば食用作物(飼料作物を含む)に使える農薬については、登録時に定められ農薬のラベルにも記載されている、(1)適用作物、(2)単位当たりの使用量の最高限度又は希釈倍数の最低限度、(3)使用時期、(4)総使用回数、を守ることが要求されている。
Here, the grouping of items in the registration application unit (see FIG. 14) will be described. Group 1 is classified into groups that meet the conditions for use in determining pesticide use standards, and includes the following items (referred to as designated items). That is,
・ Crop name ・ Applicable pest and weed name ・ Usage method ・ Applicable zone name ・ Purpose of use ・ Place of application ・ Applicable soil For pesticides that can be used for food crops (including feed crops), for example, according to the Ordinance of the Ministry of Fisheries, (1) Applicable crops, (2) Use per unit It is required to observe the maximum volume limit or minimum dilution factor, (3) time of use, and (4) total number of uses.

このような背景から、使用基準は、実際に使用する条件(適用病害虫、使用方法、適用地帯など)により決定される。農薬を使用する条件(適用病害虫、使用方法、適用地帯など)を一意に定めた場合、使用基準の値が決まる。具体的には、実際にどのような条件で使用するかをまず決め、そして指定した条件に対して使用基準を設定する。さらに農薬を使用する条件を一意に定めた場合、通常、新旧の適用情報の数は1:1の比率で対応する。しかし登録番号は、国(農林水産省)が農薬に対してユニークに設定する番号ではあるものの農薬に対して複数の適用情報を持つため、登録番号単一では適用情報をユニークに特定する主キーにはならない。このような事情にあることを本発明者が知見して本発明を案出したものである。   From such a background, the usage standard is determined by conditions actually used (applicable pest, usage method, application zone, etc.). When conditions for using pesticides (applicable pests, methods of use, application zones, etc.) are uniquely determined, the value of the use standard is determined. Specifically, it is first determined under what conditions it is actually used, and a usage standard is set for the specified conditions. Furthermore, when the conditions for using pesticides are uniquely determined, the number of new and old application information usually corresponds at a ratio of 1: 1. However, although the registration number is a number that is uniquely set by the country (Ministry of Agriculture, Forestry and Fisheries) for pesticides, it has multiple application information for pesticides, so a single registration number uniquely identifies the application information. It will not be. The present inventor has devised the present invention based on the knowledge of such circumstances.

次にグループ2は、使用基準に該当する項目に該当するものとしてグループ分けしたものであり、以下の項目例が含まれる。すなわち、
・希釈倍率使用量
・散布液量
・使用時期
・本剤の使用回数
・くん蒸時間
・くん蒸温度
・適用農薬名(混合可能農薬名)
・有効成分(1)を含む農薬の総使用回数
・有効成分(2)を含む農薬の総使用回数
・有効成分(3)を含む農薬の総使用回数
・有効成分(4)を含む農薬の総使用回数
・有効成分(5)を含む農薬の総使用回数
データメンテナンス処理部105は、主キー振替え処理部104でデータを特定することができない新旧データに対してメンテナンス画面を用いて担当者が新規データ、変更データ、または失効データのいずれに該当するかを判定するものである。また一通りの判定処理が終了した適用情報に係るデータに基づいて各種マスタ(図18〜図25参照)のメンテナンスも行い、メンテナンスし終えた各種マスタをデータベース102に格納してデータ管理を行う。
Next, group 2 is grouped as corresponding to the items corresponding to the usage criteria, and includes the following item examples. That is,
・ Dilution factor usage amount ・ Spraying liquid amount ・ Time of use ・ Number of times this product is used ・ Fumigation time ・ Fumigation temperature ・ Applicable agricultural chemical name (mixable agricultural chemical name)
・ Total number of pesticides containing active ingredient (1) ・ Total number of pesticides containing active ingredient (2) ・ Total number of pesticides containing active ingredient (3) ・ Total number of pesticides containing active ingredient (4) Number of uses ・ Total number of pesticides containing active ingredient (5) The data maintenance processing unit 105 uses a maintenance screen for new and old data that cannot be identified by the primary key transfer processing unit 104. It is judged whether it corresponds to data, change data, or revocation data. Further, maintenance of various masters (see FIGS. 18 to 25) is also performed based on the data related to the application information for which a single determination process has been completed, and the various masters that have been maintained are stored in the database 102 for data management.

同意チェックテーブル登録処理部106は、データメンテナンス処理部105での担当者による同意/非同意判定、例えば適用情報が更新されるとき、同一登録番号内の特定の項目が一括で別の値に変更される場合があり、このような変更に対する同意/非同意判定をシステムで処理させるために同意/非同意チェックテーブル登録を行う。同意チェックテーブル登録を行うことで同意チェックテーブル107(図21参照)における同意/非同意リストに反映され、反映された同意/非同意リストを次の同意判定にフィードバックして担当者のメンテナンス作業の効率化を図るようにしている。   The consent check table registration processing unit 106 determines whether the person in charge in the data maintenance processing unit 105 agrees / disagrees. For example, when application information is updated, a specific item in the same registration number is changed to a different value at once. The consent / non-consent check table is registered so that the system can process the consent / non-consent judgment for such changes. By registering the consent check table, it is reflected in the consent / non-consent list in the consent check table 107 (see FIG. 21), and the reflected consent / non-consent list is fed back to the next consent determination to perform maintenance work of the person in charge. We are trying to improve efficiency.

なお図1には示していないが、本発明の実施形態に係る主キー振替え・採番装置用データ作成支援システムのハードウェア構成としては、当該技術分野では周知のコンピュータ技術、例えばスダンドアローン形式のコンピュータシステムにより構築されているものであり、周知のコンピュータ構成要素、たとえばCPU(中央処理装置)、ROMやRAMを含むメモリ装置、表示装置(ディスプレイ)やプリンタなどの出力装置、キーボードやマウスなどを用いた入力装置、スロット(不図示)に装着される各種規格のメモリステック等に対してデータの書き込み/読み出しを行う入出力インタフェースなどで実現されるものである。上述のデータベース102は、上記メモリ装置により構成される。ROMは、CPUによって実行される基本ソフトやアプリケーションソフト(アプリケーション・ソフトウェア)などを格納する。RAMは、CPUがアプリケーションソフトを実行する際に使用される作業領域などを有する。CPU(中央処理装置)は、ROMやRAMに格納されるプログラム(基本ソフトやアプリケーションソフト)を実行して、各種構成要素の動作を制御しながらシステム全体を制御する。入力装置は、マウスやキーボードなどの操作により、データ入力や項目選択・決定などを行うものである。表示装置は、例えば、液晶ディスプレイで構成され、上記各種処理部における処理内容の表示、データメンテナンスのための画面などの表示を行う。   Although not shown in FIG. 1, the hardware configuration of the data creation support system for the primary key transfer / numbering apparatus according to the embodiment of the present invention includes a computer technology well known in the technical field, for example, a standalone type. It is constructed by a computer system and includes well-known computer components such as CPU (Central Processing Unit), memory devices including ROM and RAM, output devices such as display devices (displays) and printers, keyboards and mice, etc. The present invention is realized by an input / output interface for writing / reading data to / from various standard memory sticks or the like mounted in a slot (not shown). The database 102 described above is configured by the memory device. The ROM stores basic software executed by the CPU, application software (application software), and the like. The RAM has a work area used when the CPU executes application software. A CPU (Central Processing Unit) executes a program (basic software or application software) stored in a ROM or RAM, and controls the entire system while controlling operations of various components. The input device performs data input, item selection / determination, and the like by operation of a mouse or a keyboard. The display device is composed of, for example, a liquid crystal display, and displays processing contents in the various processing units and a screen for data maintenance.

図2は、本発明の実施形態に係る主キー振替え・採番装置用データ作成支援システムの起動によるメニュー画面の構成を示す図である。図2のメニュー画面8には、データ取込ボタン(1)、データメンテナンスボタン(2)、同意チェックテーブル登録ボタン(3)、リカバリーボタン(4)、終了ボタン(7)、表示枠として、新旧データ情報表示欄(5)及び状態表示欄(6)を備えている。上記以外に、データ展開ボタン、メンテデータ取込ボタン、データ出力ボタンを備えている。これらボタンの選択は例えばポインティングデバイスで行うことができる。   FIG. 2 is a diagram showing the configuration of the menu screen by starting the data creation support system for the primary key transfer / numbering device according to the embodiment of the present invention. The menu screen 8 in FIG. 2 includes a data import button (1), a data maintenance button (2), a consent check table registration button (3), a recovery button (4), an end button (7), and an old and new display frame. A data information display field (5) and a status display field (6) are provided. In addition to the above, a data expansion button, a maintenance data import button, and a data output button are provided. These buttons can be selected using a pointing device, for example.

図2においてデータ取込ボタン(1)を押すと、データ取込処理(後で説明する)を実行する。すなわち、データ取込ボタン(1)を押すことで農薬取込日付選択画面の子画面(図示せず)にカレンダーを表示し当該カレンダーから農薬取込日付を選択し、「OK」ボタン(図示せず)を押すことで選択された農薬登録日付を取得する。農薬取込日付はデータベース102に格納されているカレンダー(図示せず)を呼び出してきて表示させる。農薬登録情報における登録適用部311は、農林水産消費安全技術センターがウェブサイトに提供しているものを無料で利用するために、他装置でダウンロードしてあらかじめ外部メモリ(図示せず)に格納しておく。   When the data acquisition button (1) is pressed in FIG. 2, a data acquisition process (described later) is executed. That is, by pressing the data import button (1), a calendar is displayed on the sub screen (not shown) of the pesticide uptake date selection screen, the pesticide uptake date is selected from the calendar, and the “OK” button (not shown) )) To get the selected pesticide registration date. The pesticide uptake date is displayed by calling a calendar (not shown) stored in the database 102. The registration application unit 311 in the pesticide registration information is downloaded by another device and stored in advance in an external memory (not shown) in order to use the information provided by the Agriculture, Forestry and Fisheries Consumption Safety Technology Center for free. Keep it.

また図2においてデータメンテナンスボタン(2)を押すと、図9のデータメンテナンス画面10に遷移する。また図2において同意チェックテーブル登録ボタン(3)を押すと、図10の同意チェックテーブル登録画面30に遷移する。リカバリーボタン(4)を押すと、バックアップデータからデータベース102にデータをロードする処理を実行する。そしてリカバリー後は初期状態に復帰する。   Further, when the data maintenance button (2) is pressed in FIG. 2, the screen shifts to the data maintenance screen 10 of FIG. When the consent check table registration button (3) is pressed in FIG. 2, the screen shifts to the consent check table registration screen 30 in FIG. When the recovery button (4) is pressed, a process for loading data from the backup data into the database 102 is executed. And after recovery, it returns to the initial state.

新旧データ情報表示欄(5)は、新データ(登録適用部展開データ)と旧データ(旧登録適用部展開データ)の農薬登録日付を表示する。状態表示欄(6)は、データの作業状況を表示するものであり、状態表示欄(6)に表示される内容については後で説明する。終了ボタン(7)を押すことで本発明の実施形態に係る主キー振替え・採番装置用データ作成支援システムの動作を終了させることができる。   The new and old data information display field (5) displays the agrochemical registration date of the new data (registration application part development data) and old data (old registration application part development data). The status display column (6) displays the work status of data, and the contents displayed in the status display column (6) will be described later. By pressing the end button (7), the operation of the data creation support system for the primary key transfer / numbering device according to the embodiment of the present invention can be terminated.

ここで、状態表示欄(6)に表示される内容について簡単に説明する。状態表示欄(6)に表示されるメッセージは、データ取込処理の完了など、処理内容の完了を表示する。例えば、データ取込処理の完了なら、「データ取込完了」と表示する。   Here, the contents displayed in the status display field (6) will be briefly described. The message displayed in the status display field (6) displays the completion of the processing content such as the completion of the data fetching process. For example, when the data acquisition process is completed, “data acquisition complete” is displayed.

次に、本発明の実施形態に係る主キー振替え・採番装置用データ作成支援システムの動作について図1および図2を用いながら説明する。本発明の実施形態に係る主キー振替え・採番装置用データ作成支援システムを起動することで上述したように図2のメニュー画面8が表示される。なお、本発明の実施形態に係る主キー振替え・採番装置用データ作成支援システムの起動前に、他装置(図示せず)にて農林水産消費安全技術センターのホームページから登録農薬情報(登録適用部)をダウンロードし、例えばメモリステック等の外部メモリに格納しておく。   Next, the operation of the data creation support system for the primary key transfer / numbering apparatus according to the embodiment of the present invention will be described with reference to FIGS. As described above, the menu screen 8 of FIG. 2 is displayed by activating the data creation support system for the primary key transfer / numbering device according to the embodiment of the present invention. Before starting the data creation support system for the primary key transfer / numbering device according to the embodiment of the present invention, registered agricultural chemical information (registered application) from the homepage of the Agriculture, Forestry and Fisheries Consumption Safety Technology Center on other devices (not shown) Download) and store it in an external memory such as a memory stick.

表示された図2のメニュー画面8でデータ取込ボタン(1)を押すと、「データ取込処理」が開始される。このとき前記したダウンロードデータが所定のフォルダ(図示せず)に格納される。「データ取込処理」では、以下の(1)〜(9)の処理を順に実行する。   When the data acquisition button (1) is pressed on the displayed menu screen 8 of FIG. 2, the “data acquisition process” is started. At this time, the download data is stored in a predetermined folder (not shown). In the “data fetching process”, the following processes (1) to (9) are executed in order.

まず(1)農薬登録日付の取得が実行される。農薬登録日付の取得では、データ取込処理部101が農薬登録日付選択用の子画面(図示せず)で選択された日付を取得する。取得した農薬登録日付は後述する各種データテーブルの農薬登録日付欄に格納されるとともに図2の新旧データ情報表示欄(5)の日付表示に利用される。   First, (1) acquisition of agrochemical registration date is executed. In the acquisition of the pesticide registration date, the data acquisition processing unit 101 acquires the date selected on the sub-screen (not shown) for selecting the pesticide registration date. The acquired agrochemical registration date is stored in the agrochemical registration date column of various data tables to be described later and used for date display in the new and old data information display column (5) in FIG.

次に(2)「ファイルの確認」を実行する。ファイルの確認では、データ取込処理部101がアクセスする指定フォルダ(図示せず)に取り込み用ファイル(登録基本部.csv,登録適用部一.csv,登録適用部二.csv)が存在するかを確認する。なお、農林水産消費安全技術センターのホームページからのダウンロード時には登録適用部データは二つ(登録適用部一.csv,登録適用部二.csv)に分かれているが、データベース102への取込時には一緒のテーブルに格納する。   Next, (2) “Check file” is executed. When checking the file, whether the file for registration (registration basic part.csv, registration application part 1.csv, registration application part 2.csv) exists in the specified folder (not shown) accessed by the data import processing part 101 Confirm. In addition, at the time of downloading from the homepage of the Agriculture, Forestry and Fisheries Consumption Safety Technology Center, the registration application department data is divided into two (registration application department 1 .csv, registration application department 2 .csv). Store in the table.

上記でファイルの存在を確認したあと、(3)「初期化処理」を実行する。初期化処理については図3を用いて説明する。データ取込処理部101がデータベース102に格納されている以下に示すテーブルについて、図3に示すように、(イ)まず以下のテーブルのデータを全削除する。すなわち<登録基本部側>において、登録基本部(図13参照)のデータ及び旧登録基本部展開データ(図12参照)のデータを削除する。また<登録適用部側>において登録適用部(図14参照)のデータ、旧登録適用部展開データ(図15参照)のデータ、及び登録適用部展開データ(図20参照)のデータを削除する。   After confirming the existence of the file as described above, (3) “initialization processing” is executed. The initialization process will be described with reference to FIG. As shown in FIG. 3, the data acquisition processing unit 101 deletes all data in the following table as shown in FIG. That is, in <registration basic part side>, the data of the registration basic part (see FIG. 13) and the data of the old registration basic part expansion data (see FIG. 12) are deleted. In <registration application unit>, the data of the registration application unit (see FIG. 14), the data of the old registration application unit development data (see FIG. 15), and the data of the registration application unit development data (see FIG. 20) are deleted.

次に、データ取込処理部101がデータベース102にアクセスして、(ロ)前回データを旧データとして次のテーブルに移動する。このとき旧登録適用部展開データ(図15参照)の処理状態フラグ(後述する)をすべてブランクにする。そして<登録基本部側>においては、登録基本部展開データ(図19参照)をコピーして旧登録基本部展開データ(図12参照)に移動する。また<登録適用部側>においては、メンテ済み登録適用部(図16参照)のデータをコピーして旧登録適用部展開データ(図15参照)に移動する。   Next, the data capture processing unit 101 accesses the database 102 and (b) moves the previous data to the next table as old data. At this time, all the processing state flags (described later) of the old registration application unit expansion data (see FIG. 15) are blanked. In <registration basic part side>, the registration basic part expansion data (see FIG. 19) is copied and moved to the old registration basic part expansion data (see FIG. 12). In the <registration application unit>, data of the registered registration application unit (see FIG. 16) is copied and moved to the old registration application unit development data (see FIG. 15).

さらに(ハ)以下に示すテーブルのデータを全削除する。すなわち<登録基本部側>において登録基本部展開データ(図19参照)を削除し、<登録適用部側>においてメンテ済み登録適用部(図16参照)のデータを削除する。   Further, (c) all data in the following table is deleted. That is, the registration basic part expansion data (see FIG. 19) is deleted at <registration basic part side>, and the data of the maintained registration application part (see FIG. 16) is deleted at <registration application part side>.

ここで図3の説明を離れて「データ取込処理」に戻り、(4)「文字変換」を実行する。文字変換においては、データ取込処理部101がデータベース102に格納されている変換表(図示せず)に基づき、上記(2)「ファイルの確認」に示した取込み用ファイルの文字の変換(全半角などの統一)を行う。変換表(図示せず)はCSVファイルで編集できるものとする。   Here, the explanation of FIG. 3 is left and the processing returns to the “data fetching process”, and (4) “character conversion” is executed. In the character conversion, the data acquisition processing unit 101 converts the characters in the file for acquisition shown in (2) “Confirmation of file” based on a conversion table (not shown) stored in the database 102 (all Unification of half-width etc.). The conversion table (not shown) can be edited as a CSV file.

次いで、(5)「新データの取込み」を実行する。新データの取込みの実行では、データ取込処理部101が上述した初期化処理の終わったテーブルに上記(4)「文字変換」の終わったデータを取り込む。すなわち<登録基本部側>においては、「文字変換」の終わった登録基本部.csvを登録基本部(図13参照)に取り込み、また<登録適用部側>においては、上記(4)「文字変換」の終わった登録適用部.csvを登録適用部(図14参照)に取り込む。図3の最下部はこの様子を示したものである。   Next, (5) “fetch new data” is executed. In the execution of new data fetching, the data fetching processing unit 101 fetches the data that has been subjected to the above (4) “character conversion” into the table that has undergone the initialization process described above. That is, in <registration basic part side>, the registration basic part .csv after “character conversion” is taken into the registration basic part (see FIG. 13), and in <registration application part side> (4) “character” The registration application unit .csv for which “conversion” is completed is taken into the registration application unit (see FIG. 14). The lowermost part of FIG. 3 shows this state.

そして(6)「展開テーブル作成」を実行する。展開テーブル作成の実行では、登録基本部テーブル(図13参照)のデータを登録基本部展開データテーブル(図19参照)に展開する。展開方法については後述する。また登録適用部テーブル(図14参照)のデータを登録適用部展開データテーブル(図20参照)に展開する。展開方法については後述する。そして新データ(登録適用部展開データテーブル)(図20参照)には適用コードとして仮の番号を1から通番で採番する。この仮の番号は、後述する主キーの振替えおよび新規の適用コードの採番で本来の番号に入れ替わることとなる。そして登録適用部展開データ(新データ)、旧登録適用部展開データ(旧データ)の処理状態フラグをすべてブランクにする。さらに登録適用部展開データ(図20の失効フラグ386参照)、登録基本部展開データ(図19の失効フラグ254参照)の失効フラグ=0を設定する。失効フラグ=0は、失効されていないことを意味する。   And (6) “Development table creation” is executed. In executing the development table creation, the data of the registration basic part table (see FIG. 13) is developed into the registration basic part development data table (see FIG. 19). The expansion method will be described later. Further, the data of the registration application unit table (see FIG. 14) is developed into a registration application unit development data table (see FIG. 20). The expansion method will be described later. New data (registration application section development data table) (see FIG. 20) is assigned a temporary number as a serial number from 1 as an application code. This temporary number will be replaced with the original number by primary key transfer and new application code numbering, which will be described later. Then, all the processing status flags of the registration application section development data (new data) and the old registration application section development data (old data) are blanked. Furthermore, the revocation flag = 0 of the registration application part development data (see the revocation flag 386 in FIG. 20) and the registration basic part development data (see the revocation flag 254 in FIG. 19) is set. The revocation flag = 0 means that it has not been revoked.

ここで登録基本部展開データ及び登録適用部展開データの展開方法についてさらに詳しく説明する。上述したように、まず登録基本部テーブル(図13参照)のデータを新データとして登録基本部展開データテーブル(図19参照)に展開する。この場合の展開方法としては、登録基本部テーブル(図13参照)のすべての項目をそのまま登録基本部展開データ(図19参照)にコピーし、また登録基本部展開データ(図19参照)の失効フラグ=0を設定する。次に、登録適用部テーブル(図14参照)のデータを新データとして登録適用部展開データテーブル(図20参照)に展開する。この場合の展開方法としては、登録適用部データ(図14参照)の「用途」「略称」「混合数」以外の項目をすべて登録適用部展開データ(図20参照)にコピーし、また登録適用部展開データ(図20参照)の適用コードに仮の番号を1から通番で採番する。なお上述したようにこの仮の番号は、後述する主キーの振替えおよび新規の適用コードの採番で本来の番号に入れ替わることとなる。その上で登録適用部展開データ(図20参照)の失効フラグ=0を設定する。また登録適用部展開データ(図20参照)の処理状態フラグ及び適用更新日をブランクにする。さらに登録適用部展開データ(図20参照)の「登録番号」370、「農薬の種類」、「農薬の名称」、「失効フラグ」386、「適用更新日」387、「処理状態フラグ」388、「振替え適用コード」389以外の項目にブランクがあれば「-」(半角ハイフン)を設定する。 Here, the registration basic unit expansion data and the registration application unit expansion data expansion method will be described in more detail. As described above, first, the data of the registration basic part table (see FIG. 13) is developed as new data in the registration basic part development data table (see FIG. 19). As an expansion method in this case, all items in the registration basic part table (see FIG. 13) are copied as they are to the registration basic part expansion data (see FIG. 19), and the registration basic part expansion data (see FIG. 19) is invalidated. Set flag = 0. Next, the data of the registration application unit table (see FIG. 14) is developed as new data in the registration application unit development data table (see FIG. 20). In this case, as the expansion method, all items other than “use”, “abbreviation”, and “mixed number” in the registration application section data (see FIG. 14) are copied to the registration application section expansion data (see FIG. 20), and the registration application is applied. A temporary number is assigned from 1 to the application code of the partial development data (see FIG. 20). Note that, as described above, this temporary number is replaced with the original number by changing the primary key and assigning a new application code, which will be described later. After that, the revocation flag = 0 of the registration application section development data (see FIG. 20) is set. Further, the processing status flag and the application update date of the registration application section development data (see FIG. 20) are blanked. Furthermore, “registration number” 370, “agricultural chemical type”, “agricultural chemical name”, “expiration flag” 386, “application renewal date” 387, “processing status flag” 388 of the registration application section development data (see FIG. 20), if there is a blank in the "application code instead of Ri vibration" 389 other items "-" to set the (hyphen).

次に、(7)「主キー振替処理」を実行する。主キー振替処理は、図1に示した主キー振替え処理部104、メンテナンス処理部105および同意チェックテーブル107を用いて実行される。これについては後で説明する。   Next, (7) “primary key transfer process” is executed. The primary key transfer process is executed using the primary key transfer processing unit 104, the maintenance processing unit 105, and the consent check table 107 shown in FIG. This will be described later.

そして(8)「登録基本部データ比較」を実行する。登録基本部の新データ(登録基本部展開データ)(図19参照)と旧データ(旧登録基本部展開データ)(図12参照)を比較する(ここでの「主キー」は「登録番号+有効成分」を用いる)。「登録番号+有効成分」が一致し、その他の項目に変更があった場合、変更点(登録番号、有効成分、項目、新旧の値)をCSVで出力する。また「登録番号+有効成分」を比較したとき、新データ(登録基本部展開データ)(図19参照)に存在し、旧データ(旧登録基本部展開データ)(図12参照)に存在しない場合、新規データとしてCSVで出力する。また「登録番号+有効成分」を比較したとき、旧データ(旧登録基本部展開データ)(図12参照)に存在し、新データ(登録基本部展開データ)(図19参照)に存在しない場合、失効データとしてCSVで出力する。そして旧データ(旧登録基本部展開データ)の失効データを登録基本部展開データに追加し、失効フラグ=1を設定する(旧登録基本部展開データテーブルには失効フラグ=1を設定しない)。上記のような変更、新規、失効があったデータの登録更新日に農薬登録日付を設定する。   Then, (8) “Registered basic part data comparison” is executed. Compare the new data (registered basic part expanded data) (see FIG. 19) and the old data (old registered basic part expanded data) (see FIG. 12) of the registered basic part (here, “primary key” is “registration number + Active ingredient "). If “registration number + active ingredient” matches and other items are changed, the change (registration number, active ingredient, item, old and new values) is output in CSV. In addition, when “registration number + active ingredient” is compared, it exists in new data (registered basic part expanded data) (see FIG. 19) and does not exist in old data (old registered basic part expanded data) (see FIG. 12). Output as CSV as new data. In addition, when “registration number + active ingredient” is compared, it exists in the old data (old registration basic part expanded data) (see FIG. 12) and does not exist in the new data (registered basic part expanded data) (see FIG. 19). , Output as revocation data in CSV format. Then, the revocation data of the old data (old registration basic part expansion data) is added to the registration basic part expansion data, and the revocation flag = 1 is set (the revocation flag = 1 is not set in the old registration basic part expansion data table). Set the pesticide registration date as the registration renewal date of the data that has changed, new or expired as described above.

最後に(9)「メニュー画面表示更新」を実行する。図2に示すメニュー画面8の表示更新は、データ取込処理部101、データ展開処理部103、および、主キー振替え処理部104における上記(1)〜(8)までの処理が正常に実行されたとき、新旧データ情報表示欄(5)を更新するものである。新旧データ情報表示欄(5)の新データ欄には農薬登録日時を、新旧データ情報表示欄(5)の旧データ欄には前回の農薬登録日付(旧登録適用部展開データの農薬登録日付)を表示する。また、状態表示欄(6)に「データ取込処理」が正常に終了した旨のメッセージ(データ取込完了)を表示する。そして「データ取込」ボタン(1)を操作不可にする。「データメンテナンス」ボタン(2)を操作可能にする。   Finally, (9) “Update menu screen display” is executed. In the display update of the menu screen 8 shown in FIG. 2, the processes (1) to (8) in the data acquisition processing unit 101, the data expansion processing unit 103, and the primary key transfer processing unit 104 are normally executed. The new and old data information display field (5) is updated. Pesticide registration date and time in the new data column in the old and new data information display column (5), and the previous pesticide registration date in the old data column in the old and new data information display column (5) (pesticide registration date in the old registration application section development data) Is displayed. In addition, a message indicating that “data import processing” has been completed normally (data capture completion) is displayed in the status display field (6). Then, the “data import” button (1) is disabled. Enable the "Data maintenance" button (2).

ここで主キー振替え処理部104、同意チェックテーブル107およびメンテナンス処理部105で実行される主キー振替え処理について説明する。上述した「データ取込処理」の(7)で概略説明したように、主キー振替え処理は、新データ(登録適用部展開データ)(図20参照)と旧データ(旧登録適用部展開データ)(図15参照)を比較し、新データに正式な主キー(適用コード)を振替え・採番する処理である。すなわち、新データ(登録適用部展開データ)(図20参照)と旧データ(旧登録適用部展開データ)(図15参照)の内容が同じである場合は、旧データ(旧登録適用部展開データ)(図15参照)の適用コードを新データ(登録適用部展開データ)(図20参照)の適用コードに振替える。また新データ(登録適用部展開データ)の内容が旧データ(旧登録適用部展開データ)に無い場合は、新しい適用コードを採番する。   Here, the primary key transfer processing executed by the primary key transfer processing unit 104, the consent check table 107, and the maintenance processing unit 105 will be described. As outlined in (7) of the “data fetching process” described above, the primary key transfer process includes new data (registration application section development data) (see FIG. 20) and old data (old registration application section development data). (See FIG. 15), and a process of transferring / numbering a formal primary key (application code) to new data. That is, if the contents of the new data (registration application part development data) (see FIG. 20) and the old data (old registration application part development data) (see FIG. 15) are the same, the old data (old registration application part development data) ) (See FIG. 15), the application code is transferred to the application code of the new data (registration application section development data) (see FIG. 20). If the content of the new data (registered application development data) is not in the old data (old registration application development data), a new application code is assigned.

図4は、主キー振替え・採番に係るデータ作成支援の前提となる適用情報の分類手順を説明する図である。図4において適用情報の分類手順を矩形で囲まれた部分内に表示し且つ括弧内の数字で手順番号を示す。図4を用いて適用情報の分類手順を説明すると、手順1(41)においては、上述した新データ(登録適用部展開データ)と旧データ(旧登録適用部展開データ)の比較を、適用コード、登録更新日以外の全項目について実施する。全項目比較は、文字列を機械的に比較し、一致であれば変更のない適用情報であると分類し、不一致であれば変更のある適用情報であると分類する。変更のない適用情報であると分類されば、変更なし適用情報(47)として、処理状態フラグ=0を設定し、振替え適用コードに旧適用情報の適用コードを設定する(データ展開時に旧適用情報の適用コードを新適用情報の適用コードとして振替える)。また手順1(41)において旧適用情報の失効フラグ=1のデータも処理状態フラグ=0と設定する。 FIG. 4 is a diagram for explaining a classification procedure of application information which is a premise of data creation support related to primary key transfer / numbering. In FIG. 4, the classification procedure of application information is displayed in a portion surrounded by a rectangle, and the procedure number is indicated by a number in parentheses. The procedure for classifying applied information will be described with reference to FIG. 4. In step 1 (41), the comparison between the new data (registered application section expanded data) and the old data (old registered applied section expanded data) described above is applied code. Execute for all items other than the registration renewal date. In the all item comparison, character strings are mechanically compared, and if they match, the application information is classified as unchanged application information, and if they do not match, the application information is classified as changed. If Re is classified as no change application information, the old applications as no change application information (47), sets the processing state flag = 0, when transferred application code to configure the application code of the old application information (data expansion Transfer the application code of the information as the application code of the new application information). In the procedure 1 (41), the data of the old application information revocation flag = 1 is also set as the processing state flag = 0.

上記手順1(41)で変更のある適用情報であると分類されば、手順2(42)において、変更のある適用情報についてそれぞれの「登録番号」を比較する。この「登録番号」の比較により、適用情報を「新規」/「失効」/「変更」に分類する。つまり、旧データ(旧登録適用部展開データ)に無い登録番号が新データ(登録適用部展開データ)に存在した場合、処理状態フラグ=1を設定する(「新規」データとして新しく適用コードを採番する対象としてデータ展開時にメンテ済み登録適用部に反映する)。また、新データ(登録適用部展開データ)に無い登録番号が旧データ(旧登録適用部展開データ)に存在した場合、処理状態フラグ=2を設定する(「失効」データとして失効フラグ=0を失効フラグ=1に変更する対象としてデータ展開時にメンテ済み登録適用部に反映する)。 If Re is classified as application information that is changed by the above step 1 (41), in Step 2 (42), comparing each of the "registration number" for the application information of change. By comparing the “registration numbers”, the application information is classified into “new” / “revocation” / “change”. In other words, if a registration number that does not exist in the old data (old registration application development data) exists in the new data (registration application development data), the processing status flag = 1 is set (a new application code is adopted as “new” data). (It is reflected in the maintenance application section when data is expanded). If a registration number that is not in the new data (registration application development data) exists in the old data (old registration application development data), a processing status flag = 2 is set (revocation flag = 0 as “revocation data”). The revocation flag is reflected in the maintenance registration application unit at the time of data expansion as a target to be changed to 1).

上記手順2(42)で適用情報が「新規」/「失効」でなく「変更」に分類された新旧適用情報に対して、手順3(43)で上述した指定項目の各項目を比較する。つまり処理状態フラグがブランクである新旧データ(登録適用部展開データと旧登録適用部展開データ)を対象に、「登録番号」ごとに指定項目に属する以下の項目を順番に1項目ずつ比較する。このとき、文字列が一致するか又は同意チェックテーブル107に登録された内容と新旧データ(登録適用部展開データと旧登録適用部展開データ)の値が一致したとき、「同意」であるとする。ここで「同意」とは、同意=同じ意味であるとみなし、その項目は一致するものとみなす。また、この項目比較時に非同意チェックテーブル107に登録された内容と新旧データ(登録適用部展開データと旧登録適用部展開データ)の値が一致したとき、「非同意」であるとする。ここで「非同意」とは、非同意=同じ意味でないとみなし、その項目は新たに農薬を使用する条件が生じたものとみなす。(非同意の組合せに該当したものは、無条件に新規データ/失効データとして取り扱う。)
<指定項目に属する比較項目>
(a)作物名
(b)適用病害虫雑草名
(c)使用方法
(d)適用地帯名
(e)使用目的
(f)適用場所
(g)適用土壌
上記比較項目(a)〜(g)がすべて「同意」である新旧データ(登録適用部展開データと旧登録適用部展開データ)は同じ適用情報である可能性があるとみなし、以下に示す手順4(44)の処理に進む。
Each item of the designated items described in step 3 (43) is compared with the old and new application information in which the application information is classified as “change” instead of “new” / “revocation” in step 2 (42). In other words, the following items belonging to the designated item are compared one by one in order for each “registration number” for new and old data (registration application part development data and old registration application part development data) whose processing status flag is blank. At this time, if the character strings match or the contents registered in the consent check table 107 match the values of the old and new data (the registration application section development data and the old registration application section development data), it is assumed that the agreement is accepted. . Here, “agreement” is regarded as agreement = same meaning, and the items are regarded as matching. Further, when the contents registered in the disagreement check table 107 at the time of this item comparison match the values of the old and new data (registration application section expansion data and old registration application section expansion data), it is assumed that the data is “disagree”. Here, “non-consent” means that disagreement does not mean the same meaning, and that item is regarded as a new condition for using pesticides. (Unconditional combinations are treated as new data / revocation data.)
<Comparison item belonging to the specified item>
(A) Crop name (b) Applicable pest and weed name (c) Method of use (d) Applicable zone name (e) Purpose of use (f) Applicable location (g) Applicable soil All the above comparison items (a) to (g) The new and old data (registration application part development data and old registration application part development data) that are “consent” are considered to be the same application information, and the process proceeds to the process of step 4 (44) shown below.

また上記比較項目(a)〜(g)の比較時に「非同意」に該当する項目があったとき、新規/失効データとして処理する。この際、新データ(登録適用部展開データ)に処理状態フラグ=1を設定する。そして新規データとして新しく適用コードを採番する対象とし、データ展開時にメンテ済み登録適用部に反映する。ただし、データメンテナンス画面、同意チェックテーブル登録画面から呼び出された場合は、処理状態フラグ=4を設定する。これらについては後で説明する。また旧データ(旧登録適用部展開データ)に処理状態フラグ=2を設定する。そして失効データとして失効フラグを変更する対象とし、データ展開時にメンテ済み登録適用部に反映する。ただし、データメンテナンス画面、同意チェックテーブル登録画面から呼び出された場合は、処理状態フラグ=5を設定する。   Further, when there is an item corresponding to “non-agreement” at the time of comparing the comparison items (a) to (g), it is processed as new / revocation data. At this time, the processing state flag = 1 is set in the new data (registration application unit development data). Then, a new application code is assigned as new data, and is reflected in the maintenance registration application unit at the time of data expansion. However, when called from the data maintenance screen or consent check table registration screen, the processing status flag = 4 is set. These will be described later. In addition, the processing status flag = 2 is set in the old data (old registration application section development data). The revocation flag is to be changed as revocation data, and is reflected in the maintained registration application unit at the time of data expansion. However, when called from the data maintenance screen or consent check table registration screen, the processing status flag = 5 is set.

上記比較項目(a)〜(g)の比較時に「非同意」に該当せず且つ「同意」でない項目(文字列一致せず、「同意」にも該当しない)があったとき、以下に示す手順5(45)の処理に進む。 The above comparison item (a) ~ item not and does not correspond to "non-consent", "agree" when comparing (g) (without strings match, does not correspond to the "consent") when he Tsu there, below Proceed to step 5 (45).

図5は、指定項目比較の具体例を示す図である。指定項目は、登録適用部の農薬を使用する際の条件に該当する項目であり、上記指定項目の各項目を指す。図5に示すように新旧の適用情報をデータ行ごとに上記比較項目(a)から順に比較していき、比較項目に同意のものがあれば次々に比較項目の順位を下げて比較を行い、比較項目(g)における比較まで比較を行ってすべて同意であれば指定項目比較における全項目一致であるとみなし、比較項目における新旧データ(登録適用部展開データと旧登録適用部展開データ)の比較過程において一方に存在し他方に存在しない場合は新規/失効適用情報(仮)が存在するとみなして次の手順4,5における処理に委ねる。   FIG. 5 is a diagram illustrating a specific example of designated item comparison. The designated item is an item corresponding to the condition when using the agricultural chemical of the registration application department, and indicates each item of the designated item. As shown in FIG. 5, the old and new application information is compared in order from the comparison item (a) for each data row, and if there is an agreement in the comparison item, the comparison items are sequentially lowered and compared, If all comparisons are made until the comparison in the comparison item (g) is agreed, all items in the specified item comparison are considered to be in agreement, and the new and old data (registration application part development data and old registration application part development data) in the comparison item are compared. If it exists in one side and does not exist in the other side in the process, it is assumed that there is new / revocation application information (temporary) and is left to the processing in the following procedures 4 and 5.

手順4(44)においては、上記手順3(43)の処理で上記指定項目比較の各項目(a)〜(g)がすべて同意であるとみなされた新データ(登録適用部展開データ)と旧データ(旧登録適用部展開データ)については新旧データの行数により、以下に示す(イ)〜(ハ)の処理を行う。   In step 4 (44), new data (registered application development data) in which all items (a) to (g) in the specified item comparison are regarded as consent in the process of step 3 (43) For the old data (old registration application development data), the following processes (a) to (c) are performed according to the number of lines of the old and new data.

(イ)上記手順3(43)の処理で上記指定項目比較の各項目(a)〜(g)がすべて同意であるとみなされた新データ(登録適用部展開データ)が1行、旧データ(旧登録適用部展開データ)が1行で存在するとき、新旧データ(登録適用部展開データと旧登録適用部展開データ)は同じ内容(同意)であるとみなす(変更データ、主キー振替え対象)。そして全項目を比較し、変更点(登録番号、項目、新旧データの値、新旧データの適用コード値、処理状態フラグ)を変更点出力テーブル(図17参照)に追加する。また新データ(登録適用部展開データ)の振替え適用コード389に旧データ(旧登録適用部展開データ)の適用コード355を設定する。さらに新旧データ(登録適用部展開データと旧登録適用部展開データ)の処理状態フラグ=3を設定する。ただし、図9のデータメンテナンス画面10、図10の同意チェックテーブル登録画面30から呼び出された場合は、処理状態フラグ=6を設定する。 (A) One line of new data (registered application development data) in which all the items (a) to (g) in the above specified item comparison are regarded as agreement in the process of step 3 (43), old data When (old registration application section expansion data) exists in one line, the old and new data (registration application section expansion data and old registration application section expansion data) are considered to have the same content (consent) (change data, primary key transfer target) ). Then, all items are compared, and a change point (registration number, item name , old / new data value, new / old data application code value, processing status flag) is added to the change point output table (see FIG. 17). In addition to set the application code 355 of the new data old data to shake Ri instead of application code 389 (registration application unit expanded data) (formerly registration application unit expanded data). Further, a processing status flag = 3 is set for new and old data (registration application part development data and old registration application part development data). However, when called from the data maintenance screen 10 of FIG. 9 or the consent check table registration screen 30 of FIG. 10, the processing state flag = 6 is set.

図6は、新旧適用情報数が1:1の場合の同意行比較の具体例1を示す図であり、指定項目の各項目の内容が同意であって新旧適用情報数が1:1の場合には、変更適用情報(48)に分類されるとともに内容が異なるものを変更点として出力し、併せて適用コードの振替えを行うことを示している。   FIG. 6 is a diagram showing a specific example 1 of the agreement line comparison when the number of new and old application information is 1: 1, where the contents of each item of the designated item are agreement and the number of old and new application information is 1: 1 Shows that information classified as change application information (48) but having different contents is output as a change point, and the application code is also transferred.

(ロ)上記手順3(43)の処理で上記指定項目比較の各項目(a)〜(g)がすべて同意であるとみなされた新データ(登録適用部展開データ)がN行、旧データ(旧登録適用部展開データ)がN行で存在するとき、新旧データ(登録適用部展開データと旧登録適用部展開データ)すべての組合せで全項目を文字列比較し、一致する項目の個数をカウントする。この場合、(A)一致項目数が多い新旧データ(登録適用部展開データと旧登録適用部展開データ)の組合せが重複なく存在すれば、その組合せの新旧データは同じ内容であるとみなす(変更データ、主キー振替え対象)。この場合には、上記(イ)の変更データに対する処理と同様の処理を行う。(B)一致項目数が多い新旧データ(登録適用部展開データと旧登録適用部展開データ)の組合せが重複する場合、以下に示す手順5(45)の処理に進む。 (B) New data (registered application development data) for which all the items (a) to (g) in the above specified item comparison are considered to have been agreed in the process of step 3 (43) is N rows, old data When (old registration application part expansion data) exists in N rows, string comparison is performed for all items in all combinations of new and old data (registration application part development data and old registration application part development data) , and the number of matching items is calculated. Count. In this case, (A) if there is a combination of old and new data (registration application section expanded data and old registration application section expanded data) with a large number of matching items without duplication, the old and new data of the combination is considered to have the same contents (change) Data, primary key transfer target). In this case, the same process as the process for the changed data (A) is performed. (B) If the combination of old and new data ( registration application section development data and old registration application section development data) with a large number of matching items is duplicated, the process proceeds to step 5 (45) shown below.

(ハ)上記手順3(43)の処理で上記指定項目比較の各項目(a)〜(g)がすべて同意であるとみなされた新データ(登録適用部展開データ)がN行、旧データ(旧登録適用部展開データ)がM行(N≠M)で存在するとき、以下に示す手順5(45)の処理に進む。     (C) New data (registered application development data) for which all items (a) to (g) in the above-mentioned specified item comparison are regarded as consent in the process of step 3 (43) is N rows, old data When (old registration application unit expansion data) exists in M rows (N ≠ M), the process proceeds to the process of the procedure 5 (45) shown below.

図7は、新旧適用情報数の比率が1:1の場合と新旧適用情報数の比率が1:1でない場合とにおける具体例2及び具体例3を示す図であり、指定項目の各項目の内容が同意であって新旧適用情報数の比率が1:1の場合には、全項目を確認し、特定できれば変更適用情報(48)に分類し、さらに全項目の内容が一致する数を比較し、一致する数の多い適用情報の組み合せを対応する適用情報とみなし変更適用情報(48)に分類し、全項目比較において項目が異なるものを変更点として出力し、併せて対応する適用情報同士で適用コードの振替えを行うことを示している。また新旧適用情報数の比率が1:1でない場合の具体例3(図7の下半)は、指定項目の内容が同意であって新旧適用情報数の比率が1:1でない場合は、システムだけで適用情報を特定することが困難であるとして次の手順5(45)における処理に委ねる。   FIG. 7 is a diagram illustrating specific example 2 and specific example 3 when the ratio of the number of new and old application information is 1: 1 and the ratio of the number of new and old application information is not 1: 1. If the content is consent and the ratio of old and new application information is 1: 1, check all items, and if it can be specified, classify it as change application information (48), and compare the number of items that match all items. The combination of application information that has a large number of matches is regarded as corresponding application information, and is classified as change application information (48). Indicates that the application code is transferred. Specific example 3 (the lower half of FIG. 7) in which the ratio of the number of new and old application information is not 1: 1 is the system in the case where the content of the specified item is agreement and the ratio of the number of old and new application information is not 1: 1. It is left to the processing in the next procedure 5 (45) because it is difficult to specify the application information.

手順5(45)において、ここに持ち込まれたデータ(適用情報)は主キー振替えのための比較処理をシステムで判定できないデータなので、図9のメンテナンス画面10で担当者が判定することになる。なお、新旧データに一つでもブランクが残っている限り、データメンテナンス処理を完了としない。   In procedure 5 (45), since the data (application information) brought in here cannot be determined by the system for comparison processing for primary key transfer, the person in charge determines it on the maintenance screen 10 in FIG. As long as at least one blank remains in the old and new data, the data maintenance process is not completed.

以上に示した手順1(41)〜手順5(45)までの処理で「適用情報を「新規」/「失効」/「変更」のいずれかに分類」(46)する。そして図2のメニュー画面で「データ展開ボタン」が押されたときに動作するデータ展開処理(後述する)において、変更適用情報(48)に分類された場合には、旧適用情報の適用コードを新適用情報の適用コードに振替え、また新規適用情報(49)に分類された場合には、新しい適用コードを採番し、また失効適用情報(50)に分類された場合には、失効フラグを立てる。なお変更なし適用情報(47)に分類された場合には、上述したように旧適用情報の適用コードを新適用情報の適用コードとして振替える。   In the above-described processing from the procedure 1 (41) to the procedure 5 (45), “apply information is classified into one of“ new ”/“ revocation ”/“ change ”” (46). In the data expansion process (described later) that operates when the “data expansion button” is pressed on the menu screen of FIG. 2, when the change application information (48) is classified, the application code of the old application information is changed. If it is transferred to the application code of the new application information, or if it is classified as new application information (49), a new application code is assigned, and if it is classified as revocation application information (50), the revocation flag is set. Stand up. In addition, when classified into the application information without change (47), as described above, the application code of the old application information is transferred as the application code of the new application information.

図8は、本発明の実施形態に係る主キー振替え・採番装置用データ作成支援システムにおける主キー振替え・採番処理を説明するためのフローチャートである。主キー振替え・採番処理の概要については上記図4に示す分類手順ですでに説明したのでここでは主キー振替え・採番処理の内容をより詳しく説明する。図8では破線で囲んだ矩形内で図4に示す分類手順の内容を示して図4に示す分類手順との関係がわかるようにしている。なお図8ではステップを‘S’と略記する。   FIG. 8 is a flowchart for explaining the primary key transfer / numbering process in the primary key transfer / numbering apparatus data creation support system according to the embodiment of the present invention. Since the outline of the primary key transfer / numbering process has already been described in the classification procedure shown in FIG. 4, the contents of the primary key transfer / numbering process will be described in more detail here. FIG. 8 shows the contents of the classification procedure shown in FIG. 4 in a rectangle surrounded by a broken line so that the relationship with the classification procedure shown in FIG. 4 can be understood. In FIG. 8, the step is abbreviated as “S”.

図8において主キー振替え・採番処理のスタートでまず全項目における文字列比較を実施する(S1)。ここで全項目の文字列比較で完全に一致すると、ステップS2に進み、主キーの振替えを行う。この処理で「変更なし適用情報」を得る。この処理は後ほど新適用情報(主キー振替え済)321として取り扱われる。一方、一致しない場合には、ステップS3に進み、登録番号で比較を行う。ここで比較する相手に同一の登録番号が無い場合には、ステップS4に進み、ステップS4で新適用情報なのか又は旧適用情報なのかを判定する。判定で新適用情報であれば、ステップS5で適用コード新規採番を行う。この処理で「新規適用情報」323を得る。また判定で旧適用情報であれば、ステップS6で失効フラグが付加される。この処理で「失効適用情報」324を得る。   In FIG. 8, at the start of the main key transfer / numbering process, character strings are compared for all items (S1). If the character string comparison of all items is completely matched, the process proceeds to step S2, and the primary key is transferred. In this process, “no change application information” is obtained. This process is later handled as new application information (primary key transfer completed) 321. On the other hand, if they do not match, the process proceeds to step S3, and the comparison is performed using the registration numbers. Here, if the comparison destination does not have the same registration number, the process proceeds to step S4, where it is determined whether the application information is new application information or old application information. If the information is new application information, the application code is newly assigned in step S5. With this processing, “new application information” 323 is obtained. If the old application information is determined in the determination, an invalidation flag is added in step S6. With this processing, “revocation application information” 324 is obtained.

ステップS3の登録番号の比較で登録番号が同じであれば、ステップS7に進み、ステップS7で上述の指定項目の項目を指定する。次いでステップS8において指定された項目比較を実施する。この項目比較の際、同意チェックテーブル107(図1参照)が参酌される。そして比較の結果、「同意」であればステップS9に進み、ステップS9で指定項目における最終項目であるかが判定され、最終項目でなければステップS10に進み、ステップS10で次の指定項目を比較する指示が出され、ステップS7に戻る。このルーチンは最終項目に達するまで繰り返される。そしてステップS9で最終項目であると判定されればステップS11に進む。なお、最終項目に達するまでのステップS7〜S10の繰り返しにおけるステップS8の項目比較において、「非同意」であれば上述のステップS4に進み、ステップS4〜S6の処理が実行される。また、ステップS8の項目比較において、「同意でも非同意でもない」(文字列が一致せず同意にも非同意にも一致しない)場合にはデータメンテナンス画面処理S16にて担当者によるデータメンテナンスが実施される(後述する)。   If the registration numbers are the same in the comparison of the registration numbers in step S3, the process proceeds to step S7, and the above-mentioned designated items are designated in step S7. Next, the specified item comparison is performed in step S8. In this item comparison, the consent check table 107 (see FIG. 1) is taken into consideration. If the result of the comparison is “agree”, the process proceeds to step S9. In step S9, it is determined whether the specified item is the final item. If not, the process proceeds to step S10, and the next specified item is compared in step S10. Instruction is issued, and the process returns to step S7. This routine is repeated until the last item is reached. If it is determined in step S9 that the item is the last item, the process proceeds to step S11. In the item comparison in step S8 in the repetition of steps S7 to S10 until the final item is reached, if “disagree”, the process proceeds to step S4 described above, and the processes in steps S4 to S6 are executed. In addition, in the item comparison in step S8, in the case of “Neither agree nor disagree” (the character string does not match and neither agree nor disagree), the data maintenance by the person in charge in the data maintenance screen processing S16 Implemented (described later).

ステップS11では、適用情報の比率が1:1であるか否かが判定される。適用情報の比率が1:1でなければ、上述のデータメンテナンス画面処理S16に進む。一方、適用情報の比率が1:1であれば、ステップS12に進み、ステップS12において適用情報数が1行:1行であるか否かが判定される。適用情報数が1行:1行であれば、ステップS13に進み、ステップS13にて上述の全項目の変更点を出力し、次いでステップS14で主キーの振替えが実施される。ステップS13の上述の全項目の変更点の出力は変更情報322として取り扱われ、またステップS14の主キーの振替えにより変更適用情報を得る。そしてこの変更適用情報における処理は後ほど新適用情報(主キー振替え済)321として取り扱われる。また適用情報数が1行:1行でなければ、ステップS15に進み、ステップS15で組合せ特定可能かを判定し、組合せ特定可能であれば、前述のステップS13に進み、ステップS13の処理、次いでステップS14の処理が実行され、組合せ特定可能でなければ、データメンテナンス画面処理S16に進み、担当者による判定に委ねる。これについては後述する。   In step S11, it is determined whether or not the ratio of application information is 1: 1. If the ratio of application information is not 1: 1, the process proceeds to the above-described data maintenance screen process S16. On the other hand, if the ratio of the application information is 1: 1, the process proceeds to step S12, and it is determined in step S12 whether the number of application information is 1 line: 1 line. If the number of pieces of application information is 1 line: 1 line, the process proceeds to step S13, where the changed points of all the above items are output in step S13, and then the primary key is transferred in step S14. The output of the change points of all the items in step S13 is handled as change information 322, and change application information is obtained by transferring the primary key in step S14. The processing in the change application information is later handled as new application information (primary key transfer completed) 321. If the number of application information is not 1 line: 1 line, the process proceeds to step S15. In step S15, it is determined whether the combination can be specified. If the combination can be specified, the process proceeds to step S13 described above. If the process of step S14 is executed and the combination cannot be specified, the process proceeds to the data maintenance screen process S16 and is left to the determination by the person in charge. This will be described later.

データメンテナンス画面処理S16において担当者が比較対象のデータを見て対象行を選択し新規失効登録(異なる内容と判定)(S17)または変更登録(同じ内容と判定)(S18)のいずれかを判定し、新規失効登録(S17)であれば上述のステップS4に進み、ステップS4〜S6の処理が実行される。また変更登録(S18)であれば上述のステップS13に進み、ステップS13の処理、次いでステップS14の処理が実行される。「同意」又は「非同意」について同意チェックテーブル登録S20を実施する。その場合、図10の同意チェック登録画面30に遷移して選択した項目を同意(非同意)チェックテーブル107に登録して同意/非同意の判定精度を向上させるようにする。また同意チェックテーブル登録画面処理S19から主キー振替え処理実行S21を指示することで、新たに登録された同意チェックテーブル107を利用してステップS7〜S16の判定を繰り返して、同意チェックテーブル107の知能向上により同意/非同意の判定に係る担当者の負担を減らすようにする。   In data maintenance screen processing S16, the person in charge looks at the data to be compared, selects the target row, and determines whether it is new revocation registration (determined as different content) (S17) or change registration (determined as the same content) (S18) If it is a new revocation registration (S17), the process proceeds to step S4 described above, and the processes of steps S4 to S6 are executed. If it is change registration (S18), the process proceeds to step S13 described above, and the process of step S13 and then the process of step S14 are executed. Consent check table registration S20 is executed for “agreement” or “non-agreement”. In that case, the screen transitions to the consent check registration screen 30 in FIG. 10 and the selected item is registered in the consent (non-agreement) check table 107 so as to improve the accuracy of agreement / non-agreement determination. Further, by instructing the primary key transfer process execution S21 from the consent check table registration screen process S19, the determination of steps S7 to S16 is repeated using the newly registered consent check table 107, and the intelligence of the consent check table 107 is determined. Reduce the burden on the person in charge regarding consent / disagreement through improvement.

図9は、本発明の実施形態に係る主キー振替え・採番装置用データ作成支援システムのデータメンテナンス画面の構成を示す図である。図9におけるデータメンテナンス画面10には、上記「データ取込処理」の(7)で概略説明した主キー振替処理において自動で処理できなかったデータを処理するために図1のデータメンテナンスボタン(2)を操作することで遷移する。図9のデータメンテナンス画面10において、農薬種類コンボボックス(11)はメンテナンスの必要がある農薬の種類を選択するために設けられ、農薬種類名を選択することで、選択した農薬の種類のデータをデータグリッド(13),(14)に表示する。農薬名コンボボックス(12)は、選択した農薬の種類の中でメンテナンスの必要がある農薬の名称を選択するために設けられ、農薬の名称を選択することで、選択した農薬の名称のデータをデータグリッド(13),(14)に表示する。選択しない場合は農薬種類コンボボックス(11)で選択した農薬の種類のデータのみをデータグリッド(13),(14)に表示する。   FIG. 9 is a diagram showing the configuration of the data maintenance screen of the data creation support system for the primary key transfer / numbering device according to the embodiment of the present invention. The data maintenance screen 10 in FIG. 9 includes a data maintenance button (2 in FIG. 1) for processing data that could not be automatically processed in the primary key transfer process outlined in (7) of the “data import process”. ) To change. In the data maintenance screen 10 of FIG. 9, the pesticide type combo box (11) is provided to select the type of pesticide that needs maintenance, and by selecting the pesticide type name, the data of the selected pesticide type is displayed. Display in data grid (13), (14). The pesticide name combo box (12) is provided to select the name of the pesticide that needs maintenance from the selected pesticide type, and by selecting the pesticide name, data on the name of the selected pesticide is displayed. Display in data grid (13), (14). If not selected, only the data of the type of pesticide selected in the pesticide type combo box (11) is displayed in the data grids (13) and (14).

新適用情報データグリッド(13)は、メンテナンスが必要な新適用情報を作物名昇順で表示し、各行を選択可能とする。旧適用情報データグリッド(14)は、メンテナンスが必要な旧適用情報を作物名昇順で表示し、新適用情報データグリッド(13)の行が選択されているとき、各項目を比較し選択行と異なる項目にはセルのバックグラウンドの色を変えて表示する。   The new application information data grid (13) displays the new application information requiring maintenance in ascending order of crop names and enables selection of each row. The old application information data grid (14) displays the old application information that requires maintenance in ascending order of crop names.When the row of the new application information data grid (13) is selected, each item is compared with the selected row. Different items are displayed with different cell background colors.

パターン項目選択コンボボックス(15)は、パターンを絞り込むための項目を担当者が選択するために設けられ、項目は指定項目中の「作物名」、「適用病害虫雑草名」、「使用方法」、「適用地帯名」、「使用目的」、「適用場所」、「適用土壌」から選択する。ここでパターンとは、指定項目の項目不一致が原因で特定されなかった適用情報において、同じ内容で一斉に変更されたと考えられる傾向(パターン)を指し、このパターンを上記パターン項目選択コンボボックス(15)の項目を担当者が選択して絞り込み表示を行わせ、絞り込んだ内容から担当者が同一か否かを判定し、同一か否かを判定し得るパターンを同意/非同意チェックテーブルに反映して担当者のメンテナンス負荷を減らす手立てにするものである。 The pattern item selection combo box (15) is provided for the person in charge to select items to narrow down the pattern, and the items are `` Crop name '', `` Applicable pest weed name '', `` Usage '', Select from “Applicable Zone Name”, “Use Purpose”, “Applicable Location”, and “Applicable Soil”. Here, the pattern refers to the tendency (pattern) that is considered to be changed at the same time in the application information that was not specified due to the item mismatch of the specified item, and this pattern is the pattern item selection combo box (15 ) Item is selected by the person in charge and narrowed-down display is performed, it is determined whether the person in charge is the same from the narrowed down contents, and the pattern that can determine whether it is the same is reflected in the agreement / non-consent check table This will help reduce the maintenance burden on the person in charge .

パターン選択コンボボックス(新適用情報)(16)は、新適用情報データグリッド(13)で表示されたデータの中からパターン項目選択コンボボックス(15)で選択した項目の値を表示するために設けられ、表示された値を選択する。パターン選択コンボボックス(旧適用情報)(17)は、旧適用情報データグリッド(14)で表示されたデータの中からパターン項目選択コンボボックス(15)で選択した項目の値を表示するために設けられ、表示された値を選択する。   The pattern selection combo box (new application information) (16) is provided to display the value of the item selected in the pattern item selection combo box (15) from the data displayed in the new application information data grid (13). Select the displayed value. The pattern selection combo box (old application information) (17) is provided to display the value of the item selected in the pattern item selection combo box (15) from the data displayed in the old application information data grid (14). Select the displayed value.

同意チェックテーブル登録ボタン(18)は、そのボタンを押すことで図10の同意チェックテーブル登録画面30を表示する。 Agree check table registration button (18) displays the consent check table registration screen 30 of FIG. 10 by pressing the button.

相違項目数表示(19)は、新適用情報データグリッドと旧適用情報データグリッド(13),(14)が担当者により選択されているとき相違項目数を表示する。相違項目選択コンボボックス(20)を担当者が選択したとき、上記で選択されている新適用情報データグリッドと旧適用情報データグリッド(13),(14)選択された行同士を比較、異なる項目名を相違項目として格納する。 The difference item number display (19) displays the number of different items when the new application information data grid and the old application information data grids (13) and (14) are selected by the person in charge . When personnel differences item selection combo box (20) is selected, the new application information data grid and the old application information data grid (13) selected in the above, (14) compares the line between the selected, Store different item names as different items.

相違点表示(新適用情報)(21)は、相違項目選択コンボボックス(20)を担当者が選択したとき、新適用情報選択行の相違項目選択コンボボックス(20)での選択項目の値を表示する。相違点表示(旧適用情報)(22)は、相違項目選択コンボボックス(20)を担当者が選択したとき、旧適用情報選択行の相違項目選択コンボボックス(20)での選択項目の値を表示する。 Difference display (new application information) (21) displays the value of the selected item in the different item selection combo box (20) in the new application information selection row when the person in charge selects the different item selection combo box (20). indicate. Difference display (old application information) (22) displays the value of the selection item in the difference item selection combo box (20) in the old application information selection row when the person in charge selects the difference item selection combo box (20). indicate.

変更登録ボタン(23)は、新規適用情報と旧適用情報が同じ内容であると判定したとき実行するために設けられ、選択行同士を変更データとして処理する(主キー振り替え、登録更新日)。そして登録した選択行はデータグリッド(13),(14)から削除する(後述する変更登録処理参照)。   The change registration button (23) is provided to be executed when it is determined that the new application information and the old application information have the same contents, and the selected rows are processed as change data (primary key transfer, registration update date). Then, the registered selected row is deleted from the data grids (13) and (14) (refer to change registration processing described later).

新規失効登録ボタン(24)は、新規適用情報と旧適用情報が異なる内容であると判定したとき実行するために設けられ、新適用情報の選択行を新規データとして処理(適用コード新規採番)し、また旧適用情報の選択行を失効データとして処理する(失効フラグ)。そして登録した選択行はデータグリッド(13),(14)から削除する(後述する新規失効登録処理参照)。   New revocation registration button (24) is provided to execute when it is determined that the new application information is different from the old application information, and the selected line of the new application information is processed as new data (new application code numbering) In addition, the selected row of the old application information is processed as revocation data (revocation flag). Then, the registered selected row is deleted from the data grids (13) and (14) (see the new revocation registration process described later).

リセットボタン(25)は、選択された農薬の種類、または農薬の名称において、メンテナンス画面で処理した内容を処理前に戻すために設けられる(後述するリセット処理参照)。戻るボタン(26)は、メニュー画面8(図2参照)に戻るために設けられる。   The reset button (25) is provided in order to return the content processed on the maintenance screen to the state before processing in the type of the selected agricultural chemical or the name of the agricultural chemical (see reset processing described later). The return button (26) is provided to return to the menu screen 8 (see FIG. 2).

新適用情報残件数(27)は、新適用情報においてまだメンテナンスを行っていないデータの総数を表示する。旧適用情報残件数(28)は、旧適用情報においてまだメンテナンスを行っていないデータの総数を表示する。   The new application information remaining number (27) displays the total number of data that has not yet been maintained in the new application information. The old application information remaining count (28) displays the total number of data that has not yet been maintained in the old application information.

図9のデータメンテナンス画面10で変更登録ボタン(23)が押された場合における変更登録処理について説明する。変更登録処理は、新適用情報データグリッド(13)、旧適用情報データグリッド(14)をそれぞれ1行ずつ選択時に実行することが可能となる。そして選択したデータは同じ内容であるとみなし、各項目を比較し、変更点(登録番号、項目、新旧データの値、新旧データの適用コード、処理状態フラグ)を変更点出力テーブル(図17参照)に追加する。また新データ(登録適用部展開データ)(図20参照)の振替え適用コード389に旧データ(旧登録適用部展開データ)(図15参照)の適用コード355を設定する。また新旧データ(登録適用部展開データと旧登録適用部展開データ)の処理状態フラグ=6を設定する。 A change registration process when the change registration button (23) is pressed on the data maintenance screen 10 of FIG. 9 will be described. The change registration process can be executed when each of the new application information data grid (13) and the old application information data grid (14) is selected. The selected data is regarded as having the same contents, and the items are compared, and the change points (registration number, item name , old and new data values, old and new data application codes, processing status flags) are shown in the change point output table (FIG. 17). Add to Browse). And it sets the application code 355 of the new data (registration application unit expanded data) old data (Old registration application unit decompressed data) to the vibration Ri instead redemption code 389 (see FIG. 20) (see FIG. 15). Also, the processing status flag = 6 of the new and old data (registration application part development data and old registration application part development data) is set.

図9のデータメンテナンス画面10で新規失効登録ボタン(24)が押された場合における新規失効登録処理について説明する。新規失効登録処理は、新適用情報データグリッド(13)、旧適用情報データグリッド(14)を選択時(複数選択時も可)に実行することが可能となる。そして選択したデータは異なる内容であるとみなし、新適用情報データグリッド選択データは新規データ、旧適用情報データグリッド選択データは失効データとして出力する。新データ(登録適用部展開データ)(図20の処理状態フラグ388参照)に処理状態フラグ=4を設定する(新規データとして新しく適用コードを採番する対象。後述するデータ展開時にメンテ済み登録適用部に反映する)。また旧データ(旧登録適用部展開データ)(図15の処理状態フラグ358参照)に処理状態フラグ=5を設定する(失効データとして失効フラグを変更する対象。後述するデータ展開時にメンテ済み登録適用部に反映する)。   A new revocation registration process when the new revocation registration button (24) is pressed on the data maintenance screen 10 of FIG. 9 will be described. The new revocation registration process can be executed when the new application information data grid (13) and the old application information data grid (14) are selected (multiple selection is possible). The selected data is considered to have different contents, and the new application information data grid selection data is output as new data, and the old application information data grid selection data is output as revocation data. Set processing status flag = 4 in new data (registration application section development data) (see processing status flag 388 in FIG. 20) (target to assign a new application code as new data. Reflected in the department). In addition, the processing status flag = 5 is set in the old data (old registration application section expanded data) (see the processing status flag 358 in FIG. 15) (the target to change the revocation flag as revocation data. Reflected in the department).

図9のデータメンテナンス画面10でリセットボタン(25)が押された場合におけるリセット処理について説明する。リセット処理は、農薬種類コンボボックス(11)または農薬名コンボボックス(12)で選択された状態で実行することが可能となる。そして農薬種類コンボボックス(11)、農薬名コンボボックス(12)で選択された農薬をメンテナンス前の状態に戻す(処理状態フラグをブランクに設定する)。ただし、対象はメンテナンス画面及び同意チェックテーブル登録画面(後述する)でメンテナンスされたデータ(処理状態フラグ=4〜6)に対して実行する。すなわち新データ(登録適用部展開データ)、旧データ(旧登録適用部展開データ)において、農薬種類コンボボックス(11)、農薬名コンボボックス(12)で選択された農薬で且つ処理状態フラグ=4〜6のデータに対し、処理状態フラグ=ブランクに設定する。さらに変更点出力テーブル(図17参照)において、農薬種類コンボボックス(11)、農薬名コンボボックス(12)で選択された農薬で且つ処理状態フラグ=6のデータを削除する。   A reset process when the reset button (25) is pressed on the data maintenance screen 10 of FIG. 9 will be described. The reset process can be executed in a state selected in the pesticide type combo box (11) or the pesticide name combo box (12). Then, the pesticide selected in the pesticide type combo box (11) and the pesticide name combo box (12) is returned to the state before maintenance (the processing state flag is set to blank). However, the object is executed for data (processing state flag = 4 to 6) maintained on the maintenance screen and consent check table registration screen (described later). That is, in the new data (registered application development data) and the old data (old registration application development data), the pesticide selected in the pesticide type combo box (11) and the pesticide name combo box (12) and the processing status flag = 4 The processing status flag = blank is set for the data of .about.6. Further, in the change point output table (see FIG. 17), the data of the agricultural chemical selected in the agricultural chemical type combo box (11) and the agricultural chemical name combo box (12) and the processing state flag = 6 is deleted.

図9のデータメンテナンス画面10で変更登録ボタン(23)が押されて変更登録による主キー振替え処理が行われた後に、および、同意チェックテーブル登録ボタン(18)が押されて同意チェックテーブル登録画面30(図10参照)に遷移し主キー振替え処理(39)行なわれ、新たに登録された同意/非同意チェックテーブルを用いて上述した図4に示す手順(3)〜(5)の処理を再度実行した後に、図9のデータメンテナンス画面10においてメンテナンスを行っていないデータの残件を新適用情報残件数(27)および旧適用情報残件数(28)に確認のために表示する。メンテナンスを行っていないデータの残件数は、新旧データ(登録適用部展開データと旧登録適用部展開データ)(図20、図15参照)の処理状態フラグ=ブランクの数で確認する。そして新旧データともに残件が0になったとき、メニュー画面8(図2参照)に戻る。さらにメニュー画面8(図2参照)の状態表示欄(6)にデータメンテナンスが正常に終了した旨のメッセージを表示する。 After the change registration button (23) is pressed on the data maintenance screen 10 of FIG. 9 and the primary key transfer process by change registration is performed, and the consent check table registration button (18) is pressed, the consent check table registration screen 30 (see FIG. 10), the primary key transfer process (39) is performed, and the procedures (3) to (5) shown in FIG. 4 are performed using the newly registered consent / non-agreement check table. After the process is executed again, the remaining data that has not been maintained on the data maintenance screen 10 in FIG. 9 is displayed in the new application information remaining number (27) and the old application information remaining number (28) for confirmation. The remaining number of data that has not been maintained is confirmed by the number of processing state flags = blanks of new and old data (registration application section development data and old registration application section development data) (see FIGS. 20 and 15). When both the new and old data have 0 remaining, the screen returns to the menu screen 8 (see FIG. 2). Further, a message indicating that the data maintenance has been completed normally is displayed in the status display field (6) of the menu screen 8 (see FIG. 2).

図10は、同意チェックテーブル登録画面の構成を示す図である。すなわち図10における同意チェックテーブル登録画面30は、図9のデータメンテナンス画面10で同意チェックテーブル登録ボタン(18)を押すことで遷移する場合と、図2のメニュー画面8で同意チェックテーブル登録ボタン(3)を押すことで遷移する場合の両方がある。   FIG. 10 is a diagram showing the configuration of the consent check table registration screen. That is, the consent check table registration screen 30 in FIG. 10 transitions by pressing the consent check table registration button (18) on the data maintenance screen 10 in FIG. 9, and the consent check table registration button ( There are both cases of transition by pressing 3).

図10の同意チェックテーブル登録画面30において、項目選択コンボボックス(31)は、同意チェックテーブル(図21参照)を表示・登録する項目を選択するために設けられ、項目は上記した指定項目中の「作物名」、「適用病害虫雑草名」、「使用方法」、「適用地帯名」、「使用目的」、「適用場所」、「適用土壌」から選択する。登録分類選択コンボボックス(32)は、同意チェックテーブル(図21の備考参照)、非同意チェックテーブル(図21の備考参照)のどちらを表示・登録するか選択する。すなわち図21の同意チェックテーブルの項目の分類270において分類=0なら同意チェックテーブルを表し、分類=1なら非同意チェックテーブルを表す。登録分類選択コンボボックス(32)は、「同意」/「非同意」チェックテーブルのいずれかを選択する。選択すると後述するチェックテーブルデータグリッド(36)に選択した項目、分類のチェックテーブル内容を表示する。   In the consent check table registration screen 30 of FIG. 10, an item selection combo box (31) is provided for selecting an item for displaying and registering the consent check table (see FIG. 21). Select from “Crop name”, “Applicable pest and weed name”, “Usage method”, “Applicable zone name”, “Use purpose”, “Applicable place”, and “Applicable soil”. The registration category selection combo box (32) selects whether to display / register the consent check table (see remarks in FIG. 21) or the non-agreement check table (see remarks in FIG. 21). That is, in the classification 270 of the items in the consent check table of FIG. 21, if the classification = 0, the consent check table is represented, and if the classification = 1, the disagreement check table is represented. The registration category selection combo box (32) selects either “consent” / “non-consent” check table. When selected, the check table data grid (36), which will be described later, displays the selected item and check table contents of the classification.

新適用情報アイテム選択リスト(33)は、図9に示すデータメンテナンス画面10の新適用情報データグリッド(13)に表示されたデータで項目選択コンボボックス(31)により選択した項目をリスト表示する。旧適用情報アイテム選択リスト(34)は、図9に示すデータメンテナンス画面10の旧適用情報データグリッド(14)に表示されたデータで項目選択コンボボックス(31)により選択した項目をリスト表示する。   The new application information item selection list (33) displays a list of items selected by the item selection combo box (31) with the data displayed in the new application information data grid (13) of the data maintenance screen 10 shown in FIG. The old application information item selection list (34) displays a list of items selected by the item selection combo box (31) with the data displayed in the old application information data grid (14) of the data maintenance screen 10 shown in FIG.

登録ボタン(35)は、登録分類選択コンボボックス(32)で「同意」を選択した場合に、新適用情報アイテム選択リスト(33)と旧適用情報アイテム選択リスト(34)で選択した内容を「同意」であるとみなし、同意チェックテーブル(図21の備考参照)に登録する。また登録分類選択コンボボックス(32)で「非同意」を選択した場合に、新適用情報パターン選択リスト(33)と旧適用情報パターン選択リスト(34)で選択した内容を「同意」でないとみなし、非同意チェックテーブル(図21の備考参照)に登録する。登録後、後述するチェックテーブルデータグリッド(36)の表示を更新する(図2のメニュー画面における同意チェックテーブル登録ボタン(3)から遷移した場合、操作不可とする)。   The registration button (35) displays the contents selected in the new application information item selection list (33) and the old application information item selection list (34) when `` agree '' is selected in the registration classification selection combo box (32). It is considered “consent” and registered in the consent check table (see the remarks in FIG. 21). In addition, when “Disagree” is selected in the registered classification selection combo box (32), the contents selected in the new application information pattern selection list (33) and the old application information pattern selection list (34) are not considered “consent”. , It is registered in the disagreement check table (see the remarks in FIG. 21). After registration, the display of the check table data grid (36) described later is updated (when transition is made from the consent check table registration button (3) in the menu screen of FIG. 2, operation is disabled).

チェックテーブルデータグリッド(36)は、項目選択コンボボックス(31)で選択した項目について、登録分類選択コンボボックス(32)で「同意」を選択した時は同意チェックテーブル(図21の備考参照)を、「非同意」を選択したときは非同意チェックテーブル(図21の備考参照)を表示する。データグリッド(36)は編集可能とし、下端に新規入力欄を設ける(新データアイテムで昇順表示)。   The check table data grid (36) displays the consent check table (refer to the remarks in FIG. 21) for the item selected in the item selection combo box (31) when “consent” is selected in the registration classification selection combo box (32). When “non-agreement” is selected, a non-agreement check table (see remarks in FIG. 21) is displayed. The data grid (36) is editable and has a new entry field at the bottom (displayed in ascending order with new data items).

変更ボタン(37)は、チェックテーブルデータグリッド(36)の編集内容を同意チェックテーブル(図21の備考参照)に登録する。ただし、新適用情報、旧適用情報いずれかが空白の状態である行が存在する場合はエラーを表示して処理を終了する。削除ボタン(38)は、チェックテーブルデータグリッド(36)における選択行を削除する。ただし、行が選択されていない場合はエラーを表示して処理を終了する。   The change button (37) registers the edited contents of the check table data grid (36) in the consent check table (see remarks in FIG. 21). However, if there is a line in which either the new application information or the old application information is blank, an error is displayed and the process ends. The delete button (38) deletes the selected row in the check table data grid (36). However, if no row is selected, an error is displayed and the process is terminated.

主キー振替え処理ボタン(39)は、登録ボタン(35)の押下により登録または変更ボタン(37)の押下により編集された同意チェックテーブル/非同意チェックテーブルを用いて上述した図4に示す手順(3)〜(5)の処理を再度実行する(図2のメニュー画面8から遷移した場合、操作不可とする)。戻るボタン(40)は、同意チェックテーブル登録画面30を閉じ、図9のデータメンテナンス画面10または図2のメニュー画面8に戻るために設けられている。   The primary key transfer processing button (39) is the procedure shown in FIG. 4 described above using the consent check table / non-agreement check table edited by pressing the registration or change button (37) by pressing the registration button (35) ( Processes 3) to (5) are executed again (when transition is made from the menu screen 8 in FIG. 2, operation is disabled). The return button (40) is provided to close the consent check table registration screen 30 and return to the data maintenance screen 10 in FIG. 9 or the menu screen 8 in FIG.

次に図2のメニュー画面でデータ展開ボタンが押された場合に実行されるデータ展開処理について説明する。データ展開処理においては、以下の(1)〜()に示す処理を順に実行する。 Next, a data expansion process executed when the data expansion button is pressed on the menu screen of FIG. 2 will be described. In the data expansion process, the following processes (1) to ( 2 ) are executed in order.

(1)メンテ済み登録適用部の作成
このメンテ済み登録適用部の作成においては、まず(a)メンテ済み登録適用部(図16参照)のデータ(前回データ)を削除する。次いで(b)旧登録適用部展開データ(図15参照)において処理状態フラグ358の処理状態フラグ=0のデータをメンテ済み登録適用部(図16参照)に追加する(=変更の無いデータ)。そして(c)登録適用部展開データ(図20参照)において、処理状態フラグ388の処理状態フラグ=1のデータをメンテ済み登録適用部(図16参照)に追加する。適用コード165はブランクとする(=新規データ)。次に、(d)旧登録適用部展開データ(図15参照)において、処理状態フラグ358の処理状態フラグ=2のデータをメンテ済み登録適用部(図16参照)に追加し、失効フラグ166の失効フラグ=1を設定する(=失効データ)。そして(e)登録適用部展開データ(図20参照)において、処理状態フラグ388の処理状態フラグ=3のデータをメンテ済み登録適用部(図16参照)に追加し、振替え適用コード389の値を適用コード165に設定する(=データ取込処理における変更データ)。また(f)登録適用部展開データ(図20参照)において、処理状態フラグ388の処理状態フラグ=4のデータをメンテ済み登録適用部(図16参照)に追加する。適用コード165はブランクとする(=メンテナンス画面で設定した新規データ)。そして(g)旧登録適用部展開データ(図15参照)において、処理状態フラグ358の処理状態フラグ=5のデータをメンテ済み登録適用部(図16参照)に追加し、失効フラグ166の失効フラグ=1を設定する(=メンテナンス画面で設定した失効データ)。また(h)登録適用部展開データ(図20参照)において、処理状態フラグ388の処理状態フラグ=6のデータをメンテ済み登録適用部(図16参照)に追加し、振替え適用コード389の値を適用コード165に設定する(=メンテナンス画面で設定した変更データ)。そして(j)メンテ済み登録適用部(図16参照)の適用コード165がブランクのデータに適用コードを設定する(適用コード新規採番処理)。ここにおいて設定する適用コードは、メンテ済み登録適用部(図16参照)の適用コード165にブランクがある登録番号において、最終適用コードマスタテーブル(図18の最終適用コード171参照)に登録された適用コード最大値+1を設定する。設定後は最終適用コードマスタテーブル(図18の最終適用コード171参照)の主キー最大値を上記設定値に更新する。この処理は、適用コード165がブランクであるメンテ済み登録適用部(図16参照)すべてのデータに対して実施する。
(1) Creation of maintained registration application unit In creating the maintained registration application unit, first, the data (previous data) of (a) the maintenance registration application unit (see FIG. 16) is deleted. Next, in (b) the old registration application unit expansion data (see FIG. 15), the data of the processing state flag = 0 of the processing state flag 358 is added to the maintained registration application unit (see FIG. 16) (= data without change). Then, in (c) registration application section development data (see FIG. 20), the data of the processing state flag = 1 of the processing state flag 388 is added to the maintained registration application section (see FIG. 16). The application code 165 is blank (= new data). Next, (d) in the old registration application part expansion data (see FIG. 15), the data of the processing state flag = 2 of the processing state flag 358 is added to the maintained registration application part (see FIG. 16). Revocation flag = 1 is set (= revocation data). And in (e) registration application unit decompressed data (see FIG. 20), to add the data processing state flag = 3 processing state flag 388 maintainer registered application unit (see FIG. 16), vibration Ri place of application code 389 A value is set in the application code 165 (= change data in the data fetch process). In addition, in (f) registration application unit expansion data (see FIG. 20), data of the processing state flag = 4 of the processing state flag 388 is added to the maintained registration application unit (see FIG. 16). The application code 165 is blank (= new data set on the maintenance screen). (G) In the old registration application part expansion data (see FIG. 15), the data of the processing state flag = 5 of the processing state flag 358 is added to the maintained registration application part (see FIG. 16), and the revocation flag of the revocation flag 166 = 1 is set (= revocation data set on the maintenance screen). In (h) registration application unit decompressed data (see FIG. 20), to add the data processing state flag = 6 the processing state flag 388 maintainer registered application unit (see FIG. 16), vibration Ri place of application code 389 Set the value to the application code 165 (= change data set on the maintenance screen). Then, (j) an application code is set to data in which the application code 165 of the registered registration application unit (see FIG. 16) is blank (application code new numbering process). The application code set here is the application registered in the final application code master table (see the final application code 171 in FIG. 18) at the registration number in which the application code 165 of the maintenance registration application unit (see FIG. 16) is blank. Set the code maximum value +1. After the setting, the primary key maximum value in the final application code master table (see the final application code 171 in FIG. 18) is updated to the set value. This process is performed for all data in the registered registration application unit (see FIG. 16) whose application code 165 is blank.

(2)変更点出力
変更点出力においては、(a)変更点出力テーブル(図17参照)の処理状態フラグ362の処理状態フラグ=3,6のデータをCSVファイルで出力する。CSVファイルのファイル名は「年月日時分秒+変更データ」とする(登録番号、項目名で昇順に並べ出力)。そして(b)登録適用部展開データ(図20参照)において処理状態フラグ388の処理状態フラグ=1,4のデータをCSVファイルで出力する。CSVファイルのファイル名は「年月日時分秒+新規データ」とする(登録番号、適用コードで昇順に並べ出力)。さらに(c)旧登録適用部展開データ(図15参照)において処理状態フラグ358の処理状態フラグ=2,5のデータをCSVファイルで出力する。CSVファイルのファイル名は「年月日時分秒+失効データ」とする(登録番号、適用コードで昇順に並べ出力)。
(2) Change point output In the change point output, the data of (a) process state flag = 3 and 6 of the process state flag 362 of the change point output table (see FIG. 17) is output as a CSV file. The file name of the CSV file is “year / month / day / hour / minute / second + changed data” (registration number, item name arranged in ascending order). Then, (b) data of processing status flag = 1, 4 of the processing status flag 388 is output as a CSV file in the registration application section development data (see FIG. 20). The file name of the CSV file is “year / month / day / hour / minute / second + new data” (registration number, application code arranged in ascending order). Further, (c) data of processing status flag = 2, 5 of the processing status flag 358 is output as a CSV file in the old registration application section development data (see FIG. 15). The file name of the CSV file is “year / month / day / hour / minute / second + revocation data” (registration number, application code arranged in ascending order).

このようにして各種展開テーブルは、データベース102に格納されデータ管理される。そしてデータ展開処理部103で展開されたテーブルデータを用いて出力情報として登録適用部(主キー振替え済み)321、変更点322、新規適用情報323、失効適用情報324を得ることができる。なお登録適用部(主キー振替え済み)321、変更点322、新規適用情報323、失効適用情報324についての出力情報については、上記した図8のフロー図でも参考として示している。   In this way, the various development tables are stored in the database 102 and managed. Then, the registration application unit (primary key transfer completed) 321, the change point 322, the new application information 323, and the revocation application information 324 can be obtained as output information using the table data expanded by the data expansion processing unit 103. Note that the output information about the registration application unit (primary key transfer completed) 321, the change point 322, the new application information 323, and the revocation application information 324 is also shown as a reference in the flowchart of FIG. 8 described above.

図11は、処理状態フラグおよび処理状態フラグに値を設定するときの条件並びに処理状態フラグの値に対しデータ展開処理における処理内容を示す表である。図11に示す表では、上述した処理状態フラグ、および処理状態フラグの値(0〜6)を設定するときの条件である図4に示した手順1、2、4、5との関係並びに処理状態フラグの値(0〜6)に対し上述した「データ展開処理」における処理内容を表している。なお図11の表の中で説明しているように、処理状態フラグがブランク(値が未設定)は、データメンテナンス処理が終わっていないことを示し、図2に示すメニュー画面8の状態表示欄(6)にメンテナンス処理完了表示がなされないため担当者にメンテナンスが未完であることの注意を喚起しデータメンテナンス漏れを防ぐことができる。   FIG. 11 is a table showing the processing contents in the data expansion process for the processing state flag, the condition when setting the value in the processing state flag, and the value of the processing state flag. In the table shown in FIG. 11, the relationship between the processing state flag described above and the procedures 1, 2, 4, and 5 shown in FIG. 4, which are conditions for setting the processing state flag value (0 to 6), and the processing The processing contents in the “data development processing” described above are shown for the value (0 to 6) of the status flag. As described in the table of FIG. 11, if the processing status flag is blank (value is not set), this means that the data maintenance processing has not ended, and the status display field on the menu screen 8 shown in FIG. In (6), since the maintenance processing completion display is not made, it is possible to alert the person in charge that maintenance has not been completed and to prevent omission of data maintenance.

以上のように本発明によれば、メニュー画面に表示されるボタンを担当者が操作するだけで動作を開始でき、さらに同画面に表示される一つの処理完了表示でさらに次の処理に移行できるため、メニュー画面及びメンテナンス画面を通じて主キー振替え・採番に係るデータ作成を支援して作成負荷を軽減すると共にシステムで安定的に利用することが可能となる。
As described above, according to the present invention, the operation can be started only by the person in charge operating the button displayed on the menu screen, and the processing can be further shifted to the next processing by one processing completion display displayed on the screen. Therefore, it is possible to support the creation of data related to primary key transfer / numbering through the menu screen and the maintenance screen to reduce the creation load and stably use the system.

また常に変わりゆく農薬登録情報(農薬適用部)のデータの継続的な特定のためにメンテナンス画面にデータベースに反映される内容を表示するので主キーの振替え・採番に係るデータ作成支援を可視化することができる。   In addition, since the contents reflected in the database are displayed on the maintenance screen for the continuous identification of the data of the agrochemical registration information (Agricultural Chemicals Application Department) that is constantly changing, data creation support related to primary key transfer / numbering is visualized. be able to.

ここで本発明で使用されるデータテーブルの構造について説明する。図12に示す旧登録基本部展開データは、農林水産消費安全技術センターよりダウンロードした登録基本部データについて、失効フラグ、更新年月日を付けるための作業用のテーブルとして使用するものであり、登録番号111、失効フラグ112、適用更新日113などを備えている。図13に示す登録基本部は、農林水産消費安全技術センターよりダウンロードした登録基本部データを格納するものであり、登録番号121、農薬の種類122、農薬の名称123などを備えている。   Here, the structure of the data table used in the present invention will be described. The old registration basic part development data shown in FIG. 12 is used as a work table for attaching an invalidation flag and update date to the registration basic part data downloaded from the Agriculture, Forestry and Fisheries Consumption Safety Technology Center. Number 111, revocation flag 112, application update date 113, and the like are provided. The registration basic part shown in FIG. 13 stores registration basic part data downloaded from the Agriculture, Forestry and Fisheries Consumption Safety Technology Center, and includes a registration number 121, a pesticide type 122, a pesticide name 123, and the like.

図14に示す登録適用部は、農林水産消費安全技術センターよりダウンロードした登録適用部データを格納するものであり、登録番号130、作物名131、適用場所132、適用病害虫雑草名133、使用目的134、希釈倍数使用量135、散布液量136、使用時期137、本剤の使用回数138、使用方法139、くん蒸時間140、くん蒸温度141、適用土壌142、適用地帯名143、適用農薬名(混合可農薬名)144などを備えている。また図15に示す旧登録適用部展開データは、農林水産消費安全技術センターよりダウンロードした登録適用部データについて、 適用コード、失効フラグ、更新年月日を付けるための作業用に展開したテーブルとして使用するものであり、登録番号340、作物名341、適用場所342、適用病害虫雑草名343、使用目的344、希釈倍数使用量345、散布液量346、使用時期347、本剤の使用回数348、使用方法349、くん蒸時間350、くん蒸温度351、適用土壌352、適用地帯名353、適用農薬名(混合可農薬名)354、適用コード(主キー)355、失効フラグ356、適用更新日347、処理状態フラグ358などを備えている。   The registration application unit shown in FIG. 14 stores registration application unit data downloaded from the Agriculture, Forestry and Fisheries Consumption Safety Technology Center, and has a registration number 130, a crop name 131, an application location 132, an applicable pest and weed name 133, and a purpose of use 134. , Dilution factor use amount 135, spray liquid amount 136, use time 137, use number 138 of this agent, use method 139, fumigation time 140, fumigation temperature 141, application soil 142, application zone name 143, application pesticide name (mixable) (Agricultural chemical name) 144 etc. The old registration application section expansion data shown in Fig. 15 is used as a table developed for the work to add the application code, revocation flag, and update date for the registration application section data downloaded from the Agriculture, Forestry and Fisheries Consumption Safety Technology Center. Registration number 340, crop name 341, application location 342, application pest weed name 343, purpose of use 344, dilution factor usage 345, spraying liquid amount 346, use time 347, use of this drug 348, use Method 349, fumigation time 350, fumigation temperature 351, application soil 352, application zone name 353, application pesticide name (mixed pesticide name) 354, application code (primary key) 355, revocation flag 356, application renewal date 347, treatment status A flag 358 is provided.

図16に示すメンテ済み登録適用部は、主キー振替え・採番処理を正しく行い、正しい適用コードが作成された後の適用登録部のデータを格納するものであり、登録番号150、作物名151、適用場所152、適用病害虫雑草名153、使用目的154、希釈倍数使用量155、散布液量156、使用時期157、本剤の使用回数158、使用方法159、くん蒸時間160、くん蒸温度161、適用土壌162、適用地帯名163、適用農薬名(混合可農薬名)164、適用コード165、失効フラグ166、適用更新日167などを備えている。   The maintenance registration application unit shown in FIG. 16 correctly performs the primary key transfer / numbering process and stores the data of the application registration unit after the correct application code is created. , Application place 152, Applicable pest and weed name 153, Purpose of use 154, Dilution factor use amount 155, Spray liquid amount 156, Use time 157, Use frequency 158, Use method 159, Fumigation time 160, Fumigation temperature 161, Application It includes soil 162, application zone name 163, application pesticide name (mixed pesticide name) 164, application code 165, revocation flag 166, application renewal date 167, and the like.

図17に示す変更点出力テーブルは、主キー振替え・採番処理、図9のメンテナンス画面10で変更データとされたデータについて、全項目を比較して変更点を格納するものであり、登録番号360、項目名361、処理状態フラグ362などを備えている。   The change point output table shown in FIG. 17 stores the change points by comparing all items in the data that has been changed in the main key transfer / numbering process and the maintenance screen 10 in FIG. 360, item name 361, processing state flag 362, and the like.

図18に示す最終適用コードマスタは、主キー新規採番処理のために、前回の最終適用コード番号を格納するものであり、登録番号170、最終適用コード171を備えている。   The final application code master shown in FIG. 18 stores the previous last application code number for the primary key new numbering process, and includes a registration number 170 and a final application code 171.

図19に示す登録基本部展開データは、農林水産消費安全技術センターよりダウンロードした登録基本部データについて、失効フラグ、更新年月日を付けるための作業用に展開したテーブルとして使用するものであり、登録番号251、農薬の種類252、農薬の名称253、失効フラグ254、適用更新日255などを備えている。   The registration basic part development data shown in FIG. 19 is used as a table developed for work for attaching an invalidation flag and an update date for registration basic part data downloaded from the Agriculture, Forestry and Fisheries Consumption Safety Technology Center. A registration number 251, a pesticide type 252, a pesticide name 253, an expiration flag 254, an application renewal date 255, and the like are provided.

図20に示す登録適用部展開データは、農林水産消費安全技術センターよりダウンロードした登録適用部データについて、主キー(適用コード)、失効フラグ、更新年月日を付けるための作業用に展開したテーブルとして使用するものであり、登録番号370、作物名371、適用場所372、適用病害虫雑草名373、使用目的374、希釈倍数使用量375、散布液量376、使用時期377、本剤の使用回数378、使用方法379、くん蒸時間380、くん蒸温度381、適用土壌382、適用地帯名383、適用農薬名(混合可農薬名)384、適用コード(主キー)385、失効フラグ386、適用更新日387、処理状態フラグ388、振り替え適用コード389などを備えている。
The registration application section expansion data shown in FIG. 20 is a table developed for work for attaching a primary key (application code), an expiration flag, and an update date for the registration application section data downloaded from the Agriculture, Forestry and Fisheries Consumption Safety Technology Center. Registration number 370, crop name 371, application place 372, application pest weed name 373, purpose 374, dilution factor usage 375, spraying liquid amount 376, use time 377, use frequency of this drug 378 , Usage 379, fumigation time 380, fumigation temperature 381, application soil 382, application zone name 383, application pesticide name (mixed pesticide name) 384, application code (primary key) 385, revocation flag 386, application renewal date 387, A processing status flag 388, a transfer application code 389, and the like are provided.

図21に示す同意チェックテーブルは、主キー振替え・採番処理において、同意/非同意の判定に資するデータを格納するものであり、分類270、項目271、新データアイテム272、旧データアイテム273を備えている。   The consent check table shown in FIG. 21 stores data that contributes to the determination of consent / non-consent in the primary key transfer / numbering process. The classification 270, the item 271, the new data item 272, and the old data item 273 are stored. I have.

本発明の実施形態に係る主キー振替え・採番装置用データ作成支援システムの構成を示すブロック図である。It is a block diagram which shows the structure of the data creation assistance system for main key transfer / numbering apparatuses which concerns on embodiment of this invention. 本発明の実施形態に係る主キー振替え・採番装置用データ作成支援システムの起動によるメニュー画面の構成を示す図である。It is a figure which shows the structure of the menu screen by starting of the data creation assistance system for main key transfer / numbering apparatuses which concerns on embodiment of this invention. 本発明の実施形態に係る主キー振替え・採番装置用データ作成支援システムの初期化処理を説明する図である。It is a figure explaining the initialization process of the data creation assistance system for main key transfer / numbering apparatuses which concerns on embodiment of this invention. 主キー振替え・採番に係るデータ作成支援の前提となる適用情報の分類手順を説明する図である。It is a figure explaining the classification | category procedure of the application information used as the premise of the data creation assistance which concerns on primary key transfer and numbering. 指定項目比較の具体例を示す図である。It is a figure which shows the specific example of designation | designated item comparison. 新旧適用情報数が1:1の場合の同意行比較の具体例1を示す図である。It is a figure which shows the specific example 1 of the consent line comparison in case the number of old and new application information is 1: 1. 新旧適用情報数の比率が1:1の場合と新旧適用情報数の比率が1:1でない場合とにおける具体例2及び具体例3を示す図である。It is a figure which shows the specific example 2 and the specific example 3 in the case where the ratio of the number of old and new applied information is 1: 1, and the case where the ratio of the number of old and new applied information is not 1: 1. 本発明の実施形態に係る主キー振替え・採番装置用データ作成支援システムにおける主キー振替え・採番処理の動作を説明するためのフローチャートである。It is a flowchart for demonstrating operation | movement of the main key transfer / numbering process in the data creation assistance system for main key transfer / numbering apparatuses which concerns on embodiment of this invention. 本発明の実施形態に係る主キー振替え・採番装置用データ作成支援システムのデータメンテナンス画面の構成を示す図である。It is a figure which shows the structure of the data maintenance screen of the data creation assistance system for main key transfer / numbering apparatuses which concerns on embodiment of this invention. 本発明の実施形態に係る主キー振替え・採番装置用データ作成支援システムの同意チェックテーブル登録画面の構成を示す図である。It is a figure which shows the structure of the consent check table registration screen of the data creation assistance system for main key transfer / numbering apparatuses which concerns on embodiment of this invention. 処理状態フラグおよび処理状態フラグに値を設定するときの条件並びに処理状態フラグの値に対しデータ展開処理における処理内容を示す表である。It is a table | surface which shows the processing content in a data expansion | deployment process with respect to the condition when setting a value to a processing status flag and a processing status flag, and the value of a processing status flag. 本発明の実施形態に係る旧登録基本部展開データのテーブル構成を示す図である。It is a figure which shows the table structure of the old registration basic | foundation part expansion | deployment data which concern on embodiment of this invention. 本発明の実施形態に係る登録基本部のテーブル構成を示す図である。It is a figure which shows the table structure of the registration basic part which concerns on embodiment of this invention. 本発明の実施形態に係る登録適用部のテーブル構成を示す図である。It is a figure which shows the table structure of the registration application part which concerns on embodiment of this invention. 本発明の実施形態に係る旧登録適用部展開データのテーブル構成を示す図である。It is a figure which shows the table structure of the old registration application part expansion data which concerns on embodiment of this invention. 本発明の実施形態に係るメンテ済み登録適用部展開データのテーブル構成を示す図である。It is a figure which shows the table structure of the maintenance registration application part expansion | deployment data which concerns on embodiment of this invention. 本発明の実施形態に係る変更点出力テーブルの構成を示す図である。It is a figure which shows the structure of the changed point output table which concerns on embodiment of this invention. 本発明の実施形態に係る最終適用コードマスタのテーブル構成を示す図である。It is a figure which shows the table structure of the last applied code master which concerns on embodiment of this invention. 本発明の実施形態に係る登録基本部展開データのテーブル構成を示す図である。It is a figure which shows the table structure of the registration basic | foundation part expansion | deployment data which concern on embodiment of this invention. 本発明の実施形態に係る登録適用部展開データのテーブル構成を示す図である。It is a figure which shows the table structure of the registration application part expansion | deployment data which concerns on embodiment of this invention. 本発明の実施形態に係る同意チェックテーブルの構成を示す図である。It is a figure which shows the structure of the consent check table which concerns on embodiment of this invention.

符号の説明Explanation of symbols

1 データ取込ボタン
2 データメンテナンスボタン
3 同意チェックテーブル登録ボタン
4 リカバリーボタン
5 新旧データ情報表示欄
6 状態表示欄
7 終了ボタン
8 メニュー画面
10 データメンテナンス画面
11 農薬種類コンボボックス
12 農薬名コンボボックス
13 新適用情報データグリッド
14 旧適用情報データグリッド
15 パターン項目選択コンボボックス
16 パターン選択コンボボックス(新適用情報)
17 パターン選択コンボボックス(旧適用情報)
18 同意チェックテーブル登録ボタン
19 相違項目数表示
20 相違項目選択コンボボックス
21 相違点表示(新適用情報)
22 相違点表示(旧適用情報)
23 変更登録ボタン
24 新規失効登録ボタン
25 リセットボタン
26 戻るボタン
27 新適用情報残件数
28 旧適用情報残件数
30 同意チェックテーブル登録画面
31 項目選択コンボボックス
32 登録分類項目選択コンボボックス
33 新適用情報アイテム選択リスト
34 旧適用情報アイテム選択リスト
35 登録ボタン
36 チェックテーブルデータグリッド
37 変更ボタン
38 削除ボタン
39 主キー振替え処理登録ボタン
40 戻るボタン
41 手順1
42 手順2
43 手順3
44 手順4
45 手順5
46 適用情報を新規/失効/変更のいずれかに分類
47 変更なし適用情報
48 変更適用情報
49 新規適用情報
50 失効適用情報
100 主キー振替え・採番装置用データ作成支援システム
101 データ取込処理部
102 データベース
103 データ展開処理部
104 主キー振替え処理部
105 データメンテナンス処理部
106 同意チェックテーブル登録処理部
107 同意チェックテーブル
321 登録農薬情報(CSVファイル)
322 登録適用部(主キー振替え済み)
323 新規適用情報
324 失効適用情報
1 Data import button 2 Data maintenance button 3 Consent check table registration button 4 Recovery button 5 Old and new data information display column 6 Status display column 7 Exit button 8 Menu screen
10 Data maintenance screen
11 Pesticide type combo box
12 Crop name combo box
13 New application information data grid
14 Old Application Information Data Grid
15 Pattern item selection combo box
16 Pattern selection combo box (new application information)
17 Pattern selection combo box (old application information)
18 Consent check table registration button
19 Number of differences display
20 Difference item selection combo box
21 Difference display (new application information)
22 Difference display (old application information)
23 Change registration button
24 New revocation registration button
25 Reset button
26 Back button
27 Number of new application information remaining
28 Number of old application information remaining
30 Consent check table registration screen
31 Item selection combo box
32 Registration category selection combo box
33 New application information item selection list
34 Old Application Information Item Selection List
35 Registration button
36 Check table data grid
37 Change button
38 Delete button
39 Primary key transfer process registration button
40 Back button
41 Step 1
42 Step 2
43 Step 3
44 Step 4
45 Step 5
46 Categorize applicable information as new / expired / changed
47 Application information without change
48 Change application information
49 New application information
50 Revocation information
100 Data creation support system for primary key transfer / numbering device
101 Data acquisition processing section
102 Database
103 Data expansion processor
104 Primary key transfer processing part
105 Data maintenance processing section
106 Consent Check Table Registration Processing Department
107 consent check table
321 Registered pesticide information (CSV file)
322 Registration Department (primary key transfer completed)
323 New information
324 Revocation information

Claims (8)

システム起動時に表示されるメニュー画面のデータ取込みボタンを担当者が操作することで農薬登録情報中の登録適用部(適用情報)のデータを新データとしてデータベースに取り込むとともに該データベース中に存在する前回に取り込まれ処理された前記登録適用部のデータを旧データとして処理するデータ初期化処理手段と、
該データ初期化処理手段で処理された新旧データについて適用コード,登録更新日を除く全項目を比較して該新旧データが全く同じである新データを特定し、旧データのデータ取得時に別途採番した主キーを該新データの主キーとして振替える主キー振替え手段と、
前記適用コード,登録更新日を除く全項目の比較で特定できなかった前記新旧データの登録番号を比較し、旧データに無い登録番号が新データに存在した場合には新規データとして取り扱い、新データに無い登録番号が旧データに存在した場合には失効データとして取り扱い、該新規データには新しい主キーを採番し、該失効データには失効フラグを設定する主キー採番・失効フラグ設定手段と、
前記登録番号の比較で特定できなかった新旧データにおいて、前記登録番号ごとに前記登録適用部の農薬を使用する際の条件に該当する項目からなる指定項目を1つずつ比較し、前記新旧データの前記指定項目が一致とみなされ、且つ前記新旧データの数が1:1である場合には、前記新旧データは同じデータであると特定して新データに旧データの主キーを振替えるともに、前記指定項目と前記登録適用部の農薬の使用基準に該当する項目とを含む全項目について変更がある項目を変更点として出力する主キー振替え・変更点出力手段と、
前記登録適用部の農薬を使用する際の条件に該当する指定項目の比較で特定できなかった新旧データについては、メンテナンス画面を用いたデータメンテナンス処理で担当者が同じであるか否かを特定し、同じデータと特定された場合は前記担当者の指示で主キーの振替えを行い、同じデータと特定されない場合であって、旧データに無いが新データに存在した場合には新規データとして取り扱い、新データに無いが旧データに存在した場合には失効データと取り扱い、前記担当者の指示で該新規データには新しい主キーを採番し、該失効データには失効フラグを設定するデータメンテナンス処理手段と、
を備えることを特徴とする主キー振替え・採番装置用データ作成支援システム。
The last time fetches registration application of pesticides in the registration information by a menu screen data acquisition button that appears to the system startup personnel to manipulate data (application information) in the database as new data present in the database Data initialization processing means for processing the data of the registration application unit that has been captured and processed as old data;
Compare all items except the applicable code and registration update date for the new and old data processed by the data initialization processing means to identify new data that is the same as the old and new data, and separately number the old data when acquiring the data A primary key transfer means for transferring the primary key as the primary key of the new data;
Compare the registration number of the new and old data that could not be specified by comparing all items except the application code and registration renewal date. If a registration number that does not exist in the old data exists in the new data, it is treated as new data. If the registration number not included in the old data exists in the old data, it is treated as revocation data, a new primary key is assigned to the new data, and a revocation flag is set for the revocation data. When,
In the old and new data that could not be specified by the comparison of the registration number, for each of the registration numbers, one specified item consisting of items corresponding to the conditions when using the agricultural chemical of the registration application unit is compared, and the old and new data When the designated item is regarded as a match and the number of the old and new data is 1: 1, the old and new data are identified as the same data, and the primary key of the old data is transferred to the new data. A primary key transfer / change point output means for outputting an item having a change as a change point for all items including the specified item and an item corresponding to a pesticide use standard of the registration application unit;
For new and old data that could not be specified by comparing specified items that meet the conditions for using the agricultural chemicals in the registration application department, specify whether the person in charge is the same in the data maintenance process using the maintenance screen. When the same data is specified , the primary key is transferred in accordance with the instructions of the person in charge, and when it is not specified as the same data, if it is not in the old data but is present in the new data, it is treated as new data, Data maintenance process that treats as invalid data if it exists in old data but not in new data, assigns a new primary key to the new data, and sets a revocation flag in the invalid data according to the instructions of the person in charge Means,
A data creation support system for a primary key transfer / numbering device.
前記メニュー画面におけるデータメンテナンスボタンを担当者が操作することでメンテナンス画面に遷移し、該メンテナンス画面に前記指定項目の比較で特定できなかった新旧データを表示し、前記データメンテナンス処理手段は、前記新旧データが同じ内容であれば変更登録処理を実施して主キー振替えを行うと共に前記指定項目と前記登録適用部の農薬の使用基準に該当する項目とを含む全項目の比較に係る変更点を出力し、また同じ内容でなければ新規/失効登録処理を実施して新規適用情報か失効適用情報かのいずれかであると処理し、前記データメンテナンス処理が完了すれば前記メニュー画面の状態表示欄に前記データメンテナンス処理の完了を表示するとともにデータ展開ボタンの操作可を表示することを特徴とする請求項1に記載の主キー振替え・採番装置用データ作成支援システム。 When the person in charge operates the data maintenance button on the menu screen, a transition is made to the maintenance screen, and the old and new data that could not be specified by the comparison of the designated items is displayed on the maintenance screen, and the data maintenance processing means If the data is the same, change registration processing is performed and primary key transfer is performed, and changes related to comparison of all items including the specified item and items corresponding to the agricultural chemical use standards of the registration application unit are output. If the contents are not the same, a new / revocation registration process is performed to determine whether the information is new application information or revocation application information. When the data maintenance process is completed, the status display field on the menu screen is displayed. claim 1, wherein the displaying the operation-friendly data expand button and displays the completion of the data maintenance process The primary key transfer - numbering system for data creation support system as claimed. 前記メンテナンス画面は、メンテナンスの必要がある農薬種類名を担当者が選択する農薬種類コンボボックスと、選択した農薬種類名の中でメンテナンスの必要がある農薬名を担当者が選択する農薬名コンボボックスと、選択された農薬種類及び農薬名のデータを表示するデータグリッドと、パターンを絞り込むための項目を担当者が選択するパターン項目選択コンボボックスと、前記データグリッドで表示されたデータの中から前記パターン項目選択コンボボックスで担当者が選択した項目の値を表示するパターン選択コンボボックスと、担当者がボタン操作することで同意チェックテーブル登録画面を表示する同意チェックテーブル登録ボタンと、新データと旧データが同じ内容であると判定されたとき担当者がボタン操作することで前記データグリッドに表示された選択行同士を変更データとして出力する変更登録ボタンと、新データと旧データが異なる内容であると判定されたとき担当者がボタン操作することで前記データグリッドに表示された新データの選択行を新規データとして出力するか、または、前記データグリッドに表示された旧データの選択行を失効データとして出力する新規失効登録ボタンと、を含むことを特徴とする請求項2に記載の主キー振替え・採番装置用データ作成支援システム。 The maintenance screen includes a pesticide type combo box in which the person in charge selects a pesticide type name that requires maintenance, and a pesticide name combo box in which the person in charge selects a pesticide name in need of maintenance among the selected pesticide type names. A data grid for displaying data of the selected pesticide type and pesticide name, a pattern item selection combo box for the person in charge to select an item for narrowing down the pattern, and the data displayed in the data grid Pattern selection combo box that displays the value of the item selected by the person in charge in the pattern item selection combo box, consent check table registration button that displays the consent check table registration screen when the person in charge operates the button, new data and old before by the person in charge to button operation when the data is determined to be the same content A change registration button for outputting a selected row together that is displayed in the data grid as change data, when the new data and the old data is determined to be a different content person is displayed on the data grid by button operation the selected row of the new data to be output as the new data, or, claim 2, characterized in that it comprises, a new revocation registration button for outputting a selected row of the old data displayed on the data grid as stale data Data creation support system for primary key transfer / numbering device described in 1. 前記メンテナンス画面に表示された前記新旧データが同じ内容であるとされた後に前記同意チェックテーブル登録ボタンを担当者が操作した場合は、同意チェックテーブル登録画面を表示し、該同意チェックテーブル登録画面における登録ボタンを担当者が操作することで同意/非同意チェックテーブルにその内容を反映させることを特徴とする請求項3に記載の主キー振替え・採番装置用データ作成支援システム。 When the person in charge operates the consent check table registration button after the old and new data displayed on the maintenance screen has the same content, the consent check table registration screen is displayed, and the consent check table registration screen is displayed. 4. The data creation support system for a main key transfer / numbering device according to claim 3, wherein the person in charge operates the registration button to reflect the contents in the agreement / non-agreement check table. 前記同意チェックテーブル登録画面は、同意チェックテーブルを表示・登録する項目を担当者が選択する項目選択コンボボックスと、同意チェックテーブル又は非同意チェックテーブルのいずれを表示・登録するかを担当者が選択する登録分類選択コンボボックスと、前記データメンテナンス画面の前記データグリッドに表示されたデータで担当者が前記項目選択コンボボックスにより選択した項目をリスト表示する情報アイテム選択リストと、前記登録分類選択コンボボックスで担当者が同意を選択した場合に、前記情報アイテム選択リストで選択した内容を同意であるとみなし、担当者によるボタン操作で同意チェックテーブルに登録し、また前記登録分類選択コンボボックスで担当者が非同意を選択した場合に、前記情報パターン選択リストで選択した内容を同意でないとみなして、担当者によるボタン操作で非同意チェックテーブルに登録する登録ボタンと、前記項目選択コンボボックスで選択した項目について、前記登録分類選択コンボボックスで担当者が同意を選択した時は同意チェックテーブルを、また担当者が非同意を選択したときは非同意チェックテーブルを表示するチェックテーブルデータグリッドと、前記登録ボタンを担当者が押下したことで登録された同意チェックテーブル/非同意チェックテーブルを用いて改めて主キー振替えの処理を実行させるために担当者がボタン操作することで指示を与える主キー振替え処理ボタンと、を含むことを特徴とする請求項4に記載の主キー振替え・採番装置用データ作成支援システム。 In the consent check table registration screen, the person in charge selects whether to display / register an item selection combo box in which the person in charge selects an item to display / register the consent check table, and an agreement check table or a non-consent check table. A registered classification selection combo box, an information item selection list that displays a list of items selected by the person in charge using the item selection combo box in the data displayed on the data grid of the data maintenance screen, and the registered classification selection combo box in the case where the person in charge has selected the agreement, the information regarded as the selected content in the item selection list to be agreed, to register to agree check table at the touch of a button by the person in charge, also the person in charge at the registration classification selection combo box If There you select disagreement, the information pattern selection The selected content in the strike is regarded as not agree, and the registration button to register with the non-consent check table at the touch of a button by the person in charge, for the item selected in the item selection combo box, the person in charge at the registration classification selection combo box agreed upon selecting a consent agreement check table, also personnel registered by when selecting the non-consent and the check table data grid to display non-agreement check table, the person in charge of the registration button is pressed 5. A primary key transfer processing button for giving an instruction by operating a button by a person in charge in order to execute a primary key transfer process again using the check table / non-consent check table. Data creation support system for primary key transfer / numbering device. 前記チェックテーブルデータグリッドは担当者が編集可能とし、下端に新規入力欄を有し、さらに、前記チェックテーブルデータグリッドの編集内容を登録するために担当者がボタン操作することで登録する変更ボタンと、前記チェックテーブルデータグリッドにおける選択行を削除するために担当者がボタン操作することで削除する削除ボタンと、を含むことを特徴とする請求項5に記載の主キー振替え・採番装置用データ作成支援システム。 The check table data grid is editable by the person in charge, has a new input field at the bottom, and a change button that is registered by the person in charge of operating the button to register the edit contents of the check table data grid; And a delete button that is deleted by a person in charge operating the button to delete a selected row in the check table data grid. Creation support system. 前記メニュー画面における同意チェックテーブル登録ボタンを担当者が操作することで同意チェックテーブル登録画面に遷移し、同意チェックテーブルの登録内容を閲覧可とすることを特徴とする請求項1に記載の主キー振替え・採番装置用データ作成支援システム。 2. The main key according to claim 1, wherein the person in charge operates the consent check table registration button on the menu screen to transition to the consent check table registration screen, and the registration contents of the consent check table can be viewed. Data creation support system for transfer / numbering equipment. 前記メニュー画面におけるデータ展開ボタンを担当者が操作することで前記データベースに格納されたメンテ済み登録適用部の作成を実行することを特徴とする請求項1に記載の主キー振替え・採番装置用データ作成支援システム。 The main key transfer / numbering device according to claim 1, wherein a maintenance registration application unit stored in the database is created by a person in charge operating a data expansion button on the menu screen. Data creation support system.
JP2008067086A 2008-03-17 2008-03-17 Data creation support system for primary key transfer / numbering device Active JP5297666B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008067086A JP5297666B2 (en) 2008-03-17 2008-03-17 Data creation support system for primary key transfer / numbering device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008067086A JP5297666B2 (en) 2008-03-17 2008-03-17 Data creation support system for primary key transfer / numbering device

Publications (2)

Publication Number Publication Date
JP2009223602A JP2009223602A (en) 2009-10-01
JP5297666B2 true JP5297666B2 (en) 2013-09-25

Family

ID=41240307

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008067086A Active JP5297666B2 (en) 2008-03-17 2008-03-17 Data creation support system for primary key transfer / numbering device

Country Status (1)

Country Link
JP (1) JP5297666B2 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05257765A (en) * 1992-03-16 1993-10-08 Fujitsu Ltd Database management system
JPH09179763A (en) * 1995-12-22 1997-07-11 Sumitomo Electric Ind Ltd Method for updating data base
JPH10269205A (en) * 1997-03-27 1998-10-09 Nisshin Steel Co Ltd Document management device
JP2003006746A (en) * 2001-06-21 2003-01-10 Hitachi Software Eng Co Ltd Method for automatically registering stocking from registered sales in sales management system, and sales management system
JP2006146656A (en) * 2004-11-22 2006-06-08 Natl Fedelation Of Agricult Coop Assoc Farming guidance support system

Also Published As

Publication number Publication date
JP2009223602A (en) 2009-10-01

Similar Documents

Publication Publication Date Title
KR20110091558A (en) Visualizing relationships between data elements and graphical representations of data element attributes
JP5157282B2 (en) Equipment information collection management system
JP2007048009A (en) Operation support system, its database server, preparation management device and program
JP5935488B2 (en) Information processing apparatus, information processing method, and program
JP5297666B2 (en) Data creation support system for primary key transfer / numbering device
JP5297667B2 (en) Primary key transfer / numbering device and method
JP2009223822A (en) Source code update notifying device and source code update notifying method
JP5395785B2 (en) Manufacturing record management system and manufacturing record management method
JP7246301B2 (en) Program development support system and program development support method
JP6265030B2 (en) Application development system, development device data processing method, and program
JP2010257327A (en) Project management supporting device, project management supporting method, and project management supporting program
JP2009163566A (en) Job analysis support apparatus
JP2002132516A (en) Program execution system
JP4567311B2 (en) Development management system and development management program
JP4582462B2 (en) Information management system
JP2006073037A (en) File edition device, file edition method and file edition program
JP6772802B2 (en) Typesetting device
JP2006146656A (en) Farming guidance support system
JP2007305003A (en) Information management device, information management method, and program
JP2006252237A (en) Technical information management system and program
JP6782010B2 (en) Document creation support device and document creation support method
JP5415910B2 (en) Business management device
CN114141322A (en) Method and device for configuring clinical test analysis report and computer equipment
JP2024027463A (en) Information processing device and information processing program
JP2004038593A (en) System, device, method, and program for generating clinical trial database

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100226

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20110422

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120511

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120522

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120702

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20130205

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130417

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20130425

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130617

R150 Certificate of patent or registration of utility model

Ref document number: 5297666

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313117

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250