Patent Publication Number: US-11663571-B2

Title: Inventory management computer system

Description:
CROSS-REFERENCE TO RELATED APPLICATION 
     This application is a continuation of U.S. patent application Ser. No. 16/581,021, filed Sep. 24, 2019, which application is a continuation of U.S. patent application Ser. No. 15/875,368, filed Jan. 19, 2018, now U.S. Pat. No. 10,482,444, issued on Nov. 19, 2019, which application is based upon and claims the benefit of priority from Japanese Patent Application No. 2017-029878, filed Feb. 21, 2017, the entire contents of which are incorporated herein by reference. 
    
    
     FIELD 
     Embodiments described herein relate generally to an inventory management computer system. 
     BACKGROUND 
     In a retail store such as a supermarket, when a regular customer enters a store, there is a case in which a commodity that the regular customer often purchases is in stock, but the commodity is not displayed on a commodity shelf, a sales opportunity is lost. 
     Conventionally, such commodity display management is performed based on commodity sales data, commodity replenishment data and commodity discard data. Since a commodity preferred by the customer who enters the retail store is not preferentially displayed on the commodity shelf, if a different commodity that is likely to be purchased by the customer who enters the retail store is not displayed, the different commodity cannot be timely displayed on the commodity shelf. 
    
    
     
       DESCRIPTION OF THE DRAWINGS 
         FIG.  1    is a diagram of a commodity display management system according to a first embodiment; 
         FIG.  2    is a block diagram illustrating the hardware configuration of a store server; 
         FIG.  3    is a block diagram illustrating the hardware configuration of a POS terminal; 
         FIG.  4    is a block diagram illustrating the hardware configuration of a customer detection apparatus; 
         FIG.  5    is a block diagram illustrating the hardware configuration of a portable terminal; 
         FIG.  6    is a functional block diagram illustrating the functional components of the commodity display management system; 
         FIG.  7    is a diagram illustrating an example of the data structure stored in a customer master file; 
         FIG.  8    is a diagram illustrating an example of the data structure stored in a commodity display master file; 
         FIG.  9    is a diagram illustrating an example of a notification screen displayed on the portable terminal; 
         FIG.  10    is a flowchart illustrating the flow of processing executed by the customer detection apparatus and the flow of a series of processing executed by the store server when a customer enters a store; 
         FIG.  11    is a flowchart illustrating the flow of processing executed by the portable terminal; 
         FIG.  12    is a flowchart illustrating the flow of processing executed by the POS terminal and the flow of a series of processing executed by the store server at a predetermined time such as after closing a store; 
         FIG.  13    is a diagram of a commodity display management system according to a second embodiment; 
         FIG.  14    is a block diagram illustrating the hardware configuration of a customer detection apparatus according to the second embodiment; 
         FIG.  15    is a block diagram illustrating the hardware configuration of a display quantity detection apparatus; 
         FIG.  16    is a block diagram illustrating the functional components of a commodity display management system according to the second embodiment; 
         FIG.  17    is a diagram illustrating an example of a notification screen displayed on a portable terminal according to the second embodiment; 
         FIG.  18    is a flowchart illustrating the flow processing executed by a customer detection apparatus and a store server according to the second embodiment; 
         FIG.  19    is a flowchart illustrating the flow of processing executed by the display quantity detection apparatus according to the second embodiment; and 
         FIG.  20    is a flowchart illustrating the flow of processing executed by the store server at a predetermined time such as after closing a store according to the second embodiment. 
     
    
    
     DETAILED DESCRIPTION 
     In accordance with an embodiment, a computer system includes an inventory management server, a plurality of point-of-sale (POS) terminals communicating with the inventory management server over a first network, a face recognition computer having a camera communicating with the inventory management server over the first network, and a portable terminal communicating wirelessly with the inventory management server over a second network. The inventory management server is configured to generates alerts that are displayed on the portable terminal based on first data from the POS terminals and second data from the face recognition computer. 
     First Embodiment 
     A commodity display management system  100   a  provided with a store server  10   a  which is an example of an information processing apparatus according to the first embodiment of the present invention is described with reference to the accompanying drawings.  FIG.  1    is a system constitution diagram of the commodity display management system  100   a  installed in a retail store. The commodity display management system  100   a  predicts a commodity a customer purchases based on an attribute of the customer who enters the retail store. Then, the commodity display management system  100   a  requests a store clerk who performs the commodity display to replenish the commodity on condition that a display quantity of the predicted commodities is less than a predetermined value. The commodity display management system  100   a  is a commodity replenishment support system. As shown in  FIG.  1   , the commodity display management system  100   a  includes a store server  10   a,  a POS terminal (Point Of Sales)  50 , a customer detection apparatus  70   a,  and a portable terminal  80 . 
     The store server  10   a  manages commodity information, customer information, and commodity display information for the retail store. The store server  10   a  extracts the attributes of a customer C who enters the retail store. The store server  10   a  then predicts the commodity that the customer C is likely to purchase based on the attribute of the customer C. Further, the store server  10   a  requests for the store clerk who performs the commodity display to replenish the commodity, when the display quantity of the predicted commodities is less than the predetermined value. 
     A plurality of POS terminals  50  is installed in the retail store. The POS terminal  50  executes a commodity registration processing and a checkout processing of a commodity purchased by the customer C. 
     The customer detection apparatus  70   a  is installed at an entrance of the retail store, and captures an image of a face of the customer C who visits the retail store. The store server  10   a,  the POS terminal  50 , and the customer detection apparatus  70   a  communicate with one another by a communication network  34  such as a LAN (Local Area Network). 
     The portable terminal  80  is held by each of a plurality of store clerks who perform the commodity display work in the retail store. Based on an instruction from the store server  10   a,  the portable terminal  80  communicates to the store clerk the commodity information necessary for the commodities to be displayed. The store server  10   a  and the portable terminal  80  communicate with each other via a wireless communication  36  such as a wireless LAN. 
     Description of Hardware Structure of Store Server 
       FIG.  2    is a block diagram illustrating the hardware configuration of the store server  10   a.    
     As shown in  FIG.  2   , the store server  10   a  is installed in a back office of a retail store, and includes a control section  18  having a computer that includes a CPU (Central Processing Unit)  12 , a ROM (Read Only Memory)  14 , a RAM (Random Access Memory)  16 . The CPU  12  executes various processing to control each section. The ROM  14  stores data in a non-volatile manner. The RAM  16  stores various data in a rewritable manner and is used as a work area. The CPU  12 , the ROM  14  and the RAM  16  are connected via an internal bus line  30 . 
     Further, a keyboard  24  and a display section  26  as peripheral devices are connected to the store server  10   a  via a controller  22 . The operations of both peripheral devices are all controlled by the control section  18 . The keyboard  24  receives an input of an operation instruction to the store server  10   a.  The display section  26  displays information output by the store server  10   a.    
     Furthermore, the store server  10   a  is provided with a communication interface (I/F)  28  for executing data communication with the POS terminal  50  and the customer detection apparatus  70   a  via the communication network  34  provided in the retail store. The communication I/F  28  performs mutual communication between the store server  10   a  and the portable terminal  80  through the wireless communication  36 . The communication I/F  28  is also connected to the internal bus line  30 . 
     A memory section  20 , which is a storage device, is connected to the control section  18  via the internal bus line  30 . The memory section  20  is, for example, a HDD (Hard Disc Drive), a flash memory and the like, and stores the stored content even if the power is cut off. 
     The memory section  20  stores an operating system, a control program P 1  such as various computer programs and various master data such as a commodity master file F 1 , a commodity display master file F 2 , and a customer master file F 3 . 
     The control program P 1  executed by the store server  10   a  may be provided as a file in an installable format or an executable format in a computer-readable recording medium such as a CD-ROM, a FD (Flexible Disk), a CD-R, a DVD (Digital Versatile Disc) and the like. 
     The control program P 1  executed by the store server  10   a  may be stored on a computer connected to a network such as an Internet, and be provided by being downloaded via the network. Further, the control program P 1  executed by the store server  10   a  may be provided or distributed via a network such as the Internet. The control program P 1  executed by the store server  10   a  may be provided by being incorporated in the ROM  14  in advance. 
     The commodity master file F 1  is a master file in which the commodity information of all commodities handled at the retail store is registered. The commodity information includes information such as a commodity code, a commodity category, a commodity name, a unit price, etc. The commodity display master file F 2  is a master file in which commodity display status and inventory status in the retail store are registered. The commodity display master file F 2  includes information such as a commodity code, a commodity name, an inventory quantity (display quantity) on a commodity shelf, an inventory quantity in the back office, etc. The customer master file F 3  is a master file in which the customer information is registered. The customer master file F 3  includes a customer code, a customer name, a feature value for identifying a facial image of the customer, information indicating whether the customer is a regular customer, information such as a purchase history of the customer and the like as the customer information. The customer master file F 3  is described in detail later. 
     Description of Hardware Structure of POS Terminal 
       FIG.  3    is a block diagram illustrating the hardware configuration of the POS terminal  50 . As shown in  FIG.  3   , the POS terminal  50  includes a control section  58  having a computer including a CPU  52 , a ROM  54  and a RAM  56 . The CPU  52  executes various processing to control each section. The ROM  54  stores data in an non-volatile manner. The RAM  56  stores various data in a rewritable manner and is used as a work area. The CPU  52 , the ROM  54  and the RAM  56  are connected via an internal bus line  77 . 
     Peripheral devices such as a keyboard  64 , a display section for store clerk  66 , a display section for customer  68 , a printer  70 , a barcode reader  71  and the like are connected to the POS terminal  50  via a controller  62 . The operations of these peripheral devices are all controlled by the control section  58 . 
     The keyboard  64  includes various keys such as, for example, a numeric key for entering a commodity code and an amount of money, a subtotal key for declaring calculation of a sales total amount, a cash total key for declaring settlement by cash in a sales processing, a PLU (Price Look-Up) key for designating various commodities, a confirmation key for confirming a numeric input by the numeric keys, a clear key, and the like. 
     Further, the POS terminal  50  is provided with a communication I/F  79  for executing data communication with the store server  10   a,  which is a host device, via the communication network  34  installed in the retail store. The communication I/F  79  is connected to the internal bus line  77 . 
     A memory section  60  which is a storage device is connected to the control section  58  via the internal bus line  77 . The memory section  60  is a HDD, a flash memory, or the like, and stores the stored contents even if the power is cut off. 
     The memory section  60  stores an operating system, a control program P 2  such as various computer programs, and various data such as a PLU file F 4  and a transaction file F 5 . 
     The control program P 2  executed by the POS terminal  50  may be provided as a file in an installable format or an executable format in a computer-readable recording medium such as a CD-ROM, a FD (Flexible Disk), a CD-R, a DVD (Digital Versatile Disc) and the like. 
     The control program P 2  executed by the POS terminal  50  may be stored on a computer connected to a network such as an Internet, and be provided by being downloaded via the network. Further, the control program P 2  executed by the POS terminal  50  may be provided or distributed via a network such as the Internet. The control program P 2  executed by the POS terminal  50  may be provided by being incorporated in the ROM  54  in advance. 
     The PLU file F 4  is a file in which a commodity code and a unit price for uniquely identifying each commodity are registered. The PLU file F 4  is a file in which information for registering the commodity purchased by the customer, retrieved from the commodity master file F 1  described above. The transaction file F 5  is a file in which the transaction history in the POS terminal  50  is recorded. The transaction file F 5  includes information such as a purchaser, a commodity name, a quantity, a sales date and time, and the like. 
     Description of Hardware Structure of Customer Detection Apparatus 
       FIG.  4    is a block diagram illustrating the hardware configuration of the customer detection apparatus  70   a.  As shown in  FIG.  4   , the customer detection apparatus  70   a  includes a control section  78  having a computer including a CPU  72 , a ROM  74  and a RAM  76 . The CPU  72  executes various processing to control each section. The ROM  74  stores data in a non-volatile manner. The RAM  76  stores variable data in a rewritable manner and is used as a work area. The CPU  72 , the ROM  74 , and the RAM  76  are connected via an internal bus line  87 . 
     A control program P 3  executed by the customer detection apparatus  70   a  is stored in the ROM  74 . The control program P 3  may be provided as a file in an installable format or an executable format in a computer-readable recording medium such as a CD-ROM, a FD (Flexible Disk), a CD-R, a DVD (Digital Versatile Disc) and the like. 
     A plurality of cameras  89  are connected to the customer detection apparatus  70   a  via a controller  81 . Each of the cameras  89  has the same general configuration and captures an image including a face of the customer C in the retail store. The operation of the camera  89  is controlled by the control section  78 . 
     Furthermore, the customer detection apparatus  70   a  is provided with a communication I/F  91  for executing data communication with the store server  10   a,  which is a host device, via the communication network  34  provided in the retail store. The communication I/F  91  is connected to the internal bus line  87 . 
     Description of Hardware Structure of Portable Terminal 
       FIG.  5    is a block diagram illustrating the hardware configuration of the portable terminal  80 . As shown in  FIG.  5   , the portable terminal  80  includes a control section  88  having a computer constitution including a CPU  82 , a ROM  84 , a RAM  86 , and the like. The CPU  82  executes various processing to control each section. The ROM  84  stores data in a non-volatile manner. The RAM  86  stores variable data in a rewritable manner and is used as a work area. The CPU  82 , the ROM  84 , and the RAM  86  are connected via an internal bus line  98 . 
     A control program P 4  executed by the portable terminal  80  is stored in the ROM  84 . 
     A display section  94  and a touch panel  92  are connected to the portable terminal  80  via a controller  90 . The display section  94  displays information output by the portable terminal  80 . The touch panel  92  receives an input of an operation instruction to the portable terminal  80 . The operations of both peripheral devices are controlled by the control section  88 . 
     Further, the portable terminal  80  is provided with a communication I/F  96  for executing data communication with the store server  10   a  via the wireless communication  36 . The communication I/F  96  is also connected to the internal bus line  98 . 
     Description of Functional Component of Commodity Display Management System 
     Next, the functional components of the commodity display management system  100   a  are described with reference to  FIG.  6   .  FIG.  6    is a block diagram illustrating the functional components of the commodity display management system  100   a.    
     As shown in  FIG.  6   , the commodity display management system  100   a  includes the store server  10   a,  the POS terminal  50 , the customer detection apparatus  70   a,  and the portable terminal  80 . Although a plurality of POS terminals  50  and a plurality of the portable terminals  80  are provided, here, in order to simplify the description, the commodity display management system  100   a  is illustrated with one POS terminal  50  and one portable terminal  80 , respectively. 
     The CPU  12  ( FIG.  2   ) of the store server  10   a  operates according to the control program P 1  to realize a customer identifying section  102 , a purchased commodity prediction section  104 , a display quantity calculation section  106 , an inventory quantity calculation section  108 , a commodity display request section  110 , an information transmission and reception section  112  and a data storage section  114  shown in  FIG.  6    as functional sections inside the control section  18 . 
     The customer identifying section  102  is an example of a identifying module. The customer identifying section  102  compares a feature value extracted from the facial image of the customer C captured by the customer detection apparatus  70   a  with a feature value registered in the customer master file F 3  mentioned above to identify the customer C who enters the retail store. 
     The purchased commodity prediction section  104  is an example of a prediction module. The purchased commodity prediction section  104  predicts a commodity that the customer C is likely to purchase based on a result of identifying the customer C. Specifically, the purchased commodity prediction section  104  predicts a commodity that is likely to be purchased based on a past purchase history of the customer C. 
     The display quantity calculation section  106  is an example of a calculation module. The display quantity calculation section  106  calculates how many of the commodities predicted by the purchased commodity prediction section  104  are currently displayed on the commodity shelf of the retail store. Specifically, the display quantity calculation section  106  refers to the commodity display master file F 2  to obtain a display quantity of the corresponding commodities at the time of opening the store. The display quantity calculation section  106  then calculates the current display quantity by subtracting the number of commodities subjected to a checkout processing in the POS terminal  50  from the obtained display quantity. 
     The inventory quantity calculation section  108  calculates the current inventory quantity (inventory quantity stored in the back office of the retail store) of the commodities predicted by the purchased commodity prediction section  104 . Specifically, the inventory quantity calculation section  108  refers to the commodity display master file F 2  to obtain a total inventory quantity of the corresponding commodities at the time of opening the store. The inventory quantity calculation section  108  then calculates the current inventory quantity by subtracting the number of commodities displayed on the commodity shelf up to now from the total inventory quantity at the time of opening the store. 
     The commodity display request section  110  is an example of a request module. When the display quantity of a commodity predicted by the purchased commodity prediction section  104  is less than a predetermined value and the current inventory quantity of the commodities is not 0, the commodity display request section  110  transmits the commodity display request information requesting the commodity display of the corresponding commodity to the portable terminal  80  carried by the store clerk. 
     The information transmission and reception section  112  transmits and receives information between the store server  10   a  and the POS terminal  50 . The information transmission and reception section  112  transmits and receives information between the store server  10   a  and the customer detection apparatus  70   a.  Further, the information transmission and reception section  112  transmits and receives information between the store server  10   a  and the portable terminal  80 . The information transmitted and received is described in detail with reference to the flowcharts in  FIG.  10   ,  FIG.  11    and  FIG.  12    described later. 
     The data storage section  114  is realized by the memory section  20  ( FIG.  2   ) described above. The data storage section  114  stores the control program P 1 , the commodity master file F 1 , the commodity display master file F 2 , and the customer master file F 3  described above. The content of each master file is described later. 
     The CPU  52  ( FIG.  3   ) of the POS terminal  50  operates according to the control program P 2  to realize a commodity registration processing section  120 , a checkout processing section  122 , a purchase history updating section  124 , an information transmission and reception section  126 , and a data storage section  128  shown in  FIG.  6    as the functional sections inside the control section  58 . Although not shown in  FIG.  6   , all POS terminals  50  have the same functional components. 
     The commodity registration processing section  120  reads a commodity code of a commodity from a barcode on the commodity purchased by the customer C. The commodity registration processing section  120  performs a commodity registration processing of registering the commodity based on the read commodity code. 
     The checkout processing section  122  executes a checkout processing for settling a transaction with respect to the commodity after the commodity registration processing section  120  registers the commodity codes of all the commodities purchased by the customer C. 
     The purchase history updating section  124  stores the commodity information purchased by the customer C in the transaction file F 5  after the checkout processing is completed. As a result, the purchase history of the customer C is generated. 
     The information transmission and reception section  126  transmits and receives information between the POS terminal  50  and the store server  10   a.  Specifically, the transaction file F 5  is transmitted from the POS terminal  50  to the store server  10   a.  Details are described with reference to the flowchart in  FIG.  12    described later. 
     The data storage section  128  is realized by the memory section  60  ( FIG.  3   ) described above. The data storage section  128  stores the control program P 2 , the PLU file F 4 , and the transaction file F 5  described above. The content of each file is described later. 
     The CPU  72  ( FIG.  4   ) of the customer detection apparatus  70   a  operates according to the control program P 3  to realize an image capturing section  140 , a face detection section  141 , an information transmission and reception section  142  and a data storage section  144  shown in  FIG.  6    as the functional sections inside the control section  78 . 
     The image capturing section  140  captures an image including the face of the customer C by the camera  89  ( 89   a,  . . . ,  89   k ). 
     The face detection section  141  performs a face detection processing for detecting a face from the image captured by the image capturing section  140 . 
     The information transmission and reception section  142  transmits and receives information between the customer detection apparatus  70   a  and the store server  10   a.  Specifically, a category of the feature value and the magnitude of the feature value extracted from the face detection section  141  are transmitted from the customer detection apparatus  70   a  to the store server  10   a.  Details are described with reference to the flowchart in  FIG.  10    described later. 
     The data storage section  144  is realized by the ROM  74  ( FIG.  4   ) described above. The data storage section  144  stores the control program P 3 . 
     The CPU  82  ( FIG.  5   ) of the portable terminal  80  operates according to the control program P 4  to realize a display control section  150 , a commodity display declaration information input section  152 , a commodity display information input section  153 , an information transmission and reception section  154 , and a data storage section  156  shown in  FIG.  6    as the functional sections inside the control section  88 . Although not shown in  FIG.  6   , all the portable terminals  80  have the same functional components. 
     The display control section  150  controls the information displayed on the display section  94  ( FIG.  5   ) of the portable terminal  80 . Specifically, the display control section  150  displays a notification screen  95   a  (see  FIG.  9   ) including a commodity display request information on the display section  94  of the portable terminal  80 . Further, the display control section  150  erases the commodity display request information displayed on the display section  94  of the portable terminal  80  other than the portable terminal  80  where an I-go button B 1  (see  FIG.  9   ) described later is pressed. 
     The commodity display declaration information input section  152  receives intention display of the store clerk for performing the commodity display at the time information for requesting the commodity display is displayed on the display section  94  ( FIG.  5   ) of the portable terminal  80 . Specifically, the commodity display declaration information input section  152  receives a press on the I-go button B 1  (refer to  FIG.  9   ) described later. Further, the commodity display declaration information input section  152  transmits the intention display indicating that the store clerk performs the commodity display to the store server  10   a.    
     The commodity display information input section  153  receives the commodity code and the quantity (commodity display information) of the commodity, which is displayed on the commodity shelf, which are input in the portable terminal  80  if the clerk performs the commodity display. 
     The information transmission and reception section  154  transmits and receives information between the portable terminal  80  and the store server  10   a.  Specifically, the commodity display request information and an instruction to erase the commodity display request information are transmitted from the store server  10   a  to the portable terminal  80 . Information indicating pressing of the I-go button B 1  and the commodity display information are transmitted from the portable terminal  80  to the store server  10   a.  Details are described with reference to flowcharts in  FIG.  10    and  FIG.  11    described later. 
     The data storage section  156  is realized by the above-mentioned ROM  84  ( FIG.  5   ). The data storage section  156  stores the control program P 4 . 
     The functional components shown in  FIG.  6    are merely examples and are not limited to the illustrated components. For example, by storing the customer master file F 3  in the data storage section  144  of the customer detection apparatus  70   a,  a change such as making the customer detection apparatus  70   a  have the function of the customer identifying section  102  may be made. 
     Description of Contents of Customer Master File 
     Next, with reference to  FIG.  7   , the contents of the information stored in the customer master file F 3  are described.  FIG.  7    is a diagram illustrating an example of the data structure stored in the customer master file F 3 . 
     The customer master file F 3  has customer attribute information F 3   a  and purchase history information F 3   b.  As shown in  FIG.  7 ( a ) , the customer attribute information F 3   a  is a database that stores attribute information necessary for identifying the customer C. The purchase history information F 3   b  is a database that stores the past purchase history of the customer C, as shown in  FIG.  7 ( b ) . 
     As shown in  FIG.  7 ( a ) , the customer attribute information F 3   a  includes a serial number column f 1 , a customer ID column f 2 , a customer name column f 3 , a feature value type column f 4 , a feature value amount column f 5  and a regular column f 6 . Although not shown in  FIG.  7 ( a ) , the customer attribute information F 3   a  may also store age, sex and the like of the customer C together. 
     The serial number column f 1  stores data serial number. The customer ID column f 2  stores an identification number assigned to each registered customer C. The customer name column f 3  stores the name of each customer C. 
     The feature value type column f 4  stores a type of the feature value contained in the facial image of the customer C, which is a feature for identifying each customer C. The feature value amount column f 5  stores an amount of the feature value stored in the feature value type column f 4  or a range of amounts of the feature value. The regular column f 6  stores information on whether the customer C is a regular customer. For example, it is assumed that the regular customer is a customer C whose frequency of shopping at the retail store exceeds a predetermined value. Various other definitions may be considered for the regular. For example, a customer C whose past total payment amount in the retail store exceeds a predetermined value may be defined as the regular customer. 
     As shown in  FIG.  7 ( b ) , the purchase history information F 3   b  includes a customer ID column f 7 , a commodity ID column f 8 , a commodity name column f 9 , a quantity column f 10 , and a purchase date column f 11 . 
     The customer ID column f 7  stores the identification number assigned to each customer C. The commodity ID column f 8  stores the commodity code purchased by the customer C. The commodity name column f 9  stores the commodity name purchased by the customer C. 
     The quantity column f 10  stores the quantity of commodities purchased by the customer C. The purchase date column f 11  stores the date at which the customer C purchases the commodity. 
     Both the customer attribute information F 3   a  and the purchase history information F 3   b  included by the customer master file F 3  have a so-called relational database structure. In other words, the information registered in the customer attribute information F 3   a  and the information registered in the purchase history information F 3   b  are associated with each other. Therefore, by performing information search on the information stored in the customer master file F 3 , it is possible to easily extract various information on a specific customer C. For example, it is possible to easily perform a search operation such as “sort commodities purchased by a customer over the past year in order of purchase frequency”. 
     Description of Contents of Commodity Display Master File 
     Next, the content of information stored in the commodity display master file F 2  is described with reference to  FIG.  8   .  FIG.  8    is a diagram illustrating an example of the data structure stored in the commodity display master file F 2 . 
     The commodity display master file F 2  is a database in which the inventory quantity of each commodity in the retail store is registered. As shown in  FIG.  8   , the commodity display master file F 2  includes a commodity ID column f 20 , a commodity name column f 21 , a display quantity column f 22 , a back office inventory quantity column f 23 , and a commodity display object column f 24 . 
     The commodity ID column f 20  stores the commodity code of each commodity. The commodity name column f 21  stores the commodity name. 
     The display quantity column f 22  stores the number of commodities (display number) displayed on the commodity shelf. The back office inventory quantity column f 23  stores the number of commodities placed in the back office. The commodity display object column f 24  stores information indicating whether it is a commodity required to be displayed on the commodity shelf. The display quantity column f 22  and a numerical value stored in the back office inventory quantity column f 23  are updated as appropriate. Specifically, the numerical value of the display quantity column f 22  is updated by reading a sales number of commodities every time the store server  10   a  receives the transaction file F 5  updated each time the checkout processing is completed from the POS terminal  50 . The numerical value of the back office inventory quantity column f 23  is updated every time the store server  10   a  receives the commodity code and the quantity of the commodities to be displayed on the commodity shelf which are input to the portable terminal  80  by the store clerk who performs the commodity display. 
     For the commodity required to be displayed on the commodity shelf, a check mark Cm is drawn in a check box C drawn in the commodity display object column f 24  (for example, commodity A and commodity B in  FIG.  8   ). On the other hand, for the commodity that is not required to be displayed on the commodity shelf, only the check box C which is empty is drawn in the commodity display object column f 24  (for example, commodity C in  FIG.  8   ). 
     Whether the commodity display is necessary is determined based on the numerical value stored in the display quantity column f 22 . If the numerical value stored in the display quantity column f 22  is less than a predetermined value (e.g., less than  15 ), a check mark Cm is drawn in the check box C in the commodity display object column f 24 . On the other hand, if the numerical value stored in the display quantity column f 22  is greater than or equal to the predetermined value, the check box C is empty in the commodity display object column f 24 . 
     Description of Commodity Display Request Information 
     Next, with reference to  FIG.  9   , if the commodity display is required, the commodity display request information sent to the portable terminal  80  carried by the store clerk who performs the commodity display is described.  FIG.  9    is a diagram illustrating an example of the notification screen  95   a  displayed on the portable terminal  80  in the present embodiment. 
     The display control section  150  ( FIG.  6   ) of the portable terminal  80  receives an instruction from the commodity display request section  110  ( FIG.  6   ) of the store server  10   a,  and the notification screen  95   a  shown in  FIG.  9    is displayed on the display section  94  (touch panel  92 ) of the portable terminal  80 . 
     The notification screen  95   a  displays the commodity display request information. The commodity display request information includes a visit guidance M 1 , a visiting customer name M 2 , a commodity list F 2   a,  and the I-go button B 1  which is an example of an operator. 
     The visit guidance M 1  informs that the regular customer enters the retail store. The visiting customer name M 2  is a name of the customer C who enters the retail store. 
     The commodity list F 2   a  is a commodity list that the customer C is likely to purchase based on the past purchase history of the customer C selected from the commodity display master file F 2 . The commodity list F 2   a  has the same format as the commodity display master file F 2 . The commodity list F 2   a  in  FIG.  9    has the same content as the commodity display master file F 2  in  FIG.  8   . However, a commodity list F 2   a  is selected from the commodity display master file F 2  in response to the customer C, and the commodity list F 2   a  is displayed on the notification screen  95   a.    
     The I-go button B 1  is an operator for receiving the intention display from the store clerk to perform the commodity display for the commodity indicated as the commodity display object in the commodity list F 2   a.  Specifically, the store clerk first selects the commodity to be displayed on the commodity shelf by pressing a commodity selection button B 2  or a commodity selection button B 3 . Next, the store clerk presses the I-go button B 1  to declare that the commodity display of the commodities selected by the commodity selection buttons B 2  and B 3  is performed. 
     Description of Flow of Processing Executed by Customer Detection Apparatus and Store Server 
     Next, the flow of a series of processing executed by the customer detection apparatus  70   a  and the store server  10   a  is described with reference to the flowchart in  FIG.  10   . The flowchart shown in  FIG.  10    illustrates the flow of processing executed by the customer detection apparatus  70   a  and the flow of a series of processing executed by the store server  10   a  when the customer enters the retail store. 
     First, with reference to the flowchart in  FIG.  10 ( a ) , the flow of processing executed by the customer detection apparatus  70   a  is described. The image capturing section  140  performs the image capturing processing (Act S 10 ). There is no limitation on the execution timing of the image capturing processing, and the image capturing may be performed if an instruction is given by the control program P 3 . 
     The face detection section  141  performs the face detection processing for detecting a face from images captured by the image capturing section  140  (Act S 12 ). 
     The face detection section  141  determines whether a face is detected (Act S 14 ). If the face is detected (Yes in Act S 14 ), the flow proceeds to the processing in Act S 16 . On the other hand, if no face is detected (No in Act S 14 ), the flow returns to the processing in Act S 10 . 
     Subsequently, the face detection section  141  extracts the feature value from the detected face (Act S 16 ). The feature value detected here is the feature value characterizing each customer stored in the customer attribute information F 3   a  of the customer master file F 3  stored by the store server  10   a.  The face detection section  141  receives each type of the feature value stored in the customer attribute information F 3   a  via the information transmission and reception section  112  of the store server  10   a  and the information transmission and reception section  142  of the customer detection apparatus  70   a.    
     The information transmission and reception section  142  transmits the type of the extracted feature value and the amount of the feature value to the store server  10   a  (Act S 18 ). After that, the customer detection apparatus  70   a  ends the processing in  FIG.  10 ( a ) . Actually, until the operation of the commodity display management system  100   a  stops, the customer detection apparatus  70   a  repeats the processing in  FIG.  10 ( a ) . 
     Next, with reference to the flowchart in  FIG.  10 ( b ) , the flow of the processing executed by the store server  10   a  when the customer enters the retail store is described. The information transmission and reception section  112  determines whether the feature value is received from the customer detection apparatus  70   a  (Act S 20 ). In a case in which the feature value is received (Yes in Act S 20 ), the customer identifying section  102  compares the type and the amount of the received feature value with those in the feature value type column f 4  and the feature value amount column f 5  ( FIG.  7   ) of the customer attribute information F 3   a  to identify the customer C (Act S 22 ). On the other hand, in Act S 20 , if the information transmission and reception section  112  does not receive the feature value from the customer detection apparatus  70   a  (No in Act S 20 ), the processing in Act S 20  is repeated. 
     Based on the identifying result in Act S 22 , the customer identifying section  102  determines whether the customer C is the regular customer (Act S 24 ). If it is determined that the customer C is the regular customer (Yes in Act S 24 ), the flow proceeds to the processing in Act S 26 . 
     Next, the purchased commodity prediction section  104  reads the purchase history information F 3   b  of the customer C (Act S 26 ). 
     Based on the purchase history information F 3   b  of the customer C, the purchased commodity prediction section  104  predicts, for example, the top three commodities that the customer C is likely to purchase (Act S 28 ). 
     Subsequently, the commodity display request section  110  reads the information in the commodity display master file F 2  (Act S 30 ). 
     The commodity display request section  110  refers to the commodity display object column f 24  of the read commodity display master file F 2  to determine whether the commodity display target article exists in the commodities that the customer C is likely to purchase (Act S 32 ). If there is a commodity display target article (Yes in Act S 32 ), the flow proceeds to the processing in Act S 34 . 
     The commodity display request section  110  transmits the commodity display request information to the portable terminal  80  (Act S 34 ). 
     The commodity display request section  110  determines whether the information indicating that the I-go button B 1  ( FIG.  9   ) is pressed is received from the portable terminal  80  via the information transmission and reception section  112  (Act S 36 ). If the information indicating that the I-go button B 1  is pressed is received (Yes in Act S 36 ), the flow proceeds to the processing in Act S 38 . On the other hand, if the information indicating that the I-go button B 1  is pressed is not received (No in Act S 36 ), the processing in Act S 36  is repeated. 
     The commodity display request section  110  transmits a signal instructing the deletion of the commodity display request information to all the portable terminals  80  other than the portable terminal which transmits information indicating that the I-go button B 1  is pressed among the portable terminals  80  (Act S 38 ). 
     Next, the inventory quantity calculation section  108  determines whether the commodity display information is received from the portable terminal  80  (Act S 40 ). If the commodity display information is received (Yes in Act S 40 ), the flow proceeds to the processing in Act S 42 . On the other hand, if the commodity display information is not received (No in Act  40 ), the processing in Act  40  is repeated. 
     The display quantity calculation section  106  and the inventory quantity calculation section  108  update the information in the commodity display master file F 2  (Act S 42 ). Specifically, the display quantity calculation section  106  updates the display quantity column f 22  of the commodity display master file F 2  based on the contents of the transaction file F 5 . The inventory quantity calculation section  108  updates the back office inventory quantity column f 23  of the commodity display master file F 2  based on the received commodity display information. Thereafter, the store server  10   a  ends the processing in  FIG.  10 ( b ) . Actually, until the commodity display management system  100   a  stops the operation, the store server  10   a  repeats the processing in  FIG.  10 ( b ) . 
     In Act S 24 , if it is determined that the customer C is not the regular customer (No in Act S 24 ), and in Act S 32 , if the commodity display of the commodity that the customer C is likely to purchase is unnecessary (No in Act S 32 ), the flow proceeds to the processing in Act S 40  in both cases. 
     Description of Flow of Processing Executed by Portable Terminal 
     Next, the flow of a series of processing executed by the portable terminal  80  is described with reference to the flowchart in  FIG.  11   . 
     The information transmission and reception section  154  determines whether the commodity display request information is received from the store server  10   a  (Act S 50 ). If the commodity display request information is received (Yes in Act S 50 ), the flow proceeds to the processing in Act S 52 . On the other hand, if the commodity display request information is not received (No in Act S 50 ), the processing in Act S 50  is repeated. 
     The display control section  150  displays the notification screen  95   a  ( FIG.  9   ) on the display section  94  (touch panel  92 ) (Act S 52 ). 
     The commodity display declaration information input section  152  determines whether or not the I-go button B 1  is pressed (Act S 54 ). If the I-go button B 1  is pressed (Yes in Act S 54 ), the flow proceeds to the processing in Act S 56 . On the other hand, if the I-go button B 1  is not pressed (No in Act S 54 ), the flow proceeds to the processing in Act S 58 . 
     The commodity display declaration information input section  152  transmits information indicating that the I-go button B 1  is pressed to the store server  10   a  via the information transmission and reception section  154  (Act S 56 ). 
     The display control section  150  determines whether the signal instructing the deletion of the commodity display request information is received from the store server  10   a  (Act S 58 ). If the signal instructing the deletion of the commodity display request information is received (Yes in Act S 58 ), the flow proceeds to the processing in Act S 60 . On the other hand, if the signal instructing deletion of the commodity display request information is not received (No in Act S 58 ), the flow proceeds to the processing in Act S 54 . 
     The display control section  150  erases the commodity display request information (Act S 60 ). In particular, the display control section  150  erases the notification screen  95   a  ( FIG.  9   ) including the commodity display request information. If the store clerk declares the commodity display of only a part of the commodities required to be displayed on the commodity shelf, the display control section  150  erases only the information corresponding to the commodities of which the commodity display is declared. 
     The commodity display information input section  153  determines whether the store clerk who performs the commodity display inputs the commodity display information (the commodity code and the quantity of the commodities to be displayed on the commodity shelf) to the portable terminal (Act S 62 ). If the commodity display information is input (Yes in Act S 62 ), the flow proceeds to the processing in Act S 64 . Otherwise (No in Act S 62 ), the processing in Act S 62  is repeated. 
     The information transmission and reception section  154  transmits the commodity display information to the store server  10   a  (Act S 64 ). Thereafter, the portable terminal  80  ends the processing in  FIG.  11   . Actually, the portable terminal  80  repeats the processing in  FIG.  11    until the operation of the commodity display management system  100   a  is stopped. 
     Description of Flow of Processing Executed by POS Terminal and Flow of Processing Executed by Store Server at a Predetermined Time After Closing Store 
     Next, with reference to the flowchart in  FIG.  12   , the flow of a series of processing executed by the POS terminal  50  and a flow of a series of processing executed by the store server  10   a  at a predetermined time such as after closing the retail store are described. 
     First, with reference to the flowchart in  FIG.  12 ( a ) , the flow of processing executed by the store server  10   a  is described. At a predetermined time such as after closing the retail store, the display quantity calculation section  106  determines whether the transaction file F 5  is received from the POS terminal  50  (Act S 66 ). If the transaction file F 5  is received (Yes in Act S 66 ), the flow proceeds to the processing in Act S 68 . On the other hand, if the transaction file F 5  is not received (No in Act S 66 ), the processing in Act S 66  is repeated. 
     The control section  18  of the store server  10   a  updates the purchase history information F 3   b  of the corresponding customer C based on the content of the transaction file F 5  (Act S 68 ). Thereafter, the store server  10   a  ends the processing in  FIG.  12 ( a ) . 
     Next, the flow of processing executed by the POS terminal  50  is described with reference to the flowchart in  FIG.  12 ( b ) . First, the commodity registration processing section  120  reads the commodity information of the commodity purchased by customer C to register it (Act S 70 ). Specifically, the commodity registration processing section  120  reads the barcode attached to the commodity with the barcode reader  71  ( FIG.  3   ). 
     The checkout processing section  122  determines whether the closing key is pressed (Act S 72 ). If the closing key is pressed (Yes in Act S 72 ), the flow proceeds to the processing in Act S 74 . On the other hand, if the closing key is not pressed (No in Act S 72 ), the flow returns to the processing in Act S 70 . 
     The checkout processing section  122  executes the checkout processing to settle the transaction with respect to the commodity (Act S 74 ). Then, the purchase history updating section  124  generates the transaction file F 5  including the commodity information purchased by the customer C (Act S 76 ). 
     The information transmission and reception section  126  transmits the transaction file F 5  to the store server  10   a  (Act S 78 ). Thereafter, the POS terminal  50  terminates the processing in  FIG.  12 ( a ) . Actually, until the commodity display management system  100   a  stops the operation, the POS terminal  50  repeats the processing in  FIG.  12 ( a ) . 
     In the store server  10   a  of the first embodiment, the customer identifying section  102  (identifying module) identifies the customer C who is the regular customer entering the retail store, and the purchased commodity prediction section  104  (prediction module) predicts the commodity that the customer C is likely to purchase based on the past purchase history of the customer C. However, the commodity that the customer C who is the regular customer is likely to purchase may be predicted based on the attributes of the customer C, such as age, sex and the like or based on the purchase history of another customer having the same attribute as the customer C. 
     Further, in addition to the commodity display corresponding to the customer C who is the regular customer, the commodity that the customer C is likely to purchase may also be predicted based on the purchase history of another customer having the attribute corresponding to the attribute of the customer C identified by the customer identifying section  102 . 
     As described above, according to the store server  10   a  (information processing apparatus) of the first embodiment, the customer identifying section  102  (identifying module) identifies the customer C who enters the retail store, and the purchased commodity prediction section  104  (prediction module) predicts the commodity that the customer C is likely to purchase based on the purchase history of the customer C himself/herself identified by the customer identifying section  102 . Then, the commodity display request section  110  transmits the commodity display request information for requesting the commodity display of the commodity predicted by the purchased commodity prediction section  104  to the portable terminal  80  carried by the store clerk of the retail store on condition that the display quantity of the commodities calculated by the display quantity calculation section  106  (calculation module) is less than the predetermined value. Therefore, at the time the customer C enters the retail store, since the commodity that the customer C is likely to purchase can be preferentially displayed on the commodity shelf, it is possible to prevent the loss of the sales opportunity in advance. 
     According to the store server  10   a,  the commodity display request section  110  transmits the commodity display request information requesting the commodity display of the commodity predicted by the purchased commodity prediction section  104  (prediction module) to the portable terminal  80  carried by the store clerk of the retail store on condition that the display quantity of the commodities calculated by the display quantity calculation section  106  (calculation module) is less than the predetermined value and the inventory quantity of the commodities is not zero. Therefore, among the commodities required to be displayed on the commodity shelf, the commodity display of the commodity in stock in the retail store can be reliably requested. 
     Furthermore, according to the store server  10   a,  the display quantity calculation section  106  (calculation module) calculates the display quantity of the commodities based on the display quantity of the commodities and the sales quantity of the commodities. Therefore, the current display quantity of the commodities can be easily and reliably calculated. 
     According to the store server  10   a,  the commodity display request section  110  displays the notification screen  95   a  containing the commodity information indicating the commodity predicted by the purchased commodity prediction section  104  (prediction module) and the I-go button B 1  which is an operator for declaring to perform the commodity display of the commodity as the request information on the portable terminal  80 . Then, the commodity display request section  110  erases the display of the commodity information from the portable terminal  80  other than the portable terminal  80  on which the operator is operated on condition that the I-go button B 1  is operated. Therefore, it is possible to reliably and easily prevent that a plurality of store clerks simultaneously perform the commodity display of the same commodity. 
     Second Embodiment 
     Next, a commodity display management system  100   b  provided with a store server  10   b  which is an example of the information processing apparatus according to the second embodiment of the present invention is described with reference to the accompanying drawings.  FIG.  13    is a diagram of the commodity display management system  100   b  installed in the retail store. 
     The commodity display management system  100   b  has the same functions as the commodity display management system  100   a,  but the configuration is different. The commodity display management system  100   b  includes the store server  10   b  in place of the store server  10   a  ( FIG.  1   ) for the commodity display management system  100   a.  Instead of the customer detection apparatus  70   a  ( FIG.  1   ), a customer detection apparatus  70   b  is provided. The commodity display management system  100   b  includes a display quantity detection apparatus  180 . 
     The store server  10   b  has a basket analysis function that analyzes the commodity purchased at the same time together with the prediction function of the purchased commodity based on the purchase history of the customer C included by the store server  10   a.    
     The customer detection apparatus  70   b  detects that a customer card issued by the store and held by the customer C is held over a predetermined card reader at the time the customer enters the retail store. As a result, the customer detection apparatus  70   b  detects that the customer C enters the retail store. 
     The display quantity detection apparatus  180  detects the type and quantity of the commodity that the customer C takes out from the commodity shelf by analyzing an image captured by a camera monitoring the commodity shelf. 
     The configuration the commodity display management system  100   b  is described below. Since the hardware structure of the store server  10   b  is the same as that ( FIG.  2   ) of the store server  10   a,  the description thereof is omitted. 
     Description of the Hardware Structure of Customer Detection Apparatus 
       FIG.  14    is a block diagram illustrating the hardware configuration of the customer detection apparatus  70   b.  As shown in  FIG.  14   , the customer detection apparatus  70   b  includes the control section  78  having the same configuration as the control section  78  included in the customer detection apparatus  70   a.  The ROM  74  of the customer detection apparatus  70   b  stores a control program P 6  executed by the customer detection apparatus  70   b.    
     A display section  83  and a card R/W  85  are respectively connected to the customer detection apparatus  70   b  via the controller  81 . The operations of these peripheral devices are all controlled by the control section  78 . The display section  83  displays guidance relating to an operation method of the card R/W  85  and information indicating that the card R/W  85  reads the content of the customer card. The card R/W  85  reads information for identifying the customer C recorded on the customer card held by the customer C. Furthermore, the card R/W  85  writes a visit history indicating that the customer C visits the retail store to the customer card. 
     Further, the customer detection apparatus  70   b  is provided with a communication I/F  91  for executing data communication with the store server  10   b  which is a host apparatus via a communication network  34  provided in the retail store. The communication I/F  91  is connected to the internal bus line  87 . 
     Description of Hardware Structure of Display Quantity Detection Apparatus 
       FIG.  15    is a block diagram illustrating the hardware configuration of the display quantity detection apparatus  180 . As shown in  FIG.  15   , the display quantity detection apparatus  180  includes a control section  187  having a computer including a CPU  182 , a ROM  184  and a RAM  186 . The CPU  182  executes various processing to control each section. The ROM  184  stores data in a non-volatile manner. The RAM  186  stores variable data in a rewritable manner and is used as a work area. The CPU  182 , the ROM  184  and the RAM  186  are connected via an internal bus line  194 . 
     A control program P 7  executed by the display quantity detection apparatus  180  is stored in the ROM  184 . The control program P 7  may be provided as a file in an installable format or an executable format in a computer-readable recording medium such as a CD-ROM, a FD (Flexible Disk), a CD-R, a DVD (Digital Versatile Disc) and the like. 
     A plurality of cameras  190  are connected to the display quantity detection apparatus  180  via a controller  188 . The cameras  190  have the same configuration and capture images of the commodity shelf on which the commodity is displayed at the retail store. The operations of these cameras  190  are all controlled by the control section  187 . 
     Furthermore, the display quantity detection apparatus  180  is provided with a communication I/F  192  for executing data communication with the store server  10   b  which is a host device via the communication network  34  provided in the retail store. The communication I/F  192  is connected to the internal bus line  194 . 
     Description of Functional Component of Commodity Display Management System 
     Next, the functional component of the commodity display management system  100   b  is described with reference to  FIG.  16   .  FIG.  16    is a block diagram illustrating the functional component of the commodity display management system  100   b.    
     As shown in  FIG.  16   , the commodity display management system  100   b  includes the store server  10   b,  the POS terminal  50 , the customer detection apparatus  70   b,  the display quantity detection apparatus  180 , and the portable terminal  80 . In order to simplify the description, the commodity display management system  100   b  is illustrated in  FIG.  16    as one POS terminal  50  and one portable terminal  80 , respectively, although a plurality of POS terminals  50  and a plurality of the portable terminals  80  are provided. 
     The CPU  12  ( FIG.  2   ) of the store server  10   b  operates according to a control program P 5  to realize the customer identifying section  102 , the purchased commodity prediction section  104 , the display quantity calculation section  106 , the inventory quantity calculation section  108 , the commodity display request section  110 , a basket analysis section  111 , the information transmission and reception section  112  and the data storage section  114  shown in  FIG.  16    as the functional sections inside the control section  18 . 
     The customer identifying section  102  is an example of the identifying module. Based on the detection result of the customer detection apparatus  70   b,  the customer identifying section  102  identifies an identical person as an example of the attribute of the customer C who enters the retail store. 
     The purchased commodity prediction section  104  is an example of the prediction module. The purchased commodity prediction section  104  predicts the commodity that the customer C is likely to purchase based on the result of identifying the identical person which is the attribute of the customer C. Specifically, the purchased commodity prediction section  104  predicts the commodity that the customer C is likely to purchase based on the past purchase history of the customer C and the analysis result of the commodity purchased together at the time the customer C shops in the past. 
     The display quantity calculation section  106  is an example of the calculation module. The display quantity calculation section  106  calculates how many commodities predicted by the purchased commodity prediction section  104  are currently displayed on the commodity shelf of the retail store. Specifically, the display quantity calculation section  106  calculates the current display quantity of the commodities based on the type and quantity result of the commodity taken out from the commodity shelf, which is detected by the display quantity detection apparatus  180 . 
     The functions of the inventory quantity calculation section  108  and the commodity display request section  110  are the same as those of the inventory quantity calculation section  108  and the commodity display request section  110  of the commodity display management system  100   a  described above. 
     The basket analysis section  111  analyzes the commodity purchased together based on the purchase history of the customer C. 
     The information transmission and reception section  112  transmits and receives information between the store server  10   b  and the POS terminal  50 . The information transmission and reception section  112  transmits and receives information between the store server  10   b  and the customer detection apparatus  70   b.  Further, the information transmission and reception section  112  transmits and receives information between the store server  10   b  and the display quantity detection apparatus  180 , and between the store server  10   b  and the portable terminal  80 . The information transmitted and received is described in detail with reference to flowcharts in  FIG.  18   ,  FIG.  19   , and  FIG.  20    described later. 
     The data storage section  114  is realized by the memory section  20  ( FIG.  2   ) described above. The data storage section  114  stores the control program P 1 , the commodity master file F 1 , the commodity display master file F 2  and the customer master file F 3  which are mentioned above. Furthermore, the data storage section  114  stores a basket analysis file F 6 . The basket analysis file F 6  stores a result of analyzing the commodity purchased together at the time the customer C purchases a certain commodity. 
     The function of the POS terminal  50  is as described in the first embodiment. 
     The CPU  72  ( FIG.  13   ) of the customer detection apparatus  70   b  operates according to the control program P 6  to realize a card information reading section  143  and the information transmission and reception section  142  and the data storage section  144  shown in  FIG.  16    as the functional sections inside the control section  78 . 
     The card information reading section  143  is realized by the aforementioned card R/W  85  ( FIG.  14   ). The card information reading section  143  reads customer card information for identifying the customer C recorded in the customer card carried by the customer C. 
     The information transmission and reception section  142  transmits and receives information between the customer detection apparatus  70   b  and the store server  10   b.  Specifically, the customer card information is transmitted from the customer detection apparatus  70   b  to the store server  10   b.  Details are described with reference to the flowchart in  FIG.  18    described later. 
     The data storage section  144  is realized by the aforementioned ROM  74  ( FIG.  14   ). The data storage section  144  stores the control program P 6 . 
     The CPU  182  ( FIG.  15   ) of the display quantity detection apparatus  180  operates according to the control program P 7  to realize a commodity shelf image capturing section  200 , a commodity extraction detection section  202 , an information transmission and reception section  204 , and a data storage section  206  shown in  FIG.  16    as the functional sections inside the control section  187 . 
     The commodity shelf image capturing section  200  is realized by the aforementioned camera  190  ( FIG.  15   ). The commodity shelf image capturing section  200  photographs the commodity shelf on which the commodity is displayed. 
     The commodity extraction detection section  202  detects whether the commodity is extracted from the image of the commodity shelf captured by the commodity shelf image capturing section  200 . Furthermore, the commodity extraction detection section  202  detects the type and quantity of the commodity taken out. 
     The information transmission and reception section  204  transmits and receives information between the display quantity detection apparatus  180  and the store server  10   b.  Specifically, the information on the commodity taken out from the commodity shelf is transmitted from the display quantity detection apparatus  180  to the store server  10   b.  The details are described with reference to the flowchart in  FIG.  19    described later. 
     The data storage section  206  is realized by the aforementioned ROM  184  ( FIG.  15   ). The data storage section  206  stores the control program P 7 . 
     The function of the portable terminal  80  is as described in the first embodiment. 
     Description of Commodity Display Request Information 
     With reference to  FIG.  17   , the commodity display request information transmitted to the portable terminal  80  carried by the store clerk who performs the commodity display if the commodity display is necessary is described.  FIG.  17    is a diagram illustrating an example of a notification screen  95   b  displayed on the portable terminal  80  in the present embodiment. 
     The display control section  150  ( FIG.  16   ) of the portable terminal  80  receives an instruction from the commodity display request section  110  ( FIG.  16   ) of the store server  10   b  and displays the notification screen  95   b  shown in  FIG.  17    on the display section  94  (touch panel  92 ) of the portable terminal  80 . 
     The notification screen  95   b  has the visit guidance M 1 , the visiting customer name M 2 , a basket analysis file F 6   a,  a commodity list F 2   b,  and the I-go button B 1 . 
     The contents of the visiting guidance M 1  and the visiting customer name M 2 , and the function of the I-go button B 1  are the same as those described in the first embodiment. 
     The basket analysis file F 6   a  is a file in which a commodity A and a commodity B that the customer C purchases frequently and a commodity that is frequently purchased together with the commodity A and the commodity B are listed up from the basket analysis file F 6 . For example, in  FIG.  17   , a commodity X indicates a commodity that is frequently purchased together with the commodity A. A commodity Y indicates a commodity that is frequently purchased together with the commodity B. 
     The commodity list F 2   b  is selected from among the commodity display master file F 2 , and is a commodity list for listing up the commodities that the customer C is likely to purchase based on the past purchase history of the customer C and the basket analysis. The commodity list F 2   b  has the same format as the commodity display master file F 2 . 
     Description of Flow of Processing Executed by Customer Detection Apparatus and the Store Server 
     Next, the flow of a series of processing executed by the customer detection apparatus  70   b  and the store server  10   b  is described with reference to the flowchart in  FIG.  18   . 
     First, with reference to the flowchart in  FIG.  18 ( a ) , the flow of processing executed by the customer detection apparatus  70   b  is described. The card information reading section  143  determines whether the customer card is held over (Act S 80 ). If it is determined that the customer card is held over (Yes in Act S 80 ), the flow proceeds to the processing in Act S 82 . On the other hand, if it is determined that the customer card is not held over (No in Act S 80 ), the processing in Act S 80  is repeated. 
     Subsequently, the card information reading section  143  reads the customer card information recorded on the held customer card (Act S 82 ). 
     The information transmission and reception section  142  transmits the customer card information read by the card information reading section  143  to the store server  10   b  (Act S 84 ). Thereafter, the customer detection apparatus  70   b  ends the processing in  FIG.  18 ( a ) . Actually, until the operation of the commodity display management system  100   b  is stopped, the customer detection apparatus  70   b  repeats the processing in  FIG.  18 ( a ) . 
     Next, with reference to the flowchart in  FIG.  18 ( b ) , the flow of processing executed by the store server  10   b  when the customer enters the retail store is described. First, the information transmission and reception section  112  determines whether the customer card information is received from the customer detection apparatus  70   b  (Act S 86 ). If the customer card information is received (Yes in Act S 86 ), the customer identifying section  102  compares the information of the received customer card with the customer ID ( FIG.  7   ) stored in the customer attribute information F 3   a  to identify the customer C (Act S 88 ). 
     Based on the identifying result in Act S 88 , the customer identifying section  102  determines whether the customer C is the regular customer (Act S 90 ). If it is determined that the customer C is the regular customer (Yes in Act S 90 ), the flow proceeds to the processing in Act S 92 . 
     Next, the purchased commodity prediction section  104  reads the purchase history information F 3   b  of the customer C (Act S 92 ). 
     Furthermore, the purchased commodity prediction section  104  reads the basket analysis file F 6  (Act S 94 ). 
     The purchased commodity prediction section  104  predicts the commodity that the customer C is likely to purchase based on the purchase history information F 3   b  of the customer C and the result of the basket analysis (Act S 96 ). 
     The commodity display request section  110  reads the information of the commodity display master file F 2  (Act S 98 ). 
     The commodity display request section  110  refers to the commodity display object column f 24  of the read commodity display master file F 2  to determine whether there is the commodity display target article among the commodities that the customer C is likely to purchase (Act S 100 ). If there is the commodity display target article (Yes in Act S 100 ), the flow proceeds to the processing in Act S 102 . 
     The commodity display request section  110  transmits the commodity display request information to the portable terminal  80  (Act S 102 ). 
     The commodity display request section  110  determines whether the information indicating that the I-go button B 1  ( FIG.  17   ) is pressed is received from the portable terminal  80  via the information transmission and reception section  112  (Act S 104 ). If the information indicating that the I-go button B 1  is pressed is received (Yes in Act S 104 ), the flow proceeds to the processing in Act S 106 . On the other hand, if the information indicating that the I-go button B 1  is pressed is not received (No in Act S 104 ), the processing in Act S 104  is repeated. 
     The commodity display request section  110  transmits a signal instructing deletion of the commodity display request information to the portable terminal  80  other than the portable terminal that transmits the information indicating that the I-go button B 1  is pressed among the portable terminals  80  (Act S 106 ). 
     The display quantity calculation section  106  determines whether the commodity information is received from the display quantity detection apparatus  180  (Act S 108 ). If the commodity information is received (Yes in Act S 108 ), the flow proceeds to the processing in Act S 110 . On the other hand, if the commodity information is not received (No in Act S 108 ), the processing in Act S 108  is repeated. 
     The inventory quantity calculation section  108  determines whether the commodity display information is received from the portable terminal  80  (Act S 110 ). If the commodity display information is received (Yes in Act S 110 ), the flow proceeds to the processing in Act S 112 . On the other hand, if the commodity display information is not received (No in Act S 110 ), the processing in Act S 110  is repeated. 
     The display quantity calculation section  106  and the inventory quantity calculation section  108  update the information of the commodity display master file F 2  (Act S 112 ). Specifically, the display quantity calculation section  106  updates the display quantity column f 22  of the commodity display master file F 2  based on the commodity information received in Act S 108 . The inventory quantity calculation section  108  updates the back office inventory quantity column f 23  of the commodity display master file F 2  based on the commodity display information. Thereafter, the store server  10   b  ends the processing in  FIG.  18 ( b ) . Actually, until the commodity display management system  100   b  stops the operation, the store server  10   b  repeats the processing in  FIG.  18 ( b ) . 
     In Act S 90 , if it is determined that the customer C is not the regular customer (No in Act S 90 ), and in Act S 100 , if there is no need to display the commodity that the customer C is likely to purchase on the commodity shelf (No in Act S 100 ), the flow proceeds to the processing in Act S 108 . 
     Description of Flow of Processing Executed by Display Quantity Detection Apparatus 
     Next, the flow of a series of processing executed by the display quantity detection apparatus  180  is described with reference to the flowchart in  FIG.  19   . 
     The commodity shelf image capturing section  200  photographs the commodity shelf on which the commodity is displayed (Act S 130 ). 
     The commodity extraction detection section  202  detects whether there is movement in the image captured by the commodity shelf image capturing section  200  (Act S 132 ). Specifically, a difference between images captured at predetermined time intervals is calculated by the camera  190  ( FIG.  15   ), and when a region with brightness exceeding a predetermined threshold value is detected in the difference result, it can be determined that there is the movement. When there is the movement in the image captured by the commodity shelf image capturing section  200  (Yes in Act S 132 ), the flow proceeds to the processing in Act S 134 . On the other hand, when there is no movement in the image captured by the commodity shelf image capturing section  200  (No in Act S 132 ), the flow returns to the processing in Act S 130 . 
     The commodity extraction detection section  202  determines whether the commodity is taken out from the commodity shelf (Act S 134 ). Specifically, the commodity extraction detection section  202  determines that the commodity is taken out if an area where the movement detected in Act S 132  occurs has a shape extending in the direction of extracting the commodity. If it is determined that the commodity is taken out from the commodity shelf (Yes in Act S 134 ), the flow proceeds to the processing in Act S 136 . On the other hand, if it is determined that the commodity is not taken out from the commodity shelf (No in Act S 134 ), the flow returns to the processing in Act S 130 . 
     The commodity extraction detection section  202  identifies the commodity information taken out from the commodity shelf (Act S 136 ). Here, the commodity information includes the commodity code and the quantity of the commodity taken out. Specifically, the commodity extraction detection section  202  detects which commodity is taken out and how many commodities the customer takes out based on the position of the movement area detected by the camera  190 . It is assumed that the commodity is displayed at a determined position of the predetermined commodity shelf. Therefore, it is possible to identify the commodity taken out and the number thereof depending on the movement and the position of the camera  190  among the plurality of cameras  190  that captures the image. 
     The information transmission and reception section  204  transmits the commodity information identified by the commodity extraction detection section  202  to the store server  10   b  (Act S 138 ). Thereafter, the display quantity detection apparatus  180  ends the processing in  FIG.  19   . In fact, the display quantity detection apparatus  180  repeats the processing in  FIG.  19    until the operation of the commodity display management system  100   b  is stopped. 
     Description of Flow of Processing Executed by Store Server at Predetermined Time such as After Closing Store 
     Next, with reference to the flowchart in  FIG.  20   , the flow of a series of processing executed by the store server  10   b  at a predetermined time such as after closing the retail store is described. 
     First, the information transmission and reception section  112  determines whether the transaction file F 5  is received from the POS terminal  50  (Act S 140 ). If the transaction file F 5  is received (Yes in Act S 140 ), the flow proceeds to the processing in Act S 142 . On the other hand, if the transaction file F 5  is not received (No in Act S 140 ), the processing in Act S 140  is repeated. 
     The control section  18  of the store server  10   b  updates the purchase history information F 3   b  of the customer C based on the contents of the transaction file F 5  (Act S 142 ). 
     The basket analysis section  111  performs the basket analysis based on the purchase history of the customer C updated in Act S 142  (Act S 144 ). 
     Then, the basket analysis section  111  updates the basket analysis file F 6  based on the result of the basket analysis (Act S 146 ). Thereafter, the store server  10   b  ends the processing in  FIG.  20   . 
     In the commodity display management system  100   b,  the flow of the processing executed by the portable terminal  80  is the same as that in the flowchart in  FIG.  11   . The flow of the processing executed by the POS terminal  50  is the same as that in the flowchart in  FIG.  12 ( b ) . Therefore, illustration and description thereof are omitted. 
     As described above, according to the store serer  10   b  (information processing apparatus) of the second embodiment, the display quantity calculation section  106  calculates the commodity display quantity based on the commodity display quantity and the number of the commodities taken out by the customer C from the commodity shelf on which the commodity is displayed. Therefore, the display quantity of the commodities can be calculated early at the time the customer C takes it out from the commodity shelf. 
     While certain embodiments have been described, these embodiments have been presented by way of example only, and are not intended to limit the scope of the invention. Indeed, the novel embodiments described herein may be embodied in a variety of other forms; furthermore, various omissions, substitutions and changes in the form of the embodiments described herein may be made without departing from the spirit of the invention. The accompanying claims and their equivalents are intended to cover such forms or modifications as would fall within the scope and spirit of the invention. 
     For example, if the customer C enters the store, the purchased commodity prediction section  104  may predict the commodity that the customer C is likely to purchase based on not only the purchase history of the customer C himself/herself but also the purchase history of another customer C belonging to the same category (age group, sex, occupation, etc.) as the customer C.