JP2022148549A - Transaction support device and control program - Google Patents

Transaction support device and control program Download PDF

Info

Publication number
JP2022148549A
JP2022148549A JP2021050283A JP2021050283A JP2022148549A JP 2022148549 A JP2022148549 A JP 2022148549A JP 2021050283 A JP2021050283 A JP 2021050283A JP 2021050283 A JP2021050283 A JP 2021050283A JP 2022148549 A JP2022148549 A JP 2022148549A
Authority
JP
Japan
Prior art keywords
purchase
condition
sales
conditions
purchaser
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
JP2021050283A
Other languages
Japanese (ja)
Inventor
茂 小松
Shigeru Komatsu
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba TEC Corp
Original Assignee
Toshiba TEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba TEC Corp filed Critical Toshiba TEC Corp
Priority to JP2021050283A priority Critical patent/JP2022148549A/en
Publication of JP2022148549A publication Critical patent/JP2022148549A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

To provide a transaction support device and a control program that automatically search a commodity in which a selling condition of a seller matches a purchase condition of a purchaser in a transaction of mail order selling.SOLUTION: A transaction support server 10 comprises: selling condition acquisition means 1101 that acquires information associated with a selling condition of a commodity which is set by a seller; purchase condition acquisition means 1102 that acquires information associated with a purchase condition of a commodity which is set by a purchaser; determination means 1103 that determines the selling condition and the purchase condition which match each other by collating between the information associated with the selling condition acquired by the selling condition acquisition means and the information associated with the purchase condition acquired by the purchase condition acquisition means; seller notification means 1104 that notifies a seller terminal used by the seller who sets the selling condition determined to match the purchase condition by the determination means, of being available for sale; and purchaser notification means 1105 that notifies a purchaser terminal used by the purchaser who sets the purchase condition determined to match the selling condition by the determination means, of being available for purchase.SELECTED DRAWING: Figure 6

Description

本発明の実施形態は、通信販売の取引を支援する取引支援装置及びコンピュータを当該取引支援装置として機能させるための制御プログラムに関する。 The embodiments of the present invention relate to a transaction support device that supports mail-order transactions and a control program for causing a computer to function as the transaction support device.

近年、農家、畜産業者、水産業者等の生産者がインターネットを利用して生産物である食材、生花等を通信販売するEC(電子商取引)サイトが普及している。従来のこの種のECサイトにおいては、商品の品名、画像とともに品種、価格、サイズ、品質等の情報がECサイトのWebページに表示される。端末のWebブラウザを利用してWebページにアクセスした消費者は、表示される情報を基に購入を希望する商品を見つけて注文操作を行う。そして、決済に必要な情報を消費者が入力すると、注文が確定する。注文が確定すると、生産者は、購入者である消費者に対して商品を配送するための手続きを行う。 2. Description of the Related Art In recent years, EC (electronic commerce) sites have become widespread, in which producers such as farmers, livestock farmers, and fishermen use the Internet to sell products such as foodstuffs and fresh flowers by mail order. In this type of conventional EC site, information such as product name, image, product type, price, size, and quality is displayed on the EC site Web page. A consumer who accesses a web page using a web browser on a terminal finds a product that he/she wishes to purchase based on the displayed information and performs an order operation. When the consumer enters the information necessary for payment, the order is confirmed. When the order is confirmed, the producer carries out procedures for delivering the product to the consumer who is the purchaser.

しかしながら、上述したようなECサイトでは、消費者が自らWebページにアクセスして、購入を希望する商品を探さなければならない。一般に、Webページには多数の商品が表示される。このため、消費者が購入を希望する商品になかなか辿り着かず、途中で購入を止めてしまう場合がある。 However, in the EC site as described above, the consumer must access the web page and search for the product that the consumer wishes to purchase. In general, a web page displays a large number of products. For this reason, it may be difficult for the consumer to reach the product that the consumer desires to purchase, and the purchase may be stopped in the middle.

このような問題は、販売者である生産者の販売条件と購入者である消費者の購入条件とが一致する商品を自動的に探し出すことができれば解決できる。 Such a problem can be solved if it is possible to automatically search for products whose sales conditions of the producer, who is the seller, and the purchase conditions of the consumer, who are the purchaser, match each other.

特開2019-144935号公報JP 2019-144935 A 特開2020-194530号公報JP 2020-194530 A

本発明の実施形態が解決しようとする課題は、通信販売の取引に関して、販売者である生産者の販売条件と購入者である消費者の購入条件とが一致する商品を自動的に探し出すことができる取引支援装置を提供しようとするものである。 The problem to be solved by the embodiments of the present invention is to automatically search for products that match the sales conditions of the producer, who is the seller, and the purchase conditions of the consumer, who is the purchaser, in relation to mail-order transactions. It is an object of the present invention to provide a transaction support device capable of

一実施形態において、取引支援装置は、販売条件取得手段と、購入条件取得手段と、決定手段と、販売者通知手段と、購入者通知手段とを備える。販売条件取得手段は、販売者により設定された商品の販売条件に関する情報を取得する。購入条件取得手段は、購入者により設定された商品の購入条件に関する情報を取得する。決定手段は、販売条件取得手段により取得した販売条件に関する情報と、購入条件取得手段により取得した購入条件に関する情報とを照合して、一致する販売条件と購入条件とを決定する。販売者通知手段は、決定手段によりで購入条件と一致すると決定された販売条件を設定した販売者が使用する販売者端末に販売可能を通知する。購入者通知手段は、決定手段により販売条件と一致すると決定された購入条件を設定した購入者が使用する購入者端末に購入可能を通知する。 In one embodiment, the transaction support device includes sales condition acquisition means, purchase condition acquisition means, determination means, seller notification means, and purchaser notification means. The sales condition acquisition means acquires information on the sales conditions of the product set by the seller. The purchase condition acquisition means acquires information on the purchase condition of the product set by the purchaser. The determination means collates the information on the sales conditions acquired by the sales conditions acquisition means with the information on the purchase conditions acquired by the purchase conditions acquisition means, and determines matching sales conditions and purchase conditions. The seller notification means notifies the seller terminal used by the seller who has set the sales conditions determined by the determination means to match the purchase conditions that the product can be sold. The purchaser notification means notifies the purchaser terminal used by the purchaser who has set the purchase conditions determined by the determination means to match the sales conditions that the purchase is possible.

一実施形態に係る取引支援システムの概略構成図。1 is a schematic configuration diagram of a transaction support system according to one embodiment; FIG. 購入者レコードの主要なデータ構造を示す模式図。Schematic diagram showing the main data structure of a purchaser record. 販売者レコードの主要なデータ構造を示す模式図。Schematic diagram showing the main data structure of a seller record. 購入条件レコードの主要なデータ構造を示す模式図。Schematic diagram showing the main data structure of a purchase condition record. 販売条件レコードの主要なデータ構造を示す模式図。Schematic diagram showing the main data structure of a sales condition record. 取引支援サーバの要部回路構成を示すブロック図。FIG. 2 is a block diagram showing the main circuit configuration of the transaction support server; 一致テーブルのデータ構造を示す模式図。Schematic diagram showing the data structure of a match table. 取引支援サーバのプロセッサが実行する主要な情報処理の手順を示す流れ図。4 is a flow chart showing the procedure of main information processing executed by the processor of the transaction support server; 図8における第1条件照合処理の具体的な手順を示す流れ図。FIG. 9 is a flowchart showing a specific procedure of first condition matching processing in FIG. 8; FIG. 図9における第2条件照合処理の具体的な手順を示す流れ図。FIG. 10 is a flowchart showing a specific procedure of second condition matching processing in FIG. 9; FIG. 取引支援サーバのプロセッサが実行する主要な情報処理の手順を示す流れ図。4 is a flow chart showing the procedure of main information processing executed by the processor of the transaction support server; 図11における購入者処理の具体的な手順を示す流れ図。FIG. 12 is a flowchart showing a specific procedure of purchaser processing in FIG. 11; 図11における販売者処理の具体的な手順を示す流れ図。FIG. 12 is a flowchart showing a specific procedure of seller processing in FIG. 11; FIG.

以下、取引支援装置の実施形態について、図面を用いて説明する。
始めに、本実施形態は、農家、畜産業者、水産業者等の生産者がネットワークを利用して生産物である食材、生花等を通信販売する場合である。すなわち、生産者が販売者となる。購入者は消費者である。
An embodiment of a transaction support device will be described below with reference to the drawings.
First, the present embodiment is a case where producers such as farmers, livestock farmers, and fishermen use a network to sell foodstuffs, fresh flowers, and the like, which are their products, by mail order. In other words, the producer becomes the seller. Purchasers are consumers.

[取引支援システムの概略説明]
図1は、本実施形態に係る取引支援システム100の概略構成図である。取引支援システム100は、取引支援サーバ10と、販売者端末20と、購入者端末30と、ネットワーク40と、を含む。取引支援システム100は、ネットワーク40に、取引支援サーバ10と、販売者端末20と、購入者端末30とを接続する。ネットワーク40は、典型的にはインターネット等の広域通信網である。ネットワーク40は、専用通信網であってもよいし、携帯電話通信網等であってもよい。また、これらの通信網が混在していてもよい。ネットワークは、無線回線であってもよいし、有線回線であってもよい。また、無線回線と有線回線とが混在していてもよい。
[Overview of transaction support system]
FIG. 1 is a schematic configuration diagram of a transaction support system 100 according to this embodiment. Transaction support system 100 includes transaction support server 10 , seller terminal 20 , purchaser terminal 30 , and network 40 . Transaction support system 100 connects transaction support server 10 , seller terminal 20 , and purchaser terminal 30 to network 40 . Network 40 is typically a wide area network such as the Internet. The network 40 may be a dedicated communication network, a mobile phone communication network, or the like. Also, these communication networks may be mixed. The network may be a wireless line or a wired line. Also, a wireless line and a wired line may coexist.

販売者端末20は、販売者となり得る生産者が使用する端末である。販売者端末20は、入力デバイス21と、表示デバイス22と、撮像装置23とを含む。入力デバイス21は、商品となる生産物に関する情報、商品の販売条件に関する情報、商品を購入する購入者との取引に関する情報等の入力に用いられる。入力デバイス21は、キーボード、ポインティングデバイス、タッチパネル等である。表示デバイス22は、入力デバイス21を介して入力された情報、取引支援サーバ10から送信されてきた情報等の表示に用いられる。表示デバイス22は、液晶ディスプレイ、有機ELディスプレイ等である。撮像装置23は、商品となる生産物の画像の取り込み等に用いられる。撮像装置23は、CCD型イメージセンサ、CMOS型イメージセンサ等の撮像素子を有するデジタルカメラである。撮像装置23は、デジタルビデオカメラであってもよい。販売者端末20としては、パーソナルコンピュータ、スマートフォン、タブレット端末等の周知の情報通信端末を利用することができる。コンビニエンスストア、運送業者等の店舗、又は、駅、役所、農業協同組合等の施設に設置されているキオスク端末等の情報端末を販売者端末20として使用することも可能である。 The seller terminal 20 is a terminal used by a producer who can be a seller. The seller terminal 20 includes an input device 21, a display device 22, and an imaging device 23. The input device 21 is used for inputting information on products to be commodities, information on sales conditions of commodities, information on transactions with purchasers who purchase commodities, and the like. The input device 21 is a keyboard, pointing device, touch panel, or the like. The display device 22 is used to display information input via the input device 21, information transmitted from the transaction support server 10, and the like. The display device 22 is a liquid crystal display, an organic EL display, or the like. The imaging device 23 is used for taking in an image of a product to be a commercial product. The imaging device 23 is a digital camera having an imaging device such as a CCD image sensor or a CMOS image sensor. The imaging device 23 may be a digital video camera. As the seller terminal 20, a well-known information communication terminal such as a personal computer, smart phone, or tablet terminal can be used. It is also possible to use information terminals such as kiosk terminals installed in stores such as convenience stores, carriers, or facilities such as stations, government offices, and agricultural cooperatives as the seller terminal 20 .

購入者端末30は、購入者となり得る消費者が使用する端末である。購入者端末30は、入力デバイス31と、表示デバイス32とを含む。入力デバイス31は、商品の購入条件に関する情報、生産物を商品として通信販売する販売者との取引に関する情報等の入力に用いられる。入力デバイス31は、キーボード、ポインティングデバイス、タッチパネル等である。表示デバイス32は、入力デバイス31を介して入力された情報、取引支援サーバ10から送信されてきた情報等の表示に用いられる。表示デバイス32は、液晶ディスプレイ、有機ELディスプレイ等である。購入者端末30としては、パーソナルコンピュータ、スマートフォン、タブレット端末等の周知の情報通信端末を利用することができる。キオスク端末等の情報端末を購入者端末30として使用することも可能である。 The purchaser terminal 30 is a terminal used by a consumer who can be a purchaser. Purchaser terminal 30 includes an input device 31 and a display device 32 . The input device 31 is used for inputting information on purchase conditions of products, information on transactions with sellers who sell products as products by mail order, and the like. The input device 31 is a keyboard, pointing device, touch panel, or the like. The display device 32 is used to display information input via the input device 31, information transmitted from the transaction support server 10, and the like. The display device 32 is a liquid crystal display, an organic EL display, or the like. As the purchaser terminal 30, a well-known information communication terminal such as a personal computer, smart phone, or tablet terminal can be used. It is also possible to use an information terminal such as a kiosk terminal as the purchaser terminal 30 .

取引支援サーバ10は、生産者が生産した食材、生花等の生産物を商品とする通信販売の取引を支援するためのコンピュータである。取引支援サーバ10は、通信販売の取引を支援するためのサービスを販売者端末20及び購入者端末30に提供する。取引支援サーバ10は、取引支援装置の一例である。 The transaction support server 10 is a computer for supporting mail-order transactions in which products such as foodstuffs and fresh flowers produced by producers are used as commodities. The transaction support server 10 provides the seller terminal 20 and the purchaser terminal 30 with services for supporting mail-order transactions. The transaction support server 10 is an example of a transaction support device.

取引支援サーバ10は、購入者データベース50、販売者データベース60、購入条件データベース70及び販売条件データベース80に対してアクセスする機能を有する。各データベース50,60,70及び80は、取引支援サーバ10に内蔵された記憶装置が所有してもよいし、取引支援サーバ10に外付けされる記憶装置が所有してもよい。あるいは、クラウド上のデータベースサーバが各データベース50,60,70及び80を所有し、取引支援サーバ10がクラウドコンピューティングの技術を利用して各データベース50,60,70及び80にアクセスするようにしてもよい。この場合において、一部のデータベース、例えば購入者データベース50と販売者データベース60とをデータベースサーバが所有し、残りのデータベース、例えば購入条件データベース70と販売条件データベース80とを取引支援サーバ10が所有してもよい。 The transaction support server 10 has a function of accessing the purchaser database 50 , the seller database 60 , the purchase condition database 70 and the sales condition database 80 . Each database 50 , 60 , 70 and 80 may be owned by a storage device built into the transaction support server 10 or may be owned by a storage device externally attached to the transaction support server 10 . Alternatively, a database server on the cloud owns each database 50, 60, 70 and 80, and the transaction support server 10 uses cloud computing technology to access each database 50, 60, 70 and 80. good too. In this case, the database server owns some of the databases, for example, the purchaser database 50 and the seller database 60, and the transaction support server 10 owns the remaining databases, for example, the purchase condition database 70 and the sales condition database 80. may

購入者データベース50は、購入者として登録された消費者に係る情報等を記述したデータレコードの集合体である。以後、このデータレコードを購入者レコード51(図2を参照)と称する。 The purchaser database 50 is a collection of data records describing information related to consumers registered as purchasers. This data record is hereinafter referred to as the purchaser record 51 (see FIG. 2).

図2は、購入者レコード51の主要なデータ構造を示す模式図である。購入者レコード51は、購入者ID、氏名、居住地域、購入者端末アドレス、希望決済方法等の項目を少なくとも含むデータレコードである。 FIG. 2 is a schematic diagram showing the main data structure of the purchaser record 51. As shown in FIG. The purchaser record 51 is a data record including at least items such as purchaser ID, name, area of residence, purchaser terminal address, and desired payment method.

購入者IDは、購入者毎に設定される一意の識別コードである。消費者は、取引支援システム100の運営企業体に購入者として登録することで購入者となり得る。購入者としての登録方法は特に限定されない。消費者が購買者として登録されると、その消費者固有の購入者IDが発行される。購入者IDは、その消費者が使用する購入者端末30のメモリに保存される。 The purchaser ID is a unique identification code set for each purchaser. A consumer can become a purchaser by registering as a purchaser with the business entity operating the transaction support system 100 . The registration method as a purchaser is not particularly limited. When a consumer is registered as a purchaser, a purchaser ID unique to that consumer is issued. The purchaser ID is stored in the memory of the purchaser terminal 30 used by the consumer.

氏名は、購入者IDで識別される消費者、つまりは購入者の氏名である。居住地域は、その購入者が居住する地域のコードである。地域は、例えば市区町村を基に国内を区分したものである。地域は、例えば郵便番号を基に国内を区分したものであってもよい。地域の区分方法は、これに限定されない。 The name is the name of the consumer identified by the purchaser ID, that is, the name of the purchaser. The area of residence is the code of the area where the purchaser resides. A region is, for example, a division of the country based on municipalities. A region may be, for example, a country segmented based on a postal code. The method of dividing regions is not limited to this.

購入者端末アドレスは、その購入者が使用する購入者端末30の通信アドレスである。取引支援サーバ10は、購入者端末アドレスを指定することによって、その購入者端末アドレスが設定された購入者端末30とネットワーク40を介してデータ通信を行うことができる。 The purchaser terminal address is the communication address of the purchaser terminal 30 used by the purchaser. By designating the purchaser terminal address, the transaction support server 10 can perform data communication with the purchaser terminal 30 to which the purchaser terminal address is set via the network 40 .

希望決済方法は、その購入者が希望する商取引の代金決済方法である。代金決済方法には、例えばクレジットカード決済、代金引換決済(代引き決済)、電子マネー決済、コード決済等がある。購入者レコード51には、少なくとも一種類の代金決済方法が希望決済方法として記述される。二種類以上の代金決済方法が希望決済方法として購入者レコード51に記述されてもよい。 The desired payment method is a method of payment for commercial transactions desired by the purchaser. Payment methods include, for example, credit card payment, cash-on-delivery payment (cash-on-delivery payment), electronic money payment, and code payment. At least one payment method is described in the purchaser record 51 as a desired payment method. Two or more payment methods may be described in the purchaser record 51 as desired payment methods.

販売者データベース60は、販売者として登録された生産者に係る情報等を記述したデータレコードの集合体である。以後、このデータレコードを販売者レコード61(図3を参照)と称する。 The seller database 60 is a collection of data records describing information about producers registered as sellers. Hereinafter, this data record will be referred to as merchant record 61 (see FIG. 3).

図3は、販売者レコード61の主要なデータ構造を示す模式図である。販売者レコード61は、販売者ID、氏名、配送地域、販売者端末アドレス、可能決済方法等の項目を少なくとも含むデータレコードである。 FIG. 3 is a schematic diagram showing the main data structure of the seller record 61. As shown in FIG. The seller record 61 is a data record including at least items such as seller ID, name, delivery area, seller terminal address, and possible settlement methods.

販売者IDは、販売者毎に設定される一意の識別コードである。農家、畜産業者、水産業者等の生産者は、取引支援システム100の運営企業体に販売者として登録することで販売者となり得る。販売者としての登録方法は特に限定されない。生産者が販売者として登録されると、その生産者固有の販売者IDが発行される。販売者IDは、その生産者が使用する販売者端末20のメモリに保存される。 A seller ID is a unique identification code set for each seller. Producers such as farmers, livestock farmers, fishermen, etc. can become sellers by registering as sellers with the business entity operating the transaction support system 100 . The registration method as a seller is not particularly limited. When a producer is registered as a seller, a seller ID unique to that producer is issued. The seller ID is stored in the memory of the seller terminal 20 used by the producer.

氏名は、販売者IDで識別される生産者、つまりは販売者の氏名である。配送地域は、その販売者によって生産された生産物の配送可能地域を示すコードである。地域は、例えば市区町村を基に国内を区分したものである。地域は、例えば郵便番号を基に国内を区分したものであってもよい。地域の区分方法は、これに限定されない。ただし、購入者レコード51の居住地域と同一の区分方法を採用する。 The name is the name of the producer identified by the seller ID, that is, the name of the seller. The delivery area is a code indicating the delivery possible area of the product produced by the seller. A region is, for example, a division of the country based on municipalities. A region may be, for example, a country segmented based on a postal code. The method of dividing regions is not limited to this. However, the same classification method as that of the residential area of the purchaser record 51 is adopted.

販売者端末アドレスは、その販売者が使用する販売者端末20の通信アドレスである。取引支援サーバ10は、販売者端末アドレスを指定することによって、その販売者端末アドレスが設定された販売者端末20とネットワーク40を介してデータ通信を行うことができる。 The seller terminal address is the communication address of the seller terminal 20 used by the seller. By designating a seller terminal address, the transaction support server 10 can perform data communication with the seller terminal 20 to which the seller terminal address is set via the network 40 .

可能決済方法は、その販売者が実施可能な商取引の代金決済方法である。代金決済方法には、例えばクレジットカード決済、代金引換決済(代引き決済)、電子マネー決済、コード決済等がある。販売者レコード61には、少なくとも一種類の代金決済方法が可能決済方法として記述される。二種類以上の代金決済方法が可能決済方法として販売者レコード61に記述されてもよい。 Available payment methods are payment methods for commercial transactions that can be performed by the seller. Payment methods include, for example, credit card payment, cash-on-delivery payment (cash-on-delivery payment), electronic money payment, and code payment. In the seller record 61, at least one payment settlement method is described as a possible settlement method. Two or more payment methods may be described in the seller record 61 as possible payment methods.

購入条件データベース70は、購入者によって設定された商品の購入条件に関する情報等を記述したデータレコードの集合体である。以後、このデータレコードを購入条件レコード71(図4を参照)と称する。 The purchase condition database 70 is a collection of data records describing information regarding the purchase condition of the product set by the purchaser. Hereinafter, this data record will be referred to as purchase condition record 71 (see FIG. 4).

図4は、購入条件レコード71の主要なデータ構造を示す模式図である。購入条件レコード71は、購入品番号、購入者ID、品目、品種、購入期間、希望購入価格Pa、希望購入点数Na、サイズ条件、品質条件、取引ステータス等の項目を少なくとも含むデータレコードである。 FIG. 4 is a schematic diagram showing the main data structure of the purchase condition record 71. As shown in FIG. The purchase condition record 71 is a data record including at least items such as purchase product number, purchaser ID, item, product type, purchase period, desired purchase price Pa, desired purchase quantity Na, size conditions, quality conditions, transaction status, and the like.

購入品番号は、購入条件レコード71を個々に識別するためにレコード毎に設定された一連の番号である。 The purchase item number is a series of numbers set for each record to individually identify the purchase condition record 71 .

購入者IDは、購入条件レコード71に係る購入者の識別情報である。品名及び品種は、その購入者が購入を希望する商品、つまりは生産物の品名及び品種である。購入期間は、その購入者が生産物の購入を希望する期間である。購入期間は、期間開始日と期間終了日であってもよいし、期間開始日と期間の日数であってもよい。希望購入価格Paは、その購入者が生産物に対して支払う対価の希望金額である。希望購入点数Naは、その購入者が希望購入価格で購入したい生産物の数量である。 The purchaser ID is purchaser identification information related to the purchase condition record 71 . The item name and variety are the item name and variety of the product that the purchaser wishes to purchase, that is, the product name. The purchase period is the period during which the purchaser wishes to purchase the product. The purchase period may be the period start date and the period end date, or may be the period start date and the number of days of the period. The desired purchase price Pa is the desired price that the purchaser will pay for the product. The desired purchase quantity Na is the quantity of the product that the purchaser wishes to purchase at the desired purchase price.

サイズ条件は、生産物のサイズに関する購入者の購入条件である。例えば「大」、「中」又は「小」の統一した規格の大きさを希望するか、不揃いでもよいか、規格外の大きさの品が含まれてもよいか等の項目がサイズ条件として存在する。 A size requirement is a purchaser's purchase requirement regarding the size of the product. For example, items such as whether you want a unified standard size of "large", "medium" or "small", whether it is acceptable to have irregular sizes, whether items with non-standard sizes are allowed, etc. exist.

品質条件は、生産物の品質に関する購入者の購入条件である。例えば表面に傷があってもよいか否か、形が整っていなくてもよいか否か、色合いが揃っていなくてもよいか否か等の項目が品質条件として存在する。 Quality conditions are the purchaser's purchase conditions regarding the quality of the product. For example, there are quality conditions such as whether the surface may be scratched, whether the shape may be irregular, and whether the color may be uneven.

取引ステータスは、購入条件レコード71の購入条件で品目の生産物を商品とする商取引が成立したか否かを識別する情報である。取引ステータスは、「取引未成立」を示す情報をデフォルトとする。取引が成立すると、取引ステータスは「取引成立済」を示す情報に更新される。 The transaction status is information for identifying whether or not a commercial transaction has been established with the product of the item under the purchase conditions of the purchase condition record 71 . The transaction status defaults to information indicating "transaction uncompleted". When the transaction is concluded, the transaction status is updated to information indicating "transaction completed".

生産物の購入を希望する消費者、いわゆる購入者は、その生産物の購入条件に関する情報として、購入者ID、品目、品種、購入期間、希望購入価格Pa、希望購入点数Na、サイズ条件及び品質条件等を設定する。設定は、購入者端末30を利用して取引支援サーバ10に対して行う方法が考えられる。購入者が所定の用紙に必要事項を記入して取引支援サーバ10の運営企業体に提出することにより、生産物の購入条件に関する情報を設定することも可能である。この場合、運営企業体の担当者が、例えばパーソナルコンピュータを操作して用紙に記入された事項を取引支援サーバ10入力することとなる。 A consumer who wishes to purchase a product, a so-called purchaser, provides information on the purchase conditions of the product, including the purchaser ID, item, product type, purchase period, desired purchase price Pa, desired purchase quantity Na, size conditions and quality. Set conditions, etc. A method of setting the transaction support server 10 using the purchaser terminal 30 is conceivable. It is also possible for the purchaser to set the information regarding the purchase conditions of the product by filling in the required items on a predetermined form and submitting it to the business entity operating the transaction support server 10 . In this case, the person in charge of the operating company operates a personal computer, for example, and inputs the items entered in the form to the transaction support server 10 .

購入条件の設定を受け付けた取引支援サーバ10は、その設定内容を元に購入条件レコード71を作成し、購入条件データベース70に追加する。購入条件データベース70には、例えば購入品番号の小さい順に購入条件レコード71が蓄積される。そして、購入期間が経過した購入条件レコード71は適宜削除される。このとき、購入条件データベース70に残った購入条件レコード71の購入品番号が一連の番号となるように振り直されてもよい。 The transaction support server 10 that has received the setting of the purchase conditions creates a purchase condition record 71 based on the setting contents and adds it to the purchase condition database 70 . Purchase condition records 71 are accumulated in the purchase condition database 70 in ascending order of purchase item numbers, for example. Then, the purchase condition record 71 whose purchase period has passed is appropriately deleted. At this time, the purchase item numbers of the purchase condition records 71 remaining in the purchase condition database 70 may be reassigned so as to be a series of numbers.

販売条件データベース80は、販売者による生産物の販売条件に関する情報等を記述したデータレコードの集合体である。以後、このデータレコードを販売条件レコード81(図5を参照)と称する。 The sales condition database 80 is a collection of data records describing information on sales conditions of products by sellers. Hereinafter, this data record will be referred to as sales condition record 81 (see FIG. 5).

図5は、販売条件レコード81の主要なデータ構造を示す模式図である。販売条件レコード81は、販売品番号、販売者ID、品目、品種、品目画像、販売期間、希望販売価格Pb、サイズ条件、品質条件、在庫点数Nb、取引ステータス等の項目を少なくとも含むデータレコードである。 FIG. 5 is a schematic diagram showing the main data structure of the sales condition record 81. As shown in FIG. The sales conditions record 81 is a data record containing at least items such as sales item number, seller ID, item, product type, item image, sales period, suggested selling price Pb, size condition, quality condition, stock quantity Nb, transaction status, and the like. be.

販売品番号は、販売条件レコード81を個々に識別するためにレコード毎に設定された一連の番号である。 The sales item number is a series of numbers set for each record to individually identify the sales condition record 81 .

販売者IDは、販売条件レコード81に係る販売者の識別情報である。品名及び品種は、その販売者が通信販売する商品、つまりは生産物の品名及び品種である。販売期間は、その販売者が生産物を通信販売する期間である。販売期間は、期間開始日と期間終了日であってもよいし、期間開始日と期間の日数であってもよい。希望販売価格Pbは、その販売者が生産物に対して設定した価格である。 The seller ID is identification information of the seller related to the sales condition record 81 . The item name and variety are the item name and variety of the product sold by the seller, that is, the product name. The sales period is the period during which the seller sells the product by mail order. The sales period may be the period start date and the period end date, or may be the period start date and the number of days of the period. The desired selling price Pb is the price set by the seller for the product.

サイズ条件は、生産物のサイズ条件に関する情報である。例えば「大」、「中」又は「小」の統一した規格の大きさであるか、不揃いであるか、規格外の大きさの品が含まれているか等の項目がサイズ条件として存在する。 The size condition is information regarding the size condition of the product. For example, size conditions include items such as whether the size is standardized as “large,” “medium,” or “small,” whether the size is irregular, or whether an item with a non-standard size is included.

品質条件は、生産物の品質条件に関する情報である。例えば表面に傷があるか否か、形が整っているか否か、色合いが揃っているか否か等の項目が品質条件として存在する。 A quality condition is information about the quality condition of a product. For example, there are items such as whether or not the surface is scratched, whether or not the shape is regular, and whether or not the colors are uniform.

在庫点数Nbは、商品として販売可能な生産物の残量である。 The number of items in stock Nb is the remaining amount of products that can be sold as merchandise.

取引ステータスは、販売条件レコード81の販売条件で生産物の取引が成立したか否かを識別する情報である。取引ステータスは、「取引未成立」を示す情報をデフォルトとする。取引が成立すると、取引ステータスは「取引成立済」を示す情報に更新される。 The transaction status is information for identifying whether or not a product transaction has been concluded under the sales conditions of the sales conditions record 81 . The transaction status defaults to information indicating "transaction uncompleted". When the transaction is concluded, the transaction status is updated to information indicating "transaction completed".

生産物の販売を希望する生産者、いわゆる販売者は、その生産物の販売条件に関する情報として、販売者ID、品目、品種、品目画像、販売期間、希望販売価格Pb、サイズ条件、品質条件、在庫点数Nb等を設定する。設定は、販売者端末20を利用して取引支援サーバ10に対して行う方法が考えられる。販売者が所定の用紙に必要事項を記入して取引支援サーバ10の運営企業体に提出することにより、生産物の販売条件に関する情報を設定することも可能である。この場合、運営企業体の担当者が、例えばパーソナルコンピュータを操作して用紙に記入された事項を取引支援サーバ10入力することとなる。 Producers who wish to sell their products, so-called sellers, need to provide information on sales conditions for their products such as seller ID, item, product type, item image, sales period, suggested selling price Pb, size conditions, quality conditions, Set the number of items in stock Nb and the like. A method of setting for the transaction support server 10 using the seller terminal 20 is conceivable. It is also possible for the seller to set the information on the sales conditions of the product by filling in the necessary items on a predetermined form and submitting it to the business entity operating the transaction support server 10 . In this case, the person in charge of the operating company operates a personal computer, for example, and inputs the items entered in the form to the transaction support server 10 .

販売条件の設定を受け付けた取引支援サーバ10は、その設定内容を元に販売条件レコード81を作成し、販売条件データベース80に追加する。販売条件データベース80には、例えば販売品番号の小さい順に販売条件レコード81が蓄積される。そして、販売期間が経過した販売条件レコード81は適宜削除される。このとき、販売条件データベース80に残った販売条件レコード81の販売品番号が一連の番号となるように振り直されてもよい。 The transaction support server 10 that receives the setting of the sales conditions creates a sales conditions record 81 based on the setting contents and adds it to the sales conditions database 80 . In the sales condition database 80, sales condition records 81 are accumulated, for example, in ascending order of product number. Then, the sales condition record 81 whose sales period has passed is appropriately deleted. At this time, the sales product numbers of the sales condition records 81 remaining in the sales condition database 80 may be reassigned so as to be a series of numbers.

[取引支援サーバの構成説明]
図6は、取引支援サーバ10の要部回路構成を示すブロック図である。取引支援サーバ10は、プロセッサ11、メインメモリ12、補助記憶デバイス13、時計部14及び通信インターフェース15を備える。取引支援サーバ10は、プロセッサ11と、メインメモリ12、補助記憶デバイス13、時計部14及び通信インターフェース15とを、システムバス16で接続している。システムバス16は、アドレスバス、データバス等を含む。取引支援サーバ10は、プロセッサ11とメインメモリ12、補助記憶デバイス13、時計部14及び通信インターフェース15とを、システムバス16で接続することによって、コンピュータを構成している。
[Description of the structure of the transaction support server]
FIG. 6 is a block diagram showing the essential circuit configuration of the transaction support server 10. As shown in FIG. The transaction support server 10 has a processor 11 , a main memory 12 , an auxiliary storage device 13 , a clock section 14 and a communication interface 15 . Transaction support server 10 connects processor 11 , main memory 12 , auxiliary storage device 13 , clock section 14 and communication interface 15 via system bus 16 . System bus 16 includes an address bus, a data bus, and the like. Transaction support server 10 constitutes a computer by connecting processor 11 , main memory 12 , auxiliary storage device 13 , clock unit 14 and communication interface 15 via system bus 16 .

プロセッサ11は、上記コンピュータの中枢部分に相当する。プロセッサ11は、オペレーティングシステム又はアプリケーションプログラムに従って、取引支援サーバ10としての各種の機能を実現するべく各部を制御する。プロセッサ11は、例えばCPU(Central Processing Unit)である。 The processor 11 corresponds to the central portion of the computer. The processor 11 controls each part to implement various functions of the transaction support server 10 according to an operating system or application program. The processor 11 is, for example, a CPU (Central Processing Unit).

メインメモリ12は、上記コンピュータの主記憶部分に相当する。メインメモリ12は、不揮発性のメモリ領域及び揮発性のメモリ領域を含む。メインメモリ12は、不揮発性のメモリ領域ではオペレーティングシステム又はアプリケーションプログラムを記憶する。メインメモリ12は、プロセッサ11が各部を制御するための処理を実行する上で必要なデータを揮発性のメモリ領域で記憶する。またメインメモリ12は、揮発性のメモリ領域を、プロセッサ11によってデータが適宜書き換えられるワークエリアとして使用する。不揮発性のメモリ領域は、例えばROM(Read Only Memory)である。揮発性のメモリ領域は、例えばRAM(Random Access Memory)である。 The main memory 12 corresponds to the main memory portion of the computer. Main memory 12 includes a non-volatile memory area and a volatile memory area. The main memory 12 stores an operating system or application programs in a non-volatile memory area. The main memory 12 stores, in a volatile memory area, data necessary for the processor 11 to execute processing for controlling each unit. Also, the main memory 12 uses a volatile memory area as a work area in which data is appropriately rewritten by the processor 11 . The non-volatile memory area is, for example, ROM (Read Only Memory). A volatile memory area is, for example, a RAM (Random Access Memory).

補助記憶デバイス13は、上記コンピュータの補助記憶部分に相当する。補助記憶デバイス13としては、例えばEEPROM(Electric Erasable Programmable Read-Only Memory)、HDD(Hard Disc Drive)又はSSD(Solid State Drive)等の周知の記憶デバイスを単独で、あるいは複数組み合わせて用いられる。補助記憶デバイス13は、プロセッサ11が各種の処理を行う上で使用するデータ、プロセッサ11での処理によって生成されたデータ等を保存する。補助記憶デバイス13は、アプリケーションプログラムを記憶する場合もある。 The auxiliary storage device 13 corresponds to the auxiliary storage portion of the computer. As the auxiliary storage device 13, for example, known storage devices such as EEPROM (Electric Erasable Programmable Read-Only Memory), HDD (Hard Disc Drive) or SSD (Solid State Drive) are used singly or in combination. The auxiliary storage device 13 stores data used when the processor 11 performs various types of processing, data generated by processing in the processor 11, and the like. The auxiliary storage device 13 may also store application programs.

メインメモリ12及び補助記憶デバイス13は、取引支援サーバ10に内蔵された記憶装置である。補助記憶デバイス13は、取引支援サーバ10に外付けされる記憶装置であってもよい。 The main memory 12 and auxiliary storage device 13 are storage devices built into the transaction support server 10 . The auxiliary storage device 13 may be a storage device externally attached to the transaction support server 10 .

メインメモリ12又は補助記憶デバイス13が記憶するアプリケーションプログラムは、後述する制御プログラムを含む。制御プログラムをメインメモリ12又は補助記憶デバイス13にインストールする方法は特に限定されるものではない。リムーバブルな記録媒体に制御プログラムを記録して、あるいはネットワークを介した通信により制御プログラムを配信して、メインメモリ12又は補助記憶デバイス13にインストールすることができる。記録媒体は、CD-ROM、メモリカード等のようにプログラムを記憶でき、かつ装置が読み取り可能であれば、その形態は問わない。 The application programs stored in the main memory 12 or the auxiliary storage device 13 include control programs, which will be described later. The method of installing the control program in the main memory 12 or the auxiliary storage device 13 is not particularly limited. The control program can be recorded on a removable recording medium or distributed via network communication and installed in the main memory 12 or the auxiliary storage device 13 . The recording medium may be of any form, such as a CD-ROM, memory card, etc., as long as it can store the program and is readable by the device.

時計部14は、取引支援サーバ10の時刻情報源として機能する。プロセッサ11は、時計部14によって計時される時刻情報を基に、現在の日付及び時刻を取得する。 The clock unit 14 functions as a time information source for the transaction support server 10 . The processor 11 acquires the current date and time based on the time information kept by the clock unit 14 .

通信インターフェース15は、ネットワーク40を接続する。取引支援サーバ10は、通信インターフェース15を介して、ネットワーク40に接続された販売者端末20又は購入者端末30等とデータ通信を行う。 Communication interface 15 connects network 40 . The transaction support server 10 performs data communication with the seller terminal 20 or the purchaser terminal 30 connected to the network 40 via the communication interface 15 .

かかる構成の取引支援サーバ10は、プロセッサ11が、販売条件取得手段1101、購入条件取得手段1102、決定手段1103、販売者通知手段1104、購入者通知手段1105、購入条件確認手段1106、購入リスト通知手段1107、販売条件確認手段1108、販売リスト通知手段1109及び処理手段1110としての機能を有する。販売条件取得手段1101、購入条件取得手段1102、決定手段1103、販売者通知手段1104、購入者通知手段1105、購入条件確認手段1106、購入リスト通知手段1107、販売条件確認手段1108、販売リスト通知手段1109及び処理手段1110は、上述した制御プログラムによって実現される機能である。 In the transaction support server 10 having such a configuration, the processor 11 includes sales condition acquisition means 1101, purchase condition acquisition means 1102, determination means 1103, seller notification means 1104, purchaser notification means 1105, purchase condition confirmation means 1106, purchase list notification. It has functions as means 1107 , sales condition confirmation means 1108 , sales list notification means 1109 and processing means 1110 . Sales condition acquisition means 1101, purchase condition acquisition means 1102, determination means 1103, seller notification means 1104, purchaser notification means 1105, purchase condition confirmation means 1106, purchase list notification means 1107, sales condition confirmation means 1108, sales list notification means 1109 and processing means 1110 are functions realized by the control program described above.

販売条件取得手段1101は、販売者により設定された商品の販売条件に関する情報、つまりは生産物の販売条件レコード81を販売条件データベース80から取得する機能である。 The sales condition acquisition means 1101 has a function of acquiring information on the sales conditions of the product set by the seller, that is, the sales conditions record 81 of the product from the sales conditions database 80 .

購入条件取得手段1102は、購入者により設定された商品の購入条件に関する情報、つまりは生産物の購入条件レコード71を購入条件データベース70から取得する機能である。 The purchase condition acquisition means 1102 is a function for acquiring information on the purchase condition of the product set by the purchaser, that is, the purchase condition record 71 of the product from the purchase condition database 70 .

決定手段1103は、販売条件取得手段1101により取得した販売条件に関する情報と、購入条件取得手段1102により取得した購入条件に関する情報とを照合して、一致する販売条件と購入条件とを決定する機能である。 The determination means 1103 has a function of comparing the information on the sales conditions acquired by the sales conditions acquisition means 1101 and the information on the purchase conditions acquired by the purchase conditions acquisition means 1102, and determining the matching sales conditions and purchase conditions. be.

販売者通知手段1104は、決定手段1103により購入条件と一致すると決定された販売条件を設定した販売者が使用する販売者端末20に販売可能を通知する機能である。 The seller notification means 1104 is a function of notifying the seller terminal 20 used by the seller who has set the sales conditions determined by the determination means 1103 to match the purchase conditions that the product is available for sale.

購入者通知手段1105は、決定手段1103により販売条件と一致する決定された購入条件を設定した購入者が使用する購入者端末30に購入可能を通知する機能である。 The purchaser notification means 1105 is a function of notifying the purchaser terminal 30 used by the purchaser who has set the purchase conditions determined by the determination means 1103 that match the sales conditions that the purchase is possible.

購入条件確認手段1106は、販売者端末20からの問合せに対し、決定手段1103により当該販売者端末20を使用する販売者が設定した販売条件と一致すると決定された購入条件の有無を確認する機能である。 Purchasing condition confirmation means 1106 confirms the presence or absence of purchase conditions decided by the deciding means 1103 to match the sales conditions set by the seller using the seller terminal 20 in response to an inquiry from the seller terminal 20. is.

購入リスト通知手段1107は、購入条件確認手段1106により購入条件有りが確認されると、その購入条件に係るリストを販売者端末20に通知する機能である。 The purchase list notification means 1107 has a function of notifying the seller terminal 20 of a list related to the purchase conditions when the purchase condition confirmation means 1106 confirms that there are purchase conditions.

販売条件確認手段1108は、購入者端末30からの問合せに対し、決定手段1103により当該購入者端末30を使用する購入者が設定した購入条件と一致すると決定された販売条件の有無を確認する機能である。 In response to an inquiry from the purchaser terminal 30, the sales conditions confirmation means 1108 confirms whether there is a sales condition determined by the determination means 1103 to match the purchase conditions set by the purchaser using the purchaser terminal 30. is.

販売リスト通知手段1109は、販売条件確認手段1108により販売条件有りが確認されると、その販売条件に係るリストを購入者端末30に通知する機能である。 The sales list notifying means 1109 has a function of notifying the purchaser terminal 30 of a list related to the sales conditions when the sales condition confirmation means 1108 confirms that there are sales conditions.

処理手段1110は、リストが通知された販売者端末20において販売許可が入力された購入条件を設定した購入者が使用する購入者端末30から購入希望が入力されている場合、取引成立に係る処理を実行する機能である。また処理手段1110は、リストが通知された購入者端末30において購入希望が入力された販売条件を設定した販売者が使用する販売者端末20から購入許可が入力されている場合、取引成立に係る処理を実行する機能である。さらに処理手段1110は、リストが通知された販売者端末20において販売許可が入力された購入条件を設定した購入者が使用する購入者端末30から購入希望が入力されなかった場合、取引不成立に係る処理を実行する。また、リストが通知された購入者端末30において購入希望が入力された販売条件を設定した販売者が使用する販売者端末20から販売許可が入力されなかった場合、取引不成立に係る処理を実行する。 The processing means 1110 performs processing related to the establishment of a transaction when a purchase request is input from the purchaser terminal 30 used by the purchaser who has set the purchase conditions and the sale permission has been input at the seller terminal 20 notified of the list. It is a function that executes In addition, the processing means 1110, when the purchase request is input at the purchaser terminal 30 to which the list is notified and the purchase permission is input from the seller terminal 20 used by the seller who sets the sales conditions, the transaction is completed. It is a function that executes processing. Further, the processing means 1110 determines that the purchase request is not input from the purchaser terminal 30 used by the purchaser who has set the purchase conditions for which the sale permission is input at the seller terminal 20 notified of the list, and the transaction is not completed. Execute the process. In addition, if the purchaser terminal 30 notified of the list does not input the sale permission from the seller terminal 20 used by the seller who sets the sales conditions in which the purchase request is input, the processing relating to the failure of the transaction is executed. .

取引支援サーバ10は、プロセッサ11が上述した各機能を実現するために、補助記憶デバイス13の記憶領域の一部を一致テーブル131の領域としている。 The transaction support server 10 uses part of the storage area of the auxiliary storage device 13 as the area of the match table 131 so that the processor 11 can implement the functions described above.

図7は、一致テーブル131のデータ構造を示す模式図である。図示するように一致テーブル131は、第1カラムCaから第9カラムCiまでの9つのカラムCa,Cb,Cc,Cd,Ce,Cf,Cg,Ch及びCiを備える。第1カラムCaは、購入品番号の列である。第2カラムCbは、販売品番号の列である。第3カラムCcは、価格条件フラグFaの列である。第4カラムCdは、品種条件フラグFbの列である。第5カラムCeは、サイズ条件フラグFcの列である。第6カラムCfは、品質条件フラグFdの列である。第7カラムCgは、購入者IDの列である。第8カラムChは、販売者IDの列である。第9カラムCiは、取消フラグFeの列である。価格条件フラグFa、品種条件フラグFb、サイズ条件フラグFc、品質条件フラグFd、取消フラグFeについては、後述する動作説明の中で明らかにする。 FIG. 7 is a schematic diagram showing the data structure of the match table 131. As shown in FIG. As shown, the match table 131 comprises nine columns Ca, Cb, Cc, Cd, Ce, Cf, Cg, Ch and Ci from the first column Ca to the ninth column Ci. The first column Ca is a column of purchased product numbers. The second column Cb is a column of product numbers. The third column Cc is a column of price condition flags Fa. A fourth column Cd is a column of product type condition flags Fb. The fifth column Ce is a column of size condition flags Fc. A sixth column Cf is a column of quality condition flags Fd. The seventh column Cg is a column of purchaser IDs. The eighth column Ch is a seller ID column. The ninth column Ci is a row of cancellation flags Fe. Price condition flag Fa, product type condition flag Fb, size condition flag Fc, quality condition flag Fd, and cancellation flag Fe will be clarified in the explanation of the operation described later.

[取引支援サーバの動作説明]
図8乃至図13は、取引支援サーバ10のプロセッサ11が制御プログラムに従って実行する主要な情報処理の手順を示す流れ図である。以下、各図を用いて取引支援サーバ10の主要な動作を説明する。なお、流れ図によって示される情報処理の手順はそれに限定されるものではない。同様な作用効果を得られるのであれば、適宜変更することができる。
[Explanation of the operation of the transaction support server]
8 to 13 are flow charts showing the main information processing procedures executed by the processor 11 of the transaction support server 10 according to the control program. Main operations of the transaction support server 10 will be described below with reference to the drawings. It should be noted that the information processing procedure shown by the flowchart is not limited to this. Any suitable change can be made as long as the same action and effect can be obtained.

プロセッサ11は、時計部14で計時される時刻が設定時刻になると、図8の流れ図に示す手順の情報処理を開始する。なお、設定時刻は1種類に限定されない。複数の時刻を設定時刻として定めてもよい。例えば、午前9時00分から午後9時00分の間の3時間毎というように、限られた時間帯において一定の時間間隔で設定時間を定めてもよい。 When the time clocked by the clock unit 14 reaches the set time, the processor 11 starts information processing according to the procedure shown in the flow chart of FIG. Note that the set time is not limited to one type. A plurality of times may be determined as the set time. For example, the set time may be determined at regular time intervals in a limited time zone, such as every three hours from 9:00 am to 9:00 pm.

プロセッサ11は、ACT1として購入条件データベース70から購入品番号の順に購入条件レコード71を取得する。そしてプロセッサ11は、ACT2として購入条件レコード71の取引ステータスを調べる。取引ステータスが「取引成立済」を示す場合、プロセッサ11は、ACT2においてNOと判定し、ACT18へと進む。 As ACT1, the processor 11 acquires the purchase condition records 71 from the purchase condition database 70 in the order of the purchased product number. Processor 11 then checks the transaction status of purchase condition record 71 as ACT2. If the transaction status indicates "transaction completed", the processor 11 determines NO in ACT2 and proceeds to ACT18.

プロセッサ11は、ACT18として購入条件データベース70に次の購入品番号の購入条件レコード71が存在するか否かを確認する。次の購入品番号の購入条件レコード71が存在する場合、プロセッサ11は、ACT18においてYESと判定し、ACT1へと戻る。すなわちプロセッサ11は、次の購入品番号の購入条件レコード71を取得し、取引ステータスを調べる。そして、取引ステータスが「取引成立済」を示す場合、プロセッサ11は、購入条件データベース70に次の購入品番号の購入条件レコード71が存在するか否かを確認する。 As ACT 18, the processor 11 confirms whether or not the purchase condition record 71 of the next purchase item number exists in the purchase condition database 70. FIG. If there is a purchase condition record 71 for the next purchase item number, the processor 11 determines YES in ACT18 and returns to ACT1. That is, the processor 11 obtains the purchase condition record 71 for the next purchase item number and checks the transaction status. Then, when the transaction status indicates "completed transaction", the processor 11 confirms whether or not the purchase condition record 71 of the next purchased item number exists in the purchase condition database 70. FIG.

このようにプロセッサ11は、取引ステータスが「取引未成立」を示す購入条件レコード71を取得するまで、購入条件データベース70から購入品番号の順に購入条件レコード71を取得する処理を繰り返す。 In this manner, the processor 11 repeats the process of acquiring the purchase condition records 71 from the purchase condition database 70 in the order of the purchased product numbers until the purchase condition records 71 whose transaction status indicates "transaction unsuccessful" are acquired.

プロセッサ11は、取引ステータスが「取引未成立」を示す購入条件レコード71を取得すると、ACT2においてYESと判定し、ACT3へと進む。プロセッサ11は、ACT3として購入条件レコード71の品目をメインメモリ12のワークエリアに記憶する。以下では、取引ステータスが「取引未成立」を示す購入条件レコード71を対象購入条件レコード711と称する。 When the processor 11 acquires the purchase condition record 71 indicating that the transaction status indicates "transaction unsuccessful", the processor 11 determines YES in ACT2, and proceeds to ACT3. The processor 11 stores the item of the purchase condition record 71 in the work area of the main memory 12 as ACT3. In the following, the purchase condition record 71 whose transaction status indicates “transaction unsuccessful” is referred to as a target purchase condition record 711 .

次にプロセッサ11は、ACT4として販売条件データベース80から販売品番号の順に販売条件レコード81を取得する。プロセッサ11は、ACT5として販売条件レコード81の品目がワークエリアの品目、すなわち対象購入条件レコード711の品目と一致するか否かを確認する。 Next, the processor 11 acquires the sales condition record 81 from the sales condition database 80 in the order of the sales product number as ACT4. As ACT5, the processor 11 confirms whether or not the item in the sales condition record 81 matches the item in the work area, that is, the item in the target purchase condition record 711 .

品目が一致しない場合、プロセッサ11は、ACT5においてNOと判定し、ACT6へと進む。プロセッサ11は、ACT6として販売条件データベース80に次の販売品番号の販売条件レコード81が存在するか否かを確認する。次の販売品番号の販売条件レコード81が存在する場合、プロセッサ11は、ACT6においてYESと判定し、ACT4へと戻る。すなわちプロセッサ11は、次の販売品番号の販売条件レコード81を取得し、対象購入条件レコード711と品目が一致するか否かを確認する。品目が一致しない場合、プロセッサ11は、販売条件データベース80に次の販売品番号の販売条件レコード81が存在するか否かを確認する。 If the items do not match, processor 11 determines NO in ACT5 and proceeds to ACT6. As ACT6, the processor 11 confirms whether or not the sales condition record 81 for the next product number exists in the sales conditions database 80 . If the sales condition record 81 for the next sales item number exists, the processor 11 determines YES in ACT6 and returns to ACT4. That is, the processor 11 acquires the sales condition record 81 of the next sales item number and checks whether the target purchase condition record 711 matches the item. If the items do not match, the processor 11 checks whether the terms of sale record 81 for the next sales item number exists in the terms of sale database 80 .

プロセッサ11は、対象購入条件レコード711と品目が一致する販売条件レコード81を取得すると、ACT5においてYESと判定し、ACT7へと進む。プロセッサ11は、ACT7として販売条件レコード81の取引ステータスを調べる。取引ステータスが「取引成立済」を示す場合、プロセッサ11は、ACT7においてNOと判定し、前述したACT6へと進む。 When the processor 11 acquires the sales condition record 81 whose item matches the target purchase condition record 711, it determines YES in ACT5 and proceeds to ACT7. Processor 11 examines the transaction status of sales terms record 81 as ACT7. If the transaction status indicates "transaction completed", the processor 11 determines NO in ACT7 and proceeds to ACT6 described above.

このようにプロセッサ11は、対象購入条件レコード711と品目が一致し、かつ、取引ステータスが「取引成立済」を示す販売条件レコード81を取得するまで、販売条件データベース80から販売品番号の順に販売条件レコード81を取得する処理を繰り返す。 In this way, the processor 11 sequentially sells items from the sales condition database 80 in the order of sales item numbers until it acquires the sales condition record 81 whose item matches the target purchase condition record 711 and whose transaction status indicates "completed transaction". The process of acquiring the condition record 81 is repeated.

プロセッサ11は、対象購入条件レコード711と品目が一致し、かつ、取引ステータスが「取引成立済」を示す販売条件レコード81を取得すると、ACT7においてYESと判定し、ACT8へと進む。プロセッサ11は、ACT8として第1条件照合処理を実行する。以下では、対象購入条件レコード711と品目が一致し、取引ステータスが「取引成立済」を示す販売条件レコード81を対象販売条件レコード811と称する。第1条件照合処理は、対象購入条件レコード711の購入条件と対象販売条件レコード811の販売条件とを照合して、購入条件と販売条件とが一致するか否かを判定する処理である。 When the processor 11 acquires the sales condition record 81 whose item matches the target purchase condition record 711 and whose transaction status indicates "transaction completed", the processor 11 determines YES in ACT7, and proceeds to ACT8. The processor 11 executes the first condition matching process as ACT8. Hereinafter, the sales condition record 81 that matches the item with the target purchase condition record 711 and whose transaction status indicates “transaction completed” is referred to as the target sales condition record 811 . The first condition matching process is a process of comparing the purchase conditions of the target purchase condition record 711 and the sales conditions of the target sale condition record 811 and determining whether or not the purchase conditions match the sales conditions.

図9は、第1条件照合処理の具体的な手順を示す流れ図である。第1条件照合処理に入ると、プロセッサ11は、先ず、ACT21として一致フラグFxを“0”にリセットする。一致フラグFxは、購入条件と販売条件とが一致したか否かを識別するための1ビットデータである。本実施形態において、一致フラグFxは、購入条件と販売条件とが一致した場合には“1”となり、一致しない場合には“0”となる。一致フラグFxは、メインメモリ12の揮発性メモリ領域に設けられている。 FIG. 9 is a flow chart showing a specific procedure of the first condition matching process. When entering the first condition matching process, the processor 11 first resets the match flag Fx to "0" as ACT21. The match flag Fx is 1-bit data for identifying whether or not the purchase conditions and sales conditions match. In this embodiment, the match flag Fx is "1" when the purchase conditions and the sales conditions match, and "0" when they do not match. The match flag Fx is provided in the volatile memory area of the main memory 12 .

ACT21の処理を終えると、プロセッサ11は、ACT22として期間条件が成立するか否かを確認する。対象購入条件レコード711の購入期間と、対象販売条件レコード811の販売期間とが重複する場合、期間条件が成立する。プロセッサ11は、ACT22においてYESと判定し、ACT23へと進む。 After completing the processing of ACT21, the processor 11 confirms whether or not the period condition is satisfied in ACT22. When the purchase period of the target purchase condition record 711 and the sales period of the target sale condition record 811 overlap, the period condition is satisfied. The processor 11 determines YES in ACT22 and proceeds to ACT23.

プロセッサ11は、ACT23として地域条件が成立するか否かを確認する。プロセッサ11は、対象購入条件レコード711の購入者IDが設定された購入者レコード51を購入者データベース50から取得する。またプロセッサ11は、対象販売条件レコード811の販売者IDが設定された販売者レコード61を販売者データベース60から取得する。そしてプロセッサ11は、購入者レコード51の居住地域が販売者レコード61の配送地域に含まれるか否かを確認する。居住地域が配送地域に含まれる場合、地域条件が成立する。プロセッサ11は、ACT23においてYESと判定し、ACT24へと進む。 The processor 11 confirms in ACT23 whether or not the regional condition is established. The processor 11 acquires the purchaser record 51 in which the purchaser ID of the target purchase condition record 711 is set from the purchaser database 50 . The processor 11 also acquires from the seller database 60 the seller record 61 in which the seller ID of the target sales condition record 811 is set. Processor 11 then confirms whether or not the residential area of purchaser record 51 is included in the delivery area of seller record 61 . If the residential area is included in the delivery area, the regional condition is satisfied. The processor 11 determines YES in ACT23 and proceeds to ACT24.

プロセッサ11は、ACT24として数量条件が成立するか否かを確認する。対象購入条件レコード711の希望購入点数Naが、対象販売条件レコード811の在庫点数Nb以下である場合、数量条件が成立する。プロセッサ11は、ACT24においてYESと判定し、ACT25へと進む。 The processor 11 confirms whether or not the quantity condition is satisfied in ACT24. When the desired purchase quantity Na of the target purchase condition record 711 is equal to or less than the inventory quantity Nb of the target sales condition record 811, the quantity condition is satisfied. The processor 11 determines YES in ACT24 and proceeds to ACT25.

プロセッサ11は、ACT25として決済条件が成立するか否かを確認する。対象購入条件レコード711の購入者IDが設定された購入者レコード51の希望決済方法が、対象販売条件レコード811の販売者IDが設定された販売者レコード61の可能決済方法に含まれる場合、決済条件が成立する。プロセッサ11は、ACT25においてYESと判定し、ACT26へと進む。 The processor 11 confirms in ACT25 whether or not the settlement conditions are satisfied. If the desired payment method of the purchaser record 51 set with the purchaser ID of the target purchase condition record 711 is included in the available payment methods of the seller record 61 set with the seller ID of the target sale condition record 811, the payment is made. Condition is met. The processor 11 determines YES in ACT25 and proceeds to ACT26.

プロセッサ11は、ACT26として価格条件フラグFa、品種条件フラグFb、サイズ条件フラグFc及び品質条件フラグFdを全て“0”にリセットする。価格条件フラグFaは、後述する価格条件が成立する場合に“1”にセットされる1ビットデータである。品種条件フラグFbは、後述する品種条件が成立する場合に“1”にセットされる1ビットデータである。サイズ条件フラグFcは、後述するサイズ条件が成立する場合に“1”にセットされる1ビットデータである。品質条件フラグFdは、後述する品質条件が成立する場合に“1”にセットされる1ビットデータである。価格条件フラグFa、品種条件フラグFb、サイズ条件フラグFc及び品質条件フラグFdは、いずれもメインメモリ12の揮発性メモリ領域に設けられている。 As ACT26, the processor 11 resets the price condition flag Fa, the product type condition flag Fb, the size condition flag Fc, and the quality condition flag Fd to "0". The price condition flag Fa is 1-bit data that is set to "1" when a price condition, which will be described later, is satisfied. The product type condition flag Fb is 1-bit data that is set to "1" when the product type condition described later is satisfied. The size condition flag Fc is 1-bit data that is set to "1" when a size condition, which will be described later, is satisfied. The quality condition flag Fd is 1-bit data that is set to "1" when a quality condition, which will be described later, is satisfied. The price condition flag Fa, product type condition flag Fb, size condition flag Fc and quality condition flag Fd are all provided in the volatile memory area of the main memory 12 .

ACT26の処理を終えると、プロセッサ11は、ACT27として第2条件照合処理を実行する。第2条件照合処理は、対象購入条件レコード711の購入条件と対象販売条件レコード811の販売条件とのうち、第1条件照合処理で照合しなかった購入条件と販売条件とをさらに照合して、購入条件と販売条件とが一致するか否かを判定する処理である。 After finishing the processing of ACT26, the processor 11 executes the second condition matching processing as ACT27. In the second condition matching process, among the purchase conditions of the target purchase condition record 711 and the sales conditions of the target sales condition record 811, the purchase conditions and sales conditions that were not matched in the first condition match process are further matched, This is the process of determining whether or not the purchase conditions and sales conditions match.

図10は、第2条件照合処理の具体的な手順を示す流れ図である。プロセッサ11は、第2条件照合処理に入ると、先ず、ACT41として価格条件が成立するか否かを確認する。対象購入条件レコード711の希望購入価格Paが、対象販売条件レコード811の希望販売価格Pb以上である場合、価格条件が成立する。プロセッサ11は、ACT41においてYESと判定し、ACT42へと進む。プロセッサ11は、ACT42として価格条件フラグFaを“1”にセットする。その後、プロセッサ11は、ACT43へと進む。一方、価格条件が成立しない場合には、プロセッサ11は、ACT41においてNOと判定し、ACT43へと進む。すなわち、価格条件フラグFaは“0”にリセットされたままとなる。 FIG. 10 is a flow chart showing a specific procedure of the second condition matching process. When the processor 11 enters the second condition matching process, first, in ACT 41, it confirms whether or not the price condition is satisfied. When the desired purchase price Pa of the target purchase condition record 711 is equal to or higher than the desired sales price Pb of the target sale condition record 811, the price condition is established. The processor 11 determines YES in ACT41 and proceeds to ACT42. The processor 11 sets the price condition flag Fa to "1" as ACT42. Processor 11 then proceeds to ACT 43 . On the other hand, if the price condition is not satisfied, the processor 11 determines NO in ACT41 and proceeds to ACT43. That is, the price condition flag Fa remains reset to "0".

プロセッサ11は、ACT43として品種条件が成立するか否かを確認する。対象購入条件レコード711の品種が、対象販売条件レコード811の品種と一致する場合、品種条件が成立する。プロセッサ11は、ACT43においてYESと判定し、ACT44へと進む。プロセッサ11は、ACT44として品種条件フラグFbを“1”にセットする。その後、プロセッサ11は、ACT45へと進む。一方、品種条件が成立しない場合には、プロセッサ11は、ACT43においてNOと判定し、ACT45へと進む。すなわち、品種条件フラグFbは“0”にリセットされたままとなる。 The processor 11 confirms in ACT 43 whether or not the product type condition is satisfied. When the product type of the target purchase condition record 711 matches the product type of the target sales condition record 811, the product type condition is established. The processor 11 determines YES in ACT43 and proceeds to ACT44. The processor 11 sets the product type condition flag Fb to "1" as ACT44. Processor 11 then proceeds to ACT 45 . On the other hand, if the product type condition is not satisfied, the processor 11 determines NO in ACT43 and proceeds to ACT45. That is, the product type condition flag Fb remains reset to "0".

プロセッサ11は、ACT45としてサイズ条件が成立するか否かを確認する。対象購入条件レコード711のサイズ条件が、対象販売条件レコード811のサイズ条件を満足する場合、サイズ条件が成立する。具体的には、対象購入条件レコード711のサイズ条件が「大」、「中」又は「小」の統一したサイズを希望する場合、対象販売条件レコード811のサイズ条件もそのサイズであればサイズ条件を満足する。しかし、対象販売条件レコード811のサイズ条件が、不揃いである、あるいは規格外の大きさの品が含まれているというような場合には、サイズ条件を満足しない。一方、対象購入条件レコード711のサイズ条件が不揃いでもよいという場合には、対象販売条件レコード811のサイズ条件が、規格外の大きさの品が含まれる場合を除きサイズ条件を満足する。また、対象購入条件レコード711のサイズ条件が、規格外の大きさの品が含まれてもよいという場合には、対象販売条件レコード811のサイズ条件に関わらず全てサイズ条件を満足することとなる。 The processor 11 confirms whether or not the size condition is satisfied in ACT45. When the size condition of the target purchase condition record 711 satisfies the size condition of the target sales condition record 811, the size condition is established. Specifically, if the size condition of the target purchase condition record 711 is a uniform size of “Large”, “Medium” or “Small”, if the size condition of the target sale condition record 811 is also the same size, the size condition satisfy. However, if the size condition of the target sales condition record 811 is irregular or includes non-standard size items, the size condition is not satisfied. On the other hand, if the size conditions of the target purchase condition record 711 may be irregular, the size condition of the target sales condition record 811 satisfies the size condition except for the case where an item with a non-standard size is included. Also, if the size condition of the target purchase condition record 711 indicates that non-standard size products may be included, all size conditions are satisfied regardless of the size condition of the target sale condition record 811. .

サイズ条件が成立すると、プロセッサ11は、ACT45においてYESと判定し、ACT46へと進む。プロセッサ11は、ACT46としてサイズ条件フラグFcを“1”にセットする。その後、プロセッサ11は、ACT47へと進む。一方、サイズ条件が成立しない場合には、プロセッサ11は、ACT45においてNOと判定し、ACT47へと進む。すなわち、サイズ条件フラグFcは“0”にリセットされたままとなる。 If the size condition is satisfied, the processor 11 determines YES in ACT45 and proceeds to ACT46. The processor 11 sets the size condition flag Fc to "1" as ACT46. Processor 11 then proceeds to ACT 47 . On the other hand, if the size condition is not satisfied, the processor 11 determines NO in ACT45 and proceeds to ACT47. That is, the size condition flag Fc remains reset to "0".

プロセッサ11は、ACT47として品質条件が成立するか否かを確認する。対象購入条件レコード711の品質条件が、対象販売条件レコード811の品質条件を満足する場合、品質条件が成立する。具体的には、対象購入条件レコード711の品質条件が、「表面に傷がない」、「形が整っている」、「色合いが揃っている」という場合、対象販売条件レコード811の品質条件も、「表面に傷がない」、「形が整っている」、「色合いが揃っている」という場合に限り品質条件を満足する。対象販売条件レコード811の品質条件として、「表面に傷がある」、「形が整っていない」、「色合いが揃っていない」というのが少なくとも1つある場合には品質条件を満足しない。一方、対象購入条件レコード711の品質条件が「表面に傷があってもよい」という場合、対象販売条件レコード811の品質条件として「表面に傷がある」が含まれていても、他の品質条件が「形は整っている」、「色合いは揃っている」という場合には、品質条件を満足する。「形が整っていない」、または「色合いが揃っていない」という場合には、品質条件を満足しない。品質の形、色合いについても同様である。 The processor 11 confirms in ACT 47 whether or not the quality condition is satisfied. When the quality condition of the target purchase condition record 711 satisfies the quality condition of the target sales condition record 811, the quality condition is satisfied. Specifically, if the quality conditions of the target purchase condition record 711 are "no scratches on the surface", "the shape is in order", and "the color is uniform", the quality conditions of the target sale condition record 811 are also , "There are no scratches on the surface," "The shape is regular," and "The color is uniform." If at least one of the quality conditions of the target sale condition record 811 is ``there is a scratch on the surface'', ``the shape is not uniform'', and ``the color is not consistent'', the quality condition is not satisfied. On the other hand, if the quality condition of the target purchase condition record 711 is "the surface may be scratched", even if the quality condition of the target sales condition record 811 includes "the surface is scratched", other quality The quality condition is satisfied when the condition is "the shape is in order" and "the color is uniform". Quality conditions are not satisfied when "the shape is not uniform" or "the color is not uniform". The same is true for quality shapes and shades.

品質条件が成立すると、プロセッサ11は、ACT47においてYESと判定し、ACT48へと進む。プロセッサ11は、ACT48として品質条件フラグFdを“1”にセットする。その後、プロセッサ11は、第2条件照合処理を抜ける。一方、品質条件が成立しない場合には、プロセッサ11は、ACT47においてNOと判定し、第2条件照合処理を抜ける。すなわち、品質条件フラグFcは“0”にリセットされたままとなる。 If the quality condition is satisfied, the processor 11 determines YES in ACT47 and proceeds to ACT48. The processor 11 sets the quality condition flag Fd to "1" as ACT48. After that, the processor 11 exits the second condition matching process. On the other hand, if the quality condition is not satisfied, the processor 11 determines NO in ACT 47 and exits the second condition matching process. That is, the quality condition flag Fc remains reset to "0".

図9の説明に戻る。
第2条件照合処理を抜けると、プロセッサ11は、ACT28として価格条件フラグFa、品種条件フラグFb、サイズ条件フラグFc及び品質条件フラグFdを調べて、“1”にセットされた条件フラグFn(Fa~Fd)の数kを計数する。プロセッサ11は、ACT29として数kが設定値S以上であるか否かを確認する。
Returning to the description of FIG.
After exiting the second condition matching process, the processor 11 examines the price condition flag Fa, the product type condition flag Fb, the size condition flag Fc and the quality condition flag Fd as ACT 28, and the condition flag Fn (Fa . . Fd) count the number k. The processor 11 confirms whether or not the number k is equal to or greater than the set value S as ACT29.

設定値Sは、“1”~“4”の自然数のうちのいずれかである。第2条件照合処理で照合した価格条件、品種条件、サイズ条件及び品質条件の全てを満足しないと購入条件と販売条件とが一致すると決定しない場合、設定値Sは“4”となる。いずれか3つの条件を満足すれば購入条件と販売条件とが一致すると決定する場合には、設定値Sは“3”となる。いずれか2つの条件を満足すれば購入条件と販売条件とが一致すると決定する場合には、設定値Sは“2”となる。いずれか1つの条件を満足すれば購入条件と販売条件とが一致すると決定する場合には、設定値Sは“1”となる。 The set value S is any natural number from "1" to "4". The set value S becomes "4" when it is not determined that the purchase condition and the sales condition match unless all of the price condition, product type condition, size condition and quality condition collated in the second condition collating process are satisfied. When it is determined that the purchase condition and the sales condition match if any three conditions are satisfied, the set value S becomes "3". When it is determined that the purchase condition and the sales condition match if any two conditions are satisfied, the set value S becomes "2". When it is determined that the purchase condition and the sale condition match if any one of the conditions is satisfied, the set value S becomes "1".

数kが設定値S以上でない場合、プロセッサ11は、ACT29においてNOと判定し、第1条件照合処理を抜ける。数kが設定値S以上である場合には、プロセッサ11は、ACT29においてYESと判定し、ACT30へと進む。プロセッサ11は、ACT30として一致フラグFxを“1”にセットして、第1条件照合処理を抜ける。 If the number k is not equal to or greater than the set value S, the processor 11 determines NO in ACT 29 and exits the first condition matching process. If the number k is greater than or equal to the set value S, the processor 11 determines YES in ACT29 and proceeds to ACT30. The processor 11 sets the match flag Fx to "1" as ACT 30, and exits the first condition matching process.

なお、ACT22において期間条件が成立しない場合、ACT23において地域条件が成立しない場合、ACT24において数量条件が成立しない場合、またはACT25に追い決済条件が成立しない場合には、プロセッサ11は、いずれもNOと判定し、ACT26以降の処理を実行することなく第1条件照合処理を抜ける。 If the period condition is not satisfied in ACT22, if the regional condition is not satisfied in ACT23, if the quantity condition is not satisfied in ACT24, or if the follow-up payment condition is not satisfied in ACT25, the processor 11 will answer NO. Then, the first condition matching process is exited without executing the process after ACT26.

このように、期間条件、地域条件、数量条件及び決済条件が全て成立し、かつ、価格条件、品種条件、サイズ条件及び品質条件については設定値S以上成立する場合には、プロセッサ11は、一致フラグFxを“1”にセットして第1条件照合処理を抜ける。それ以外の場合には、プロセッサ11は、一致フラグFxを“1”にセットすることなく、第1条件照合処理を抜ける。ここに、期間条件、地域条件、数量条件及び決済条件は、販売条件に関する複数項目の情報と購入条件に関する複数項目の情報とを項目毎に照合する際の必須項目である。 In this way, when the period condition, area condition, quantity condition, and settlement condition are all satisfied, and the price condition, product type condition, size condition, and quality condition are satisfied by the set value S or more, the processor 11 The flag Fx is set to "1" and the first condition matching process is exited. Otherwise, the processor 11 leaves the first condition matching process without setting the match flag Fx to "1". Here, term conditions, area conditions, quantity conditions, and settlement conditions are essential items when collating multiple items of information on sales conditions and multiple items of information on purchase conditions for each item.

図8の説明に戻る。
プロセッサ11は、第1条件照合処理を抜けると、ACT9として一致フラグFxを調べる。一致フラグFxが“0”にリセットされている場合、プロセッサ11は、ACT9においてNOと判定し、前述したACT6へと進む。
Returning to the description of FIG.
After exiting the first condition matching process, the processor 11 checks the match flag Fx as ACT9. If the match flag Fx is reset to "0", the processor 11 determines NO in ACT9 and proceeds to ACT6 described above.

一致フラグFxが“1”にセットされていた場合には、プロセッサ11は、ACT9においてYESと判定し、ACT10へと進む。プロセッサ11は、ACT10として一致テーブル131のカラムCaとカラムCbとに、対象購入条件レコード711の購入品番号と対象販売条件レコード811の販売品番号とを記述する。購入品番号と販売品番号とは、カラムCa及びカラムCbの同一行に記述される。またプロセッサ11は、ACT11として一致テーブル131のカラムCc,カラムCd,カラムCe及びカラムCfに、価格条件フラグFa、品種条件フラグFb、サイズ条件フラグFc及び品質条件フラグFdの値を記述する。各フラグFa~Fdの値は、カラムCa及びカラムCbに記述された購入品番号及び販売品番号と同一行に記述される。ACT10及びACT11の処理を終えると、プロセッサ11は、前述したACT6へと進む。 If the match flag Fx is set to "1", the processor 11 determines YES in ACT9 and proceeds to ACT10. The processor 11 writes the purchase item number of the target purchase condition record 711 and the sale item number of the target sale condition record 811 in the column Ca and the column Cb of the match table 131 as ACT10. The purchased item number and the sold item number are described on the same line in column Ca and column Cb. The processor 11 also writes the values of the price condition flag Fa, the product type condition flag Fb, the size condition flag Fc and the quality condition flag Fd in columns Cc, Cd, Ce and Cf of the match table 131 as ACT11. The values of the respective flags Fa to Fd are described on the same line as the purchased item number and the sold item number described in column Ca and column Cb. After completing the processing of ACT10 and ACT11, the processor 11 proceeds to ACT6 described above.

このようにプロセッサ11は、第1条件照合処理を実行し、その第1条件照合処理により決定される一致フラグFxに応じてACT10及びACT11の処理を選択的に実行したならば、ACT6へと進む。プロセッサ11は、販売条件データベース80に次の販売品番号の販売条件レコード81が存在する場合、ACT6からACT4へと戻り、ACT4以降の処理を前述したのと同様に実行する。 In this way, the processor 11 executes the first condition matching process, and after selectively executing the processes of ACT10 and ACT11 according to the match flag Fx determined by the first condition matching process, proceeds to ACT6. . If the sales conditions database 80 contains the sales conditions record 81 for the next sales product number, the processor 11 returns from ACT6 to ACT4, and executes the processes after ACT4 in the same manner as described above.

したがって、対象購入条件レコード711と期間条件、地域条件、数量条件及び決済条件が全て成立し、かつ、価格条件、品種条件、サイズ条件及び品質条件については設定値S以上成立する対象販売条件レコード811が販売条件データベース80から取得される毎に、その対象購入条件レコード711の購入品番号と対象販売条件レコード811の販売品番号とが一致テーブル131の同一行に記述される。また、価格条件、品種条件、サイズ条件及び品質条件の一致又は不一致を示す価格条件フラグFa、品種条件フラグFb、サイズ条件フラグFc及び品質条件フラグFdの値も同一行に記述される。 Therefore, the target purchase condition record 711 and the target sales condition record 811 satisfy all of the period condition, area condition, quantity condition and settlement condition, and satisfy the price condition, product type condition, size condition and quality condition equal to or greater than the set value S. is obtained from the sales condition database 80, the purchased product number of the target purchase condition record 711 and the sales product number of the target sales condition record 811 are described in the same row of the matching table 131. FIG. Values of a price condition flag Fa, a product condition flag Fb, a size condition flag Fc, and a quality condition flag Fd, which indicate whether the price condition, product type condition, size condition, and quality condition match or do not match, are also described on the same line.

こうして、販売条件データベース80に登録されている販売条件レコード81の数だけACT4乃至ACT11の処理を終えると、プロセッサ11は、ACT6においてYESと判定し、ACT12へと進む。プロセッサ11は、ACT12として対象購入条件レコード711の購入条件を満足する販売条件が設定された販売条件レコード81の有無を確認する。一致テーブル131のカラムCaに対象購入条件レコード711の購入品番号が記述されていない場合、購入条件を満足する販売条件が設定された販売条件レコード81は存在しない。プロセッサ11は、ACT12においてNOと判定し、ACT18へと進む。 After completing the processing of ACT4 to ACT11 for the number of sales condition records 81 registered in the sales condition database 80, the processor 11 determines YES in ACT6 and proceeds to ACT12. As ACT12, the processor 11 confirms whether or not there is a sales condition record 81 in which a sales condition satisfying the purchase condition of the target purchase condition record 711 is set. If the purchase item number of the target purchase condition record 711 is not described in the column Ca of the match table 131, there is no sales condition record 81 in which the sales condition that satisfies the purchase condition is set. The processor 11 determines NO in ACT12 and proceeds to ACT18.

これに対し、一致テーブル131のカラムCaに対象購入条件レコード711の購入品番号が記述されている場合には、購入条件を満足する販売条件が設定された販売条件レコード81が存在する。プロセッサ11は、ACT12においてYESと判定し、ACT13と進む。 On the other hand, if the column Ca of the matching table 131 describes the purchase item number of the target purchase condition record 711, there exists a sales condition record 81 in which the sales condition that satisfies the purchase condition is set. The processor 11 determines YES in ACT12 and proceeds to ACT13.

プロセッサ11は、ACT13として対象購入条件レコード711の購入者IDが設定された購入者レコード51を購入者データベース50から取得し、その購入者レコード51から購入者端末アドレスを取得する。そしてプロセッサ11は、ACT14としてその購入者端末アドレスを宛先として、購入者端末30に対して購入可能を通知するための信号、いわゆる購入可能通知信号を送信する。 The processor 11 acquires the purchaser record 51 in which the purchaser ID of the target purchase condition record 711 is set as ACT 13 from the purchaser database 50 and acquires the purchaser terminal address from the purchaser record 51 . Then, the processor 11 transmits a signal for notifying that the purchase is possible to the purchaser terminal 30, that is, a so-called purchase availability notification signal, to the purchaser terminal address as a destination as ACT14.

またプロセッサ11は、ACT15として一致テーブル131のカラムCbにおいて、対象購入条件レコード711の購入品番号と同一行に記述されている販売品番号を取得する。プロセッサ11は、ACT16としてその販売品番号を含む販売条件レコード81の販売者IDが設定された販売者レコード61を販売者データベース60から取得し、その販売者レコード61から販売者端末アドレスを取得する。そしてプロセッサ11は、ACT17としてその販売者端末アドレスを宛先として、販売者端末20に対して販売可能を通知するための信号、いわゆる販売可能通知信号を送信する。 Also, the processor 11 acquires the sales product number described in the same row as the purchase product number of the target purchase condition record 711 in the column Cb of the matching table 131 as ACT15. The processor 11 obtains from the seller database 60 the seller record 61 in which the seller ID of the sales condition record 81 including the sales product number is set as ACT 16, and obtains the seller terminal address from the seller record 61. . Then, the processor 11 transmits a signal for notifying the seller terminal 20 that the product can be sold, that is, a so-called sales availability notification signal, to the seller terminal address as a destination as ACT 17 .

因みに、購入可能通知信号を受信した購入者端末30においては、例えば「購入条件を設定した商品の購入が可能となりました」というメッセージが表示デバイス32に表示される。したがって、購入者端末30のユーザである消費者は、自身が設定した購入条件で生産物の購入が可能となったことを知り得る。同様に、販売可能通知信号を受信した販売者端末20においては、例えば「販売条件を設定した商品の販売が可能となりました」というメッセージが表示デバイス22に表示される。したがって、販売者端末20のユーザである販売者は、自身が設定した販売条件で生産物の販売が可能となったことを知り得る。 By the way, in the purchaser terminal 30 that has received the purchase availability notification signal, for example, a message "The product for which the purchase conditions are set is now available for purchase" is displayed on the display device 32 . Therefore, the consumer who is the user of the purchaser terminal 30 can know that the product can be purchased under the purchase conditions set by the consumer. Similarly, at the seller terminal 20 that has received the sale-possible notification signal, for example, the display device 22 displays a message such as "The product for which the sales conditions have been set is now available for sale." Therefore, the seller, who is the user of the seller terminal 20, can know that the product can be sold under the sales conditions set by him/herself.

ACT13乃至ACT17の処理を終えると、プロセッサ11は、ACT18へと進む。そしてプロセッサ11は、次の購入品番号の購入条件レコード71が存在する場合、ACT18からACT1へと戻る。プロセッサ11は、ACT1以降の処理を前述したのと同様に実行する。 After completing the processing of ACT13 to ACT17, the processor 11 proceeds to ACT18. Then, the processor 11 returns from ACT18 to ACT1 if there is a purchase condition record 71 for the next purchase item number. The processor 11 executes the processing after ACT1 in the same manner as described above.

かくして、購入条件データベース70に登録されている購入条件レコード71の数だけACT1乃至ACT17の処理を終えると、プロセッサ11は、ACT18においてNOと判定し、図8の流れ図に示す手順の情報処理を終了する。 Thus, when the processing of ACT1 to ACT17 is completed for the number of purchase condition records 71 registered in the purchase condition database 70, the processor 11 determines NO in ACT18, and terminates the information processing of the procedure shown in the flow chart of FIG. do.

以上の説明から明らかなように、取引支援サーバ10は、プロセッサ11がACT1の処理を実行することにより、購入条件取得手段1102として機能する。取引支援サーバ10は、プロセッサ11がACT4の処理を実行することにより、販売条件取得手段1101として機能する。取引支援サーバ10は、プロセッサ11がACT8(ACT21~ACT30、ACT41~ACT48)の処理を実行することにより、決定手段1103として機能する。取引支援サーバ10は、プロセッサ11がACT13及びACT14の処理を実行することにより、購入者通知手段1105として機能する。取引支援サーバ10は、プロセッサ11がACT15乃至ACT17の処理を実行することにより、販売者通知手段1104として機能する。 As is clear from the above description, transaction support server 10 functions as purchase condition acquisition means 1102 by processor 11 executing the process of ACT1. The transaction support server 10 functions as the sales condition acquisition means 1101 by the processor 11 executing the process of ACT4. The transaction support server 10 functions as the decision means 1103 by the processor 11 executing the process of ACT8 (ACT21 to ACT30, ACT41 to ACT48). The transaction support server 10 functions as the purchaser notification means 1105 by the processor 11 executing the processes of ACT13 and ACT14. The transaction support server 10 functions as the seller notification means 1104 by the processor 11 executing the processes of ACT15 to ACT17.

購入条件取得手段1102、販売条件取得手段1101及び決定手段1103としての機能を有する取引支援サーバ10は、購入者が購入を希望する生産物を商品として通信販売する販売者のなかから、購入者の購入条件を満足する販売条件を設定した販売者を自動的に検索することができる。詳しくは、取引支援サーバ10は、期間条件、地域条件、数量条件及び決済条件については、購入者の条件を全て満足し、さらに、価格条件、品種条件、サイズ条件、品質条件の4つの条件については、設定値S(1≦S≦4)の数だけ満足する販売者を検索することができる。 The transaction support server 10, which has the functions of purchase condition acquisition means 1102, sales condition acquisition means 1101, and determination means 1103, selects the purchaser's It is possible to automatically search for sellers who have set sales conditions that satisfy purchase conditions. More specifically, the transaction support server 10 satisfies all of the purchaser's conditions regarding the period, area, quantity, and settlement conditions, and also satisfies the four conditions of the price condition, the product type condition, the size condition, and the quality condition. can search for sellers satisfying the set value S (1≤S≤4).

しかも、取引支援サーバ10は、購入者通知手段1105としての機能により、購入条件を満足する商品が通信販売されていることを購入者に通知することができる。したがって購入者は、ECサイトのWebページを閲覧して検索しなくても、購入条件を満足する通信販売の商品に辿り着くことができる。 Moreover, the transaction support server 10 can notify the purchaser that a product that satisfies the purchase conditions is being sold by mail order by functioning as the purchaser notification means 1105 . Therefore, the purchaser can reach the mail-order product that satisfies the purchase conditions without browsing the Web page of the EC site and searching.

また取引支援サーバ10は、販売者通知手段1104としての機能により、生産物を商品として通信販売する販売者に対し、販売条件を満足する購入条件で商品の購入を希望している購入者がいることを通知することができる。したがって販売者は、商品の購入を希望した購入者は販売条件を満足しているので、安心して通信販売することができる。 In addition, the transaction support server 10 functions as a seller notifying means 1104, and there is a purchaser who wishes to purchase the product under a purchase condition that satisfies the sales condition for the seller who sells products by mail order. can be notified. Therefore, the seller can carry out mail-order sales with peace of mind because the buyer who wishes to purchase the product satisfies the sales conditions.

さて、取引支援サーバ10から購入者端末30に届いた通知により、購入条件を満足する商品が通信販売されていることを知った購入者は、商品の品種、サイズ、品質等を確認する。そのため購入者は、購入者端末30の入力デバイス31を操作して、取引支援サーバ10に問合せコマンドを送信する。 Now, the purchaser, who has learned from the notification delivered from the transaction support server 10 to the purchaser terminal 30 that the product satisfying the purchase conditions is being sold by mail order, confirms the kind, size, quality, etc. of the product. Therefore, the purchaser operates the input device 31 of the purchaser terminal 30 to send an inquiry command to the transaction support server 10 .

同様に、取引支援サーバ10から販売者端末20に届いた通知により、商品の購入を希望する購入者が居ることを知った販売者は、購入者の希望購入点数、居住地域等を確認する。そのため販売者は、販売者端末20の入力デバイス21を操作して、取引支援サーバ10に問合せコマンドを送信する。 Similarly, the seller who knows that there is a purchaser who wishes to purchase the product from the notification delivered from the transaction support server 10 to the seller terminal 20 confirms the purchaser's desired purchase quantity, residential area, and the like. Therefore, the seller operates the input device 21 of the seller terminal 20 to send an inquiry command to the transaction support server 10 .

取引支援サーバ10のプロセッサ11は、通信インターフェース15を介して購入者端末30又は販売者端末20からコマンドを受信すると、図11の流れ図に示す手順の情報処理を開始する。プロセッサ11は、ACT51としてそのコマンドが問合せコマンドであるか否かを確認する。問合せコマンドでない場合、プロセッサ11は、ACT51においてNOと判定し、コマンドに応じた他の処理を実行する。 When the processor 11 of the transaction support server 10 receives a command from the purchaser terminal 30 or the seller terminal 20 via the communication interface 15, it starts information processing according to the procedure shown in the flowchart of FIG. The processor 11 confirms in ACT 51 whether or not the command is an inquiry command. If the command is not an inquiry command, the processor 11 determines NO in ACT51 and executes other processing according to the command.

購入者端末30又は販売者端末20から問合せコマンドを受信した場合には、プロセッサ11は、ACT51においてYESと判定し、ACT52へと進む。プロセッサ11は、ACT52として問合せコマンドの送信元が購入者端末30であるのか販売者端末20であるのかを確認する。問合せコマンドの送信元が購入者端末30である場合、問合せコマンドには購入者IDが含まれている。問合せコマンドの送信元が販売者端末20である場合には、問合せコマンドには販売者IDが含まれている。プロセッサ11は、問合せコマンドに含まれるIDによって、問合せコマンドの送信元を識別する。 If the inquiry command is received from the purchaser terminal 30 or the seller terminal 20, the processor 11 determines YES in ACT51 and proceeds to ACT52. The processor 11 confirms in ACT 52 whether the sender of the inquiry command is the purchaser terminal 30 or the seller terminal 20 . When the sender of the inquiry command is the purchaser terminal 30, the inquiry command includes the purchaser ID. When the sender of the inquiry command is the seller terminal 20, the inquiry command includes the seller ID. The processor 11 identifies the sender of the inquiry command by the ID included in the inquiry command.

問合せコマンドの送信元が購入者端末30である場合、プロセッサ11は、ACT52においてYESと判定し、ACT53へと進む。プロセッサ11は、ACT53として購入条件データベース70にアクセスし、問合せコマンドに含まれている購入者IDが設定され、取引ステータスが「取引未成立」の購入条件レコード71から購入品番号を取得する。なお、一人の購入者が複数の生産物の購入条件を設定することは可能である。このため、同一の購入者IDが設定され、取引ステータスが「取引未成立」の購入条件レコード71が購入条件データベース70に複数存在する場合があり得る。その場合には、プロセッサ11は、各購入条件レコード71からそれぞれ購入品番号を取得する。以下では、購入条件レコード71から取得した購入品番号を対象購入品番号と称する。 If the sender of the inquiry command is the purchaser terminal 30, the processor 11 determines YES in ACT52 and proceeds to ACT53. The processor 11 accesses the purchase condition database 70 as ACT 53, and acquires the purchase item number from the purchase condition record 71 in which the purchaser ID included in the inquiry command is set and the transaction status is "transaction uncompleted." Note that it is possible for one purchaser to set purchase conditions for a plurality of products. Therefore, the purchase condition database 70 may have a plurality of purchase condition records 71 with the same purchaser ID set and the transaction status of "unconfirmed". In that case, the processor 11 obtains the purchase item number from each purchase condition record 71 . Hereinafter, the purchase item number obtained from the purchase condition record 71 is referred to as the target purchase item number.

プロセッサ11は、ACT54として対象購入品番号が一致テーブル131のカラムCaに記述されているか否かを確認する。ACT53において複数の対象購入品番号を取得した場合、プロセッサ11は、各々の対象購入品番号について、一致テーブル131のカラムCaに記述されているか否かを確認する。対象購入品番号が一致テーブル131のカラムCaに記述されていない場合、購入者端末30のユーザである購入者が設定した購入条件で購入可能な商品は存在しない。プロセッサ11は、ACT54においてNOと判定し、ACT63へと進む。ACT63の処理については後述する。 The processor 11 confirms whether or not the target purchase product number is described in the column Ca of the matching table 131 as ACT54. When a plurality of target purchase product numbers are obtained in ACT 53 , the processor 11 confirms whether or not each target purchase product number is described in column Ca of match table 131 . If the target purchase product number is not described in column Ca of match table 131, there is no product that can be purchased under the purchase conditions set by the purchaser who is the user of purchaser terminal 30. FIG. The processor 11 determines NO in ACT54 and proceeds to ACT63. The processing of ACT63 will be described later.

対象購入品番号が一致テーブル131のカラムCaに記述されていた場合には、購入者端末30のユーザである購入者が設定した購入条件で購入可能な商品が存在する。因みに、購入条件で購入可能な商品を販売する販売者が複数名いた場合には、同一の対象購入品番号が一致テーブル131のカラムCaに複数記述されている。対象購入品番号がカラムCaに記述されている場合、プロセッサ11は、ACT54においてYESと判定し、ACT55へと進む。プロセッサ11は、ACT55として一致テーブル131の対象購入品番号と同一行のカラムCiに記述されている取消フラグFeをチェックする。ACT54において、一致テーブル131のカラムCaに対象購入品番号が複数記述されている場合には、各々の対象購入品番号と同一行のカラムCiに記述されている取消フラグFeをチェックする。 If the target purchase product number is described in column Ca of match table 131, there is a product that can be purchased under the purchase conditions set by the purchaser who is the user of purchaser terminal 30. FIG. Incidentally, when there are multiple sellers who sell products that can be purchased under the purchase conditions, multiple identical target purchase product numbers are described in the column Ca of the matching table 131 . If the target purchase item number is described in column Ca, the processor 11 determines YES in ACT54 and proceeds to ACT55. As ACT 55, the processor 11 checks the cancellation flag Fe described in the column Ci on the same line as the target purchase product number in the match table 131. FIG. In ACT 54, when a plurality of target purchase product numbers are described in column Ca of match table 131, cancel flag Fe described in column Ci on the same line as each target purchase product number is checked.

取消フラグFeは、同一行のデータを取り消すか否かを識別するための1ビットデータであり、取り消さない場合には“0”、取り消す場合には“1”となる。チェック対象の取消フラグFeが全て“1”の場合、プロセッサ11は、ACT55においてNOと判定し、ACT63へと進む。 The cancel flag Fe is 1-bit data for identifying whether or not to cancel the data in the same row, and is "0" if not canceled, and "1" if canceled. If all of the cancellation flags Fe to be checked are "1", the processor 11 determines NO in ACT55 and proceeds to ACT63.

少なくとも1つの取消フラグFeが“0”の場合には、プロセッサ11は、ACT55においてYESと判定し、ACT56へと進む。プロセッサ11は、ACT56として一致テーブル131から取消フラグFeが“0”の対象購入品番号と同一行のカラムCbに記述されている販売品番号を取得する。取消フラグFeが“0”の対象購入品番号が複数ある場合には、各対象購入品番号と同一行のカラムCbに記述されている販売品番号をそれぞれ取得する。以下では、一致テーブル131から取得した販売品番号、つまりは対象購入品番号と対応する販売品番号を対応販売品番号と称する。 If at least one cancel flag Fe is "0", the processor 11 determines YES in ACT55 and proceeds to ACT56. As ACT 56, the processor 11 acquires from the match table 131 the sales product number described in the column Cb of the same row as the target purchased product number with the cancellation flag Fe of "0". If there are a plurality of target purchase item numbers with the cancellation flag Fe of "0", the sales item number described in column Cb on the same line as each target purchase item number is obtained. Hereinafter, the sales product number obtained from the match table 131, that is, the sales product number corresponding to the target purchased product number will be referred to as the corresponding sales product number.

対応販売品番号を取得したならば、プロセッサ11は、ACT57としてその対応販売品番号に対応した購入品番号を基に購入者処理を実行する。なお、ACT56において、対応販売品番号を複数取得した場合には、プロセッサ11は、その対応販売品番号に対応した購入品番号を確認する。そして購入品番号が1種類の場合には、プロセッサ11は、その購入品番号を基に購入者処理を実行する。購入品番号が複数種類の場合には、プロセッサ11は、購入品番号の種類毎に購入者処理を実行する。購入者処理については後述する。 After obtaining the corresponding sales product number, the processor 11 executes purchaser processing as ACT 57 based on the purchased product number corresponding to the corresponding sales product number. In ACT 56, when a plurality of corresponding sales product numbers are acquired, the processor 11 confirms the purchased product number corresponding to the corresponding sales product number. If there is only one purchase item number, the processor 11 executes purchaser processing based on the purchase item number. If there are multiple types of purchased item numbers, the processor 11 executes purchaser processing for each type of purchased item number. Purchaser processing will be described later.

一方、問合せコマンドの送信元が販売者端末20である場合には、プロセッサ11は、ACT52においてNOと判定し、ACT58へと進む。プロセッサ11は、ACT58として販売条件データベース80にアクセスし、問合せコマンドに含まれる販売者IDが設定され、取引ステータスが「取引未成立」の販売条件レコード81から販売品番号を取得する。なお、一人の販売者が複数の生産物の販売条件を設定することは可能である。このため、同一の販売者IDが設定され、取引ステータスが「取引未成立」の販売条件レコード81が販売条件データベース80に複数存在する場合があり得る。その場合には、プロセッサ11は、各販売条件レコード81からそれぞれ販売品番号を取得する。以下では、販売条件レコード81から取得した販売品番号を対象販売品番号と称する。 On the other hand, if the sender of the inquiry command is the seller terminal 20, the processor 11 determines NO in ACT52 and proceeds to ACT58. The processor 11 accesses the sales condition database 80 as ACT 58, and acquires the sales product number from the sales condition record 81 in which the seller ID included in the inquiry command is set and the transaction status is "unconfirmed". It should be noted that it is possible for one seller to set sales conditions for a plurality of products. For this reason, there may be a case where the sales condition database 80 has a plurality of sales condition records 81 with the same seller ID set and the transaction status of "transaction uncompleted". In that case, the processor 11 acquires the sales product number from each sales condition record 81 respectively. Hereinafter, the sales product number obtained from the sales condition record 81 is referred to as the target sales product number.

プロセッサ11は、ACT59として対象販売品番号が一致テーブル131のカラムCbに記述されているか否かを確認する。ACT58において複数の対象販売品番号を取得した場合、プロセッサ11は、各々の対象販売品番号について、一致テーブル131のカラムCbに記述されているか否かを確認する。対象販売品番号が一致テーブル131のカラムCbに記述されていない場合、販売者端末20のユーザである販売者が設定した販売条件を満足する購入条件の購買者は存在しない。プロセッサ11は、ACT59においてNOと判定し、ACT63へと進む。 The processor 11 confirms whether or not the target product number is described in the column Cb of the matching table 131 as ACT59. When a plurality of target product numbers are obtained in ACT 58 , the processor 11 confirms whether or not each target product number is described in the column Cb of the matching table 131 . If the target sales product number is not described in column Cb of the match table 131, there is no purchaser who satisfies the sales conditions set by the seller who is the user of the seller terminal 20. FIG. The processor 11 determines NO in ACT59 and proceeds to ACT63.

対象販売品番号が一致テーブル131のカラムCbに記述されていた場合には、販売者端末20のユーザである販売者が設定した販売条件を満足する購入条件の購買者が存在する。因みに、販売条件を満足する購入条件の購買者が複数名いた場合には、同一の対象販売品番号が一致テーブル131のカラムCbに複数記述されている。対象販売品番号がカラムCbに記述されている場合、プロセッサ11は、ACT59においてYESと判定し、ACT60へと進む。プロセッサ11は、ACT60として一致テーブル131の対象販売品番号と同一行のカラムCiに記述されている取消フラグFeをチェックする。ACT59において、一致テーブル131のカラムCbに対象販売品番号が複数記述されている場合には、各々の対象購入品番号と同一行のカラムCiに記述されている取消フラグFeをチェックする。チェック対象の取消フラグFeが全て“1”の場合、プロセッサ11は、ACT60においてNOと判定し、ACT63へと進む。 If the target sale item number is described in column Cb of the match table 131, there is a purchaser who satisfies the sale conditions set by the seller who is the user of the seller terminal 20. FIG. By the way, if there are multiple purchasers who satisfy the sales conditions, the same target product number is described in column Cb of the match table 131 . If the target product number is described in column Cb, the processor 11 determines YES in ACT59 and proceeds to ACT60. As ACT 60 , processor 11 checks cancellation flag Fe described in column Ci on the same line as the target product number in match table 131 . In ACT 59, when a plurality of target sales product numbers are described in column Cb of the match table 131, the cancellation flag Fe described in column Ci on the same line as each target purchase product number is checked. If all of the cancellation flags Fe to be checked are "1", the processor 11 determines NO in ACT60 and proceeds to ACT63.

少なくとも1つの取消フラグFeが“0”の場合には、プロセッサ11は、ACT60においてYESと判定し、ACT61へと進む。プロセッサ11は、ACT61として一致テーブル131から取消フラグFeが“0”の対象販売品番号と同一行のカラムCaに記述されている購入品番号を取得する。取消フラグFeが“0”の対象販売品番号が複数ある場合には、各対象販売品番号と同一行のカラムCbに記述されている購入品番号をそれぞれ取得する。以下では、一致テーブル131から取得した購入品番号、つまりは対象販売品番号と対応する購入品番号を対応購入品番号と称する。 If at least one cancel flag Fe is "0", the processor 11 determines YES in ACT60 and proceeds to ACT61. As ACT 61, the processor 11 acquires from the match table 131 the purchased product number described in the column Ca of the same row as the target sales product number with the cancellation flag Fe of "0". If there are a plurality of target sales product numbers with the cancellation flag Fe of "0", the purchase product number described in column Cb on the same line as each target sales product number is obtained. Hereinafter, the purchased product number acquired from the match table 131, that is, the purchased product number corresponding to the target sales product number will be referred to as the corresponding purchased product number.

対応購入品番号を取得したならば、プロセッサ11は、ACT62としてその対応購入品番号に対応した販売品番号を基に販売者処理を実行する。なお、ACT61において、対応購入品番号を複数取得した場合には、プロセッサ11は、その対応購入品番号に対応した販売品番号を確認する。そして販売品番号が1種類の場合には、プロセッサ11は、その販売品番号を基に販売者処理を実行する。販売品番号が複数種類の場合には、プロセッサ11は、販売品番号の種類毎に販売者処理を実行する。販売者処理については後述する。 After obtaining the corresponding purchase item number, the processor 11 performs seller processing as ACT 62 based on the sales item number corresponding to the corresponding purchase item number. In ACT 61, when a plurality of corresponding purchase item numbers are acquired, the processor 11 confirms the sales item number corresponding to the corresponding purchase item number. If there is only one product number, the processor 11 executes seller processing based on the product number. If there are multiple types of product numbers, the processor 11 executes seller processing for each type of product number. Seller processing will be described later.

ここで、ACT63の処理について説明する。
問合せコマンドの送信元が購入者端末30である場合において、ACT63の処理へと移行した場合、すなわちACT54又はACT55においてNOと判定した場合には、プロセッサ11は、問合せコマンドの送信元である購入者端末30に対し、一致なしを応答するための応答信号を出力する。応答信号は、通信インターフェース15からネットワーク40を介して購入者端末30へと送信される。応答信号を受信した購入者端末30においては、例えば、購入条件を満足する商品が通信販売されていないことを通知するメッセージが表示デバイス32に表示される。
Here, the processing of ACT63 will be described.
In the case where the sender of the inquiry command is the purchaser terminal 30, if the process proceeds to ACT 63, that is, if NO is determined in ACT 54 or ACT 55, the processor 11 sends the inquiry command to the purchaser who is the sender of the inquiry command. A response signal is output to the terminal 30 to respond that there is no match. The response signal is transmitted from communication interface 15 to purchaser terminal 30 via network 40 . At the purchaser terminal 30 that has received the response signal, for example, a message is displayed on the display device 32 notifying that the product that satisfies the purchase conditions is not being sold by mail order.

一方、問合せコマンドの送信元が販売者端末20である場合において、ACT63の処理へと移行した場合、すなわちACT59又はACT60においてNOと判定した場合には、プロセッサ11は、問合せコマンドの送信元である販売者端末20に対し、一致なしを応答するための応答信号を出力する。応答信号は、通信インターフェース15からネットワーク40を介して販売者端末20へと送信される。応答信号を受信した販売者端末20においては、例えば、販売条件を満足する購入条件で商品の購入を希望している消費者がいないことを通知するメッセージが表示デバイス22に表示される。
プロセッサ11は、ACT63の処理を終えると、図11に流れ図に示す手順の情報処理を終了する。
On the other hand, if the sender of the inquiry command is the seller terminal 20 and the process proceeds to ACT 63, that is, if NO is determined in ACT 59 or ACT 60, the processor 11 is the sender of the inquiry command. A response signal is output to the seller terminal 20 to respond that there is no match. The response signal is transmitted from communication interface 15 to seller terminal 20 via network 40 . At the seller terminal 20 that has received the response signal, for example, a message is displayed on the display device 22 notifying that there is no consumer who wishes to purchase the product under the purchase conditions that satisfy the sales conditions.
After finishing the processing of ACT 63, the processor 11 ends the information processing of the procedure shown in the flow chart of FIG.

次に、購入者処理の手順について説明する。
図12は、購入者処理の具体的な手順を示す流れ図である。購入者処理に入ると、プロセッサ11は、ACT71として販売リストを作成する。そしてプロセッサ11は、ACT72として販売リストのデータを、問合せコマンド送信元の購入者端末30へと出力する。これにより、販売リストのデータは、通信インターフェース15からネットワーク40を介して購入者端末30へと送信される。そして、表示デバイス32に販売リストが表示される。
Next, the procedure of purchaser processing will be described.
FIG. 12 is a flowchart showing a specific procedure of purchaser processing. Upon entering purchaser processing, processor 11 creates a sales list as ACT71. Then, the processor 11 outputs the data of the sales list as ACT72 to the purchaser terminal 30 that sent the inquiry command. As a result, the sales list data is transmitted from the communication interface 15 to the purchaser terminal 30 via the network 40 . Then, the sales list is displayed on the display device 32 .

販売リストは、ACT56の処理で取得した対応販売品番号の販売条件で販売される商品の情報を表示したものである。具体的には、対応販売品番号を含む販売条件レコード81の販売品番号、品目、品種、画像、販売期間、希望販売価格、サイズ条件、品質条件等が販売リストに表示される。また、当該販売条件レコード81の販売者IDが設定された販売者レコード61の氏名及び可能決済方法等も販売リストに表示される。さらに販売リストには、一致テーブル131の対応販売品番号と同一行のカラムCcに記述されている価格条件フラグFaが“0”の場合には、価格条件が成立していないことを購入者に通知するメッセージが表示される。一致テーブル131の対象販売品番号と同一行のカラムCdに記述されている品種条件フラグFbが“0”の場合には、品種条件が成立していないことを購入者に通知するメッセージが表示される。一致テーブル131の対象販売品番号と同一行のカラムCdに記述されているサイズ条件フラグFcが“0”の場合には、サイズ条件が成立していないことを購入者に通知するメッセージが表示される。一致テーブル131の対象販売品番号と同一行のカラムCeに記述されている品質条件フラグFdが“0”の場合には、品質条件が成立していないことを購入者に通知するメッセージが販売リストに表示される。 The sales list displays information on products sold under the sales conditions of the corresponding sales product number acquired in the processing of ACT56. Specifically, the sales item number, item, product type, image, sales period, suggested sales price, size condition, quality condition, etc. of the sales conditions record 81 including the corresponding sales product number are displayed in the sales list. In addition, the name of the seller record 61 to which the seller ID of the sales condition record 81 is set, the possible settlement method, and the like are also displayed in the sales list. Further, in the sales list, if the price condition flag Fa described in the column Cc of the same row as the corresponding sales item number in the match table 131 is "0", the purchaser is notified that the price condition is not established. A notification message is displayed. If the product type condition flag Fb described in column Cd in the same row as the target sales product number of match table 131 is "0", a message is displayed to notify the purchaser that the product type condition is not satisfied. be. If the size condition flag Fc described in column Cd in the same row as the target sales product number in match table 131 is "0", a message is displayed to notify the purchaser that the size condition is not satisfied. be. If the quality condition flag Fd described in column Ce in the same row as the target sales product number in match table 131 is "0", a message notifying the purchaser that the quality condition is not satisfied is displayed in the sales list. to be displayed.

なお、ACT56において、1つの対象購入品番号に対して複数の対応販売品番号が取得された場合には、各対応販売品番号の販売条件でそれぞれ販売される商品の情報が1つの販売リストに表示される。一方、対応販売品番号に対応する対象購入品番号が複数種類存在する場合には、対象購入品番号の種類毎に販売リストが表示される。すなわち販売リストは、対象購入品番号と対応付けられている。 In ACT 56, when a plurality of corresponding sales product numbers are acquired for one target purchase product number, information on products sold under the sales conditions of each corresponding sales product number is stored in one sales list. Is displayed. On the other hand, if there are multiple types of target purchase item numbers corresponding to the corresponding sales item number, a sales list is displayed for each type of target purchase item number. That is, the sales list is associated with the target purchase product number.

販売リストを確認した購入者は、その販売リストの情報を基に購入を希望する商品を決める。例えば、価格条件、品種条件、サイズ条件及び品質条件が全て満足する場合には、その商品を購入希望として決定する。例えば価格条件は購入条件よりも高いが許容できる場合には、その商品を購入希望として決定する。品種条件、サイズ条件、品質条件についても同様である。 After confirming the sales list, the purchaser decides which product he/she wishes to purchase based on the information on the sales list. For example, when the price condition, product type condition, size condition and quality condition are all satisfied, the product is determined as a purchase request. For example, if the price condition is higher than the purchase condition but is permissible, the product is determined as the desired purchase. The same applies to the product type condition, size condition, and quality condition.

購入者は、購入者端末30の入力デバイス31を操作して、購入を希望する商品の販売品番号を選択する。販売品番号が選択されると、購入有りの応答信号が購入者端末30から取引支援サーバ10へと送信される。この応答信号には、選択された販売品番号と、当該販売者番号を表示する販売リストに対応付けられた購入品番号とを含む。なお、購入を希望する商品がない場合には、購入者は、購入しない旨を選択する。購入しない旨が選択された場合には、購入無しの応答信号が購入者端末30から取引支援サーバ10へと送信される。 The purchaser operates the input device 31 of the purchaser terminal 30 to select the product number of the product that the purchaser wishes to purchase. When the sales product number is selected, a response signal indicating that the product has been purchased is transmitted from the purchaser terminal 30 to the transaction support server 10 . This response signal includes the selected sale item number and the purchase item number associated with the sales list displaying the seller number. It should be noted that if there is no product that the purchaser wishes to purchase, the purchaser selects not to purchase. If no purchase is selected, a no-purchase response signal is transmitted from the purchaser terminal 30 to the transaction support server 10 .

プロセッサ11は、ACT73として販売リストの出力先である購入者端末30からの応答信号を待ち受ける。応答信号があると、プロセッサ11は、ACT73においてYESと判定し、ACT74へと進む。プロセッサ11は、ACT74として購入有りの応答信号であるか購入無しの応答信号であるかを確認する。購入無しの応答信号である場合、プロセッサ11は、ACT74においてNOと判定し、購入者処理を抜ける。 As ACT73, the processor 11 waits for a response signal from the purchaser terminal 30, which is the output destination of the sales list. If there is a response signal, processor 11 determines YES in ACT73 and proceeds to ACT74. The processor 11 confirms whether the ACT 74 is a response signal with purchase or a response signal with no purchase. If the response signal indicates no purchase, the processor 11 determines NO in ACT 74 and ends the purchaser processing.

購入有りの応答信号である場合には、プロセッサ11は、ACT74においてYESと判定し、ACT75へと進む。プロセッサ11は、ACT75として応答信号に含まれる販売品番号と購入品番号とが同一行に記述されている一致テーブル131のカラムChに販売者IDが記述されているか否かを確認する。 If the response signal indicates that there is a purchase, the processor 11 determines YES in ACT74 and proceeds to ACT75. As ACT 75, the processor 11 confirms whether or not the seller ID is described in the column Ch of the match table 131 where the sales item number and the purchase item number included in the response signal are described on the same line.

カラムChに販売者IDが記述されていない場合、販売品番号の販売条件を設定した販売者から購入の許可が得られていない。プロセッサ11は、ACT75においてNOと判定し、ACT76へと進む。プロセッサ11は、ACT76として応答信号に含まれる販売品番号と購入品番号とが同一行に記述されている一致テーブル131のカラムCgに、購入品番号を含む購入条件レコード71の購入者IDを記述する。そしてプロセッサ11は、購入者処理を終了する。このように、カラムCgには、販売品番号の販売条件で販売される商品の購入を希望する購入者の購入者IDが記述される。 If the seller ID is not described in column Ch, the seller who has set the sales conditions for the product number has not given permission to purchase. The processor 11 determines NO in ACT75 and proceeds to ACT76. The processor 11 writes the purchaser ID of the purchase condition record 71 including the purchase item number in the column Cg of the match table 131 where the sale item number and the purchase item number included in the response signal are described in the same row as ACT76. do. Processor 11 then terminates the purchaser processing. In this way, the column Cg describes the purchaser ID of the purchaser who wishes to purchase the product sold under the sales conditions of the product number.

カラムChに販売者IDが記述されている場合には、販売品番号の販売条件を設定した販売者から購入の許可が入力されている。プロセッサ11は、ACT75においてYESと判定し、ACT77へと進む。プロセッサ11は、ACT77として応答信号に含まれる販売品番号が設定された販売条件レコード81と、同じく応答信号に含まれる購入品番号が設定された購入条件レコード71の取引ステータスを、いずれも「取引成立済」に更新する。以下では、応答信号に含まれる販売品番号が設定された販売条件レコード81を成立販売条件レコード812と称する。また、応答信号に含まれる購入品番号が設定された購入条件レコード71を成立購入条件レコード712と称する。 When the seller ID is described in the column Ch, the purchase permission is input from the seller who has set the sales conditions for the product number. The processor 11 determines YES in ACT75 and proceeds to ACT77. The processor 11 sets the transaction status of the sales condition record 81 in which the sale item number included in the response signal as ACT 77 and the purchase condition record 71 in which the purchase item number also included in the response signal is set to "transaction Update to "Established". Hereinafter, the sales condition record 81 in which the sales item number included in the response signal is set is referred to as the established sales condition record 812 . Also, the purchase condition record 71 in which the purchase item number included in the response signal is set is referred to as the satisfied purchase condition record 712 .

プロセッサ11は、ACT78として成立購入条件レコード712の購入者IDが設定された購入者レコード51から購入者端末アドレスを取得する。そしてプロセッサ11は、その購入者端末アドレスを宛先として、購入者端末30に対して取引成立を通知するための信号、いわゆる取引成立通知信号を送信する。 The processor 11 acquires the purchaser terminal address from the purchaser record 51 in which the purchaser ID of the satisfied purchase condition record 712 is set as ACT78. Then, the processor 11 transmits a signal for notifying the completion of the transaction to the purchaser terminal 30 with the purchaser terminal address as the destination, a so-called transaction completion notification signal.

またプロセッサ11は、ACT79として成立販売条件レコード812の販売者IDが設定された販売者レコード61から販売者端末アドレスを取得する。そしてプロセッサ11は、その販売者端末アドレスを宛先として、販売者端末20に対して取引成立を通知するための信号、いわゆる取引成立通知信号を送信する。 The processor 11 also acquires the seller terminal address from the seller record 61 in which the seller ID of the established sales condition record 812 is set as ACT79. Then, the processor 11 transmits a signal for notifying the completion of the transaction to the seller terminal 20 using the seller terminal address as a destination, a so-called transaction completion notification signal.

さらにプロセッサ11は、ACT80として成立販売条件レコード812の在庫点数を、成立購入条件レコード712の希望購入点数を減じた値に更新する。 Further, the processor 11 updates the number of stock items in the satisfied sales condition record 812 to a value obtained by subtracting the desired purchase number in the satisfied purchase condition record 712 as ACT80.

因みに、取引成立通知信号を受信した購入者端末30においては、例えば「購入条件を設定した商品の取引が成立しました」というメッセージが表示デバイス32に表示される。そこで、購入者端末30のユーザである購入者は、所定の決済方法で代金を支払う。決済方法は、成立販売条件レコード812の販売者IDが設定された販売者レコード61の可能決済方法の1つである。同様に、取引成立通知信号を受信した販売者端末20においては、例えば「販売条件を設定した商品の取引が成立しました」というメッセージが表示デバイス22に表示される。そこで、販売者端末20のユーザである販売者は、宅配などを利用して商品の配送手続きを行う。 By the way, in the purchaser terminal 30 that has received the transaction successful notification signal, for example, a message "the transaction of the product for which the purchase conditions have been set has been completed" is displayed on the display device 32. FIG. Therefore, the purchaser who is the user of the purchaser terminal 30 pays the price by a predetermined settlement method. The settlement method is one of the possible settlement methods of the seller record 61 in which the seller ID of the established sales condition record 812 is set. Similarly, when the seller terminal 20 receives the signal indicating that the transaction has been completed, the display device 22 displays a message such as "The transaction for the product for which the sales conditions have been set has been completed." Therefore, the seller, who is the user of the seller terminal 20, uses home delivery or the like to carry out product delivery procedures.

ACT80の処理を終えると、プロセッサ11は、ACT81として一致テーブル131の応答信号に含まれる購入品番号と同一行のカラムCiに記述されている取消フラグFeを“1”にセットする。次いでプロセッサ11は、ACT82として一致テーブル131の応答信号に含まれる購入品番号と同一行のカラムChに、ACT75において確認した販売者ID以外の他の販売者IDが記述されているか否かを確認する。他の販売者IDが記述されていない場合、プロセッサ11は、ACT82においてNOと判定し、購入者処理を抜ける。 After completing the processing of ACT80, the processor 11 sets to "1" the cancellation flag Fe described in the column Ci on the same line as the purchased item number included in the response signal of the match table 131 as ACT81. Next, the processor 11 checks in ACT82 whether or not another seller ID other than the seller ID confirmed in ACT75 is described in the column Ch on the same line as the purchased product number included in the response signal of the matching table 131. do. If no other seller ID is described, the processor 11 determines NO in ACT82 and exits the purchaser processing.

他の販売者IDが記述されている場合には、プロセッサ11は、ACT82においてYESと判定し、ACT83へと進む。プロセッサ11は、ACT83として他の販売者IDが設定された販売者レコード61を販売者データベース60から取得し、その販売者レコード61から販売者端末アドレスを取得する。そしてプロセッサ11は、その販売者端末アドレスを宛先として、販売者端末20に対して取引不成立を通知するための信号、いわゆる不成立通知信号を送信する。以上で、プロセッサ11は、購入者処理を抜ける。 If another seller ID is described, processor 11 determines YES in ACT82 and proceeds to ACT83. Processor 11 acquires seller record 61 in which another seller ID is set as ACT 83 from seller database 60 and acquires the seller terminal address from seller record 61 . Then, the processor 11 transmits a signal for notifying that the transaction is unsuccessful, that is, a so-called failure notification signal, to the seller terminal 20 with the seller terminal address as the destination. After that, the processor 11 leaves the purchaser processing.

因みに、不成立通知信号を受信した販売者端末20においては、例えば「購入を許可した購入者との取引が不成立となりました」というメッセージが表示デバイス22に表示される。 By the way, in the seller terminal 20 that has received the failure notification signal, for example, the display device 22 displays a message "The transaction with the purchaser who was permitted to purchase has not been completed."

次に、販売者処理の手順について説明する。
図13は、販売者処理の具体的な手順を示す流れ図である。販売者処理に入ると、プロセッサ11は、ACT91として購入リストを作成する。そしてプロセッサ11は、ACT92として購入リストのデータを、問合せコマンド送信元の販売者端末20へと出力する。これにより、購入リストのデータは、通信インターフェース15からネットワーク40を介して販売者端末20へと送信される。そして、表示デバイス22に購入リストが表示される。
Next, a procedure for seller processing will be described.
FIG. 13 is a flow chart showing a specific procedure of seller processing. Upon entering seller processing, processor 11 creates a purchase list as ACT 91 . The processor 11 then outputs the data of the purchase list as ACT 92 to the seller terminal 20 that sent the inquiry command. As a result, the purchase list data is transmitted from the communication interface 15 to the seller terminal 20 via the network 40 . Then, the purchase list is displayed on the display device 22 .

購入リストは、ACT61の処理で取得した対応購入品番号の購入条件を設定した購入者の情報を表示したものである。具体的には、対応購入品番号を含む購入条件レコード71の購入品番号、及び希望購入点数Naと、当該購入条件レコード71の購入者IDが設定された購入者レコード51の氏名、居住地域及び希望決済方法等が購入リストに表示される。さらに購入リストには、一致テーブル131の対応購入品番号と同一行のカラムCcに記述されている価格条件フラグFaが“0”の場合には、価格条件が成立していないことを販売者に通知するメッセージが表示される。一致テーブル131の対象購入品番号と同一行のカラムCdに記述されている品種条件フラグFbが“0”の場合には、品種条件が成立していないことを販売者に通知するメッセージが表示される。一致テーブル131の対象購入品番号と同一行のカラムCdに記述されているサイズ条件フラグFcが“0”の場合には、サイズ条件が成立していないことを販売者に通知するメッセージが表示される。一致テーブル131の対象購入品番号と同一行のカラムCeに記述されている品質条件フラグFdが“0”の場合には、品質条件が成立していないことを販売者に通知するメッセージが販売リストに表示される。 The purchase list displays the information of the purchaser who set the purchase conditions for the corresponding purchase product number acquired in the processing of ACT61. Specifically, the purchase item number of the purchase condition record 71 including the corresponding purchase item number, the desired purchase item number Na, and the name, residential area, and address of the purchaser record 51 in which the purchaser ID of the purchase condition record 71 is set. The desired payment method is displayed in the purchase list. Further, in the purchase list, if the price condition flag Fa described in the column Cc of the same row as the corresponding purchase item number in the match table 131 is "0", the seller is notified that the price condition is not established. A notification message is displayed. If the product type condition flag Fb described in column Cd in the same row as the target purchase product number in match table 131 is "0", a message is displayed to notify the seller that the product type condition is not satisfied. be. If the size condition flag Fc described in column Cd in the same row as the target purchase item number in match table 131 is "0", a message is displayed to notify the seller that the size condition is not satisfied. be. When the quality condition flag Fd described in the column Ce of the same row as the target purchase product number in the matching table 131 is "0", a message notifying the seller that the quality condition is not satisfied is displayed in the sales list. to be displayed.

なお、ACT61において、1つの対象販売品番号に対して複数の対応購入品番号が取得された場合には、各対応購入品番号の購入条件を設定した購入者の情報が1つの購入リストに表示される。一方、対応購入品番号に対応する対象販売品番号が複数種類存在する場合には、対象販売品番号の種類毎に購入リストが表示される。すなわち購入リストは、対象販売品番号と対応付けられている。 In ACT 61, when a plurality of corresponding purchase item numbers are acquired for one target sales item number, the information of the purchaser who set the purchase conditions for each corresponding purchase item number is displayed in one purchase list. be done. On the other hand, if there are multiple types of target sales product numbers corresponding to the corresponding purchase product number, a purchase list is displayed for each type of target sales product number. That is, the purchase list is associated with the target product number.

購入リストを確認した販売者は、その購入リストの情報を基に販売を許可する購入者を決める。例えば、価格条件、品種条件、サイズ条件及び品質条件が全て満足する場合には、その購入者を購入許可として決定する。例えば価格条件は販売条件よりも低いが許容できる場合には、その購入者を購入許可として決定する。品種条件、サイズ条件、品質条件についても同様である。 After confirming the purchase list, the seller decides which purchaser is allowed to sell based on the information in the purchase list. For example, if the price condition, product type condition, size condition and quality condition are all satisfied, the purchaser is determined to be permitted to purchase. For example, if the price terms are lower than the sales terms but acceptable, the purchaser is determined to be the purchaser. The same applies to the product type condition, size condition, and quality condition.

販売者は、販売者端末20の入力デバイス21を操作して、購入を許可する購入者の購入品番号を選択する。購入品番号が選択されると、販売有りの応答信号が販売者端末20から取引支援サーバ10へと送信される。この応答信号には、選択された購入品番号と、当該購入品番号を表示する購入リストに対応付けられた販売品番号とを含む。なお、販売を許可する購入者がいない場合には、販売者は、販売しない旨を選択する。販売しない旨が選択された場合には、販売無しの応答信号が販売者端末20から取引支援サーバ10へと送信される。 The seller operates the input device 21 of the seller terminal 20 and selects the purchase item number of the purchaser whose purchase is permitted. When the purchase item number is selected, a response signal indicating that there is a sale is sent from the seller terminal 20 to the transaction support server 10 . This response signal includes the selected purchase item number and the sales item number associated with the purchase list displaying the purchase item number. If there is no purchaser who permits the sale, the seller selects not to sell. If no sale is selected, a no-sale response signal is sent from the seller terminal 20 to the transaction support server 10 .

プロセッサ11は、ACT93として購入リストの出力先である販売者端末20からの応答信号を待ち受ける。応答信号があると、プロセッサ11は、ACT93においてYESと判定し、ACT94へと進む。プロセッサ11は、ACT94として販売有りの応答信号であるか販売無しの応答信号であるかを確認する。販売無しの応答信号である場合、プロセッサ11は、ACT94においてNOと判定し、販売者処理を抜ける。 As ACT 93, the processor 11 waits for a response signal from the seller terminal 20, which is the output destination of the purchase list. If there is a response signal, processor 11 determines YES in ACT 93 and proceeds to ACT 94 . The processor 11 confirms whether the ACT 94 is a response signal of sale or a response signal of no sale. If the response signal indicates no sale, the processor 11 determines NO in ACT 94 and exits the seller processing.

販売有りの応答信号である場合には、プロセッサ11は、ACT94においてYESと判定し、ACT95へと進む。プロセッサ11は、ACT95として応答信号に含まれる購入品番号と販売品番号とが同一行に記述されている一致テーブル131のカラムCgに購入者IDが記述されているか否かを確認する。 If the response signal indicates that there is a sale, the processor 11 determines YES in ACT94 and proceeds to ACT95. As ACT 95, the processor 11 checks whether or not the purchaser ID is described in the column Cg of the match table 131 in which the purchased item number and the sold item number included in the response signal are described in the same row.

カラムCgに購入者IDが記述されていない場合、購入品番号の購入条件を設定した購入者から購入を希望する旨の通知が得られていない。プロセッサ11は、ACT95においてNOと判定し、ACT96へと進む。プロセッサ11は、ACT96として応答信号に含まれる購入品番号と販売品番号とが同一行に記述されている一致テーブル131のカラムChに、販売品番号を含む販売条件レコード81の販売者IDを記述する。そしてプロセッサ11は、販売者処理を終了する。このように、カラムChには、購入品番号の購入条件で商品の購入を希望する購入者に対して購入を許可した販売者の販売者IDが記述される。 If the purchaser ID is not described in the column Cg, the purchaser who has set the purchase conditions for the purchased item number has not been notified that he or she wishes to purchase the item. The processor 11 determines NO in ACT95 and proceeds to ACT96. The processor 11 writes the seller ID of the sales condition record 81 including the sales product number in the column Ch of the matching table 131 where the purchase product number and the sales product number included in the response signal are described in the same row as ACT 96. do. Processor 11 then terminates the seller process. In this way, the column Ch describes the seller ID of the seller who permitted the purchase to the purchaser who wishes to purchase the product under the purchase condition of the purchase product number.

カラムCgに購入者IDが記述されている場合には、購入者番号の購入条件を設定した購入者から購入の希望が入力されている。プロセッサ11は、ACT95においてYESと判定し、ACT97へと進む。プロセッサ11は、ACT97として応答信号に含まれる購入品番号が設定された購入条件レコード71と、同じく応答信号に含まれる販売品番号が設定された販売条件レコード81の取引ステータスを、いずれも「取引成立済」に更新する。以下では、応答信号に含まれる購入品番号が設定された購入条件レコード71を成立購入条件レコード713と称する。また、応答信号に含まれる販売品番号が設定された販売条件レコード81を成立販売条件レコード813と称する。 When the purchaser ID is described in the column Cg, the purchase request is input from the purchaser who set the purchase condition of the purchaser number. The processor 11 determines YES in ACT95 and proceeds to ACT97. The processor 11 sets the transaction status of the purchase condition record 71 in which the purchase item number included in the response signal as ACT 97 and the sale condition record 81 in which the sale item number also included in the response signal is set to "transaction Update to "Established". The purchase condition record 71 in which the purchase item number included in the response signal is set is hereinafter referred to as the satisfied purchase condition record 713 . Also, the sales condition record 81 in which the sales item number included in the response signal is set is referred to as the established sales condition record 813 .

プロセッサ11は、ACT98として成立販売条件レコード813の販売者IDが設定された販売者レコード61から販売者端末アドレスを取得する。そしてプロセッサ11は、その販売者端末アドレスを宛先として、販売者端末20に対して取引成立を通知するための信号、いわゆる取引成立通知信号を送信する。 The processor 11 acquires the seller terminal address from the seller record 61 in which the seller ID of the established sales condition record 813 is set as ACT98. Then, the processor 11 transmits a signal for notifying the completion of the transaction to the seller terminal 20 using the seller terminal address as a destination, a so-called transaction completion notification signal.

またプロセッサ11は、ACT99として成立購入条件レコード712の購入者IDが設定された購入者レコード51から購入者端末アドレスを取得する。そしてプロセッサ11は、その購入者端末アドレスを宛先として、購入者端末30に対して取引成立を通知するための信号、いわゆる取引成立通知信号を送信する。 The processor 11 also acquires the purchaser terminal address from the purchaser record 51 in which the purchaser ID of the satisfied purchase condition record 712 is set as ACT99. Then, the processor 11 transmits a signal for notifying the completion of the transaction to the purchaser terminal 30 with the purchaser terminal address as the destination, a so-called transaction completion notification signal.

さらにプロセッサ11は、ACT100として成立販売条件レコード813の在庫点数を、成立購入条件レコード713の希望購入点数を減じた値に更新する。 Further, the processor 11 updates the number of stock items in the satisfied sales condition record 813 to a value obtained by subtracting the desired purchase number in the satisfied purchase condition record 713 as ACT 100 .

取引成立通知信号を受信した販売者端末20及び購入者端末30の動作、並びに、それに伴う販売者及び購入者の動作は前述したとおりであるので、ここでの説明は省略する。 The operations of the seller terminal 20 and the purchaser terminal 30 that have received the transaction completion notification signal, and the accompanying operations of the seller and the purchaser are as described above, so descriptions thereof will be omitted here.

ACT100の処理を終えると、プロセッサ11は、ACT101として一致テーブル131の応答信号に含まれる販売品番号と同一行のカラムCiに記述されている取消フラグFeを“1”にセットする。次いでプロセッサ11は、ACT102として一致テーブル131の応答信号に含まれる販売品番号と同一行のカラムChに、ACT95において確認した購入者ID以外の他の購入者IDが記述されているか否かを確認する。他の購入者IDが記述されていない場合、プロセッサ11は、ACT102においてNOと判定し、購入者処理を抜ける。 After completing the processing of ACT100, the processor 11 sets the cancellation flag Fe described in the column Ci on the same line as the product number included in the response signal of the match table 131 as ACT101 to "1". Next, the processor 11 confirms whether or not another purchaser ID other than the purchaser ID confirmed in ACT95 is described in column Ch on the same line as the sales product number included in the response signal of match table 131 in ACT102. do. If no other purchaser ID is described, the processor 11 determines NO in ACT 102 and exits the purchaser processing.

他の購入者IDが記述されている場合には、プロセッサ11は、ACT102においてYESと判定し、ACT103へと進む。プロセッサ11は、ACT103として他の購入者IDが設定された購入者レコード51を購入者データベース50から取得し、その購入者レコード51から購入者端末アドレスを取得する。そしてプロセッサ11は、その購入者端末アドレスを宛先として、購入者端末30に対して取引不成立を通知するための信号、いわゆる不成立通知信号を送信する。以上で、プロセッサ11は、購入者処理を抜ける。 If another purchaser ID is described, the processor 11 determines YES in ACT102 and proceeds to ACT103. The processor 11 obtains the purchaser record 51 in which another purchaser ID is set as the ACT 103 from the purchaser database 50 and obtains the purchaser terminal address from the purchaser record 51 . Then, the processor 11 transmits a signal for notifying the purchaser terminal 30 that the transaction has not been completed, a so-called failure notification signal, with the purchaser terminal address as the destination. After that, the processor 11 leaves the purchaser processing.

因みに、不成立通知信号を受信した購入者端末30においては、例えば「購入を希望した販売者との取引が不成立となりました」というメッセージが表示デバイス32に表示される。 Incidentally, in the purchaser terminal 30 that has received the failure notification signal, for example, a message "The transaction with the seller who desired to purchase has not been completed" is displayed on the display device 32 .

以上の説明から明らかなように、取引支援サーバ10は、プロセッサ11がACT53乃至ACT55の処理を実行することにより、販売条件確認手段1108として機能する。取引支援サーバ10は、プロセッサ11がACT71及びACT72の処理を実行することにより、販売リスト通知手段1109として機能する。取引支援サーバ10は、プロセッサ11がACT58乃至ACT60の処理を実行することにより、購入条件確認手段1106として機能する。取引支援サーバ10は、プロセッサ11がACT91及びACT92の処理を実行することにより、購入リスト通知手段1107として機能する。取引支援サーバ10は、プロセッサ11がACT74乃至ACT83の処理、さらにはACT94乃至ACT103の処理を実行することにより、処理手段1110として機能する。 As is clear from the above description, the transaction support server 10 functions as the sales condition confirmation means 1108 by the processor 11 executing the processes of ACT53 to ACT55. The transaction support server 10 functions as sales list notification means 1109 by the processor 11 executing the processes of ACT71 and ACT72. The transaction support server 10 functions as the purchase condition confirmation means 1106 by the processor 11 executing the processes of ACT58 to ACT60. The transaction support server 10 functions as the purchase list notification means 1107 by the processor 11 executing the processes of ACT91 and ACT92. The transaction support server 10 functions as a processing means 1110 by the processor 11 executing the processes of ACT74 to ACT83 and further the processes of ACT94 to ACT103.

購入条件確認手段1106、購入リスト通知手段1107、販売条件確認手段1108、販売リスト通知手段1109及び処理手段1110としての機能を有する取引支援サーバ10は、販売条件を確認した購入者が購入を希望した際に、販売者がその購入者に対して販売を許可している場合には、その購入者と販売者との間の取引を自動的に成立させることができる。同様に、取引支援サーバ10は、購入条件を確認した販売者が購入を許可した際に、購入者がその販売者の商品に対して購入を希望している場合には、その販売者と購入者との間の取引を自動的に成立させることができる。一方、購入者が購入を希望したが販売者がその購入者に対して販売を許可しなかった場合、あるいは、販売者が購入を許可したが購入者が購入を希望しなかった場合、その販売者と購入者との間の取引を自動的に不成立とすることができる。 The transaction support server 10, which has the functions of purchase condition confirmation means 1106, purchase list notification means 1107, sales condition confirmation means 1108, sales list notification means 1109, and processing means 1110, is used by a purchaser who has confirmed the sales conditions to make a purchase request. In this case, if the seller permits the purchaser to sell, the transaction between the purchaser and the seller can be automatically established. Similarly, when the seller who has confirmed the purchase conditions approves the purchase, if the purchaser wishes to purchase the product of the seller, the transaction support server 10 agrees with the seller to make the purchase. You can automatically conclude a transaction with a person. On the other hand, if the purchaser wishes to purchase but the seller does not permit the purchaser to sell, or if the seller permits purchase but the purchaser does not wish to purchase, the sale The transaction between the person and the purchaser can be automatically rejected.

以上、本実施形態によれば、通信販売の取引に関して、販売者である生産者の販売条件と購入者である消費者の購入条件とが一致する商品を自動的に探し出すことができる取引支援サーバ10を提供することができる。 As described above, according to the present embodiment, regarding mail-order transactions, the transaction support server can automatically search for products whose sales conditions of the producer, who is the seller, and the purchase conditions of the consumer, who is the purchaser, match. 10 can be provided.

[変形例]
前記実施形態では、販売条件に関する複数項目の情報と購入条件に関する複数項目の情報とを項目毎に照合する際の必須項目を期間条件、地域条件、数量条件及び決済条件とした。必須項目の種類及び数はこれに限定されるものではない。例えば第2条件照合処理で照合した価格条件、品種条件、サイズ条件、品質条件のうち少なくとも1つを必須項目に追加してもよい。あるいは、期間条件、地域条件、数量条件及び決済条件のうち少なくとも1つを必須項目から除外してもよい。また、照合する項目も、上記条件の項目に限定されないのは言うまでもないことである。
[Modification]
In the above-described embodiment, the term condition, area condition, quantity condition, and settlement condition are the essential items when collating the information of multiple items regarding the sales conditions and the information of multiple items regarding the purchase conditions for each item. The types and number of mandatory items are not limited to this. For example, at least one of the price condition, product type condition, size condition, and quality condition collated in the second condition collation process may be added to the essential items. Alternatively, at least one of term conditions, area conditions, quantity conditions, and settlement conditions may be excluded from the required items. It goes without saying that the items to be collated are not limited to the items of the above conditions.

図8においては、購入条件と一致する販売条件を検索する情報処理の手順を例示した。他の実施形態としては、販売条件と一致する購入条件を検索するように手順を変更してもよい。具体的には、プロセッサ11は、ACT1において販売条件レコード81を取得し、ACT4においては購入条件レコード71を取得すればよい。 FIG. 8 illustrates an information processing procedure for searching for sales conditions that match the purchase conditions. In another embodiment, the procedure may be modified to search for purchase conditions that match the sales conditions. Specifically, the processor 11 acquires the sales condition record 81 in ACT1, and acquires the purchase condition record 71 in ACT4.

この他、本発明のいくつかの実施形態を説明したが、これらの実施形態は、例として提示したものであり、発明の範囲を限定することは意図していない。これら新規な実施形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更を行うことができる。これら実施形態及びその変形は、発明の範囲に含まれるとともに、特許請求の範囲に記載された発明とその均等の範囲に含まれる。 Additionally, while several embodiments of the invention have been described, these embodiments have been presented by way of example and are not intended to limit the scope of the invention. These novel embodiments can be implemented in various other forms, and various omissions, replacements, and modifications can be made without departing from the scope of the invention. These embodiments and modifications thereof are included in the scope of the invention, and are included in the scope of the invention described in the claims and equivalents thereof.

10…取引支援サーバ、11…プロセッサ、12…メインメモリ、13…補助記憶デバイス、14…時計部、15…通信インターフェース、20…販売者端末20…購入者端末、40…ネットワーク、50…購入者データベース、60…販売者データベース、70…購入条件データベース、80…販売条件データベース、100…取引支援システム、1101…販売条件取得手段、1102…購入条件取得手段、1103…決定手段、1104…販売者通知手段、1105…購入者通知手段、1106…購入条件確認手段、1107…購入リスト通知手段、1108…販売条件確認手段、1109…販売リスト通知手段、1110…処理手段。 DESCRIPTION OF SYMBOLS 10... Transaction support server 11... Processor 12... Main memory 13... Auxiliary storage device 14... Clock part 15... Communication interface 20... Seller terminal 20... Buyer terminal 40... Network 50... Buyer Database 60 Seller database 70 Purchase condition database 80 Sales condition database 100 Transaction support system 1101 Sales condition acquisition means 1102 Purchase condition acquisition means 1103 Decision means 1104 Seller notification Means 1105 Purchaser notification means 1106 Purchase condition confirmation means 1107 Purchase list notification means 1108 Sales condition confirmation means 1109 Sales list notification means 1110 Processing means.

Claims (5)

販売者により設定された商品の販売条件に関する情報を取得する販売条件取得手段と、
購入者により設定された商品の購入条件に関する情報を取得する購入条件取得手段と、
前記販売条件取得手段により取得した前記販売条件に関する情報と、前記購入条件取得手段により取得した前記購入条件に関する情報とを照合して、一致する販売条件と購入条件とを決定する決定手段と、
前記決定手段により購入条件と一致すると決定された販売条件を設定した販売者が使用する販売者端末に販売可能を通知する販売者通知手段と、
前記決定手段により販売条件と一致すると決定された購入条件を設定した購入者が使用する購入者端末に購入可能を通知する購入者通知手段と、
を具備する取引支援装置。
sales condition acquisition means for acquiring information on the sales conditions of the product set by the seller;
purchase condition acquisition means for acquiring information on the purchase conditions of the product set by the purchaser;
determining means for comparing the information on the sales conditions acquired by the sales conditions acquisition means and the information on the purchase conditions acquired by the purchase conditions acquisition means to determine matching sales conditions and purchase conditions;
a seller notifying means for notifying a seller terminal used by the seller who set the sales conditions determined by the determining means to match the purchase conditions that the sale is possible;
a purchaser notification means for notifying a purchaser terminal used by a purchaser who has set purchase conditions determined by the determination means to match the sales conditions that the purchase is possible;
A transaction support device comprising
前記決定手段は、販売条件に関する複数項目の情報と購入条件に関する複数項目の情報とを項目毎に照合し、前記複数項目のうち必須項目については全て一致する条件を満足し、他の項目については少なくとも一部が一致する条件を満足する前記販売条件と前記購入条件とを決定する、請求項1記載の取引支援装置。 The determination means compares the information of the plurality of items regarding the sales conditions and the information of the plurality of items regarding the purchase conditions for each item, and among the plurality of items, the required items satisfy all the matching conditions, and the other items satisfy the conditions. 2. The transaction support device according to claim 1, which determines said sales conditions and said purchase conditions that satisfy at least partially matching conditions. 前記販売者端末からの問合せに対し、前記決定手段により当該販売者端末を使用する販売者が設定した販売条件と一致すると決定された購入条件の有無を確認する購入条件確認手段と、
前記購入条件確認手段により前記購入条件有りが確認されると、その購入条件に係るリストを前記販売者端末に通知する購入リスト通知手段と、
前記購入者端末からの問合せに対し、前記決定手段により当該購入者端末を使用する購入者が設定した購入条件と一致すると決定された販売条件の有無を確認する販売条件確認手段と、
前記販売条件確認手段により前記販売条件有りが確認されると、その販売条件に係るリストを前記購入者端末に通知する販売リスト通知手段と、
前記リストが通知された前記販売者端末において販売許可が入力された購入条件を設定した購入者が使用する前記購入者端末から購入希望が入力されている場合、又は、前記リストが通知された前記購入者端末において購入希望が入力された販売条件を設定した販売者が使用する販売者端末から販売許可が入力されている場合、取引成立に係る処理を実行する処理手段と、
をさらに具備する請求項1又は2記載の取引支援装置。
purchase condition confirmation means for confirming, in response to an inquiry from the seller terminal, whether or not there is a purchase condition determined by the determination means to match the sales conditions set by the seller using the seller terminal;
purchase list notification means for notifying the seller terminal of a list related to the purchase condition when the purchase condition confirmation means confirms that the purchase condition exists;
sales condition confirmation means for confirming the presence or absence of sales conditions determined by the determination means to match the purchase conditions set by the purchaser using the purchaser terminal in response to an inquiry from the purchaser terminal;
sales list notification means for notifying the purchaser terminal of a list related to the sales conditions when the sales condition confirmation means confirms that the sales conditions exist;
When a purchase request is input from the purchaser terminal used by the purchaser who has set the purchase conditions in which sales permission is input at the seller terminal notified of the list, or when the purchase request is input from the purchaser terminal notified of the list a processing means for executing a process for establishing a transaction when a sale permission is input from a seller terminal used by a seller who has set sales conditions in which a purchase request is input at the purchaser terminal;
The transaction support device according to claim 1 or 2, further comprising:
前記処理手段は、前記リストが通知された前記販売者端末において販売許可が入力された購入条件を設定した購入者が使用する購入者端末から購入希望が入力されなかった場合、又は、前記リストが通知された前記購入者端末において購入希望が入力された販売条件を設定した販売者が使用する販売者端末から販売許可が入力されなかった場合、取引不成立に係る処理を実行する、請求項3記載の取引支援装置。 The processing means determines whether a purchase request is not input from the purchaser terminal used by the purchaser who has set purchase conditions for which sales permission has been input at the seller terminal to which the list has been notified, or when the list is Claim 3, wherein if the purchaser's terminal used by the seller who has set the sales conditions in which the purchase request is entered on the notified purchaser's terminal does not enter the sale permission, the process for unsuccessful transaction is executed. transaction support device. 取引支援装置としてのコンピュータを、
販売者により設定された商品の販売条件に関する情報を取得する販売条件取得手段、
購入者により設定された商品の購入条件に関する情報を取得する購入条件取得手段、
前記販売条件取得手段により取得した前記販売条件に関する情報と、前記購入条件取得手段により取得した前記購入条件に関する情報とを照合して、一致する販売条件と購入条件とを決定する決定手段、
前記決定手段により購入条件と一致すると決定された販売条件を設定した販売者が使用する販売者端末に販売可能を通知する販売者通知手段、及び、
前記決定手段により販売条件と一致すると決定された購入条件を設定した購入者が使用する購入者端末に購入可能を通知する購入者通知手段、
として機能させるための制御プログラム。
A computer as a transaction support device,
sales conditions acquisition means for acquiring information on the sales conditions of the product set by the seller;
purchase condition acquisition means for acquiring information on the purchase conditions of the product set by the purchaser;
determining means for comparing the information on the sales conditions acquired by the sales conditions acquisition means and the information on the purchase conditions acquired by the purchase conditions acquisition means to determine matching sales conditions and purchase conditions;
a seller notification means for notifying the seller terminal used by the seller who set the sales conditions determined by the determination means to match the purchase conditions that the sale is possible; and
purchaser notification means for notifying the purchaser terminal used by the purchaser who set the purchase conditions determined to match the sales conditions by the determination means that the purchase is possible;
A control program for functioning as
JP2021050283A 2021-03-24 2021-03-24 Transaction support device and control program Pending JP2022148549A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021050283A JP2022148549A (en) 2021-03-24 2021-03-24 Transaction support device and control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2021050283A JP2022148549A (en) 2021-03-24 2021-03-24 Transaction support device and control program

Publications (1)

Publication Number Publication Date
JP2022148549A true JP2022148549A (en) 2022-10-06

Family

ID=83463223

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021050283A Pending JP2022148549A (en) 2021-03-24 2021-03-24 Transaction support device and control program

Country Status (1)

Country Link
JP (1) JP2022148549A (en)

Similar Documents

Publication Publication Date Title
TW577002B (en) Server apparatus, the method of logistics management used in the server apparatus, computer readable recording medium, logistics management system, the user side, the production side and the distribution side terminal apparatus used in the logistics
JP2002041842A (en) Electronic mediation service and price determination for selling/buying article
JPH11250129A (en) Mail-order selling management system
KR20200001744A (en) Goods Order System For Mart Shopping
CN109559143A (en) Information provider unit and information providing method
KR100685249B1 (en) Network system
JP6760431B2 (en) Electronic receipt processing equipment, electronic receipt processing methods and programs
JP4473481B2 (en) Network system, estimate information management method, server device, program, and recording medium
JP2022148549A (en) Transaction support device and control program
KR20000064147A (en) Sales method of products through internet in local area
KR101096405B1 (en) A method and a system for intermediating among electronic commercial entities
JP2012089029A (en) Net selling total management system
WO2001082159A1 (en) Cotton yarn trading method utilizing network
KR100707724B1 (en) A method and a system for intermediating among electronic commercial entities
JP4411307B2 (en) Sales support system for products having intangible property rights, sales support method for products having intangible property rights, and sales support programs for products having intangible property rights
JP2001243286A (en) Sales management system
JP2004265268A (en) Product or service information processing system and method
KR101589585B1 (en) Direct Marketing System
JP2001312606A (en) System and method for electronic transaction
JP2002099768A (en) Center device and system for selling commodity and program recording medium for the same
JP7087159B2 (en) Data processing equipment, control methods, and data processing systems
JPH07121621A (en) Credit sales system and credit card issuing method using system concerned
JP2004213338A (en) Product management system and its control method
JP7430211B2 (en) Door-to-door sales management system
JP7387341B2 (en) Information processing device and its control program

Legal Events

Date Code Title Description
RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20230104

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20240122