JP2008015806A - Accumulation method, accumulation device and computer program - Google Patents

Accumulation method, accumulation device and computer program Download PDF

Info

Publication number
JP2008015806A
JP2008015806A JP2006186613A JP2006186613A JP2008015806A JP 2008015806 A JP2008015806 A JP 2008015806A JP 2006186613 A JP2006186613 A JP 2006186613A JP 2006186613 A JP2006186613 A JP 2006186613A JP 2008015806 A JP2008015806 A JP 2008015806A
Authority
JP
Japan
Prior art keywords
transaction
type
identification information
database
contents
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2006186613A
Other languages
Japanese (ja)
Inventor
Hideki Fujiwara
英樹 藤原
Hiroo Tanaka
宏生 田中
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2006186613A priority Critical patent/JP2008015806A/en
Publication of JP2008015806A publication Critical patent/JP2008015806A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide an accumulation method and accumulation device which are correspondable even when types are changed during an accumulation period in the case of accumulating transaction contents of a transaction database for recording transaction contents while associated with identification information of a transaction object with reference to a type table for recording types of transaction objects shown by the identification information, and to provide a computer program. <P>SOLUTION: When changing types, a first type of a transaction object shown by first identification information, second type of the transaction object previously shown by the first identification information and a change time of types for the first identification information are recorded in the type table. The accumulation device 1 compares sales dates of transaction contents recorded in the transaction database with change dates of the type table, accumulates the sales dates as transaction contents of types after the change dates (S5) when the sales dates are after the change dates (S4: YES), and accumulates the sales dates as transaction contents of types before the change dates (S6) when the sales dates are before the change dates (S4: NO). <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、取引対象を識別する識別情報に対応付けて取引時期を含む取引内容を記録する取引データベースから取引内容を読み取り、前記取引データベースの識別情報が示す取引対象の種別を記録する種別テーブルを参照し、読み取った取引内容を取引対象の種別に基づいて集計する集計装置を用いた集計方法、該集計方法を適用した集計装置、及び該集計装置を実現するためのコンピュータプログラムに関し、特に種別毎の取引内容の集計に用いる集計方法、集計装置及びコンピュータプログラムに関する。   The present invention reads a transaction content from a transaction database that records transaction content including transaction time in association with identification information for identifying a transaction object, and a type table that records the type of transaction target indicated by the identification information of the transaction database. With reference to a counting method using a counting device for counting and referring to read transaction contents based on the type of transaction target, a counting device to which the counting method is applied, and a computer program for realizing the counting device, particularly for each type The present invention relates to a totaling method, a totaling apparatus, and a computer program that are used for totaling transaction details.

テレビ等の取引対象を識別する識別情報(品番)に対応付けて販売時期等の取引時期を含む取引内容を記録する取引データベースと、該取引データベースの識別情報が示す取引対象の種別(品種)を記録する種別テーブル(品種マスタ)とを備え、種別毎の取引内容、例えばプラズマテレビの販売実績を取引データベースから読み取り、集計するシステムが販売実績管理に用いられている。   A transaction database that records transaction details including transaction time such as sales time in association with identification information (product number) for identifying a transaction object such as a television, and a transaction object type (product type) indicated by the identification information of the transaction database. A system that includes a type table (product type master) to be recorded, reads transaction contents for each type, for example, sales results of plasma televisions from a transaction database, and totals them is used for sales result management.

識別情報に対応付けて取引データベースに記録される種別は、営業の販売管理戦略上、必要に応じて切替が行われる。例えば取引対象がテレビである場合に、通常のテレビを示す種別と、薄型テレビを示す種別とに区分して行っていた集計を、プラズマテレビを示す種別と、液晶テレビを示す種別とに区分して集計する様に販売状況の変化に併せて切り替えられる。   The types that are recorded in the transaction database in association with the identification information are switched as necessary for the sales management strategy of the business. For example, when the transaction target is a television, the totals that were divided into a category indicating a normal television and a category indicating a flat-screen television are classified into a category indicating a plasma television and a category indicating a liquid crystal television. It can be switched according to changes in sales status.

データベースに記録する内容を変更するシステムとしては、例えば特許文献1に利用者の転居に応じて配送物の配送先となる住所を変更するシステムが開示されている。
特開2002−24346号公報
As a system for changing the contents to be recorded in the database, for example, Patent Document 1 discloses a system for changing an address as a delivery destination of a delivery according to a user's move.
JP 2002-24346 A

しかしながら所定の集計期間中に、識別情報に対応付けられる種別を変更した場合、同じ識別情報に対応付けて異なる種別が取引データベースに記録されていることになるため、種別毎の集計、種別切替に伴う取引の変化の分析を目的とする集計等の集計処理を行うことができないという問題がある。   However, if the type associated with the identification information is changed during the predetermined aggregation period, different types associated with the same identification information are recorded in the transaction database. There is a problem that it is impossible to perform aggregation processing such as aggregation for the purpose of analyzing changes in accompanying transactions.

なお特許文献1に開示された発明では、住所毎の集計等の処理が想定されていないため、上述した問題点を解消することはできない。   In the invention disclosed in Patent Document 1, processing such as counting for each address is not assumed, so the above-described problems cannot be solved.

本発明は斯かる事情に鑑みてなされたものであり、種別テーブルに、第1の識別情報が示す取引対象の第1の種別、並びに第1の識別情報が以前に示していた取引対象の第2の種別及び第1の識別情報に対する種別の変更時期を記録することにより、集計期間中に、識別情報に対応付けられる種別を変更した場合でも、種別毎の集計、種別切替に伴う取引の変化の分析を目的とする集計等の様々な集計に対応することが可能な集計方法、該集計方法を適用した集計装置、及び該集計装置を実現するためのコンピュータプログラムの提供を目的とする。   The present invention has been made in view of such circumstances, and in the type table, the first type of the transaction target indicated by the first identification information, and the first type of the transaction target previously indicated by the first identification information. By recording the type 2 change time and the type change time for the first identification information, even if the type associated with the identification information is changed during the totaling period, the change in transactions associated with the totaling and type switching for each type It is an object of the present invention to provide a totaling method capable of dealing with various tabulations such as tabulation for the purpose of analysis, a tabulation device to which the tabulation method is applied, and a computer program for realizing the tabulation device.

第1発明に係る集計方法は、取引対象を識別する識別情報に対応付けて取引時期を含む取引内容を記録する取引データベースから取引内容を読み取り、前記取引データベースの識別情報が示す取引対象の種別を記録する種別テーブルを参照し、読み取った取引内容を取引対象の種別に基づいて集計する集計装置を用いた集計方法において、前記種別テーブルは、第1の識別情報が示す取引対象の第1の種別、並びに第1の識別情報が以前に示していた取引対象の第2の種別及び第1の識別情報に対する種別の変更時期を記録してあり、前記集計装置は、前記取引データベースから読み取った取引時期が変更時期以降である取引内容を、第1の種別の取引内容として集計し、前記取引データベースから読み取った取引時期が変更時期より前である取引内容を、第2の種別の取引内容として集計することを特徴とする。   The tabulation method according to the first invention reads transaction contents from a transaction database that records transaction contents including transaction time in association with identification information for identifying transaction objects, and sets the transaction object type indicated by the identification information of the transaction database. In the tabulation method using the tabulation device that tabulates the read transaction contents based on the type of transaction target with reference to the type table to be recorded, the type table includes the first type of transaction target indicated by the first identification information , And the second classification of the transaction target previously indicated by the first identification information and the classification change time for the first identification information are recorded, and the aggregation device reads the transaction timing read from the transaction database. The transaction details that are after the change time are aggregated as the first type of transaction details, and the transaction time read from the transaction database is before the change time. The transaction contents, characterized by aggregate as a transaction contents of the second type.

第2発明に係る集計装置は、取引対象を識別する識別情報に対応付けて取引時期を含む取引内容を記録する取引データベースから取引内容を読み取り、前記取引データベースの識別情報が示す取引対象の種別を記録する種別テーブルを参照し、読み取った取引内容を取引対象の種別に基づいて集計する集計装置において、前記種別テーブルは、第1の識別情報が示す取引対象の第1の種別、並びに第1の識別情報が以前に示していた取引対象の第2の種別及び第1の識別情報に対する種別の変更時期を記録する様に構成してあり、前記取引データベースから読み取った取引時期が変更時期以降である取引内容を、第1の種別の取引内容として集計する手段と、前記取引データベースから読み取った取引時期が変更時期より前である取引内容を、第2の種別の取引内容として集計する手段とを備えることを特徴とする。   The tabulation device according to the second invention reads transaction contents from a transaction database that records transaction contents including transaction time in association with identification information for identifying transaction objects, and sets the transaction object type indicated by the identification information of the transaction database. In the aggregation device that refers to the type table to be recorded and totals the read transaction contents based on the type of transaction target, the type table includes the first type of transaction target indicated by the first identification information, and the first type The identification information is configured to record the second type of the transaction target previously indicated and the change time of the type for the first identification information, and the transaction time read from the transaction database is after the change time. Means for counting transaction contents as the first type of transaction contents, and transaction contents whose transaction time read from the transaction database is earlier than the change time. Characterized in that it comprises a means for aggregate as a transaction contents of the second type.

第3発明に係る集計装置は、取引対象を識別する識別情報に対応付けて取引時期を含む取引内容を記録する取引データベースと、前記取引データベースの識別情報が示す取引対象の種別を記録する種別テーブルとを備え、前記取引データベースに記録されている取引内容を、前記種別テーブルに記録されている種別に基づいて集計する集計装置において、前記種別テーブルは、第1の識別情報が示す取引対象の第1の種別、並びに第1の識別情報が以前に示していた取引対象の第2の種別及び第1の識別情報に対する種別の変更時期を記録する様に構成してあり、前記取引データベースに記録されている取引時期が変更時期以降である取引内容を、第1の種別の取引内容として集計する手段と、前記取引データベースに記録されている取引時期が変更時期より前である取引内容を、第2の種別の取引内容として集計する手段とを備えることを特徴とする。   A tabulation device according to a third aspect of the present invention relates to a transaction database that records transaction details including transaction time in association with identification information that identifies a transaction object, and a type table that records a transaction object type indicated by the identification information of the transaction database. The transaction table recorded in the transaction database based on the type recorded in the type table, wherein the type table is the transaction target number indicated by the first identification information. 1 type, and the second identification type of the transaction object previously indicated by the first identification information and the change timing of the type for the first identification information are recorded and recorded in the transaction database. Means for aggregating transaction contents whose transaction period is after the change period as transaction contents of the first type, and at the time of transaction recorded in the transaction database There the transaction contents is prior timing shift, characterized in that it comprises a means for aggregate as a transaction contents of the second type.

第4発明に係るコンピュータプログラムは、コンピュータに、取引対象を識別する識別情報に対応付けて取引時期を含む取引内容を記録する取引データベースから取引内容を読み取らせ、前記取引データベースの識別情報が示す取引対象の種別を記録する種別テーブルを参照して、読み取らせた取引内容を取引対象の種別に基づいて集計させるコンピュータプログラムにおいて、コンピュータに、第1の識別情報が示す取引対象の第1の種別、並びに第1の識別情報が以前に示していた取引対象の第2の種別及び第1の識別情報に対する種別の変更時期を記録してある前記種別テーブルを参照して、前記取引データベースに記録されている取引時期が変更時期以降である取引内容を、第1の種別の取引内容として集計させる手順と、コンピュータに、前記種別テーブルを参照して、前記取引データベースに記録されている取引時期が変更時期より前である取引内容を、第2の種別の取引内容として集計させる手順とを実行させることを特徴とする。   A computer program according to a fourth invention causes a computer to read transaction contents from a transaction database that records transaction contents including transaction time in association with identification information for identifying a transaction object, and the transaction information indicated by the identification information of the transaction database In a computer program that refers to a type table that records the type of a target and totals the read transaction contents based on the type of the target of transaction, the computer has a first type of transaction target indicated by the first identification information, In addition, the first identification information is recorded in the transaction database with reference to the type table in which the second type of the transaction target previously indicated and the change time of the type with respect to the first identification information are recorded. A procedure for counting transaction contents whose transaction time is after the change time as the first type of transaction contents; The transaction content recorded in the transaction database before the change time is counted as a second type of transaction content with reference to the type table. And

本発明では、識別情報に対応付けられる種別を変更した場合に、変更前後の種別及び変更時期を種別テーブルに記録することにより、変更前後での種別毎の集計、種別切替に伴う取引の変化の分析を目的とする集計等の様々な集計に対応することが可能である。   In the present invention, when the type associated with the identification information is changed, the type before and after the change and the change time are recorded in the type table, so that the total for each type before and after the change, the change of the transaction accompanying the type switching It is possible to cope with various tabulations such as tabulation for the purpose of analysis.

本発明に係る集計方法、集計装置及びコンピュータプログラムは、取引対象を識別する識別情報に対応付けて取引時期を含む取引内容を記録する取引データベースから取引内容を読み取り、前記取引データベースの識別情報が示す取引対象の種別を記録する種別テーブルを参照し、読み取った取引内容を取引対象の種別に基づいて集計する集計装置を用いる。そして集計装置は、第1の識別情報が示す取引対象の第1の種別、並びに第1の識別情報が以前に示していた取引対象の第2の種別及び第1の識別情報に対する種別の変更時期を、前記種別テーブルに記録し、前記取引データベースから読み取った取引時期が変更時期以降である取引内容を、第1の種別の取引内容として集計し、前記取引データベースから読み取った取引時期が変更時期より前である取引内容を、第2の種別の取引内容として集計する。   A tabulation method, a tabulation device, and a computer program according to the present invention read transaction details from a transaction database that records transaction details including transaction time in association with identification information for identifying a transaction target, and the identification information of the transaction database indicates A totaling device is used that refers to a type table that records the type of transaction target and totals the read transaction contents based on the type of transaction target. Then, the counting device is configured to change the first type of the transaction target indicated by the first identification information, the second type of the transaction target previously indicated by the first identification information, and the type change timing for the first identification information. Are recorded in the type table, the transaction contents read from the transaction database after the change time are totaled as the first type of transaction contents, and the transaction time read from the transaction database is calculated from the change time The previous transaction content is totaled as the second type of transaction content.

この構成により、本発明では、集計期間中における識別情報に対応付けられる種別の変更、例えば通常のテレビから液晶テレビへの変更に対し、変更前後での種別毎の取引内容の集計、種別切替に伴う取引の変化の分析を目的とする集計等の様々な集計に対応することが可能である等、優れた効果を奏する。   With this configuration, in the present invention, for a change in the type associated with the identification information during the counting period, for example, for a change from a normal television to a liquid crystal television, the transaction contents for each type before and after the change are changed and the type is switched. There are excellent effects such as being able to cope with various tabulations such as tabulation for the purpose of analyzing changes in accompanying transactions.

以下、本発明をその実施の形態を示す図面に基づいて詳述する。図1は、本発明の集計装置の構成例を示すブロック図である。図1中1は、汎用型コンピュータ等のコンピュータを用いた本発明の集計装置であり、集計装置1は、テレビ等の取引対象に関する販売状況等の取引内容の実績を読み取り、読み取った取引内容の集計に基づく営業の販売管理戦略等の方策の遂行を支援する。   Hereinafter, the present invention will be described in detail with reference to the drawings illustrating embodiments thereof. FIG. 1 is a block diagram showing a configuration example of a counting device according to the present invention. In FIG. 1, reference numeral 1 denotes a totaling device of the present invention using a computer such as a general-purpose computer. The totaling device 1 reads the transaction contents such as the sales situation related to a transaction target such as a television, and stores the read transaction contents. Support the implementation of measures such as sales management strategy for sales based on tabulation.

集計装置1は、装置全体を制御するCPU(Central Processing Unit) 等の制御手段10と、集計装置用のコンピュータプログラム2及びデータ等の各種情報を記録したCD−ROM(Compact Disc Read Only Memory) 等の記録媒体3から各種情報を読み取るCD−ROMドライブ等の補助記憶手段11と、補助記憶手段11により読み取った各種情報を記録するハードディスク等の記録手段12と、情報を一時的に記憶するRAM(Random Access Memory)等の記憶手段13とを備えている。そして記録手段12に記録したコンピュータプログラム2を記憶手段13に記憶させ、制御手段10の制御にて実行することにより、コンピュータは、本発明の集計装置1として動作する。   The aggregation device 1 includes a control means 10 such as a CPU (Central Processing Unit) that controls the entire device, a computer program 2 for the aggregation device, and a CD-ROM (Compact Disc Read Only Memory) that records various information such as data. Auxiliary storage means 11 such as a CD-ROM drive for reading various information from the recording medium 3, a recording means 12 such as a hard disk for recording various information read by the auxiliary storage means 11, and a RAM (temporarily storing information) And a storage means 13 such as a random access memory. Then, the computer program 2 recorded in the recording means 12 is stored in the storage means 13 and executed by the control of the control means 10, whereby the computer operates as the counting device 1 of the present invention.

さらに集計装置1は、マウス、キーボード等の入力手段14と、モニタ、プリンタ等の出力手段15とを備えている。   Further, the counting device 1 includes input means 14 such as a mouse and a keyboard, and output means 15 such as a monitor and a printer.

記録手段12の記録領域の一部は、取引対象を識別する品番等の識別情報に対応付けて取引の実績である取引内容を記録する取引データベース(取引DB)12a、及び取引データベース12aの識別情報が示す取引対象の種別を記録する品種マスタとして用いられる種別テーブル(種別TBL)12bとして用いられており、集計装置1は、取引データベース12a及び種別テーブル12bに対する記録内容の読取及び書込を行うことが可能である。   A part of the recording area of the recording means 12 is a transaction database (transaction DB) 12a that records transaction details that are the transaction results in association with identification information such as a product number that identifies a transaction object, and identification information of the transaction database 12a Is used as a type table (type TBL) 12b that is used as a product type master for recording the type of transaction target indicated by, and the tabulation device 1 reads and writes the recorded contents in the transaction database 12a and the type table 12b. Is possible.

図1に示す構成例では、スタンドアローンとして稼動する1台の集計装置1を用いた例を示しているが、本発明はこれに限らず、複数台の装置に機能を分散したサーバクライアントシステム等のシステムにて本発明の集計装置1を実現する様にしても良い。また図1に示す構成例では、集計装置1が、取引データベース12a及び種別テーブル12bを内蔵する例を示したが、本発明はこれに限らず、集計装置1が、取引データベース12a及び種別テーブル12bに対する記録内容の読取及び書込を行うことができるのであれば、集計装置1にデータベースサーバコンピュータ等の他の記録装置を接続し、取引データベース12a及び/又は種別テーブル12bを他の記録装置に設ける様にしても良い。   In the configuration example shown in FIG. 1, an example is shown in which one aggregation device 1 that operates as a stand-alone device is used. However, the present invention is not limited to this, and a server client system in which functions are distributed to a plurality of devices. You may make it implement | achieve the totaling device 1 of this invention with this system. In the configuration example shown in FIG. 1, the example in which the aggregation device 1 includes the transaction database 12a and the type table 12b is shown. However, the present invention is not limited thereto, and the aggregation device 1 includes the transaction database 12a and the type table 12b. If it is possible to read and write the recorded contents with respect to the data, another recording device such as a database server computer is connected to the counting device 1, and the transaction database 12a and / or the type table 12b is provided in another recording device. You may do it.

図2は、本発明の集計装置1が備える取引データベース12aの記録内容の一例を概念的に示す説明図である。取引データベース12aには、識別情報(品番)に対応付けられた取引対象に関する取引内容として、営業所、仕入先、得意先、工場、販売年月、販売数量、販売金額、販売単価等の項目に係るデータがレコード単位で記録されている。なお識別情報は、種別テーブル12bに記録されている取引対象の種別に対応付けられている。営業所、仕入先、得意先、工場、販売年月、販売数量、販売金額及び販売単価は、取引対象の生産及び取引に関する内容の実績を示しており、例えば販売年月は、販売として取引を行った時期を示している。   FIG. 2 is an explanatory diagram conceptually showing an example of the recorded contents of the transaction database 12a provided in the tabulation apparatus 1 of the present invention. The transaction database 12a includes items such as a sales office, a supplier, a customer, a factory, a sales date, a sales quantity, a sales price, a sales unit price, and the like as a transaction content related to a transaction object associated with the identification information (product number). Is recorded in record units. The identification information is associated with the transaction target type recorded in the type table 12b. Sales offices, suppliers, customers, factories, sales dates, sales volumes, sales prices, and sales unit prices indicate the results of production and transactions subject to transactions. For example, sales dates indicate transactions as sales. Shows the time when

図3は、本発明の集計装置1が備える種別テーブル12bの記録内容の一例を概念的に示す説明図である。本発明の種別テーブル12bは、所定の集計期間中において、識別情報に対応付ける種別を変更することが可能である。図3(a)は、種別が変更されていない場合の種別テーブル12bの一例を示し、図3(b)は、種別が変更された場合の種別テーブル12bの一例を示している。   FIG. 3 is an explanatory diagram conceptually showing an example of the recorded contents of the type table 12b provided in the counting device 1 of the present invention. The type table 12b of the present invention can change the type associated with the identification information during a predetermined counting period. FIG. 3A shows an example of the type table 12b when the type is not changed, and FIG. 3B shows an example of the type table 12b when the type is changed.

図3(a)に例示した種別テーブル12bには、識別情報(品番)に対応付けて、種別1、種別2等の項目に係るデータがレコード単位で記録されている。識別情報の項目は、取引データベース12aの識別情報に対応している。種別1としては、取引対象の種別を示すデータが記録されており、種別2としては、種別1を細分化した取引対象の種別を示すデータが記録されている。図3(a)の例では、識別情報「1」の種別1が「テレビ」であり、種別2が「通常」である。また識別情報「2」の種別1が「テレビ」であり、種別2が「ハイビジョン」である。図3(a)に示す例では、取引対象を種別1及び種別2の2段階で示しているが、1段階であっても、3段階以上であっても良い。さらに種別テーブル12bには、識別情報に対応付けて、変更日付、変更前種別2等の項目が設けられているが、種別が変更されていない段階では、これらの項目は空欄となる。   In the type table 12b illustrated in FIG. 3A, data relating to items such as type 1 and type 2 is recorded in record units in association with identification information (product number). The item of identification information corresponds to the identification information in the transaction database 12a. As type 1, data indicating the type of transaction target is recorded, and as type 2, data indicating the type of transaction target obtained by subdividing type 1 is recorded. In the example of FIG. 3A, the type 1 of the identification information “1” is “TV” and the type 2 is “normal”. The type 1 of the identification information “2” is “TV”, and the type 2 is “Hi-Vision”. In the example shown in FIG. 3A, the transaction target is shown in two stages of type 1 and type 2, but may be one stage or three or more stages. Furthermore, in the type table 12b, items such as a change date and a pre-change type 2 are provided in association with the identification information. However, when the type is not changed, these items are blank.

図3(b)に例示した種別テーブル12bには、識別情報に対応付けて、種別1、種別2、変更日付、変更前種別2等の項目に係るデータがレコード単位で記録されている。図3(b)に示す種別テーブル12bでは、識別情報「1」の種別2が「通常」から「液晶」に変更されており、識別情報「2」の種別2が「ハイビジョン」から「プラズマ」に変更されている。これは例えばテレビの販売戦略を考える上で、ハイビジョンテレビか否かではなく、液晶テレビ、プラズマテレビ等の種別毎に販売状況を確認することが重点化された場合の変更を例示したものである。変更日付の項目には、種別2の内容を変更した日付(図3中では年/月)が示されており、変更前種別2の項目には、変更前の種別2、即ち「通常」、「ハイビジョン」等のデータが示されている。図3(b)の例では、識別情報「1」の種別2が、2004年2月に「通常」から「液晶」に変更されたことを示している。   In the type table 12b illustrated in FIG. 3B, data relating to items such as type 1, type 2, change date, type 2 before change, and the like is recorded in record units in association with identification information. In the type table 12b shown in FIG. 3B, the type 2 of the identification information “1” is changed from “normal” to “liquid crystal”, and the type 2 of the identification information “2” is changed from “high vision” to “plasma”. Has been changed. For example, when considering the sales strategy of TV, it is not an example of whether it is a high-definition TV, but an example of a change when it is important to check the sales status for each type of liquid crystal TV, plasma TV, etc. . In the item of change date, the date (year / month in FIG. 3) when the content of type 2 is changed is shown. In the item of type 2 before change, type 2 before change, that is, “normal”, Data such as “Hi-Vision” is shown. In the example of FIG. 3B, the type 2 of the identification information “1” is changed from “normal” to “liquid crystal” in February 2004.

なお種別を2回以上変更する場合、種別テーブル12bに、更に以前の種別及び日付を示す新たな項目を設ける様にしても良いが、種別テーブル12bの形式が固定されている場合、新たな種別テーブル12bを生成し、以前の種別テーブル12bは、過去の変更を示す参照可能なリファレンスとして記録手段12に別途保管する様にしても良い。   If the type is changed twice or more, a new item indicating the previous type and date may be provided in the type table 12b. However, if the type of the type table 12b is fixed, a new type is displayed. The table 12b may be generated, and the previous type table 12b may be separately stored in the recording unit 12 as a referable reference indicating past changes.

次に本発明の集計装置1の処理について説明する。図4は、本発明の集計装置1の集計処理の一例を示すフローチャートである。ここでは、種別テーブル12bの記録内容の種別が図3(b)に示す様に変更されている状況において、集計キーを指定して取引データベース12aに記録されている取引内容を集計する方法を説明する。集計装置1を操作する操作者は、集計処理に係る集計キーとして例えば識別情報「1」を指定した入力を行う。集計装置1は、集計処理により、識別情報のデータが「1」であるレコードに関する集計を行う。但し、種別テーブル12bの識別情報が「1」であるレコードの種別2は、変更日付の前後で「通常」から「液晶」に変更されているので、第1集計処理では、種別2のデータが「通常」及び「液晶」であるレコードについて集計される。   Next, processing of the counting device 1 of the present invention will be described. FIG. 4 is a flowchart showing an example of the counting process of the counting device 1 of the present invention. Here, a description will be given of a method of totaling transaction contents recorded in the transaction database 12a by specifying a total key in a situation where the type of recorded contents in the type table 12b is changed as shown in FIG. 3B. To do. An operator who operates the totaling apparatus 1 performs input specifying, for example, identification information “1” as a totaling key related to the totaling process. The tabulation device 1 tabulates records whose identification information data is “1” by tabulation processing. However, since the type 2 of the record whose identification information in the type table 12b is “1” is changed from “normal” to “liquid crystal” before and after the change date, the data of type 2 is changed in the first tabulation process. The records are “normal” and “liquid crystal”.

集計装置1は、コンピュータプログラム2を実行する制御手段10の制御により、入力手段14から、集計キーの入力を受け付け(ステップS1)、取引データベース12aから今回の処理で集計の対象となるか否かを判定していない一のレコードを記憶手段13に読み取り(ステップS2)、読み取ったレコードの識別情報のデータが集計の対象となる「1」であるか否かを判定する(ステップS3)。ステップS2において、集計の対象となるか否かを判定していないレコードとは、ステップS3に示す判定処理を行っていないレコードを示す。   The tabulation device 1 receives input of a tabulation key from the input unit 14 under the control of the control unit 10 that executes the computer program 2 (step S1), and whether or not the tabulation object is to be tabulated in the current process from the transaction database 12a. One record that has not been determined is read into the storage means 13 (step S2), and it is determined whether or not the data of the identification information of the read record is “1” to be counted (step S3). In step S2, a record that has not been determined whether or not to be counted is a record that has not been subjected to the determination process shown in step S3.

ステップS3において、識別情報のデータが集計の対象となる「1」であると判定した場合(ステップS3:YES)、集計装置1は、読み取ったレコードの販売年月を、種別テーブル12bの変更日付と比較し、販売年月が変更日付以降か否かを判定する(ステップS4)。   In step S3, when it is determined that the data of the identification information is “1” to be aggregated (step S3: YES), the aggregation device 1 indicates the sales date of the read record as the change date of the type table 12b. To determine whether the sales date is after the change date (step S4).

ステップS4において、販売年月が変更日付以降であると判定した場合(ステップS4:YES)、集計装置1は、読み取ったレコードに示される営業所、仕入先、得意先、工場、販売年月、販売数量、販売金額、販売単価等の取引内容を、変更日付以降の種別2、即ち「液晶」に関する取引内容として集計する(ステップS5)。   If it is determined in step S4 that the sales date is after the change date (step S4: YES), the counting device 1 determines the sales office, supplier, customer, factory, sales date indicated in the read record. The transaction contents such as the sales quantity, the sales amount, the sales unit price, etc. are tabulated as transaction contents related to the type 2 after the change date, that is, “liquid crystal” (step S5).

ステップS4において、販売年月が変更日より前であると判定した場合(ステップS4:NO)、集計装置1は、読み取ったレコードに示される営業所、仕入先、得意先、工場、販売年月、販売数量、販売金額、販売単価等の取引内容を、変更日付より前の種別2、即ち「通常」に関する取引内容として集計する(ステップS6)。   If it is determined in step S4 that the sales date is before the change date (step S4: NO), the counting device 1 determines the sales office, supplier, customer, factory, sales year indicated in the read record. Transaction details such as month, sales quantity, sales price, and sales unit price are aggregated as transaction details related to type 2, that is, “normal” before the change date (step S6).

ステップS5及びステップS6における集計とは、レコード単位での項目毎のデータの積算等の販売実績の傾向を分析するための集計を示す。   The tabulation in step S5 and step S6 indicates tabulation for analyzing a tendency of sales performance such as integration of data for each item in record units.

ステップS5又はステップS6における集計後、集計装置1は、今回の処理で集計の対象となるか否かを未だ判定していないレコードが取引データベース12aに記録されているか否かを判定する(ステップS7)。   After the aggregation in step S5 or step S6, the aggregation device 1 determines whether or not a record that has not yet been determined whether or not to be an object of aggregation in the current process is recorded in the transaction database 12a (step S7). ).

ステップS7において、未判定のレコードが記録されていると判定した場合(ステップS7:YES)、集計装置1は、ステップS2へ戻り、以降の処理を繰り返す。即ちステップS3〜ステップS6の処理を取引データベース12aに記録されている全てのレコードに対して行うのである。   If it is determined in step S7 that an undetermined record is recorded (step S7: YES), the counting device 1 returns to step S2 and repeats the subsequent processing. That is, the process of step S3-step S6 is performed with respect to all the records currently recorded on the transaction database 12a.

ステップS7において、未判定のレコードが記録されていないと判定した場合(ステップS7:NO)、集計装置1は、「液晶」及び「通常」として集計した結果を出力手段15から出力する(ステップS8)。   If it is determined in step S7 that an undetermined record has not been recorded (step S7: NO), the counting device 1 outputs the result of counting as “liquid crystal” and “normal” from the output means 15 (step S8). ).

ステップS3において、識別情報のデータが集計の対象ではないと判定した場合(ステップS3:NO)、集計装置1は、ステップS7へ進み、今回の処理で集計の対象となるか否かを未だ判定していないレコードが取引データベース12aに記録されているか否かを判定する(ステップS7)。   In step S3, when it is determined that the identification information data is not a target of aggregation (step S3: NO), the aggregation device 1 proceeds to step S7 and still determines whether or not it is a target of aggregation in the current process. It is determined whether an unrecorded record is recorded in the transaction database 12a (step S7).

図4を用いて説明した例では、取引データベース12aの記録内容の中で、指定した識別情報に係る取引対象を種別毎に集計する形態を示したが、識別情報及び種別を指定して集計する様にしても良い。具体的には、識別情報「1」及び種別2「液晶」を指定することにより、識別情報が「1」であり、かつ種別テーブル12bの変更日付に基づいて判定される種別2が「液晶」である取引内容のみを集計することが可能である。また識別情報及び種別を指定して集計を行う場合に、レコードに含まれる全ての情報を読み取るのではなく、識別情報及び種別2のデータのみを読み取り、識別情報及び種別2のデータが合致するレコードのみの取引内容を読み取るようにすることで、読み取るべきデータ量を削減し、処理を高速化することが可能である。   In the example described with reference to FIG. 4, in the recorded contents of the transaction database 12 a, the transaction target related to the specified identification information is totaled for each type. However, the identification information and the type are specified and totalized. You may do it. Specifically, by specifying the identification information “1” and the type 2 “liquid crystal”, the identification information is “1” and the type 2 determined based on the change date of the type table 12b is “liquid crystal”. It is possible to aggregate only the transaction contents that are. In addition, when the identification information and type are specified and aggregation is performed, not all information included in the record is read, but only the identification information and type 2 data are read, and the identification information and type 2 data match. By reading only the transaction content, it is possible to reduce the amount of data to be read and speed up the processing.

また複数回に渡って種別の変更がなされている場合、夫々の変更時期に基づいて判定される種別に応じた集計処理が行われる。   In addition, when the type is changed over a plurality of times, a totaling process is performed according to the type determined based on each change time.

図5は、本発明の集計装置1の集計結果の一例を概念的に示す説明図である。図5(a)は、図2に示した取引データベース12aの記録内容に基づく集計状況を概念的に示しており、上方から1番目、3番目及び4番目のレコードの記録内容が種別2「通常」に係る取引内容として集計され、上方から5番目及び6番目のレコードの記録内容が種別2「液晶」に係る取引内容として集計される。   FIG. 5 is an explanatory diagram conceptually showing an example of a totaling result of the totaling apparatus 1 of the present invention. FIG. 5 (a) conceptually shows an aggregation status based on the recorded contents of the transaction database 12a shown in FIG. 2, and the recorded contents of the first, third and fourth records from the top are type 2 “normal”. ”And the recorded contents of the fifth and sixth records from above are totaled as the transaction contents related to type 2“ liquid crystal ”.

図5(b)は、種別毎の「販売数量」及び「販売金額」の集計結果を示している。図5(b)に示す例は、集計結果として数値を積算した結果を示しており、集計結果である夫々の「販売数量」及び「販売金額」を比較することにより、販売数量の伸び率等の取引に係る変化を比較検討し、販売状況を分析することができ、これにより営業に関する販売管理戦略を立案及び遂行することができる。なお積算結果の比較以外の様々な集計処理にも本発明を適用することが可能である。   FIG. 5B shows the total result of “sales quantity” and “sales amount” for each type. The example shown in FIG. 5 (b) shows the result of accumulating numerical values as the aggregation results, and by comparing the “sales quantity” and “sales amount” of the aggregation results, the sales volume growth rate, etc. It is possible to compare and analyze the changes related to the transactions and analyze the sales situation, and thereby to plan and execute a sales management strategy related to sales. It should be noted that the present invention can be applied to various tabulation processes other than the comparison of integration results.

前記実施の形態では、取引対象の取引実績として、テレビの販売実績を集計する形態を示したが、本発明はこれに限らず、様々な商品及び役務を取引対象とすることが可能である。例えばパーソナルコンピュータ、自動車等の商品を取引対象としても良く、また航空機による乗客の運搬等の役務の提供の集計に本発明を適用する様にしても良い。   In the said embodiment, although the form which totals the sales performance of a television was shown as a transaction performance of transaction object, this invention is not restricted to this, It is possible to make various goods and services into transaction object. For example, commodities such as personal computers and automobiles may be dealt with, and the present invention may be applied to aggregation of provision of services such as passenger transportation by aircraft.

本発明の集計装置の構成例を示すブロック図である。It is a block diagram which shows the structural example of the totaling apparatus of this invention. 本発明の集計装置が備える取引データベースの記録内容の一例を概念的に示す説明図である。It is explanatory drawing which shows notionally an example of the recording content of the transaction database with which the totaling device of this invention is provided. 本発明の集計装置が備える種別テーブルの記録内容の一例を概念的に示す説明図である。It is explanatory drawing which shows notionally an example of the recording content of the classification table with which the totaling device of this invention is provided. 本発明の集計装置の集計処理の一例を示すフローチャートである。It is a flowchart which shows an example of the total process of the total apparatus of this invention. 本発明の集計装置の集計結果の一例を概念的に示す説明図である。It is explanatory drawing which shows notionally an example of the total result of the total device of this invention.

符号の説明Explanation of symbols

1 集計装置
12a 取引データベース
12b 種別テーブル
1 Aggregation device 12a Transaction database 12b Type table

Claims (4)

取引対象を識別する識別情報に対応付けて取引時期を含む取引内容を記録する取引データベースから取引内容を読み取り、前記取引データベースの識別情報が示す取引対象の種別を記録する種別テーブルを参照し、読み取った取引内容を取引対象の種別に基づいて集計する集計装置を用いた集計方法において、
前記種別テーブルは、
第1の識別情報が示す取引対象の第1の種別、並びに第1の識別情報が以前に示していた取引対象の第2の種別及び第1の識別情報に対する種別の変更時期を記録してあり、
前記集計装置は、
前記取引データベースから読み取った取引時期が変更時期以降である取引内容を、第1の種別の取引内容として集計し、
前記取引データベースから読み取った取引時期が変更時期より前である取引内容を、第2の種別の取引内容として集計する
ことを特徴とする集計方法。
Read transaction contents from a transaction database that records transaction contents including transaction time in association with identification information for identifying transaction objects, and refer to a type table that records the types of transaction objects indicated by the identification information of the transaction database. In a counting method using a counting device that counts the transaction details based on the type of transaction target,
The type table is
The first type of the transaction target indicated by the first identification information, the second type of the transaction target previously indicated by the first identification information, and the change timing of the type for the first identification information are recorded. ,
The counting device is
The transaction content read from the transaction database is the transaction content after the change time, and is aggregated as the first type of transaction content,
Summarizing transaction contents whose transaction time read from the transaction database is earlier than the change time as a second type of transaction content.
取引対象を識別する識別情報に対応付けて取引時期を含む取引内容を記録する取引データベースから取引内容を読み取り、前記取引データベースの識別情報が示す取引対象の種別を記録する種別テーブルを参照し、読み取った取引内容を取引対象の種別に基づいて集計する集計装置において、
前記種別テーブルは、第1の識別情報が示す取引対象の第1の種別、並びに第1の識別情報が以前に示していた取引対象の第2の種別及び第1の識別情報に対する種別の変更時期を記録する様に構成してあり、
前記取引データベースから読み取った取引時期が変更時期以降である取引内容を、第1の種別の取引内容として集計する手段と、
前記取引データベースから読み取った取引時期が変更時期より前である取引内容を、第2の種別の取引内容として集計する手段と
を備えることを特徴とする集計装置。
Read transaction contents from a transaction database that records transaction contents including transaction time in association with identification information for identifying transaction objects, and refer to a type table that records the types of transaction objects indicated by the identification information of the transaction database. In the aggregation device that aggregates the transaction details based on the type of transaction target,
The type table includes the first type of the transaction target indicated by the first identification information, the second type of the transaction target previously indicated by the first identification information, and the change timing of the type for the first identification information. Is configured to record,
Means for counting the transaction content read from the transaction database after the change time, as a first type of transaction content;
A tally device comprising: a means for tallying transaction contents read from the transaction database before a change time as a second type of transaction contents.
取引対象を識別する識別情報に対応付けて取引時期を含む取引内容を記録する取引データベースと、前記取引データベースの識別情報が示す取引対象の種別を記録する種別テーブルとを備え、前記取引データベースに記録されている取引内容を、前記種別テーブルに記録されている種別に基づいて集計する集計装置において、
前記種別テーブルは、第1の識別情報が示す取引対象の第1の種別、並びに第1の識別情報が以前に示していた取引対象の第2の種別及び第1の識別情報に対する種別の変更時期を記録する様に構成してあり、
前記取引データベースに記録されている取引時期が変更時期以降である取引内容を、第1の種別の取引内容として集計する手段と、
前記取引データベースに記録されている取引時期が変更時期より前である取引内容を、第2の種別の取引内容として集計する手段と
を備えることを特徴とする集計装置。
A transaction database that records transaction details including transaction time in association with identification information that identifies a transaction target, and a type table that records the type of transaction target indicated by the identification information of the transaction database are recorded in the transaction database. In a counting device that counts the transaction details that have been made based on the type recorded in the type table,
The type table includes the first type of the transaction target indicated by the first identification information, the second type of the transaction target previously indicated by the first identification information, and the change timing of the type for the first identification information. Is configured to record,
Means for aggregating transaction contents recorded in the transaction database after the change period as transaction contents of the first type;
A counting device comprising: means for counting the transaction contents recorded in the transaction database before the change time as the second type of transaction contents.
コンピュータに、取引対象を識別する識別情報に対応付けて取引時期を含む取引内容を記録する取引データベースから取引内容を読み取らせ、前記取引データベースの識別情報が示す取引対象の種別を記録する種別テーブルを参照して、読み取らせた取引内容を取引対象の種別に基づいて集計させるコンピュータプログラムにおいて、
コンピュータに、第1の識別情報が示す取引対象の第1の種別、並びに第1の識別情報が以前に示していた取引対象の第2の種別及び第1の識別情報に対する種別の変更時期を記録してある前記種別テーブルを参照して、前記取引データベースに記録されている取引時期が変更時期以降である取引内容を、第1の種別の取引内容として集計させる手順と、
コンピュータに、前記種別テーブルを参照して、前記取引データベースに記録されている取引時期が変更時期より前である取引内容を、第2の種別の取引内容として集計させる手順と
を実行させることを特徴とするコンピュータプログラム。
A type table for recording the type of transaction target indicated by the identification information of the transaction database, having the computer read the transaction content from the transaction database that records the transaction content including the transaction time in association with the identification information for identifying the transaction target With reference to the computer program that causes the read transaction content to be totaled based on the type of transaction target,
The computer records the first type of the transaction target indicated by the first identification information, the second type of the transaction target previously indicated by the first identification information, and the change timing of the type for the first identification information. The transaction table recorded in the transaction database is referred to as the transaction content of the first type, with reference to the type table,
And causing the computer to refer to the type table, and to cause the transaction content recorded in the transaction database to be aggregated as transaction content of the second type of transaction content before the change time. A computer program.
JP2006186613A 2006-07-06 2006-07-06 Accumulation method, accumulation device and computer program Pending JP2008015806A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006186613A JP2008015806A (en) 2006-07-06 2006-07-06 Accumulation method, accumulation device and computer program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006186613A JP2008015806A (en) 2006-07-06 2006-07-06 Accumulation method, accumulation device and computer program

Publications (1)

Publication Number Publication Date
JP2008015806A true JP2008015806A (en) 2008-01-24

Family

ID=39072753

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006186613A Pending JP2008015806A (en) 2006-07-06 2006-07-06 Accumulation method, accumulation device and computer program

Country Status (1)

Country Link
JP (1) JP2008015806A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020502620A (en) * 2018-11-30 2020-01-23 アリババ・グループ・ホールディング・リミテッドAlibaba Group Holding Limited Platform for atom transfer of smart assets in blockchain networks

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02157947A (en) * 1988-12-09 1990-06-18 Casio Comput Co Ltd File updating processor
JPH10283569A (en) * 1997-04-09 1998-10-23 Tec Corp Merchandise sales managing method and device and computer readable recording medium recording merchandise sales managing program

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02157947A (en) * 1988-12-09 1990-06-18 Casio Comput Co Ltd File updating processor
JPH10283569A (en) * 1997-04-09 1998-10-23 Tec Corp Merchandise sales managing method and device and computer readable recording medium recording merchandise sales managing program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020502620A (en) * 2018-11-30 2020-01-23 アリババ・グループ・ホールディング・リミテッドAlibaba Group Holding Limited Platform for atom transfer of smart assets in blockchain networks
US11030188B2 (en) 2018-11-30 2021-06-08 Advanced New Technologies Co., Ltd. Platform for atomic transfer of smart assets within blockchain networks

Similar Documents

Publication Publication Date Title
JP4828102B2 (en) Self-maintaining real-time data aggregation
US8626702B2 (en) Method and system for validation of data extraction
US20060195370A1 (en) Inventory management method, system, and computer program
Eckerson Q&A: Best Practices in Operational BI
US9639596B2 (en) Processing data in a data warehouse
US20210158413A1 (en) System and method for automating electronic pharmaceutical transactions
JP2013517585A (en) Method for accessing a large collection object table in a database
US20160104088A1 (en) Demand-supply adjusting device and demand-supply condition consolidating method
US20120323617A1 (en) Processing of business event data to determine business states
JP2008015806A (en) Accumulation method, accumulation device and computer program
CN115409014A (en) Document template generation method and device, computer equipment and storage medium
Baboo et al. Designing Real Time Business Intelligence Reporting for Better Business Insights
JP4935733B2 (en) Lending status display program, lending status display device, and lending status display method
US20140025435A1 (en) System and Methods for Brute Force Traversal
JP2009003543A (en) Data processor, computer program therefor and data processing method
JP4818764B2 (en) Asset management result analysis support system and method
Singh Big Data in Capital Markets
JP2006251891A (en) Data collection device and data collection program
JP5026328B2 (en) Substance amount management program and substance amount management apparatus
JP5252008B2 (en) Data aggregation device and data aggregation program
Jaber-Chehayeb HOW BIG DATA WILL BE AN ADDED VALUE TO SCM?
JP4773855B2 (en) Cost information program
JP4321767B2 (en) Sales registration data totaling device, program and storage medium
JP2016143237A (en) Information processor
US20140025431A1 (en) System and Methods for Comparing Segments

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090413

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110418

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110426

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110624

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20111122