JP5662688B2 - Electronic commerce server and electronic commerce program - Google Patents

Electronic commerce server and electronic commerce program Download PDF

Info

Publication number
JP5662688B2
JP5662688B2 JP2010028855A JP2010028855A JP5662688B2 JP 5662688 B2 JP5662688 B2 JP 5662688B2 JP 2010028855 A JP2010028855 A JP 2010028855A JP 2010028855 A JP2010028855 A JP 2010028855A JP 5662688 B2 JP5662688 B2 JP 5662688B2
Authority
JP
Japan
Prior art keywords
product
sale
electronic commerce
request
changed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2010028855A
Other languages
Japanese (ja)
Other versions
JP2011165044A (en
Inventor
将志 飯塚
将志 飯塚
Original Assignee
ニフティ株式会社
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 ニフティ株式会社 filed Critical ニフティ株式会社
Priority to JP2010028855A priority Critical patent/JP5662688B2/en
Publication of JP2011165044A publication Critical patent/JP2011165044A/en
Application granted granted Critical
Publication of JP5662688B2 publication Critical patent/JP5662688B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Description

本発明は、電子商取引における技術に関する。   The present invention relates to technology in electronic commerce.

現在、インターネット等のネットワークを介して取引を行う電子商取引(Eコマース)が盛んに行われている。この電子商取引は、企業間、企業消費者間、消費者間などで行われており、例えば、ネットワーク上に開設されたオンラインモール、電子商店街などと呼ばれる商取引サイト上で行われている。このオンラインモールでは、多数の小売業者が商品を販売するための電子商店等と呼ばれるページがまとめられている。このようなオンラインモールでは、消費者は、各店舗で扱われている各商品及びその価格を見比べながら所望の商品を選ぶことができる。また、小売業者が開設した自身のWEBサイト上で商品購入をさせるものもある。   At present, electronic commerce (e-commerce) in which transactions are performed through a network such as the Internet is actively performed. This electronic commerce is performed between companies, between business consumers, between consumers, and the like, for example, is performed on a commercial transaction site called an online mall or an electronic shopping mall established on a network. In this online mall, pages called e-shops and the like for a large number of retailers to sell products are collected. In such an online mall, a consumer can select a desired product while comparing each product handled at each store and its price. There are also products that allow retailers to purchase products on their own WEB sites.

このような電子商取引サイトでは、ショッピングカート(以降、単にカートと表記する場合もある)と呼ばれる、購入予定の商品を一時的に格納しておく仕組みが利用されている。消費者は、購入したい商品をこのカートに逐次入れることで、最後に、複数商品の購入決済を一括で完了することができる。   In such an electronic commerce site, a mechanism called a shopping cart (hereinafter sometimes simply referred to as a cart) for temporarily storing products to be purchased is used. The consumer can finally complete the purchase settlement of a plurality of products in a lump by sequentially putting products to be purchased into this cart.

特開2008−97056号公報JP 2008-97056 A

しかしながら、上述のような従来の電子商取引サイトでは、同時間帯に来店している他の消費者の動向を把握することができないという問題点がある。実世界では、各消費者は、どのような商品が人気があるのかといった同時間帯に来店している他の消費者の動向を参考にして、購入すべき商品を選択することも多い。また、例えば、多くの人を集めており、在庫数が少ないような商品は、消費者の購入意欲を高めて、消費者を衝動買いに走らせる場合がある。   However, the conventional electronic commerce site as described above has a problem that it is impossible to grasp the trends of other consumers who visit the store during the same time period. In the real world, each consumer often selects a product to be purchased with reference to other consumers who visit the store during the same time period, such as what kind of product is popular. In addition, for example, a product that attracts many people and has a small number of stocks may increase the consumer's willingness to purchase and drive the consumer to impulse purchase.

従って、電子商取引サイトにおいても、このように他の消費者の動向を各消費者がそれぞれ把握できるようにすることは、消費者及び販売者の両者にとってメリットとなる。   Therefore, in the electronic commerce site as well, it is advantageous for both consumers and sellers that each consumer can grasp the trends of other consumers in this way.

本発明の課題は、このような問題点に鑑み、電子商取引において他の消費者の動向を各消費者に把握可能とする技術を提供することにある。   In view of such problems, it is an object of the present invention to provide a technology that enables each consumer to grasp trends of other consumers in electronic commerce.

本発明の態様では、上述した課題を解決するために、それぞれ以下の構成を採用する。   In the aspect of the present invention, the following configurations are employed in order to solve the above-described problems.

第1の態様は、消費者端末に電子商取引サービスを提供する電子商取引サーバに関する。この第1の態様における電子商取引サーバは、電子商取引で扱われる各商品について、他の消費者端末におけるその商品を対象とした電子商取引に関する操作により他の消費者端末から送られる第1リクエストに応じて変更される少なくとも1つの集計値をそれぞれ格納する格納手段と、この電子商取引サーバから画面データと共に消費者端末へ送られたデータに応じて、その画面データで対象とされる少なくとも1つの商品の商品識別子を含んだ状態で消費者端末から送信された第2リクエストを受信し、この第2リクエストの受
付時刻を保持する受信手段と、この受信手段で受信された第2リクエストに含まれる商品識別子が示す商品について上記格納手段で格納される集計値が変更されるまで、その第2リクエストに対するレスポンスを保留し、上記受付時刻より後に集計値が変更された場合に、その変更された集計値に応じたデータを含むレスポンスを消費者端末に送信する送信手段と、を備える。
A 1st aspect is related with the electronic commerce server which provides an electronic commerce service to a consumer terminal. The electronic commerce server in the first aspect responds to a first request sent from another consumer terminal by an operation related to electronic commerce for the product in another consumer terminal for each product handled in the electronic commerce. Storage means for storing at least one total value to be changed in response to the data sent to the consumer terminal together with the screen data from the electronic commerce server, and at least one product targeted by the screen data A receiving unit that receives the second request transmitted from the consumer terminal in a state including the merchandise identifier and holds the reception time of the second request, and a merchandise identifier included in the second request received by the receiving unit Response to the second request until the aggregate value stored in the storage means is changed for the product indicated by Pending, if the total value after the above reception time is changed, comprising transmitting means for transmitting a response including the data corresponding to the changed aggregate value to the consumer terminal.

この第1の態様に係る電子商取引サーバによれば、電子商取引で扱われる各商品についての集計値が変更された場合に、リアルタイムにその変更された集計値が消費者端末に送られるため、消費者端末を操作する消費者は、同時間帯に電子商取引をしようとしている他の消費者の動向を把握することができる。よって、消費者は、電子商取引においても、他の消費者の動向を購入商品を決める上での参考にすることができる。更に、一方では、本電子商取引で扱われる商品の販売者は、他の消費者動向をリアルタイムに把握させることで、消費者の購買意欲を向上させることができる。   According to the electronic commerce server according to the first aspect, when the aggregate value for each product handled in the electronic commerce is changed, the changed aggregate value is sent to the consumer terminal in real time. The consumer who operates the consumer terminal can grasp the trends of other consumers who are trying to conduct electronic commerce during the same time period. Therefore, the consumer can also refer to other consumer trends in determining the purchased product even in the electronic commerce. Furthermore, on the other hand, the seller of the product handled in the electronic commerce can improve the consumer's willingness to purchase by grasping other consumer trends in real time.

また、第1の態様において好ましくは、上記格納手段が、当該他の消費者端末でのショッピングカートへ入れる操作により当該他の消費者端末から送信される第1リクエストにより変更される各消費者の各ショッピングカート内の個数の合計値を上記集計値の1つとして各商品についてそれぞれ格納し、上記送信手段が、各ショッピングカート内の個数の合計値が変更された場合に、その変更後の合計値を含むレスポンスを送信する。   Moreover, in the first aspect, preferably, the storage means is configured to change each consumer changed by a first request transmitted from the other consumer terminal by an operation of putting in the shopping cart at the other consumer terminal. The total value of the number in each shopping cart is stored for each product as one of the above total values, and when the transmission means changes the total value of the number in each shopping cart, the total after the change Send a response containing the value.

また、第1の態様において好ましくは、上記格納手段が、当該他の消費者端末での購入申し込み操作により当該他の消費者端末から送信される第1リクエストにより変更される、その第1リクエストに含まれる商品識別子で特定される商品の在庫数を上記集計値の1つとして各商品についてそれぞれ格納し、上記送信手段が、上記在庫数が変更された場合に、その変更後の在庫数を含むレスポンスを送信する。   Preferably, in the first aspect, the storage means is changed to the first request changed by the first request transmitted from the other consumer terminal by the purchase application operation at the other consumer terminal. The stock quantity of the product specified by the contained product identifier is stored for each product as one of the aggregate values, and the transmission means includes the stock quantity after the change when the stock quantity is changed. Send a response.

また、第1の態様において好ましくは、上記送信手段が、当該商品についての各ショッピングカート内の個数の合計値及び在庫数の少なくとも一方が変更された場合には、その各ショッピングカート内の個数の合計値とその在庫数との関係に応じた表示メッセージを生成し、各ショッピングカート内の個数の合計値及び在庫数と共にその表示メッセージを含むレスポンスを送信する。   In the first aspect, preferably, when the transmission means changes at least one of the total value and the number of stocks in each shopping cart for the product, the number of pieces in each shopping cart A display message corresponding to the relationship between the total value and the number of stocks is generated, and a response including the display message is transmitted together with the total value and the number of stocks in each shopping cart.

これらの態様によれば、消費者端末を操作する消費者は、購入しようとしている商品についての在庫数や他の消費者がショッピングカートに入れている個数の合計値を把握することができる。また、販売者は、在庫数とショッピングカートに入れられている個数との関係に応じた表示メッセージを消費者端末に送ることにより、消費者の購買意欲を向上させることができる。   According to these aspects, the consumer who operates the consumer terminal can grasp the total value of the number of items in the product to be purchased and the number of items that other consumers have put in the shopping cart. Further, the seller can improve the consumer's willingness to purchase by sending a display message corresponding to the relationship between the number of stocks and the number in the shopping cart to the consumer terminal.

また、第1の態様において好ましくは、上記格納手段が、電子商取引で扱われる各商品について、少なくとも1つの集計値と共にセールに関する情報をそれぞれ格納し、上記送信手段が、上記受信手段で受信された第2リクエストに含まれる商品識別子が示す商品について格納手段で格納されるセールに関する情報が変更されるまで、その第2リクエストに対するレスポンスを保留し、受付時刻より後にセールに関する情報が変更された場合に、その変更されたセールに関する情報に応じたデータを含むレスポンスを消費者端末に送信する。   Preferably, in the first aspect, the storage means stores information about the sale together with at least one total value for each product handled in electronic commerce, and the transmission means is received by the reception means. When the information about the sale stored in the storage means is changed for the product indicated by the product identifier included in the second request, the response to the second request is suspended, and the information about the sale is changed after the reception time. Then, a response including data corresponding to the information regarding the changed sale is transmitted to the consumer terminal.

このような態様によれば、販売者は、セールに関する情報も消費者端末にリアルタイムに提供することができるため、タイムセールなどのような魅力的な商取引サービスを提供することができ、ひいては、消費者の購買意欲を向上させることができる。   According to such an aspect, since the seller can also provide information related to the sale to the consumer terminal in real time, it is possible to provide an attractive commercial transaction service such as a time sale and the like. Can improve the willingness to purchase.

第2の態様は、上述の第1の態様に係る電子商取引サーバから画面データと共に送信され消費者端末で実行される電子商取引プログラムに関する。このような第2の態様に係る電子商取引プログラムは、画面データで対象とされる少なくとも1つの商品の商品識別子を含んだ状態でリアルタイム処理のための第2リクエストを前記電子商取引サーバに送信するステップと、上記第2リクエストに対する前記電子商取引サーバからのレスポンスを待つステップと、上記少なくとも1つの商品を対象とした電子商取引に関する操作により他の消費者端末から電子商取引サーバへ送られる第1リクエストに応じて、上記少なくとも1つの商品についての少なくとも1つの集計値が変更された場合に、電子商取引サーバから送信される第2リクエストに対するレスポンスを受信するステップと、この受信された第2リクエストに対するレスポンスに含まれる変更後の集計値を、画面データで表示される画面に反映させるステップと、を含む。   A 2nd aspect is related with the electronic commerce program transmitted with the screen data from the electronic commerce server which concerns on the above-mentioned 1st aspect, and performed with a consumer terminal. The electronic commerce program according to the second aspect transmits a second request for real-time processing to the electronic commerce server in a state including a product identifier of at least one product targeted by the screen data. And waiting for a response from the electronic commerce server to the second request, and in response to the first request sent from another consumer terminal to the electronic commerce server by an operation related to electronic commerce for the at least one product. And a step of receiving a response to the second request transmitted from the electronic commerce server when at least one aggregate value of the at least one product is changed, and the response to the received second request The changed aggregate value is displayed as screen data. Comprising the steps of reflecting the that screen, the.

また、本発明の別態様としては、以上の何れかの構成を実現する方法であってもよいし、プログラムであってもよいし、このようなプログラムを記録したコンピュータが読み取り可能な記憶媒体であってもよい。   Another aspect of the present invention may be a method for realizing any of the above configurations, a program, or a computer-readable storage medium that records such a program. There may be.

本発明によれば、電子商取引において他の消費者の動向を各消費者に把握可能とする技術を提供することができる。   ADVANTAGE OF THE INVENTION According to this invention, the technique which enables each consumer to grasp | ascertain the trend of another consumer in electronic commerce can be provided.

実施形態における電子商取引システムの全体構成を示す図。The figure which shows the whole structure of the electronic commerce system in embodiment. 本実施形態におけるデータサーバ1の構成を示す概念図。The conceptual diagram which shows the structure of the data server 1 in this embodiment. 商品情報テーブルの例を示す図。The figure which shows the example of a merchandise information table. セール情報テーブルの例を示す図。The figure which shows the example of a sale information table. 本実施形態における店舗サーバの構成を示す概念図。The conceptual diagram which shows the structure of the shop server in this embodiment. 本実施形態における電子商取引システムの動作例を示すシーケンスチャート。The sequence chart which shows the operation example of the electronic commerce system in this embodiment. 店舗画面の例を示す図。The figure which shows the example of a store screen. 通常時の商品購入画面の例を示す図。The figure which shows the example of the goods purchase screen at the normal time. セール時の商品購入画面の例を示す図。The figure which shows the example of the goods purchase screen at the time of sale. ユーザ端末で実行されるリアルタイムモジュールの動作例を示すフローチャート。The flowchart which shows the operation example of the real-time module performed with a user terminal. 店舗サーバのリアルタイム処理部の動作例を示すフローチャート。The flowchart which shows the operation example of the real-time processing part of a shop server.

以下、本発明を実施するための形態としての電子商取引システム(以降、単に本システムとも表記する)について具体例を挙げ説明する。以下に挙げる実施形態は例示であり、本発明は以下の実施形態の構成に限定されない。   Hereinafter, a specific example of an electronic commerce system (hereinafter simply referred to as the present system) as an embodiment for carrying out the present invention will be described. The following embodiment is an exemplification, and the present invention is not limited to the configuration of the following embodiment.

〔システム構成〕
図1は、実施形態における電子商取引システムの全体構成を示す図である。本実施形態における電子商取引システムは、データサーバ1、店舗サーバ2、管理者端末3、ユーザ端末9等から構成される。データサーバ1、店舗サーバ2及び管理者端末3はそれぞれシステム内ネットワーク6により相互に通信可能に接続される。また、システム内ネットワーク6はネットワーク5と接続されている。これにより、複数のユーザ端末9の各々は、ネットワーク5を介して店舗サーバ2へアクセスすることができ、電子商取引サービスの提供を受けることができる。例えば、ユーザ端末9と店舗サーバ2との間のインタフェースとしてWEBシステムが利用される。
〔System configuration〕
FIG. 1 is a diagram illustrating an overall configuration of an electronic commerce system according to an embodiment. The electronic commerce system in the present embodiment includes a data server 1, a store server 2, an administrator terminal 3, a user terminal 9, and the like. The data server 1, the store server 2, and the manager terminal 3 are connected to each other via a system network 6 so as to communicate with each other. The intra-system network 6 is connected to the network 5. Thereby, each of the several user terminal 9 can access the shop server 2 via the network 5, and can receive provision of an electronic commerce service. For example, a WEB system is used as an interface between the user terminal 9 and the store server 2.

ネットワーク5及びシステム内ネットワーク6は、インターネット等の公衆ネットワークであってもよいし、LAN(Local Area Network)やWAN(Wide Area Network)等
の社内ネットワークであってもよい。本発明は、このようなネットワーク5及び6を限定するものではなく、ネットワーク5及び6上を流れるプロトコル等を限定するものでもない。図1では、ネットワーク5とシステム内ネットワーク6とを区別したが、同一のネットワークであってもよい。
The network 5 and the in-system network 6 may be a public network such as the Internet, or an in-house network such as a LAN (Local Area Network) or a WAN (Wide Area Network). The present invention does not limit the networks 5 and 6 as described above, nor does it limit the protocol or the like flowing on the networks 5 and 6. In FIG. 1, the network 5 and the intra-system network 6 are distinguished from each other, but they may be the same network.

〔装置構成〕
以下、本システムを構成する各ノードの構成についてそれぞれ説明する。
〔Device configuration〕
Hereinafter, the configuration of each node constituting the system will be described.

《データサーバ》
図2は、本実施形態におけるデータサーバ1の構成を示す概念図である。
<Data server>
FIG. 2 is a conceptual diagram showing the configuration of the data server 1 in the present embodiment.

データサーバ1は、ハードウェア構成として、図2に示されるように、バス13で接続される、制御部11、記憶部12、通信部14等を有する。記憶部12は、例えばハードディスクであり、制御部11で実行される処理で利用される各種情報を記憶する。制御部11は、CPU(Central Processing Unit)等の1又は複数のプロセッサ、このプロセ
ッサの処理に利用される周辺回路(ROM(Read Only Memory)、RAM(Radom Access
Memory)、インタフェース回路等)を有する。通信部14は、社内ネットワーク6に接
続され、店舗サーバ2及び管理者端末3等とIP(Internet Protocol)パケット等の送
受信を行う。
As shown in FIG. 2, the data server 1 includes a control unit 11, a storage unit 12, a communication unit 14, and the like that are connected by a bus 13 as a hardware configuration. The storage unit 12 is a hard disk, for example, and stores various types of information used in processing executed by the control unit 11. The control unit 11 includes one or more processors such as a CPU (Central Processing Unit), peripheral circuits (ROM (Read Only Memory), RAM (Radom Access) used for processing of the processors, and the like.
Memory), interface circuit, and the like. The communication unit 14 is connected to the in-house network 6 and transmits / receives IP (Internet Protocol) packets and the like to / from the store server 2 and the manager terminal 3.

データサーバ1は、PC(Personal Computer)等のような汎用コンピュータで構築さ
れてもよいし、ネットワーク接続ストレージ(NAS)のような専用コンピュータで構築されるようにしてもよい。本発明は、データサーバ1のハードウェア構成を限定するものではない。
The data server 1 may be constructed by a general-purpose computer such as a PC (Personal Computer) or a dedicated computer such as a network attached storage (NAS). The present invention does not limit the hardware configuration of the data server 1.

データサーバ1は、記憶部12に格納されるOS(Operating System)等のプログラムが制御部11にて実行されることにより、電子商取引で用いられる情報を管理するデータサーバとして動作する。図2では、データサーバ1をデータサーバとして動作させるための処理部としてデータ管理部16が示されている。   The data server 1 operates as a data server that manages information used in electronic commerce by executing a program such as an OS (Operating System) stored in the storage unit 12 by the control unit 11. In FIG. 2, a data management unit 16 is shown as a processing unit for operating the data server 1 as a data server.

データ管理部16は、記憶部12に格納される、商品情報テーブル17、セール情報テーブル18を管理する。データ管理部16は、店舗サーバ2のような他の装置からの要求を通信部14を介して受けると、この要求に応じて所望のテーブルの値の抽出及び更新を行い、その結果をその要求元の他の装置へ返信する。   The data management unit 16 manages the product information table 17 and the sale information table 18 stored in the storage unit 12. When the data management unit 16 receives a request from another device such as the store server 2 via the communication unit 14, the data management unit 16 extracts and updates a value of a desired table in response to the request, and the result is requested to the request. Reply to the other device.

図3は、商品情報テーブル17の例を示す図である。商品情報テーブル17には、本システムにおいて商取引の対象とされる各商品について、電子商取引するうえで必要となる情報がそれぞれ格納される。商品情報テーブル17は、商品IDフィールド、商品名フィールド、価格フィールド、在庫数フィールド、セールIDフィールド、セール価格フィールド、セール在庫数フィールド、カートカウンタフィールド、最終更新時刻フィールド等を持つ。   FIG. 3 is a diagram illustrating an example of the product information table 17. The merchandise information table 17 stores information necessary for electronic commerce for each merchandise that is subject to commerce in the present system. The merchandise information table 17 has a merchandise ID field, a merchandise name field, a price field, a stock quantity field, a sale ID field, a sale price field, a sale stock quantity field, a cart counter field, a last update time field, and the like.

商品IDフィールドには、各商品を本システムで識別するための識別子が格納される。商品名フィールドには各商品の商品名が格納され、価格フィールドには各商品の価格が格納される。在庫数フィールドには、本システム又は所定の店舗で確保されている各商品の在庫の数が格納される。この在庫数は、例えば、店舗サーバ2で提供される画面においてユーザ端末9上で購入申し込み操作がなされることで減らされる。   In the product ID field, an identifier for identifying each product by this system is stored. The product name field stores the product name of each product, and the price field stores the price of each product. In the stock quantity field, the number of stocks of each product secured in this system or a predetermined store is stored. For example, the number of stocks is reduced by performing a purchase application operation on the user terminal 9 on the screen provided by the store server 2.

セールIDフィールドには、商取引対象とされる商品のうち、歳末セール、バーゲンセール、在庫一掃セール等のような売り出しが行われている商品(セール中商品)について、その売り出し(セール)についての情報を識別するためのセールIDが格納される。このセールIDで識別されるセール情報は、セール情報テーブル18に格納される。セール価格フィールドには、セール中商品についてそのセール価格が格納される。セール在庫数フィールドには、セール中商品についてそのセール対象とされている総個数のうちの残り個数(セール在庫)が格納される。   In the sale ID field, among products that are subject to commerce, products that are on sale (end-of-sale), such as year-end sale, bargain sale, inventory clearing sale, etc., about the sale (sale) A sale ID for identifying information is stored. The sale information identified by the sale ID is stored in the sale information table 18. The sale price field stores the sale price of the item being sold. In the sale stock quantity field, the remaining quantity (sale stock) of the total quantity of the sale target product is stored.

カートカウンタフィールドには、ショッピングカートに入れられている各商品について、全てのユーザのショッピングカート内の個数の合計が格納される。ショッピングカートとは、各ユーザにそれぞれ割り当てられ店舗サーバ2で管理される電子的な(擬似)ショッピングカートであって、各ユーザが購入希望の商品を一時的に保持しておき、その中の全商品を一括で購入申し込み操作可能とするためのオンライン機能である。このショッピングカートは電子商取引において周知の技術となっており、単にカートとも表記される。   The cart counter field stores the total number of items in the shopping carts of all users for each item in the shopping cart. A shopping cart is an electronic (pseudo) shopping cart that is assigned to each user and managed by the store server 2, and each user temporarily holds a product that the user wants to purchase. This is an online function that allows users to apply for purchases in bulk. This shopping cart is a well-known technique in electronic commerce and is simply expressed as a cart.

最終更新時刻フィールドには、上述のような商品情報の最終更新時刻が格納される。   The final update time field stores the final update time of the product information as described above.

図4は、セール情報テーブル18の例を示す図である。セール情報テーブル18には、各セールについてそのセール情報がそれぞれ格納される。セール情報テーブル18は、セールIDフィールド、割引率フィールド、価格優先フィールド、セール開始時刻フィールド、セール終了時刻フィールドを持つ。   FIG. 4 is a diagram illustrating an example of the sale information table 18. The sale information table 18 stores the sale information for each sale. The sale information table 18 has a sale ID field, a discount rate field, a price priority field, a sale start time field, and a sale end time field.

セールIDフィールドには、セールを識別するためのセールIDが格納される。そのセールの対象となっている商品については、上記商品情報テーブル17のセールIDフィールドに、セール情報テーブル18のセールIDフィールドに格納されるセールIDと同じ値が格納される。割引率フィールドには、そのセールの対象とされている商品の割引率(20パーセントなど)が格納される。   In the sale ID field, a sale ID for identifying a sale is stored. For the product that is the subject of the sale, the same value as the sale ID stored in the sale ID field of the sale information table 18 is stored in the sale ID field of the product information table 17. In the discount rate field, the discount rate (20% or the like) of the product targeted for the sale is stored.

価格優先フィールドには、上記商品情報テーブル17のセール価格フィールドの値が優先的に用いるべきか、セール情報テーブル18の割引率フィールドの値が優先的に用いるべきかのいずれかを示す値が格納される。例えば、図4の例のように、価格優先フィールドに価格優先を示す値(TRUE)が格納されているセール(セールID=10)の対象とされている商品のセール価格については、商品情報テーブル17における、セールID=10が格納されているレコードのセール価格フィールドの値(例えば15,000円)が利用される。一方で、価格優先フィールドに割引率優先を示す値(FALSE)が格納されているセー
ル(セールID=11)の対象とされている商品のセール価格については、商品情報テーブル17における、セールID=11が格納されているレコードのセール価格フィールドの値が用いられず、価格フィールドの値をセール情報テーブル18の割引率フィールドで割り引いた値が利用される。
In the price priority field, a value indicating whether the value of the sale price field of the product information table 17 should be used preferentially or the value of the discount rate field of the sale information table 18 should be used preferentially is stored. Is done. For example, as in the example of FIG. 4, for the sale price of a product for sale (sale ID = 10) in which a value (TRUE) indicating price priority is stored in the price priority field, the product information table 17, the value of the sale price field of the record storing the sale ID = 10 (for example, 15,000 yen) is used. On the other hand, for the sale price of the product for sale (sale ID = 11) in which the value (FALSE) indicating discount rate priority is stored in the price priority field, the sale ID = The value of the sale price field of the record in which 11 is stored is not used, and a value obtained by discounting the value of the price field with the discount rate field of the sale information table 18 is used.

セール開始時刻フィールド及びセール終了時刻フィールドには、そのセールの開始時刻及び終了時刻がそれぞれ格納される。   In the sale start time field and the sale end time field, the start time and end time of the sale are stored, respectively.

なお、データサーバ1は、商品情報テーブル17及びセール情報テーブル18を管理者端末3で更新することができるように、管理者端末3とのインタフェース処理部(図示せず)を備えるようにしてもよい。これにより、管理者端末3により、任意なタイミングでのタイムセールの設定を行うことができる。また、本実施形態では、データサーバ1と店舗サーバ2とを別々のハードウェアで構成する例を示したが、1台のサーバとして実現するようにしてもよい。   The data server 1 may include an interface processing unit (not shown) with the manager terminal 3 so that the merchandise information table 17 and the sale information table 18 can be updated on the manager terminal 3. Good. Thereby, the administrator terminal 3 can set a time sale at an arbitrary timing. Further, in the present embodiment, the example in which the data server 1 and the store server 2 are configured by separate hardware has been shown, but may be realized as a single server.

《店舗サーバ》
図5は、本実施形態における店舗サーバ2の構成を示す概念図である。
<< Store server >>
FIG. 5 is a conceptual diagram showing the configuration of the store server 2 in the present embodiment.

店舗サーバ2は、ハードウェア構成として、図5に示されるように、バス23で接続される、制御部21、記憶部22、通信部24等を有する。記憶部22は、例えば、ハードディスクであり、制御部21で実行される処理で利用される各種情報を記憶する。制御部21は、CPU等の1又は複数のプロセッサ、このプロセッサの処理に利用される周辺回路(ROM、RAM、インタフェース回路等)を有する。通信部24は、ネットワーク5及び社内ネットワーク6に接続され、データサーバ1及び管理者端末3等とIPパケット等の送受信を行う。店舗サーバ2は、PC等のような汎用コンピュータで構築されてもよいし、専用コンピュータで構築されるようにしてもよい。本発明は、店舗サーバ2のハードウェア構成を限定するものではない。   As shown in FIG. 5, the store server 2 includes a control unit 21, a storage unit 22, a communication unit 24, and the like connected by a bus 23 as a hardware configuration. The storage unit 22 is, for example, a hard disk, and stores various types of information used in processing executed by the control unit 21. The control unit 21 includes one or a plurality of processors such as a CPU and peripheral circuits (ROM, RAM, interface circuit, etc.) used for processing of the processors. The communication unit 24 is connected to the network 5 and the in-house network 6 and transmits / receives IP packets and the like to / from the data server 1 and the administrator terminal 3. The store server 2 may be constructed with a general-purpose computer such as a PC, or may be constructed with a dedicated computer. The present invention does not limit the hardware configuration of the store server 2.

店舗サーバ2は、記憶部22に格納されるOS、アプリケーション等のプログラムが制御部21にて実行されることにより、図5に示す各機能及び各処理部を実現する。店舗サーバ2は、WEBサーバ機能30及びアプリケーションサーバ機能31を有する。   The store server 2 implements each function and each processing unit shown in FIG. 5 by executing a program such as an OS and an application stored in the storage unit 22 by the control unit 21. The store server 2 has a WEB server function 30 and an application server function 31.

WEBサーバ機能30は、ユーザ端末9と本システムとの間のインタフェースとして機能する。本実施形態では、このインタフェースとしてWEBシステムが利用される例を挙げているため、以降、WEBサーバに特化して説明する。WEBサーバ機能30としては、画面処理部34、リクエスト制御部35などが含まれる。なお、以下で説明する内容以外のWEBサーバ機能30については一般的な周知のWEBサーバ機能を有していればよい。   The WEB server function 30 functions as an interface between the user terminal 9 and the present system. In the present embodiment, an example in which a WEB system is used as this interface is described, and therefore, the following description will be given specifically for a WEB server. The WEB server function 30 includes a screen processing unit 34, a request control unit 35, and the like. Note that the WEB server function 30 other than the contents described below may have a general well-known WEB server function.

リクエスト制御部35は、ユーザ端末9上で実行されるWEBブラウザからのHTTP(HyperText Transfer Protocol)によるリクエスト(HTTPメッセージ)を通信部2
4を介して受信し、このリクエストに応じた処理を画面処理部34又はアプリケーションサーバ機能31に依頼する。例えば、リクエスト制御部35は、そのリクエストに含まれるパラメータに応じてそのリクエストに応じた処理の依頼先を決める。リクエスト制御部35は、そのリクエストがWEBページを要求するものである場合には、そのリクエストを画面処理部34に送る。
The request control unit 35 sends a request (HTTP message) based on an HTTP (HyperText Transfer Protocol) from a WEB browser executed on the user terminal 9 to the communication unit 2.
4 and requests the screen processing unit 34 or the application server function 31 to perform processing corresponding to the request. For example, the request control unit 35 determines a request destination of processing according to the request in accordance with a parameter included in the request. If the request is for requesting a WEB page, the request control unit 35 sends the request to the screen processing unit 34.

また、リクエスト制御部35は、そのリクエストが特定処理を求めるものである場合には、そのリクエストをアプリケーションサーバ機能31へ送る。当該特定処理としては、リアルタイム処理、画面操作に対応する処理等がある。これらリアルタイム処理及び画面操作に対応する処理については、後述する。   Further, the request control unit 35 sends the request to the application server function 31 when the request requires specific processing. Examples of the specific processing include real-time processing and processing corresponding to screen operations. The processing corresponding to these real-time processing and screen operation will be described later.

画面処理部34は、リクエスト制御部35から送られるリクエストに応じて、WEBページを記憶部22から読み出し、読み出されたWEBページを通信部24を介してそのリクエストの送信元のユーザ端末9へ送る。本実施形態では、以降に述べるアプリケーションサーバ機能31のリアルタイム処理(リアルタイム処理部37)を実現するためにユーザ端末9側で実行されるモジュールも当該リクエストに応じてWEBページ等と共にユーザ端末9へ送られる。このモジュールは、例えば、JAVASCRIPT(登録商標)等で実現され、WEBブラウザで実行される。以降、このモジュールをリアルタイムモジュールと表記する。記憶部22には、本システムで提供する電子商取引サービスを実現するための複数のWEBページ(HTML(HyperText Markup Language)文書、画像、動画
、音声、上記リアルタイムモジュール等)が格納される。
The screen processing unit 34 reads the WEB page from the storage unit 22 in response to the request sent from the request control unit 35, and sends the read WEB page to the user terminal 9 that is the transmission source of the request via the communication unit 24. send. In the present embodiment, a module executed on the user terminal 9 side in order to realize real-time processing (real-time processing unit 37) of the application server function 31 described below is also sent to the user terminal 9 together with the WEB page or the like in response to the request. It is done. This module is implemented by, for example, JAVASCRIPT (registered trademark) or the like, and is executed by a WEB browser. Hereinafter, this module is referred to as a real-time module. The storage unit 22 stores a plurality of WEB pages (HTML (HyperText Markup Language) documents, images, moving images, sounds, the real-time module, etc.) for realizing the electronic commerce service provided by the present system.

アプリケーションサーバ機能31は、データサーバ1で管理される各テーブル(データベース)へのアクセス制御、トランザクション処理等を実行することに加えて、図5に示
される操作処理部36、リアルタイム処理部37等の各処理を実行する。なお、WEBアプリケーションサーバ機能31により実行される処理のうち一般的なWEBアプリケーションサーバ処理については説明を省略する。
The application server function 31 executes access control to each table (database) managed by the data server 1, transaction processing, and the like, in addition to the operation processing unit 36, the real-time processing unit 37, and the like shown in FIG. Execute each process. In addition, description is abbreviate | omitted about a general WEB application server process among the processes performed by the WEB application server function 31. FIG.

操作処理部36は、リクエスト制御部35から送られる特定処理を求めるリクエストのうち所定の画面操作に関するリクエストを受け付け、その処理を実行する。ここで、画面操作とは、画面処理部34により提供されたWEBページに応じてユーザ端末9上で表示された画面に対するユーザ端末9での操作を意味し、例えば、購入申し込み操作、カートへの商品の出し入れ操作等が該当する。   The operation processing unit 36 receives a request regarding a predetermined screen operation from among requests for specific processing sent from the request control unit 35, and executes the processing. Here, the screen operation means an operation on the user terminal 9 with respect to a screen displayed on the user terminal 9 in accordance with the WEB page provided by the screen processing unit 34. For example, a purchase application operation or a cart operation is performed. This includes operations for putting in and out products.

操作処理部36は、購入申し込み操作に関するリクエストを受けた場合には、その操作で入力されたデータを取得し、その購入申し込み対象となる商品に対して所定の購入申し込み処理を実行する。操作で入力されたデータとしては、申し込み者としてのユーザ情報(ユーザID、名前、住所、電話番号など)、対象商品を示す商品ID、購入個数、配送先情報、決済方法等が含まれる。所定の申し込み処理では、これらデータの登録処理、配送手配処理、決済処理等が実行される。なお、下記する内容以外の申し込み処理については、一般的な電子商取引サーバで実行される購入申し込み処理が実行されればよく、本発明はそのような処理の内容を限定するものではないため、ここでは説明を省略する。   When the operation processing unit 36 receives a request regarding the purchase application operation, the operation processing unit 36 acquires data input by the operation and executes predetermined purchase application processing for the product to be purchased. The data input by the operation includes user information as an applicant (user ID, name, address, telephone number, etc.), a product ID indicating the target product, the number of purchases, delivery destination information, a settlement method, and the like. In predetermined application processing, registration processing, delivery arrangement processing, settlement processing, and the like of these data are executed. As for the application process other than the contents described below, a purchase application process executed by a general electronic commerce server may be executed, and the present invention does not limit the contents of such a process. Then, explanation is omitted.

操作処理部36は、これら購入申し込み処理のうちのデータ登録処理において、データサーバ1の商品情報テーブル17の在庫数及びセール在庫数を今回の購入申し込みの個数分減らすように、データサーバ1へ依頼する。これにより、商品情報テーブル17の購入申し込み対象商品を示すレコードにおいて、セールID及びセール在庫数が格納されている場合には、在庫数フィールド及びセール在庫数フィールドが更新され、セールID及びセール在庫数が格納されていない場合には、在庫数フィールドのみが更新される。この更新により、商品情報テーブル17の同レコードの最終更新時刻フィールドがその更新時の時刻に更新される。   The operation processing unit 36 requests the data server 1 to reduce the stock quantity and the sale stock quantity in the product information table 17 of the data server 1 by the number of the current purchase application in the data registration process of these purchase application processes. To do. Thus, in the record indicating the purchase application target product in the product information table 17, when the sale ID and the sale stock quantity are stored, the stock quantity field and the sale stock quantity field are updated, and the sale ID and the sale stock quantity are updated. If is not stored, only the inventory quantity field is updated. By this update, the last update time field of the same record of the product information table 17 is updated to the time at the time of the update.

また、操作処理部36は、カートへの商品の出し入れ操作に関するリクエストを受けた場合には、その操作で入力されたデータを取得し、その操作の対象となる商品に対して所定のカート出入処理を実行する。操作で入力されたデータとしては、操作者としてのユーザ情報(ユーザID等)、対象商品を示す商品ID、入れる個数等が含まれる。ここで、図示していないが、店舗サーバ2では、各ユーザについて、ショッピングカートに入れている商品の商品IDとその個数とがそれぞれ管理されている。よって、所定のカート出入処理では、上記カート出入操作についてのデータの登録処理が行われる。   In addition, when the operation processing unit 36 receives a request regarding an operation for putting a product into and out of the cart, the operation processing unit 36 acquires data input by the operation, and performs a predetermined cart loading / unloading process for the product targeted for the operation. Execute. The data input by the operation includes user information (user ID and the like) as an operator, a product ID indicating a target product, the number of items to be inserted, and the like. Here, although not shown, the store server 2 manages the product ID and the number of products in the shopping cart for each user. Therefore, in the predetermined cart entry / exit processing, data registration processing for the cart entry / exit operation is performed.

操作処理部36は、このデータ登録処理において、データサーバ1の商品情報テーブル17のカートカウンタを今回のカート出し入れ操作の個数分加算又は減算するようにデータサーバ1に依頼する。これにより、商品情報テーブル17のカート出し入れ操作の対象商品を示すレコードのカートカウンタが更新され、同レコードの最終更新時刻フィールドがその更新時の時刻に更新される。   In this data registration process, the operation processing unit 36 requests the data server 1 to add or subtract the cart counter of the product information table 17 of the data server 1 by the number of the current cart insertion / removal operation. Thereby, the cart counter of the record indicating the target product for the cart insertion / removal operation in the product information table 17 is updated, and the last update time field of the record is updated to the time at the time of the update.

リアルタイム処理部37は、リクエスト制御部35から送られる特定処理を求めるリクエストのうち、リアルタイム処理を求めるリクエストを受け、そのリクエストの送信元のユーザ端末9上で表示されている画面内の情報をリアルタイムに変更(更新)する処理を実行する。具体的には、リアルタイム処理部37は、そのリクエストに対するレスポンスを当該画面内の情報が更新されるまで保留し、当該画面内の情報が更新された場合にその更新された情報を含めたレスポンスをそのリクエストの送信元のユーザ端末9へ送る。リアルタイム処理部37は、当該画面内の情報が更新されたか否かを判定するために、データサーバ1の商品情報テーブル17及びセール情報テーブル18を監視する。なお、この
ようなリアルタイム処理部37で実行される処理については動作例の項において詳細に説明する。
The real-time processing unit 37 receives a request for real-time processing among the requests for specific processing sent from the request control unit 35, and converts the information in the screen displayed on the user terminal 9 that is the transmission source of the request to real-time. The process of changing (updating) to is executed. Specifically, the real-time processing unit 37 holds the response to the request until the information in the screen is updated, and when the information in the screen is updated, the response including the updated information is received. The request is sent to the user terminal 9 that sent the request. The real-time processing unit 37 monitors the product information table 17 and the sale information table 18 of the data server 1 in order to determine whether the information in the screen has been updated. Note that the processing executed by the real-time processing unit 37 will be described in detail in the section of an operation example.

《ユーザ端末》
ユーザ端末9は、例えば、PC、携帯電話等である。ユーザ端末9は、店舗サーバ2にアクセスしデータを受け得る一般的な通信機能、提供されたデータに基づく画面を表示及び操作することができる一般的なユーザインタフェース機能等を有するものであればよい。本発明はこのユーザ端末9のハードウェア構成及び機能構成を限定するものではない。なお、ユーザ端末9の機能としては、上述のリアルタイムモジュールの実行環境を提供する機能(通常はWEBブラウザが有する機能)が備えられている必要がある。
<< User terminal >>
The user terminal 9 is, for example, a PC or a mobile phone. The user terminal 9 only needs to have a general communication function capable of accessing the store server 2 and receiving data, a general user interface function capable of displaying and operating a screen based on the provided data, and the like. . The present invention does not limit the hardware configuration and functional configuration of the user terminal 9. In addition, as a function of the user terminal 9, it is necessary to be provided with a function (usually a function possessed by the WEB browser) that provides the execution environment of the above-described real-time module.

本実施形態では、ユーザ端末9と店舗サーバ2との間のインタフェースとしてWEBシステムが利用される例を挙げているため、ユーザ端末9を利用するユーザ(消費者)は、電子商取引サービスを受けるにあたり、WEBブラウザを用いて店舗サーバ2にアクセスする。当該ユーザは、店舗サーバ2から提供される店舗情報(販売商品等)をWEBブラウザにより閲覧する。ユーザは、当該WEBブラウザ上に表示される画面をユーザ端末9に接続されるユーザインタフェースを用いて操作することにより、所望の商品を選び、その選んだ商品をカードに入れ、最終的に、カード内の商品を一括で購入申し込みする。当然、購入を取り止める商品を当該カートから出す操作を行うことも可能である。ユーザ端末9上での電子商取引に関する各操作に応じた内容がユーザ端末9から店舗サーバ2へそれぞれ送られる。   In the present embodiment, an example in which the WEB system is used as an interface between the user terminal 9 and the store server 2 is given, so that a user (consumer) using the user terminal 9 receives an electronic commerce service. The store server 2 is accessed using a WEB browser. The user browses store information (sales merchandise, etc.) provided from the store server 2 using a WEB browser. The user operates the screen displayed on the WEB browser using a user interface connected to the user terminal 9 to select a desired product, puts the selected product into a card, and finally, the card Apply for purchase of the products in bulk. Of course, it is also possible to perform an operation of taking out a product for which purchase is to be canceled from the cart. Content corresponding to each operation relating to electronic commerce on the user terminal 9 is sent from the user terminal 9 to the store server 2.

また、店舗サーバ2からダウンロードされたWEBページに当該リアルタイムモジュールが含まれている場合には、そのリアルタイムモジュールが実行され、このリアルタイムモジュールにより上述のリアルタイム処理を求めるリクエスト(HTTPメッセージ)が送信される。なお、リアルタイムモジュールは、そのリアルタイム処理を求めるリクエストを送信した後、そのレスポンスを待つ。   Further, when the WEB page downloaded from the store server 2 includes the real-time module, the real-time module is executed, and a request (HTTP message) for requesting the above-described real-time processing is transmitted by the real-time module. . The real-time module waits for a response after transmitting a request for the real-time processing.

《管理者端末》
管理者端末3は、例えば、PC、携帯電話等である。管理者端末3は、店舗サーバ2又はデータサーバ1にアクセスしデータを受け得る一般的な通信機能、提供されたデータに基づく画面を表示及び操作することができる一般的なユーザインタフェース機能等を有するものであればよい。本発明はこの管理者端末3のハードウェア構成を限定するものではない。
《Administrator terminal》
The administrator terminal 3 is, for example, a PC or a mobile phone. The manager terminal 3 has a general communication function capable of accessing the store server 2 or the data server 1 and receiving data, a general user interface function capable of displaying and operating a screen based on the provided data, and the like. Anything is acceptable. The present invention does not limit the hardware configuration of the administrator terminal 3.

管理者端末3は、店舗サーバ2又はデータサーバ1から提供されるユーザインタフェースに応じて、データサーバ1で管理される商品情報テーブル17及びセール情報テーブル18を更新することができる。これにより、本システムの管理者又は店舗開設者(小売業者)はこの管理者端末3を用いることにより、或る商品についてのタイムセールを任意のタイミングで行うことができる。この場合、セール情報テーブル18に今回開催するセールのための新たなレコードが追加し、そのセールID、セール価格、セール在庫数が商品情報テーブル17に格納される。   The manager terminal 3 can update the product information table 17 and the sale information table 18 managed by the data server 1 in accordance with the user interface provided from the store server 2 or the data server 1. Thereby, the manager of this system or the store opener (retailer) can perform a time sale for a certain product at an arbitrary timing by using this manager terminal 3. In this case, a new record for the sale to be held this time is added to the sale information table 18, and the sale ID, sale price, and sale inventory number are stored in the product information table 17.

〔動作例〕
以下、本実施形態における電子商取引システムの動作例について図6のシーケンスに沿って説明する。図6は、本実施形態における電子商取引システムの動作例を示すシーケンスチャートである。
[Operation example]
Hereinafter, an operation example of the electronic commerce system in the present embodiment will be described along the sequence of FIG. FIG. 6 is a sequence chart showing an operation example of the electronic commerce system in the present embodiment.

ユーザ(消費者)は、本システムから電子商取引サービスを受ける際には、ユーザ端末9を用いて店舗サーバ2にアクセスする。このとき、ユーザ端末9においてWEBブラウ
ザが操作されることにより、指定された店舗サーバ2のURL(Uniform Resource Locator)等を含むリクエスト(HTTPメッセージ)がユーザ端末9から店舗サーバ2へ送信される(S100)。店舗サーバ2では、WEBサーバ機能30として動作する画面処理部34がそのリクエストを受け、指定されたWEBページを含むレスポンスをそのユーザ端末9へ送る(S101)。
The user (consumer) accesses the store server 2 using the user terminal 9 when receiving the electronic commerce service from the system. At this time, when the WEB browser is operated on the user terminal 9, a request (HTTP message) including the URL (Uniform Resource Locator) of the designated store server 2 is transmitted from the user terminal 9 to the store server 2 ( S100). In the store server 2, the screen processing unit 34 operating as the WEB server function 30 receives the request and sends a response including the designated WEB page to the user terminal 9 (S101).

結果、ユーザ端末9の表示装置には、図7に示されるような画面が表示される。図7は、店舗画面の例を示す図である。図7の例では、店舗画面71には、本システムで扱われる商品のリストや、セール中の商品がある場合にはそのようなセール情報(73)等が表示される。ユーザは、ユーザ端末9を操作することにより、購入したい商品を選択する(72)。   As a result, a screen as shown in FIG. 7 is displayed on the display device of the user terminal 9. FIG. 7 is a diagram illustrating an example of a store screen. In the example of FIG. 7, the store screen 71 displays a list of products handled by this system, such sale information (73) when there is a product on sale, and the like. The user operates the user terminal 9 to select a product to be purchased (72).

この商品選択操作が行われると、その操作に対応するリクエスト(HTTPメッセージ)がユーザ端末9から店舗サーバ2へ送信される(S100)。店舗サーバ2の画面処理部34は、このリクエストの対象となる、商品購入画面を表示させるためのWEBページを取得する。図8は、通常時の商品購入画面の例を示す図である。図9は、セール時の商品購入画面の例を示す図である。商品購入画面81及び91には、店舗画面71において選択された商品を購入する上で必要な詳細情報が表示される。   When this product selection operation is performed, a request (HTTP message) corresponding to the operation is transmitted from the user terminal 9 to the store server 2 (S100). The screen processing unit 34 of the store server 2 acquires a WEB page for displaying a product purchase screen, which is a target of this request. FIG. 8 is a diagram illustrating an example of a normal product purchase screen. FIG. 9 is a diagram illustrating an example of a product purchase screen during a sale. The product purchase screens 81 and 91 display detailed information necessary for purchasing the product selected on the store screen 71.

通常時の商品購入画面81に表示される詳細情報のうち、販売価格の欄の価格表示部82に表示される値は、データサーバ1の商品情報テーブル17の価格フィールドに格納される値である。在庫の欄の在庫数表示部83に表示される値(図8の例では100個)は、商品情報テーブル17の在庫数フィールドに格納される値である。在庫の欄のカート個数表示部84に表示される値は、商品情報テーブル17のカートカウンタフィールドに格納される値である。在庫の欄の在庫メッセージ表示部85に表示される文字列は、在庫数とカート内個数との関係から店舗サーバ2により決定される文字列(メッセージ)である。   Of the detailed information displayed on the normal product purchase screen 81, the value displayed on the price display section 82 in the sales price column is the value stored in the price field of the product information table 17 of the data server 1. . The values (100 in the example of FIG. 8) displayed in the inventory quantity display section 83 in the inventory column are values stored in the inventory quantity field of the product information table 17. The value displayed in the cart quantity display portion 84 in the stock column is a value stored in the cart counter field of the product information table 17. The character string displayed on the inventory message display unit 85 in the inventory column is a character string (message) determined by the store server 2 from the relationship between the inventory quantity and the quantity in the cart.

セール時の商品購入画面91では、通常時の商品購入画面81の販売価格の欄、在庫の欄にセール中の情報がそれぞれ表示される。販売価格の欄の価格表示部92に表示される値は、データサーバ1の商品情報テーブル17のセール価格フィールドに格納される値、又は、商品情報テーブル17の価格フィールドに格納されている値をセール情報テーブル18の割引率フィールドに格納される値で割り引いた値である。これらは、セール情報テーブルの価格優先フィールドの値に基づいて、いずれの値が用いられるかが決定される。セール在庫の欄の在庫数表示部93に表示される値(図9の例では50個)は、商品情報テーブル17のセール在庫数フィールドの値である。セール在庫の欄のカート個数表示部94に表示される値(図9の例では46個)は、通常時の商品購入画面81のカート情報部83と同様に、商品情報テーブル17のカートカウンタフィールドの値である。セール在庫の欄の在庫メッセージ表示部95に表示される文字列は、セール在庫数とカート内個数との関係から店舗サーバ2により決定される文字列(メッセージ)である。セール期間の欄のセール期間表示部96に表示される値は、セール情報テーブル18のセール開始時刻フィールド及びセール終了時刻フィールドに格納される値である。   On the product purchase screen 91 at the time of sale, information on sale is displayed in the sales price column and the stock column of the normal product purchase screen 81, respectively. The value displayed in the price display section 92 in the sales price column is a value stored in the sale price field of the product information table 17 of the data server 1 or a value stored in the price field of the product information table 17. The value is discounted by the value stored in the discount rate field of the sale information table 18. These values are determined based on the value of the price priority field of the sale information table. The value (50 in the example of FIG. 9) displayed in the inventory quantity display section 93 in the sale inventory column is the value of the sale inventory quantity field in the product information table 17. The value (46 in the example of FIG. 9) displayed in the cart quantity display section 94 in the sale stock column is the cart counter field of the product information table 17 as in the cart information section 83 of the normal product purchase screen 81. Is the value of The character string displayed on the stock message display section 95 in the sale stock column is a character string (message) determined by the store server 2 from the relationship between the number of sale stock and the number in the cart. The values displayed in the sale period display section 96 in the sale period column are values stored in the sale start time field and the sale end time field of the sale information table 18.

店舗サーバ2の画面処理部34は、商品選択操作に対応するリクエストを受けた場合には、商品情報テーブル17のセールIDフィールドに格納される値に応じてそのリクエストの対象となる商品がセール中か否かを判定する。画面処理部34は、対象商品がセール中でなければ(通常時であれば)、そのレスポンスに図8に示す通常時の商品購入画面81に対応するWEBページを含める。一方で、画面処理部34は、対象商品がセール中である場合には、そのレスポンスに図9に示すセール時の商品購入画面91に対応するWEBページを含める。   When the screen processing unit 34 of the store server 2 receives a request corresponding to the product selection operation, the product targeted for the request is being sold according to the value stored in the sale ID field of the product information table 17. It is determined whether or not. If the target product is not on sale (during normal times), the screen processing unit 34 includes a WEB page corresponding to the normal product purchase screen 81 shown in FIG. 8 in the response. On the other hand, when the target product is on sale, the screen processing unit 34 includes a WEB page corresponding to the product purchase screen 91 at the time of sale shown in FIG. 9 in the response.

画面処理部34は、商品購入画面81に対応するWEBページを取得するにあたり、アプリケーションサーバ機能31に、商品購入画面81における、価格表示部82、在庫数表示部83、カート個数表示部84、在庫メッセージ表示部85をデータサーバ1の商品情報テーブル17内のデータを用いて生成させる。画面処理部34は、対象商品がセール中の場合には、アプリケーションサーバ機能31に、商品購入画面91における、価格表示部92、在庫数表示部93、カート個数表示部94、在庫メッセージ表示部95、セール期間表示部96をデータサーバ1の商品情報テーブル17及びセール情報テーブル18内のデータを用いて生成させる。   When acquiring the WEB page corresponding to the product purchase screen 81, the screen processing unit 34 sends the application server function 31 the price display unit 82, the stock quantity display unit 83, the cart quantity display unit 84, the stock on the product purchase screen 81. The message display unit 85 is generated using the data in the product information table 17 of the data server 1. When the target product is on sale, the screen processing unit 34 adds the price display unit 92, the stock quantity display unit 93, the cart quantity display unit 94, and the inventory message display unit 95 on the product purchase screen 91 to the application server function 31. The sale period display unit 96 is generated using the data in the product information table 17 and the sale information table 18 of the data server 1.

画面処理部34は、このように生成されたWEBページ(商品購入画面81用データ又は商品購入画面91用データ)を、リアルタイムモジュール61と共にユーザ端末9へ送る(S101)。これにより、ユーザ端末9上では、商品購入画面81又は91が表示される。   The screen processing unit 34 sends the WEB page (data for the product purchase screen 81 or data for the product purchase screen 91) generated in this way to the user terminal 9 together with the real-time module 61 (S101). Thereby, the product purchase screen 81 or 91 is displayed on the user terminal 9.

ユーザ端末9上では、WEBブラウザにより商品購入画面81又は91が表示されると共に、リアルタイムモジュール61が実行される。このリアルタイムモジュール61は、商品購入画面81又は91の操作を制限することなく、商品購入画面81又は91が表示されている間動作する。以降、このリアルタイムモジュール61と店舗サーバ2のリアルタイム処理部37との処理(S120、S121、S122)により、商品購入画面81又は91内の情報がデータサーバ1の商品情報テーブル17及びセール情報テーブル18に基づいてリアルタイムに更新されるようになる。このリアルタイムモジュール61と店舗サーバ2のリアルタイム処理部37との処理については後述する。   On the user terminal 9, the product purchase screen 81 or 91 is displayed by the WEB browser, and the real-time module 61 is executed. The real-time module 61 operates while the product purchase screen 81 or 91 is displayed without restricting the operation of the product purchase screen 81 or 91. Thereafter, the processing in the real-time module 61 and the real-time processing unit 37 of the store server 2 (S120, S121, S122) causes the information in the product purchase screen 81 or 91 to be the product information table 17 and the sale information table 18 of the data server 1. It will be updated in real time based on. Processing of the real-time module 61 and the real-time processing unit 37 of the store server 2 will be described later.

ユーザ端末9において商品購入画面81又は91が表示される状態で、「カートへ入れる」ボタン86又は97が選択される(カート入れ操作が行われる)と(S130)、カート入れ操作に関するリクエストがユーザ端末9から店舗サーバ2へ送られる(S131)。店舗サーバ2では、操作処理部36がそのリクエストを受け付けると、そのリクエストの送信元であるユーザのショッピングカート情報(図示せず)にそのリクエストの対象となる商品を加えると共に、そのリクエストの対象となる商品に関する商品情報テーブル17のカートカウンタフィールドを1加算するようデータサーバ1へ依頼する(S132)。店舗サーバ2の操作処理部36は、このリクエストに対する所定のレスポンスを返信する(S133)。   When the product purchase screen 81 or 91 is displayed on the user terminal 9 and the “Add to Cart” button 86 or 97 is selected (the cart insertion operation is performed) (S130), a request regarding the cart insertion operation is made by the user. It is sent from the terminal 9 to the store server 2 (S131). In the store server 2, when the operation processing unit 36 receives the request, it adds the product to be requested to the shopping cart information (not shown) of the user who is the transmission source of the request, A request is made to the data server 1 to add 1 to the cart counter field of the product information table 17 relating to the product (S132). The operation processing unit 36 of the store server 2 returns a predetermined response to this request (S133).

一方で、ユーザ端末9で表示される図示しない所定画面においてショッピングカートに入れられた商品を取り止める操作(カート出し操作)が行われた場合には、その操作に関するリクエスト(S131)に応じて、商品情報テーブル17のカートカウンタフィールドが1減算される(S132)。   On the other hand, when an operation for canceling the product placed in the shopping cart (cart unloading operation) is performed on a predetermined screen (not shown) displayed on the user terminal 9, the product is requested according to the request (S131) regarding the operation. The cart counter field of the information table 17 is decremented by 1 (S132).

また、ユーザ端末9で表示される図示しない所定画面においてショッピングカートに入れられた全商品の購入申し込み操作が行われた場合には(S140)、その操作に関するリクエストがユーザ端末9から店舗サーバ2へ送られる(S141)。店舗サーバ2では、操作処理部36がそのリクエストを受け付けると、配送手配処理、決済処理等が実行されると共に、そのリクエストの対象となる商品に関する商品情報テーブル17の在庫数フィールドを1減算するようデータサーバ1へ依頼する(S142)。店舗サーバ2の操作処理部36は、このリクエストに対する所定のレスポンスを返信する(S143)。   When a purchase application operation for all the products put in the shopping cart is performed on a predetermined screen (not shown) displayed on the user terminal 9 (S140), a request regarding the operation is sent from the user terminal 9 to the store server 2. It is sent (S141). When the operation processing unit 36 accepts the request, the store server 2 executes delivery arrangement processing, settlement processing, and the like, and subtracts one from the inventory quantity field of the product information table 17 related to the product targeted by the request. A request is made to the data server 1 (S142). The operation processing unit 36 of the store server 2 returns a predetermined response to this request (S143).

次に、ユーザ端末9で実行されるリアルタイムモジュール61と店舗サーバ2のリアルタイム処理部37との動作例について図10及び図11を用いて説明する。図10は、ユーザ端末9で実行されるリアルタイムモジュール61の動作例を示すフローチャートであ
る。図11は、店舗サーバ2のリアルタイム処理部37の動作例を示すフローチャートである。
Next, operation examples of the real-time module 61 and the real-time processing unit 37 of the store server 2 executed on the user terminal 9 will be described with reference to FIGS. 10 and 11. FIG. 10 is a flowchart showing an operation example of the real-time module 61 executed by the user terminal 9. FIG. 11 is a flowchart illustrating an operation example of the real-time processing unit 37 of the store server 2.

まず、リアルタイムモジュール61の動作例について図10を用いて説明する。   First, an operation example of the real-time module 61 will be described with reference to FIG.

リアルタイムモジュール61は、ユーザ端末9上で実行されると、商品購入画面が表示されているか否かを判定する(S200)。リアルタイムモジュール61は、商品購入画面81又は91が表示されている場合には(S200;YES)、その商品購入画面の対象となっている商品を示す商品IDを含めた、リアルタイム処理を求めるリクエスト(HTTPメッセージ)を店舗サーバ2へ送信する(S201)。一方で、リアルタイムモジュール61は、商品購入画面81又は91が表示されていない場合には(S200;NO)、商品IDを含めない当該リクエストを店舗サーバ2へ送信する(S202)。商品購入画面81又は91が表示されていないときには、例えば、図7の例のような店舗画面が表示されている。   When executed on the user terminal 9, the real-time module 61 determines whether a product purchase screen is displayed (S200). When the product purchase screen 81 or 91 is displayed (S200; YES), the real-time module 61 requests for real-time processing including the product ID indicating the product targeted for the product purchase screen ( (HTTP message) is transmitted to the store server 2 (S201). On the other hand, when the product purchase screen 81 or 91 is not displayed (S200; NO), the real-time module 61 transmits the request not including the product ID to the store server 2 (S202). When the product purchase screen 81 or 91 is not displayed, for example, a store screen as in the example of FIG. 7 is displayed.

リアルタイムモジュール61は、そのリアルタイム処理を求めるリクエストを送信した後、それに対するレスポンスが店舗サーバ2から送信されるまで待ち状態となる(S203)。リアルタイムモジュール61は、リアルタイム処理を求めるリクエストに対するレスポンスを受信すると(S203;YES)、そのレスポンスにセール状態変更フラグ(例えば、セール状態変更を示す文字列“SaleFlagChange”)が含まれているか否かを判定する(S204)。   After transmitting the request for the real-time processing, the real-time module 61 waits until a response to the request is transmitted from the store server 2 (S203). When receiving a response to the request for real-time processing (S203; YES), the real-time module 61 determines whether or not a sale state change flag (for example, a character string “SaleFlagChange” indicating a sale state change) is included in the response. Determine (S204).

レスポンスにセール状態変更フラグが含まれている場合とは、商品情報テーブル17に格納される全商品のうち、現在表示されている画面が店舗サーバ2から提供されてから後にセール状態が通常状態からセール中となった、又は、セール中から通常状態となった商品が存在する場合である。言い換えれば、表示されている画面自体を切替える必要がある場合である。そこで、リアルタイムモジュール61は、そのレスポンスにセール状態変更フラグが含まれていると判断すると(S204;YES)、ブラウザに画面更新を要求する(S205)。結果、ブラウザにより画面更新のリクエストが店舗サーバ2へ送られ、そのレスポンスに応じてユーザ端末9上の画面が更新される。例えば、商品購入画面81から商品購入画面91への画面更新、又は、商品購入画面91から商品購入画面81への画面更新、或いは、図7の店舗画面71からセール情報表示部73が新たに表示されたり消去されたりする。   When the response includes the sale state change flag, the sale state is changed from the normal state after the currently displayed screen is provided from the store server 2 among all the products stored in the product information table 17. This is a case where there is a product that has been on sale or that has been in a normal state from the sale. In other words, the displayed screen itself needs to be switched. Therefore, when the real-time module 61 determines that the sale state change flag is included in the response (S204; YES), it requests the browser to update the screen (S205). As a result, a screen update request is sent to the store server 2 by the browser, and the screen on the user terminal 9 is updated according to the response. For example, the screen update from the product purchase screen 81 to the product purchase screen 91, the screen update from the product purchase screen 91 to the product purchase screen 81, or the sale information display unit 73 newly displayed from the store screen 71 of FIG. Or erased.

一方で、リアルタイムモジュール61は、そのレスポンスにセール状態変更フラグが含まれていないと判断すると(S204;NO)、同レスポンスに商品情報変更フラグ(例えば、商品情報が変更されたことを示す文字列“ItemChange”)が含まれているか否かを判定する(S206)。   On the other hand, if the real time module 61 determines that the sale state change flag is not included in the response (S204; NO), the product information change flag (for example, a character string indicating that the product information has been changed) is included in the response. It is determined whether or not “ItemChange”) is included (S206).

リアルタイムモジュール61は、商品情報変更フラグが含まれていると判断すると(S206;YES)、同レスポンスからリアルタイム変更対象のデータを抽出する。ここで、リアルタイム変更対象のデータには、通常時の商品購入画面81で表示される、在庫数、カート内個数、表示メッセージ(在庫メッセージ)データ、セール中の商品購入画面91で表示される、セール在庫数、カート内個数、表示メッセージ(在庫メッセージ)データが含まれる。   When the real-time module 61 determines that the product information change flag is included (S206; YES), the real-time change data is extracted from the response. Here, the data to be changed in real time is displayed on the product purchase screen 81 at the normal time, displayed on the product purchase screen 91 during the sale, the number of stocks, the number in the cart, display message (stock message) data, Sales inventory quantity, in-cart quantity, display message (stock message) data are included.

リアルタイムモジュール61は、抽出されたデータを、表示されている商品購入画面の対象表示部に反映させる(S207)。これにより、通常時の商品購入画面81が表示されている場合には、在庫数表示部83、カート個数表示部84、在庫メッセージ表示部85がリアルタイムに変更される。また、セール中の商品購入画面91が表示されている場
合には、在庫数表示部93、カート個数表示部94、在庫メッセージ表示部95がリアルタイムに変更される。
The real-time module 61 reflects the extracted data on the target display unit of the displayed product purchase screen (S207). Thereby, when the normal product purchase screen 81 is displayed, the inventory quantity display unit 83, the cart quantity display unit 84, and the inventory message display unit 85 are changed in real time. When the sale item purchase screen 91 is displayed, the inventory quantity display unit 93, the cart quantity display unit 94, and the inventory message display unit 95 are changed in real time.

リアルタイムモジュール61は、このようなリアルタイム変更対象のデータの画面への反映が完了すると、再度、判定処理(S200)の後(S200;YES)、対象商品のIDを含めたリクエストを店舗サーバ2へ送信し(S201)、レスポンス待ち状態となる(S203)。なお、商品情報変更フラグが含まれていないと判断した場合にも(S206;NO)、同様の処理の後、レスポンス待ち状態となる(S200、S201、S203)。   When the reflection of the real-time change target data on the screen is completed, the real-time module 61 again sends a request including the ID of the target product to the store server 2 after the determination process (S200) (S200; YES). It transmits (S201) and enters a response waiting state (S203). Even when it is determined that the merchandise information change flag is not included (S206; NO), after a similar process, a response wait state is entered (S200, S201, S203).

次に、このようなリアルタイムモジュール61とやりとりする店舗サーバ2のリアルタイム処理部37の動作例について図11を用いて説明する。   Next, an operation example of the real-time processing unit 37 of the store server 2 that interacts with the real-time module 61 will be described with reference to FIG.

店舗サーバ2のリアルタイム処理部37は、ユーザ端末9(リアルタイムモジュール61)からリアルタイム処理を求めるリクエストを受信する(S301)。このとき、リアルタイム処理部37は、そのリクエストを受信した時刻(リクエスト受付時刻)を保持する(S302)。   The real-time processing unit 37 of the store server 2 receives a request for real-time processing from the user terminal 9 (real-time module 61) (S301). At this time, the real-time processing unit 37 holds the time when the request is received (request reception time) (S302).

続いて、リアルタイム処理部37は、セール情報テーブル18に格納されるセール開始時刻及びセール終了時刻に基づいて、リクエスト受付時刻と現在時刻との間のセール状態を比較する(S304)。具体的には、リクエスト受付時刻がセール開始時刻とセール終了時刻との間に存在する商品群と、現在時刻がセール開始時刻とセール終了時刻との間に存在する商品群と、を比較する。この比較で両者に差異がある場合には(S305;YES)、リアルタイム処理部37は、セール状態変更フラグ(例えば、セール状態変更を示す文字列“SaleFlagChange”)を含むレスポンスをユーザ端末9へ返信する(S306)。   Subsequently, the real-time processing unit 37 compares the sale state between the request reception time and the current time based on the sale start time and the sale end time stored in the sale information table 18 (S304). Specifically, a product group in which the request reception time is between the sale start time and the sale end time is compared with a product group in which the current time is between the sale start time and the sale end time. If there is a difference between the two in this comparison (S305; YES), the real-time processing unit 37 returns a response including a sale state change flag (for example, a character string “SaleFlagChange” indicating the sale state change) to the user terminal 9. (S306).

一方で、リアルタイム処理部37は、セール状態に差異がないと判断すると(S305;NO)、その受信リクエストに商品IDが含まれているか否かを判定する(S307)。なお、リアルタイム処理部37は、当該リクエストを受信した直後(S301及びS302の処理後)である場合には、上述のようなセール状態の差異を判定することなく、処理(S307)を実行するようにしてもよい。当該リクエストが受信された直後は、画面が更新された直後でもあるため、セール状態に差異がないことが多いからである。   On the other hand, when determining that there is no difference in the sale state (S305; NO), the real-time processing unit 37 determines whether or not the product ID is included in the reception request (S307). In addition, when it is immediately after receiving the request (after the processing of S301 and S302), the real-time processing unit 37 executes the processing (S307) without determining the difference in the sale state as described above. It may be. This is because immediately after the request is received, it is also immediately after the screen is updated, so there is often no difference in the sale state.

リアルタイム処理部37は、受信リクエストに商品IDが含まれている場合には(S307;YES)、商品情報テーブル17におけるその商品IDで特定されるレコードの最終更新時刻を抽出し、この最終更新時刻と上記リクエスト受付時刻とを比較する(S308)。即ち、リアルタイム処理部37は、当該リクエストが受信された後に対象商品の商品情報テーブル17内のデータが更新されたか否かを判定する。   When the product ID is included in the reception request (S307; YES), the real-time processing unit 37 extracts the last update time of the record specified by the product ID in the product information table 17, and this final update time And the request reception time are compared (S308). That is, the real time processing unit 37 determines whether or not the data in the product information table 17 of the target product has been updated after the request is received.

リアルタイム処理部37は、対象商品のデータが更新された(商品情報に差異がある)と判定すると(S309;YES)、受信リクエストに含まれていた商品IDで特定される商品情報テーブル17の該当レコードから在庫数、カート内個数を抽出する。リアルタイム処理部37は、該当レコードのセールIDフィールドに有効値が設定されている場合には、セール在庫数、カート内個数を抽出する。   When the real-time processing unit 37 determines that the data of the target product has been updated (product information has a difference) (S309; YES), the corresponding item in the product information table 17 identified by the product ID included in the reception request. Extract the inventory quantity and the quantity in the cart from the record. If a valid value is set in the sale ID field of the corresponding record, the real-time processing unit 37 extracts the number of sale stocks and the number in the cart.

リアルタイム処理部37は、抽出された在庫数(又はセール在庫数)及びカート内個数の関係から、表示メッセージデータを生成する(S310)。具体的には、例えば、在庫数とカート内個数との差が所定閾値(例えば5個)以内である場合には、「もうすぐ在庫(セール在庫)がなくなりそうです」のような表示メッセージデータを生成し、それ以外
の場合には、「まだ在庫(セール在庫)には余裕があります」のような表示メッセージデータを生成する。
The real-time processing unit 37 generates display message data from the relationship between the extracted stock quantity (or sale stock quantity) and the number in the cart (S310). Specifically, for example, when the difference between the number of stocks and the number in the cart is within a predetermined threshold value (for example, 5), display message data such as “stock (sale stock) is almost gone” will be displayed. In other cases, display message data such as “there is still room in the stock (sale stock)” is generated.

続いて、リアルタイム処理部37は、商品情報変更フラグ(例えば、商品情報が変更されたことを示す文字列“ItemChange”)、在庫数、カート内個数、及び、表示メッセージデータを含むレスポンスをユーザ端末9へ送信する(S311)。   Subsequently, the real-time processing unit 37 sends a response including a product information change flag (for example, a character string “ItemChange” indicating that the product information has been changed), the number of stocks, the number in the cart, and display message data to the user terminal. 9 is transmitted (S311).

リアルタイム処理部37は、受信リクエストに商品IDが含まれていない場合(S307;NO)には、セール状態に差異が生じるまで、即ち、その受信リクエストが受信された後にセール状態が更新されるまで、レスポンスを返信することなく待ち状態となる(S304、S305;NO、S307;NO)。また、リアルタイム処理部37は、商品情報に差異がないと判定した場合(S309;NO)には、セール状態に差異が生じるか又は商品情報に差異が生じるまで、レスポンスを返信することなく待ち状態となる。   When the merchandise ID is not included in the reception request (S307; NO), the real-time processing unit 37 until the sale state is different, that is, until the sale state is updated after the reception request is received. Then, the process enters a waiting state without returning a response (S304, S305; NO, S307; NO). If the real-time processing unit 37 determines that there is no difference in the product information (S309; NO), it waits without returning a response until there is a difference in the sale state or a difference in the product information. It becomes.

〈実施形態の作用及び効果〉
上述したように、本実施形態における電子商取引システムでは、ユーザ端末9でのユーザの画面操作(例えば、購入申し込み操作、カートへの出し入れ操作)に応じてユーザ端末9から送信されるリクエストを店舗サーバ2が受信すると、その操作内容に応じてデータサーバ1に格納されている各商品についての電子商取引情報(カート内個数、在庫数など)が更新される。
<Operation and effect of the embodiment>
As described above, in the electronic commerce system according to the present embodiment, a request transmitted from the user terminal 9 in response to a user screen operation (for example, a purchase application operation or a cart insertion / removal operation) on the user terminal 9 is sent to the store server. When 2 is received, the electronic commerce information (the number in the cart, the number of inventory, etc.) about each product stored in the data server 1 is updated according to the operation content.

一方で、WEBページ等の画面データと共に店舗サーバ2からユーザ端末9へ送られたリアルタイムモジュール61がユーザ端末9で実行されると、リアルタイム処理を求めるリクエストがユーザ端末9から店舗サーバ2へ送られる。このリクエストに対するレスポンスは、店舗サーバ2のリアルタイム処理部37(アプリケーションサーバ機能31)においてそのリクエストの対象となる商品についての電子商取引情報やセール情報が変更されるまで保留され、リアルタイムモジュール61も表示される画面の操作を制限することなくそのレスポンスを待つ。   On the other hand, when the real-time module 61 sent from the store server 2 to the user terminal 9 together with screen data such as a WEB page is executed by the user terminal 9, a request for real-time processing is sent from the user terminal 9 to the store server 2. . The response to this request is put on hold until the e-commerce information or sale information about the product subject to the request is changed in the real-time processing unit 37 (application server function 31) of the store server 2, and the real-time module 61 is also displayed. Wait for the response without restricting the operation of the screen.

上述のようなユーザの画面操作に応じてデータサーバ1内の対象商品の電子商取引情報が変更されると、その変更された情報を含むレスポンスが店舗サーバ2からユーザ端末9へ送られ、このレスポンス内の情報がリアルタイムモジュール61により画面に反映される。また、データサーバ1内の各商品の情報やセール情報は管理者端末3からも変更することができ、この変更についてもユーザの画面操作の場合と同様に、ユーザ端末9の画面にリアルタイムに反映される。   When the electronic commerce information of the target product in the data server 1 is changed according to the user's screen operation as described above, a response including the changed information is sent from the store server 2 to the user terminal 9, and this response The information is reflected on the screen by the real-time module 61. In addition, information on each product and sale information in the data server 1 can be changed from the administrator terminal 3, and this change is reflected in real time on the screen of the user terminal 9 as in the case of the user's screen operation. Is done.

このように、本実施形態によれば、他のユーザ(消費者)の電子商取引操作に応じて変更される各商品の在庫数やカート内個数がリアルタイムにユーザ端末9の画面に反映されるため、消費者ユーザは、同時間帯に来店している他の消費者の動向を把握しながら、購入商品を決める上での参考にすることができる。一方で、本実施形態のシステムで扱われる商品の販売者は、他の消費者動向をリアルタイムに把握させることで、消費者の購買意欲を向上させることができる。また、販売者は、セール情報もリアルタイムにユーザ端末9へ表示させることができるため、管理者端末3でデータサーバ1内のセール情報を変更することによりタイムセール等のようなセールを任意なタイミングで実行することができる。   As described above, according to the present embodiment, the number of stocks and the number of items in the cart that are changed according to the electronic commerce operation of another user (consumer) are reflected on the screen of the user terminal 9 in real time. The consumer user can use this information as a reference when deciding the purchased product while grasping the trends of other consumers who visit the store during the same time period. On the other hand, a merchandise seller handled by the system of the present embodiment can improve consumers' willingness to purchase by grasping other consumer trends in real time. Further, since the seller can also display the sale information on the user terminal 9 in real time, by changing the sale information in the data server 1 on the administrator terminal 3, a sale such as a time sale can be performed at an arbitrary timing. Can be done with.

1 データサーバ
2 店舗サーバ
3 管理者端末
9 ユーザ端末
17 商品情報テーブル
18 セール情報テーブル
21 制御部
22 記憶部
34 画面処理部
35 リクエスト制御部
36 操作処理部
37 リアルタイム処理部
DESCRIPTION OF SYMBOLS 1 Data server 2 Store server 3 Manager terminal 9 User terminal 17 Goods information table 18 Sale information table 21 Control part 22 Storage part 34 Screen processing part 35 Request control part 36 Operation processing part 37 Real-time processing part

Claims (5)

消費者端末に電子商取引サービスを提供する電子商取引サーバにおいて、
前記電子商取引で扱われる各商品について、他の消費者端末におけるその商品を対象とした電子商取引に関する操作により他の消費者端末から送られる第1リクエストに応じて変更される少なくとも1つの集計値と共にセールに関する情報をそれぞれ格納する格納手段と、
前記電子商取引サーバから画面データと共に前記消費者端末へ送られたデータに応じて、その画面データで対象とされる少なくとも1つの商品の商品識別子を含んだ状態で前記消費者端末から送信された第2リクエストを受信し、この第2リクエストの受付時刻を保持する受信手段と、
前記受信手段で受信された第2リクエストに含まれる商品識別子が示す商品について前記格納手段で格納される前記集計値が変更されるまで、その第2リクエストに対するレスポンスを保留し、前記受付時刻より後に前記集計値が変更された場合に、その変更された集計値に応じたデータを含む保留していたレスポンスを前記消費者端末に送信する送信手段と、
を備え
前記送信手段は、前記受信手段で受信された第2リクエストに含まれる商品識別子が示す商品について前記格納手段で格納される前記セールに関する情報が変更されるまで、その第2リクエストに対するレスポンスを保留し、前記受付時刻より後に前記セールに関する情報が変更された場合に、その変更されたセールに関する情報に応じたデータを含むレスポンスを前記消費者端末に送信する、
ことを特徴とする電子商取引サーバ。
In an electronic commerce server that provides electronic commerce services to consumer terminals,
For each product handled in the electronic commerce, together with at least one aggregate value that is changed in response to a first request sent from another consumer terminal by an operation related to the electronic commerce for the product in another consumer terminal Storage means for storing information about each sale ;
In response to the data sent from the electronic commerce server to the consumer terminal together with the screen data, the data sent from the consumer terminal in a state including a product identifier of at least one product targeted by the screen data. Receiving means for receiving two requests and holding the reception time of the second request;
A response to the second request is suspended until the aggregate value stored in the storage unit is changed for the product indicated by the product identifier included in the second request received by the receiving unit, and after the reception time When the aggregate value is changed, a transmission unit that transmits a pending response including data corresponding to the changed aggregate value to the consumer terminal;
Equipped with a,
The transmission means holds the response to the second request until the information on the sale stored in the storage means is changed for the product indicated by the product identifier included in the second request received by the receiving means. When the information on the sale is changed after the reception time, a response including data corresponding to the information on the changed sale is transmitted to the consumer terminal.
An electronic commerce server characterized by that.
前記格納手段は、前記他の消費者端末でのショッピングカートへ入れる操作により前記他の消費者端末から送信される第1リクエストにより変更される各消費者の各ショッピングカート内の個数の合計値を前記集計値の1つとして各商品についてそれぞれ格納し、
前記送信手段は、前記各消費者の各ショッピングカート内の個数の合計値が変更された場合に、その変更後の合計値を含むレスポンスを送信する、
ことを特徴とする請求項1に記載の電子商取引サーバ。
The storage means calculates a total value of the number of each consumer in each shopping cart, which is changed by a first request transmitted from the other consumer terminal by an operation of putting in the shopping cart at the other consumer terminal. Store each product as one of the aggregate values,
When the total value of the number of each consumer in each shopping cart is changed, the transmission means transmits a response including the changed total value.
The electronic commerce server according to claim 1.
前記格納手段は、前記他の消費者端末での購入申し込み操作により前記他の消費者端末
から送信される第1リクエストにより変更される、その第1リクエストに含まれる商品識別子で特定される商品の在庫数を前記集計値の1つとして各商品についてそれぞれ格納し、
前記送信手段は、前記在庫数が変更された場合に、その変更後の在庫数を含むレスポンスを送信する、
ことを特徴とする請求項2に記載の電子商取引サーバ。
The storage means changes the first request transmitted from the other consumer terminal by the purchase application operation at the other consumer terminal, and stores the product identified by the product identifier included in the first request. Store the number of stocks for each product as one of the aggregate values,
The transmission means transmits a response including the changed inventory quantity when the inventory quantity is changed,
The electronic commerce server according to claim 2.
前記送信手段は、前記商品についての前記各ショッピングカート内の個数の合計値及び前記在庫数の少なくとも一方が変更された場合には、その各ショッピングカート内の個数の合計値とその在庫数との関係に応じた表示メッセージを生成し、前記各ショッピングカート内の個数の合計値及び前記在庫数と共にその表示メッセージを含むレスポンスを送信する、
ことを特徴とする請求項3に記載の電子商取引サーバ。
The transmission means, when at least one of the total number of the items in each shopping cart and the number of stocks of the product is changed, between the total value of the number in each shopping cart and the number of stocks Generating a display message according to the relationship, and sending a response including the display message together with the total value of the number in each shopping cart and the stock quantity;
The electronic commerce server according to claim 3.
電子商取引サービスを提供する電子商取引サーバから画面データと共に送信され消費者端末で実行される電子商取引プログラムにおいて、
前記画面データで対象とされる少なくとも1つの商品の商品識別子を含んだ状態でリアルタイム処理のための第2リクエストを前記電子商取引サーバに送信するステップと、
前記第2リクエストに対する前記電子商取引サーバからのレスポンスを待つステップと、
前記少なくとも1つの商品を対象とした電子商取引に関する操作により他の消費者端末から前記電子商取引サーバへ送られる第1リクエストに応じて、前記少なくとも1つの商品についてのセールに関する情報が変更された場合に、前記電子商取引サーバから送信される前記第2リクエストに対するレスポンスを受信するステップと、
前記受信された第2リクエストに対するレスポンスに含まれる変更後の前記セールに関する情報を、前記画面データで表示される画面に反映させるステップと、
を含む電子商取引プログラム。
In an electronic commerce program that is transmitted together with screen data from an electronic commerce server that provides an electronic commerce service and executed on a consumer terminal,
Transmitting a second request for real-time processing to the electronic commerce server in a state including a product identifier of at least one product targeted by the screen data;
Waiting for a response from the electronic commerce server to the second request;
When information related to the sale of the at least one product is changed in response to a first request sent from another consumer terminal to the electronic commerce server by an operation related to the electronic commerce for the at least one product. Receiving a response to the second request transmitted from the electronic commerce server;
Reflecting the information about the changed sale included in the response to the received second request on the screen displayed by the screen data;
Including e-commerce programs.
JP2010028855A 2010-02-12 2010-02-12 Electronic commerce server and electronic commerce program Expired - Fee Related JP5662688B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010028855A JP5662688B2 (en) 2010-02-12 2010-02-12 Electronic commerce server and electronic commerce program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010028855A JP5662688B2 (en) 2010-02-12 2010-02-12 Electronic commerce server and electronic commerce program

Publications (2)

Publication Number Publication Date
JP2011165044A JP2011165044A (en) 2011-08-25
JP5662688B2 true JP5662688B2 (en) 2015-02-04

Family

ID=44595633

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010028855A Expired - Fee Related JP5662688B2 (en) 2010-02-12 2010-02-12 Electronic commerce server and electronic commerce program

Country Status (1)

Country Link
JP (1) JP5662688B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6094475B2 (en) * 2013-12-27 2017-03-15 キヤノンマーケティングジャパン株式会社 Information processing system, control method, and program
JP6241302B2 (en) * 2014-02-04 2017-12-06 富士通株式会社 Purchase procedure processing program, purchase procedure processing method, and purchase procedure processing apparatus
JP6324562B1 (en) * 2017-02-27 2018-05-16 ヤフー株式会社 Providing device, providing method, and providing program

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000322646A (en) * 2000-03-15 2000-11-24 Flagship:Kk Method and system for sale
JP2002109334A (en) * 2000-09-29 2002-04-12 Fujitsu Ltd Merchandise displaying method and recording medium
JP2004310715A (en) * 2003-04-08 2004-11-04 Akira Takatsuji Rental shop retrieval and rental commodity stock confirmation/reservation system
JP2009211343A (en) * 2008-03-04 2009-09-17 Kddi Corp Server device and communication system

Also Published As

Publication number Publication date
JP2011165044A (en) 2011-08-25

Similar Documents

Publication Publication Date Title
JP5132086B2 (en) Presentation of alternative product package offers from web vendors
US7860751B2 (en) Cross domain customer interface updates
US9105059B2 (en) Electronic commerce system utilizing custom merchant calculations
US9996865B2 (en) System and method for transaction automation
JP2009545036A (en) System and method for placing an order via the Internet
US20110307389A1 (en) Method and System for Distributed Point of Sale Transactions
JP2001222577A (en) Method and system for managing sale and article selling system
JP6027780B2 (en) Asset management server, asset management method, and asset management server program
JP5662688B2 (en) Electronic commerce server and electronic commerce program
US20110307387A1 (en) Method and System for Distributed Point of Sale Transactions
JP2007200258A (en) Commodity sales information management system combining joint purchase and point system on internet shopping site
JP2007041663A (en) System, method and program for distributing advertisement
JP2003242397A (en) System and device for managing evaluation information merchandise information providing server, user terminal, and method for paying compensation in response to evaluation information
JP6097249B2 (en) Accounting registration server, accounting registration method, and program for accounting registration server
KR101569046B1 (en) Product purchase user interface providing system and providing method thereof
JP2015032303A (en) Electronic commerce device, electronic commerce method and electronic commerce program
JP2007272617A (en) Purchase proxy server system
KR20180101078A (en) Apparatus and Method for online product purchase
JP2011076449A (en) Information intermediary server, method, program and system for providing information
JP2021064286A (en) Information processing method, program, and information processing device
US20030004801A1 (en) Method and apparatus for pairing discounts
AU2012100127A4 (en) A web server for vending ancillary services
JP2008052664A (en) Electronic commerce device, electronic commerce method, and its program
JP2011043990A (en) Information processing apparatus
JP2006244303A (en) On-line shopping system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130130

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20131031

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20131112

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140109

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140610

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140805

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20141111

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20141205

R150 Certificate of patent or registration of utility model

Ref document number: 5662688

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees