Merchandise register

Abstract: An object of the present invention is to change the key arrangement depending on the situation of use of the merchandise keys. When the processing of merchandise registration for storing sales information of merchandise, etc. in the random access memory (24) is over in the merchandise registration means (13), the sales order is judged by the sales order judging means (14). The key arrangement control means (15) changes the arrangement of the product item name key group (29) for making direct input among the key arrangement displayed on the input and display means (11) according to the order of sales and stores that data in the key arrangement storing memory (16). The display control means (17) reads the key arrangement data stored in the key arrangement storing memory (16) and changed, and displays the key arrangement according to the order of sales on the input and display means (11).

Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a merchandise register suitably implemented for a POS (point-of-sale) terminal, a electronic cash register, etc. 2. Description of the Related Art In recent years, a merchandise register for storing unit price of merchandise, stock quantity, sales quantity, sales amount, etc. in correspondence to item codes set for respective product items (hereinafter "product item" is described as "item"), which is used as an input device of POS terminal, etc. is provided with input and display means combining input means such as touch panel having light transmitting touch keys arranged in a matrix form and display means such as CRT (cathode ray tube), etc.. The operator makes input by pressing the key at the position corresponding to the key position displayed on the screen of the display means arranged in such a way that a touch panel may be placed on the screen, for example. The key arrangement indicates information, etc. to be inputted in the area corresponding to the touch keys of the screen with the use of characters, etc. by operating certain touch keys and also indicates in which part of the screen the corresponding area is located. The key arrangement can be set as desired according to the mode of use in the operation and is determined with a setting operation made in advance by the operator. Fig. 25 is a block diagram showing a simplified functional constitution of a merchandise register of the prior art. Input is made with pressing, etc. of the input means of input and display means 1, namely touch key, etc. The output signal output from the input and display means 1 is given to key input control means 2. The key input control means 2 judges on the basis of the stored content of a key arrangement storing memory 3 which area included in the key arrangement currently displayed on the display means of the input and display means 1, the key indicated with the output signal corresponds to, and supplies the data set in that corresponding area to merchandise registration means 4. The merchandise registration means 4 performs registration by operating and storing in memory, etc. the sales information of merchandise on the basis of the inputted data. Moreover, display control means 5 reads the data of the key arrangement to be displayed from the key arrangement storing memory 3 and displays it on the display means of the input and display means 1. A plurality of different kinds of tables storing the key arrangement in advance are provided and the operator can select a plurality of key arrangements by making prescribed operations such as pressing the page switching key of the input and display means 1, for example. Such prior art of selecting a plurality of key arrangements is disclosed in Japanese Unexamined Patent Publication JPA 4-281514 (1992). The applicant for patent of the present invention has proposed an art capable of freely and easily changing the setting of key arrangement in Japanese Unexamined Patent Publication JPA 2-51720 (1990). In this art, the data on key arrangement for each processing picture displayed on the display means of the input and display means is constituted by combining information such as key shape, position, item code corresponding to respective keys, etc. and is stored unitarily in the form of tables. The information on key shape can be shared for a plurality of processing pictures, making it possible to reduce the amount of information relating to key arrangement. It is also possible to easily change the key arrangement by changing the combination of key shape, key position and item code. Moreover, Japanese Unexamined Patent Publication JPA 2-109113 (1990) discloses an art for reducing the number of times of page switching operations during input operation when a group of keys used for the input operation exists over a plurality of pages. In this art, key groups which are frequently and simultaneously used are combined to constitute one and the same page according to the purpose of use and are stored in one table. The operator makes input by using the key group of the page suitable for the purpose of use and can thus reduce the number of times of page switching operation. Furthermore, Japanese Unexamined Patent Publication JPA 5-216574 (1993) discloses an art for automatically changing the key arrangement as well to those corresponding to the respective programs each time when the program to be executed is changed. In the respective prior arts described above, the key arrangement is unitarily decided in advance and does not change according to the situation of use of keys by the individual operators. On a merchandise register, there are cases where frequently used keys such as those used for the registration of merchandise selling in large quantities, for example, are located at a position difficult for operation seen from the general arrangement of the key group if the sales amount of merchandise, etc. is not taken into account in the decision of the key arrangement, and this causes a problem of poor operability of the register. SUMMARY OF THE INVENTION An object of the present invention is to provide a merchandise register capable of changing the key arrangement based on the sales information obtained by the point in time when the merchandise register is used. The invention provides a merchandise register comprising: input and display means for inputting a traded product item, a quantity and functions necessary for the registration, and sales information storing means for storing sales information including sales quantity and sales amount for each item, and registering a sales quantity and a sales amount cumulatively in the sales information storing means in response to the output of the input and display means, wherein the input and display means comprises merchandise input means provided with merchandise keys individually corresponding to the respective items, the merchandise input means comprises: a key panel provided with a plurality of light transmitting keys are arranged, display means in which the key panel is arranged on a display screen in piles, and control means for controlling so that item information representing an item is displayed in the region corresponding to each of the plurality of light transmitting keys of the display screen, the merchandise key is constituted by each of the plurality of light transmitting keys and the item information displayed in the region corresponding to each of the plurality of light transmitting keys, and the item code of an item corresponding to an operated merchandise key is outputted in response to the operation of merchandise keys, and the control means changes the arrangement of the merchandise keys by changing the display position of the item information on the basis of the sales information. Moreover, a further embodiment of the invention is characterized in that the merchandise input means comprises: order judging means for calculating an index for each item according to a procedure prescribed on the basis of the sales information and judging the order of the item on the basis of the magnitude of the index, order storing means for storing a key position representing an arranged position of each key in the key panel and a number representing the order in linkage with each other, and setting means for setting a number representing the order corresponding to the key position for the order storing means, and that the control means changes the arrangement of the merchandise keys by referring to the order storing means on the basis of the results of judgment of the order judging means. Furthermore, a further embodiment of the invention is characterized in that the control means changes the arrangement of the merchandise keys at prescribed hours. Still more, a further embodiment of the present invention is characterized in that the order judging means changes the order of an item of a lower order with that of an item of a higher order when the index of an item has exceeded the value of the sum of the index of the item of an order higher by one position and a prescribed value. Yet more, a further embodiment of the invention is characterized in that the input and display means comprises switching means for activating and disabling the change of arrangement of the merchandise keys by the control means. In addition, a further embodiment of the invention is characterized in that the sales information storing means stores the sales information of respective items up to the previous day every prescribed time zone, and that the control means changes the arrangement of merchandise keys on the basis of the sales information up to the previous day of the time zone concerned at the starting hours of the respective time zones. Moreover, the invention is characterized in that the sales information storing means stores the stock quantity of each item, and that the control means constitutes merchandise keys by displaying the stock quantity together with merchandise information. Furthermore, a further embodiment of the invention is characterized in that the control means displays neither merchandise information nor stock quantity for an item the stock quantity of which is zero. Still more, a further embodiment of the invention is characterized in that the input and display means comprises code input means capable of directly inputting the item codes of all traded items, that the number of merchandise keys provided in the merchandise input means is selected to be smaller than the number of all traded items, and that the control means selects the item which constitutes the merchandise key on the basis of sales information. Yet more, a further embodiment of the invention is characterized in that the order judging means judges the order of item by using sales quantity or sales amount as an index, and that the input and display means comprises selecting means for selecting either sales quantity or sales amount as an index. In the merchandise register item codes representing the items traded, and the traded quantities, etc. are inputted by using input and display means. The sales quantity and the sales amount determined from the inputted items and the traded quantities are cumulatively added to the sales quantity and sales amount of the sales information stored in the sales information storing means to renew the sales information. Moreover, the input and display means for inputting item codes and quantities of items is provided with merchandise input means constituted with merchandise keys which correspond individually to the respective items. The merchandise input means is constituted by arranging a key panel having a plurality of light transmitting keys on the screen of the display means. In addition, the merchandise keys are constituted by displaying merchandise information showing merchandise in the screen areas corresponding to the respective keys of the key panel. As certain keys of the key panel constituting the merchandise keys are operated, the item code corresponding to the merchandise information displayed in the areas corresponding to the keys of the display means is inputted in the merchandise register. Therefore, the operator can clearly know the kinds of items inputted in the merchandise register as he operates the respective keys. As the merchandise key is operated, the item code corresponding to the operated merchandise key is inputted and the sales information is renewed. This makes it possible to input a item code, which used to be inputted by operating a plurality of ten-keys etc. by operating a single merchandise key. Consequently, the input operation of item codes can be simplified. Moreover, the arrangement of merchandise keys can be changed by automatically changing the display position of the merchandise information based on the sales information with the control means. Moreover, the arrangement of merchandise keys of the merchandise input means is changed on the basis of the order of items by changing the display position of the merchandise information at a position prescribed according to their order. The order of item is judged based on the magnitude of index, which is calculated on the basis of the sales information of the item, each time when the registration for any single transaction is completed. This makes it possible to change the arrangement of merchandise keys according to the sales information of the merchandise. Therefore, it becomes possible to automatically arrange frequently used merchandise keys in positions easy for operation, for example. It also becomes possible to know the magnitude of index namely differences of sales information of merchandise, etc. by looking at the arrangement of merchandise keys. Furthermore, the prescribed positions are stored in the state maintaining correspondence between the key positions which indicate the position of arrangement of the respective keys on the key panel constituting the merchandise input means and the number representing orders. In addition, this predetermined position can be set in advance by the operator by using the setting means. This makes it possible for the operator to decide as desired the arrangement of merchandise keys which is changed based on the sales information. Still more, since the arrangement of merchandise keys is changed at prescribed hours, it is possible to limit the time of change of arrangement to specified hours such as once per hour, etc. Yet more, the replacement of the order of item of lower order with that of higher order is made when the index of an item has exceeded the value which is the sum of the index of the item of an order higher by one position and a prescribed value. This makes it possible to prevent the order of merchandise from being replaced each time when any item is registered and the index is changed. Furthermore, the operator can select as desired whether to keep the arrangement of merchandise keys in a state changeable according to sales information or to keep it always in a fixed state. Furthermore, the sales information storing means stores the sales information of respective items up to the previous day by time zones stipulated in advance. In addition, the arrangement of merchandise keys is changed based on the sales information up to the previous day of the time zone concerned, at the starting hour of the respective time zones. Therefore, it is possible to change the arrangement of merchandise keys to an arrangement suitable for the time zone concerned at the starting hour even when the order of items is variable in each time zone. Furthermore, the sales information storing means stores the stock quantities for respective merchandise items. Those stock quantities are displayed on the merchandise keys of the merchandise input means together with merchandise information. This enables the operator to grasp the stock condition of merchandise by looking at the merchandise input means. Furthermore, no merchandise key of an item the stock quantity of which is zero is constituted because the stock quantity of an item the stock quantity of which is zero is not displayed on the display means. Furthermore, the input and display means comprises code input means capable of directly inputting the item codes of all items dealt with, in addition to merchandise input means for inputting item codes of a specified item. In addition, since the number of merchandise keys provided in the merchandise input means is selected to be smaller than the number of all items dealt with, the specified items constituting the merchandise keys are determined based on the sales information. This makes it possible to constitute merchandise keys corresponding to items satisfying certain conditions such as large sales quantity, etc. Furthermore, either sales quantity or sales amount is used as index for judging the order of merchandise and the operator can select one or the other to use as index. As described above, in a merchandise register for processing and registering sales information including the sum of sales quantities and sales amounts of the merchandise dealt with, the arrangement of merchandise keys corresponding to the respective items is changed based on the order of items determined according to the sales information. Moreover, the key arrangement corresponding to the order may be predetermined by the operator. In addition, either sales quantity or sales amount may be used as index for determining the order. This makes it possible to automatically arrange merchandise keys of items with large sales quantities or sales amounts, namely merchandise keys frequently used with large number of times of registration and use, in positions easy for operation near numerical keys, etc., for example. It is therefore possible to improve the operability of the apparatus. Furthermore, because the arrangement of merchandise keys is determined based on the order of sales calculated from sales quantities or sales amounts, it is possible to judge the best selling item, etc. by just looking at the merchandise input means. As a result, it becomes unnecessary to separately provide means for display ing situation of sales, etc. Furthermore, the arrangement of merchandise keys is changed at prescribed hours. In addition, such change of arrangement of merchandise keys is made when the index of an item has exceeded the value which is the sum of the index of the merchandise of an order higher by the value not less than a prescribed value. This makes it possible to prevent the order of merchandise from being frequently replaced each time when any item is registered in the merchandise register. This enables further improvement of operability of this apparatus. Moreover, it becomes possible to know the timing of change of arrangement in advance by performing the change of arrangement of merchandise keys at prescribed hours. Furthermore, it is possible to select to either activate or disable changing of the arrangement of merchandise keys. This makes it possible to set the arrangement of merchandise keys of the apparatus according to the mode of use of an operators in a case where a plurality of operators share one unit of merchandise register. Furthermore, the arrangement of merchandise keys corresponding to respective time zones is determined from the sales information of the time zone concerned up to the previous day for the respective time zones, and this arrangement of merchandise keys is taken as the basic arrangement for the time zone concerned. This makes it possible to arrange the merchandise keys for registering well selling items which are variable in each time zone in positions easy for operation in advance. Furthermore, the stock quantities of items are displayed simultaneously on the merchandise keys. A merchandise key of the items whose stock quantity is zero is not constituted. This makes it possible to not only check the stock quantity visually but also avoid any erroneous registration of items which are currently out of stock. Furthermore, the input method of item codes and quantities of respective items is switched between a method of using merchandise keys and a method of directly inputting codes on the basis of the sales information. By so doing, it becomes possible to link fast moving and frequently registered item with merchandise keys of easy input operation and to link slow moving and rarely registered item with a method of directly inputting codes. By implementing the invention as described above, it becomes possible to improve the operability of the merchandise register, especially in the input operation. BRIEF DESCRIPTION OF THE DRAWINGS Other and further objects, features, and advantages of the invention will be more explicit from the following detailed description taken with reference to the drawings wherein: Fig. 1 is a block diagram showing a functional constitution of a merchandise register of a first embodiment of the invention; Fig. 2 is a block diagram showing an electrical constitution of the merchandise register of Fig. 1; Fig. 3 is a drawing showing a state of display of a key arrangement of the merchandise register of Fig. 1; Fig. 4 is a flow chart explaining the operation of determining a key position number from a hard code; Fig. 5 is a structural drawing of a hard code conversion table 37 showing the correspondence between key position numbers and hard codes; Fig. 6 is a structural drawing of a key arrangement storing memory 16 showing the correspondence between key position numbers and soft codes; Fig. 7 is a drawing showing the key position numbers of the key arrangement of Fig. 3; Fig. 8 is a structural drawing of an item code conversion table 43 showing the correspondence among item codes, key names and soft codes; Fig. 9 is a structural drawing of a merchandise registration file 49 submitted to merchandise registration; Fig. 10 is a structural drawing of a memory file in order of sales volume 50 for storing the order of sales of items; Fig. 11 is a structural drawing showing the state of a key arrangement storing memory 16 after the end of merchandise registration changed from the state indicated in Fig. 6; Fig. 12 is a drawing showing the state of display of key arrangement including stock quantity of the merchandise register of Fig. 1; Fig. 13 is a flow chart for explaining an example of preparing operation of a memory file in order of sales volume 50 of a sales order judging means 14 of Fig. 1; Fig. 14 is a block diagram showing a functional constitution of a merchandise register of a second embodiment of the invention; Fig. 15 is a structural drawing of the specified order table for a key arrangement 56 of the merchandise register of Fig. 14; Fig. 16 is a drawing for explaining a key operation at the time of setting of the specified order table for the key arrangement 56; Fig. 17 is a flow chart for explaining the operation of key arrangement control means 15a of the merchandise register of Fig. 14. Fig. 18 is a block diagram showing a functional construction of a merchandise register of a third embodiment of the invention; Fig. 19 is a block diagram showing a functional construction of a merchandise register of a fourth embodiment of the invention; Fig. 20 is a block diagram showing a functional construction of a merchandise register of a fifth embodiment of the invention; Fig. 21 is a structural drawing of a sales memory 66 by time zone for storing the sales by time zone of the merchandise register of Fig. 20; Fig. 22 is a block diagram showing a functional constitution of a merchandise register of a sixth embodiment of the invention; Fig. 23 is a block diagram showing a functional constitution of a merchandise register of a seventh embodiment of the invention; Fig. 24 is a drawing showing a key operation at the time of setting of a sales order judging means 72 of Fig. 23; and Fig. 25 is a block diagram showing a functional constitution of a merchandise register of the prior art. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT Now referring to the drawings, preferred embodiments of the invention are described below. Fig. 1 is a block diagram showing a functional constitution of the merchandise register which is a first embodiment of the present invention. The merchandise register is constituted by comprising input and display means 11, key input control means 12, merchandise registration means 13, sales order judging means 14, key arrangement control means 15, a key arrangement storing memory 16 and display control means 17. Fig. 2 is a block diagram showing a electrical construction of the merchandise register of Fig. 1. A processing circuit 21 executes operations in the respective control means etc. of Fig. 1 and constitutes the respective control means etc. Into the processing circuit 21, signals from input means 22 realized with key panel in which a plurality of light transmitting keys such as touch keys, etc. are inputted. The processing circuit 21 controls the key arrangement displayed on display means 23 as described below and also performs merchandise registration etc. according to the signals from the input means 22. The input means 22 and the display means 23 constitute the input and display means 11 of Fig. 1. To the processing circuit 21, a random access memory 24 and a read only memory 25 are connected. In the read only memory 25, the control program of the processing circuit 21, various kinds of tables etc. to be described below. are stored. In the random access memory 24, memories and files for storing the key arrangement, sales order, etc. are stored. The random access memory 24 also comprises registers 24a, 24b and 24c. Fig. 3 is an example showing the key arrangement displayed on the display means 23 of the merchandise register of Fig. 1. In the screen of the display means 23, a content display area 27 for displaying the information inputted with key operation and key arrangement area 28, facing the respective keys of the input means 22, for displaying the key arrangement indicating what kind of information is inputted by operation of respective keys are provided. In the key arrangement area 28, a product name key group 29 and a function key group 30 are provided. The product name key group 29 assigns one item code to each key. The product name key group 29 has a plurality (e.g.,40) of areas divided in, for example, rectangles. In each area, the merchandise information of the product key used for direct input is displayed. Direct input is a method of inputting a item code by operating a single key. In the function key group 30, function keys used for making code input for directly inputting the item code of product or other various kinds of input for registration are provided. The function key group 30 is constituted by including a numeral key group 30a for inputting numerals, an automatic change switching key 30b, a CLEAR key 30c, an ENTER key 30d, an UP key 30e, a DOWN key 30f and a PAGE key 30g, etc. The numeral key group 30a is used for inputting numerals such as 0 to 9. The automatic change switching key 30b selects to execute or not an automatic change function of key arrangement. The CLEAR key 30c erases the information inputted by key operation. The ENTER key 30d settles the information inputted by using the numeral key group 30a etc. The UP key 30e, DOWN key 30f and PAGE key 30g are used for the setting of order of arrangement to be described below. In the respective areas of the product name key group 29, to which individual items are respectively assigned as described below, the areas corresponding to the keys of the input means 22 are indicated and the key names which are merchandise information are also displayed at the same time. In the area indicated with a reference symbol 29a, for example, a key name "COFFEE" is displayed. In the area indicated with a reference symbol 29b, the key name "COKE" is displayed. In the area indicated with the reference symbol 29c, a key name "CAKE" is displayed. In the area indicated with a reference symbol 29d, a key name "ORANGE" is displayed. In the area indicated with a reference symbol 29e, a key name "APPLE" is displayed. In the area indicated with a reference symbol 29f, a key name "STEAK" is displayed. Moreover, in the area indicated with a reference symbol 29h, "PLU30" is displayed. Namely, it shows that the item code can be directly displayed as a key name. PLU is an abbreviation of "Price Look Up code". Reference is made to Fig. 1 again. In the input and display means 11 making a display of key arrangement as indicated in Fig. 3, if any of the keys of the input means 22 corresponding to the product name key group 29 is operated, a hard code is given to the key input control means 12. The hard code is an output signal indicating the position information showing the absolute position, the position of the operated key of the input means 22, in the input means 22. With the key input control means 12, soft codes corresponding to the individual item codes are obtained from the hard codes. Fig. 4 is a flow chart explaining an operation of determining the key position number, which expresses the area displaying the corresponding item on the key arrangement displayed on the display means 23, from the hard code. If a hard code is given to the key input control means 12, the process moves from step a1 to step a2 and sets the value of the counter at, for example, the initial value of 1. In step a3, a hard code is read from the record of address corresponding to the value of the counter by using a hard code conversion table 37 stored in the read only memory 25 indicated in Fig. 5. In the key arrangement shown in Fig.7, the hard code conversion table 37 indicates the relation between the key position numbers assigned to the respective areas of the product name key group 29 and the hard codes showing the position information of the input means 22 corresponding to the respective areas of the product name key group 29. As shown in Fig. 7, the key position number "1" is assigned to the product name key 29a, which is one of the areas of the product name key group 29, for example. Similarly, the key position numbers "2", "3", "4", "5", "6" are assigned to the product name keys 29b, 29c, 29d, 29e, 29f, respectively. The hard code conversion table 37 has a plurality of records consisting of a key position field 31 which is the storage area for storing key position numbers and a hard code field 32 which is the storage area for storing hard codes. In step a4, judgment is made whether the hard code read in step a3 agrees with the hard code given from the input and display means 11 to the input control means 12. In the case of disagreement, the process will advance to step a5, where 1 is added to the value of the counter, and then return to step a3. When the two hard codes agrees with each other, the process will advance from step a4 to a6, where the key position number corresponding to the agreed hard code is read from the key position field 31 of the hard code conversion table 37 in Fig. 5, and the process ends itself in step a7. The input control means 12 determines the key position number indicating which product name key has been operated from the hard cord inputted from the input and display means 11. The product name keys are the corresponding area under the key arrangement , namely the area where product names are arranged under the key arrangement displayed on the input and display means 11. Next, the soft code corresponding to this key position number is determined by referring to the key arrangement storing memory 16 in Fig. 6. The key arrangement storing memory 16 indicates the correspondence between the key position numbers and the soft codes, and is included in the random access memory 24. The key arrangement storing memory 16 has a plurality of records consisting of key position field 33 for storing key position numbers and soft code field 34 for storing soft codes. Suppose a hard code "18" is given from the input and display means 11 to the input control means 12. In the input control means 12, the key position number corresponding to the hard code "18" is determined by referring to the hard code conversion table 37 in Fig. 5. As seen from the record 35, the key position number corresponding to the hard code "18" is "3". Next, the soft code corresponding to the key position number "3" is determined by referring to the key arrangement storing memory 16 in Fig. 6. As seen from the record 36, the soft code corresponding to the key position number "3" is "05". The soft code is given to the merchandise registration means 13. In the merchandise registration means 13, the item codes corresponding to the respective items are determined first from the soft code, by referring to an item code conversion table 43 in Fig. 8. The item code conversion table 43 shows the corresponding relation among soft codes, item codes which are inherent codes specified for the respective items and key names displayed together with the key arrangement on the display means 23, and is stored in the read only memory 25. The item code conversion table 43 has a plurality of records consisting of a soft code field 38 for storing soft codes, an item code field 39 for storing item codes and a key name field 40 for storing key names. For example, when the soft code given from the input control means 12 to the merchandise registration means 13 was "05", we can see from the record 41 that the item code corresponding to the soft code "05" is "005" and that the key name is "APPLE". Next, merchandise registration of registering and storing sales information is performed by using a merchandise registration file 49 in Fig. 9. The merchandise registration file 49 is stored in the random access memory 24 and has a file constitution composed of a plurality of records. One record consists of a plurality of fields which are storage areas and one record corresponds to one item code. One record of the merchandise registration file 49 is composed of an item code field 44, a quantity field 45, an amount field 46, a stock field 47 and a unit price field 48, etc. The item code field 44 stores the item code of the merchandise corresponding to the record concerned. The quantity field 45 stores the sales quantity namely the total of the registered quantity of merchandise. The amount field 46 stores the sold amount namely the total of the registered amount of an item. The stock field 47 stores the stock quantity of merchandise. The unit price field 48 stores the unit price of the item corresponding to the record concerned. In the merchandise registration means 13, the key name corresponding to the item code is determined by referring to the item code conversion table 43 in Fig. 8, from the soft code inputted from the input control means 12. The unit price etc. of the corresponding item are also determined by referring to the merchandise registration file 49 in Fig. 9 and displayed it in the content display area 27 on the screen of the input and display means 11. Moreover, at the merchandise registration means 13 merchandise registration of storing sales quantity etc. in the merchandise registration file 49 in Fig. 9 is performed . For example, the registered quantity which is the sales quantity at the time of one registration input by operating the numeral key group 30a etc. is added to the sales quantity stored in the quantity field 45 namely the sum of the registered quantities. Moreover, the registered amount, which is the sales amount calculated from the registered quantity and the unit price, etc., is also added to the sales amount stored in the amount field 46, namely the sum of the registered amounts. Furthermore, the registered quantity is substracted from the stock quantity stored in the stock field 47 and the stock quantity of the item concerned is determined and stored. With those operations, the information on sales of an item inputted by using the input and display means 11 can be stored in the merchandise registration file 49. When the processing is over in the merchandise registration means 13, the order of sales of the items stored in the merchandise registration file 49 is determined in the sales order judging means 14. Fig. 10 is a memory file in order of sales volume 50 for judging the order of sales of merchandise and is constituted in the form of a file. In judging the order based on the sales quantity, for example, one record of the memory file in order of sales volume 50 is composed of a merchandise code field 51, a quantity field 52 for storing sales quantity forming the subject of judgment of order of sales and order field 53 for storing order, etc. When the processing is over in the merchandise registration means 13, the sales quantity is read from the quantity field 45 and stored in the quantity field 52 of the memory file in order of sales volume 50 for renewal, for each item code of the merchandise registration file 49. After the renewal of sales quantity is over for all item codes in the memory file in order of sales volume 50, rearrangement of the records of the memory file in order of sales volume 50 is performed in the order of sales quantity, for example, and change of the order stored in the order field 53 is also performed. In the memory file in order of sales volume 50 in Fig. 10, for example, the item code of the largest sales is "006" and its sales quantity is "7". The item code of the second largest sales is "004" and its sales quantity is "6". When the processing is over in the sales order judging means 14, the merchandise register changes the key arrangement according to the aforementioned order of sales by means of the key arrangement control means 15. This consists in assigning the item of the largest sales for the merchandise key corresponding to the key position number "1" indicated in Fig. 7 and the item of second largest sales for the merchandise key corresponding to the key position number "2", etc., for example, so that the key position number and the order may agree with each other. At that time, in the key arrangement storing memory 16 in Fig. 6, for example, the soft code "06" corresponding to the item code "006" is stored in the soft code field 34 of the record having the key position field 33 stored in the key position number "1", and the item code "006" is stored in the item code field 51 of the record where "1" is stored in the order field 53 of the memory file in order of sales volume 50, namely the first order record. The soft code corresponding to the item code can be determined by referring to the item code conversion table 43 in Fig. 8. Fig. 11 indicates the state of the key arrangement storing memory 16 after a change of key arrangement. The display control means 17 displays key arrangement including key name on the input and display means 11 as shown in Fig. 3. The key name displayed is determined by reading the key name corresponding to the soft code stored in the soft code field 34 of the key arrangement storing memory 16 from the key name field 40 of the item code conversion table 43 in Fig. 8. Moreover, the area in which the key name is displayed is determined by reading the key position number stored in the key position field 33 of the key arrangement storing memory 16. By making such operations, it becomes possible to change the key arrangement displayed on the input and display means 11 to a key arrangement conformable to the order of sales every time the sales order changes. Thus, in this embodiment, in which the key arrangement is decided on the basis of the order of sales, it is also possible to know conversely well selling item from the key position in which the item concerned is registered. Moreover, the key arrangement storing memory 16, which indicates the correspondence among key names, item codes and key position numbers indicating the area of product name keys on the key arrangement, uses soft codes corresponding to key names and item codes and representing a smaller volume in the memory compared with the item codes. This makes it possible to reduce the volume of the key arrangement storing memory 16. Furthermore, as shown in Fig. 12, it will be all right to display the key arrangement including key names in the display means 23 of the input and display means 11 and also display the stock quantity of the item stored in the stock field 47 of the merchandise registration file 49 in Fig. 9 with numerals, for example, as indicated with reference symbols 54a to 54f. The display of the key name and that of the stock quantity of merchandise are both included in the key arrangement. This makes it possible to clearly recognize the stock quantity of the respective items at the time of key input. Furthermore, in the key arrangement control means 15 of this embodiment, the item codes of the items in the upper orders of the memory file in order of sales volume 50 are read in the order of merchandise, at the same time, the stock quantity of the merchandise is read from the stock field 47 of the merchandise registration file 49 when renewing the data in the key arrangement storing memory 16. If the stock quantity is zero, it will be all right to delete that item code from the memory file in order of sales volume 50 and advance the orders the item codes of orders lower than that of the deleted item code, one by one in turn. By so doing, no soft code corresponding to any item the stock quantity of which is zero is stored in the key arrangement storing memory 16 and it becomes possible to delete the product name key corresponding to the item the stock quantity of which is zero. Fig. 13 is a flow chart for explaining an second example of preparing motion of the memory file in order of sales volume 50 of the sales order judging means 14 of the merchandise register of Fig. 1. In this example, rearrangement of order of sales is made when the sales quantity of an item of a lower position in the order of sales has exceeded by not less than the prescribed quantity the sales quantity of the merchandise in the immediately upper order. For example, now suppose that the sales quantity of the best selling item is 100, that of the second best selling item is 99 and that of the item in the third order is 80, and then, 5 pieces of the item in the second order is sold, resulting in the sales quantity of that item to 104. If, at this time, the prescribed quantity is 5 pieces, the sales quantity of the item in the second order is larger than that of the item in the first order but is smaller than the value obtained by adding the prescribed quantity to the sales quantity of the item in the first order. No rearrangement of order of sales will be made in this case. A change of order between the item in the first order and that in the second order takes place in a case where the sales quantity of the item in the second order becomes 105 and that of the item in the first order remains 100, for example, namely a case where the difference in quantity of sales between the two items is not less than 5. When the process of registration is over in the merchandise registration means 13, the process advances from step d1 to step d2 in the flow chart of Fig. 13. In step d2, the sales quantity is read from the record submitted to merchandise registration of the merchandise registration file 49 in Fig. 9, namely from the record in which there was some change of sales quantity etc., and is stored as sales quantity B in the register 24b of the memory 24. The record may be looked for by referring to the item code determined on the merchandise registration means 13. In step d3, by referring to the memory file in order of sales volume 50 in Fig. 1, the record storing the item code same as that stored in the record in which the sales quantity read in step d2 was stored is looked for, and the value of the order field 53, namely the order of sales is read. In step d4, the value of the quantity field 52 namely the quantity of sales of merchandise of the record of order of sales in the position immediately above the order of sales determined in step d3 is looked for, and it is stored as sales quantity A in the register 24a of the random access memory 24. In step d5, the difference between the sales quantity B stored in the register 24b (of the memory 24) in step d2 and the sales quantity A stored in the register 24a in step d4, namely the difference C between the sales quantity A of the item of an immediately upper order and the sales quantity B of the item submitted to a change of registration, is calculated and stored in the register 24c. In step d6, judgment is made whether the value of difference C exceeds the predetermined value "n" or not, and the processing is terminated in step d8 when not exceeding. Therefore, no rearrangement of order will take place. In the case where the value of difference C is judged to exceed the predetermined value "n", the order of the item submitted to a change of registration will be changed with the order of the merchandise immediately above the item concerned and the processing will be terminated in step d8. This makes it possible to prevent frequent change in the order of sales and change of key arrangement every time when there is any processing of merchandise registration. Fig. 14 is a block diagram showing the functional constitution of the merchandise register which is the second embodiment of the present invention. This embodiment is similar to the first embodiment described earlier and, for that reason, explanation will be omitted by giving the same symbols to means which performs in the block diagram in Fig. 14 the same processing as that of the block diagram in Fig. 1. In this embodiment, the area on the key arrangement for making correspondence of item codes according to the order of sales will be an area set in advance optionally by the operator. When the memory file in order of sales volume 50 is rearranged and the processing in the merchandise registration means 13 is over, at a key arrangement control means 15a, the key arrangement on the basis of a specified order table for key arrangement 56. The specified order table for key arrangement 56 indicates the correspondence between order of sales and key position number as shown in Fig. 15. The specified order table for key arrangement 56 has as many records consisting of order field 58 for storing order of sales and key position field 59 in the number of the product name key group 29. In the record indicated with a reference symbol 60a, for example, the merchandise in the first position in the order of sales corresponds to the key position number "20". Similarly, in the records indicated with reference symbols 60b, 60c, 60d, the merchandise in the second, third and fourth positions in the order of sales correspond to the key position numbers "15", "10", "5". Namely, they are assigned respectively to the areas indicated with reference symbols 29h, 29i, 29g in Fig. 7. Therefore, areas to which items in higher positions in the order of sales are assigned namely positions where frequently used product name keys are formed can be arranged by the operator in places easy for operation by the operator such as the neighborhood of the numeral key 30a. The specified order table for key arrangement 56 is set by key arrangement setting means 57. Namely, the operator can freely change the table 56 by using the input and display means 11. Fig. 16 is a drawing for explaining the key operation at the time of setting of the specified order table for key arrangement 56. For example, after pressing the DOWN key 30f, the operator inputs an arrangement order, namely numerals to be stored in the sales order field 58 by using the numeral key group 30a. Next, after pressing the Up key 30e, the key position number to be stored is inputted, in the similar way of order of sales, in the key position field 59 by using the numeral key group 30a and then presses the ENTER key 30d to end the setting. In this way, it is possible to set the key arrangement by using keys which originally existed in the key arrangement. Fig. 17 is a flow chart for explaining the operation of the key arrangement control means 15a of the merchandise register of Fig. 14. When the processing is over at the sales order judging means 14, the process advances from step b1 to step b2. In step b2, the value on the counter is set at, for example, the initial value of 1, and then goes to step b3. In step b3, the item code is read from the item code field 51 of the record of the address corresponding to the value of the counter in the memory file in order of sales volume 50 in Fig. 10. In step b4, by referring to it refers to the item code conversion table 43 in Fig. 8, the soft code, corresponding to the item code read in step b3, is read. In step b5, the key position number is read from the record of the address corresponding to the value of the counter in the specified order table for key arrangement 56. In step b6, the soft code read in step b4 is stored in the soft code field 34 inside the key arrangement storing memory 16 corresponding to the key position number read in step b5. In step b7, 1 is added to the value of the counter for renewal. In step b8, judgment is made whether the value of the counter has reached the predetermined value such as total number of records in the key arrangement storing memory 16, for example, and the returns to step b3 when it is judged to have not reached. When the value of the counter reached the predetermined value and the soft code field 34 in the key arrangement storing memory 16 is fully renewed, the processing is terminated in step b9. With the above processing operations, the setting of key arrangement can be freely changed in the merchandise register which changes the key arrangement according to the order of sales. Fig. 18 is a block diagram showing a functional constitution of the merchandise register of a third embodiment of the invention. This embodiment is similar to the first embodiment described above and, for that reason, explanation will be omitted by giving the same symbols to means which performs in the block diagram in Fig.18, the same processing as that of the block diagram in Fig. 1. In this embodiment, changing of key arrangement based on the order of sales is made every prescribed hour. The sales order judging means 14 judges the order of sales and the timing for renewing the memory file in order of sales volume 50 is controlled by time judging means 61. The time judging means 61 outputs signals every prescribed hours for activating the sales order judging means 14 and renews the memory file in order of sales volume 50 in the sales order judging means 14. Therefore, when the sales order judging means 14 is not activated, the memory file in order of sales volume 50 of Fig. 10 is not changed even if any merchandise registration is made in the merchandise registration means 13 producing changes in sales quantity or in sales amount etc., and there will be no change in the key arrangement displayed on the input and display means 11. This makes it possible to prevent frequent changes in the key arrangement according to the changes in order of sales every time when any merchandise registration is carried out. Fig. 19 is a block diagram showing the functional constitution of the merchandise register which is the fourth embodiment of the invention. This embodiment is similar to the first embodiment described above and, for that reason, explanation will be omitted by giving the same symbols to means which performs in the block diagram in Fig.19 the same processing as that of the block diagram in Fig. 1. In this embodiment, the operator selects as desired whether or not make any automatic change of key arrangement. As shown in Fig. 3, the merchandise register of the present invention is provided with an automatic change switching key 30b for switching between a effective state in which automatic key arrangement is effective for automatically changing the key arrangement and a non effective state in which the key arrangement is fixed without any change of key arrangement. The operator switches between the non effective state and the effective state by operating the automatic change switching key 30b. When the input and display means 11 of Fig.19 is operated and it is judged that the key operated in the key input control means 12 is the automatic change switching key 30b, the signal from the key input control means 12 is given to key arrangement switching means 64. The key arrangement switching means 64 has a constitution which alternately changes between the non effective state and the effective state each time when the automatic change switching key 30b is operated. Namely, if the automatic change switching key 30b is operated when the key arrangement switching means 64 is in the effective state, the key arrangement switching means 64 is switched to the non effective state but is switched to the effective state if the automatic change switching key 30b is operated when it is in the non effective state. In the state where automatic key arrangement is effective, the key arrangement switching means 64 reads the key arrangement data changed according to the order of sales from the key arrangement storing memory 16 and transfers that data to the display control means 17. In the state where automatic key arrangement is non effective, the key arrangement switching means 64 reads the key arrangement data set in advance in a key arrangement default table 63 and not changed according to the order of sales and transfers that data to the display control means 17. The display control means 17 displays the key arrangement data transferred from the key arrangement switching means 64 on the screen of the input and display means 11. This makes it possible for the operator to select whether the key arrangement according to the order of sales be changed. Fig. 20 is a block diagram showing a functional constitution of a merchandise register of a fifth embodiment of the invention. This embodiment is similar to the first embodiment described earlier and, for that reason, explanation will be omitted by giving the same symbols to means which performs in the block diagram in Fig. 20 the same processing as that of the block diagram in Fig. 1. In this embodiment, the order of sales and the key arrangement are decided every prescribed time zone. Simultaneously as the processing of registration made at the merchandise registration means 13 and that the merchandise registration file 49 in Fig. 9 is renewed, merchandise registration is also made in a sales-memory-by-time-zones 66. As shown in Fig. 21, in the sales-memory-by-time-zones 66, one record with the item code indicated with the reference symbol 67 corresponds, and the one record concerned consists of a plurality of predetermined time units, or 24 time zone fields 68 if it is given in units of an hour, for example. In one time zone field 68, sales quantity 69 and sales amount 70 of item corresponding to each record in each time zone are stored. In the sales order judging means 14a the sales quantity 69 in the respective time zone fields 68 is read by referring to the sales memory by time zones 66, and stored in the quantity field 52 of the memory file in order of sales volume 50 and the order of sales is decided for each time zone. This makes it possible to change the key arrangement to one which is suitable for the respective time zones in the case where the well selling product items vary depending on time zones, for example. Moreover, by preparing a plurality of memory files in order of sales volume 50 for diff ent time zones and determine the order of sales for the respective time zones in advance, it becomes possible to change the key arrangement to one suitable for the specific time zone at the starting hour of the same time zone of the next day. Fig. 22 is a block diagram showing the functional constitution of the merchandise register which is a sixth embodiment of the present invention. This embodiment is similar to the first embodiment described earlier and, for that reason, explanation will be omitted by giving the same symbols to means which performs in the block diagram in Fig.22 the same processing as that of the block diagram in Fig. 1. The product name key group 29 used for direct input is limited in number. Therefore, when handling merchandise in a quantity larger than the number of product name key group 29 and registering sales quantity by using the merchandise register of the present invention, the operator will also use code input for directly inputting item code etc. by means of the numeral key group 30a etc. In this embodiment, the input method of the item codes of respective items will be switched to either direct input or code input according to the order of sales. The number of records of the memory file in order of sales volume 50 of the sales order judging means 14 will be set at the same number as the number of records of the merchandise registration file, namely the total number of items which can be registered by the merchandise register of the present invention. In the sales order judging means 14, the order of sales of all merchandise items available for registration can be determined by using this memory file in order of sales volume 50. Direct/code input judging means 71 stores in the key arrangement storing memory the soft code corresponding to the items up to the same number as the number of product name keys of the product name key group 29 from the first position in order stored in the order field 53 of the memory file in order of sales volume 50. This makes it possible to treat the items of upper position of order, namely, which are frequently registered submitted to direct input with simple input operation. Moreover, even among the items which were set for direct input, those of lower position of order, namely, which are registered a small number of times, may automatically be switched to those of code input. Fig. 23 is a block diagram showing a functional constitution of the merchandise register which is a seventh embodiment of the invention. This embodiment is similar to the first embodiment described above and, for that reason, explanation will be omitted by giving the same symbols to means which performs in the block diagram in Fig. 23 the same processing as that of the block diagram in Fig. 1. In this embodiment, the object of discrimination for deciding the order of sales will be switched to either sales quantity or amount of sales. Sales order judging and setting means 72 switches, in the sales order judging means 14, the data to be stored in the quantity field 52 in which the object of discrimination for deciding the order of sales in the memory file in order of sales volume 50 of Fig. 10 is stored, to either sales quantity or amount of sales. Fig. 24 shows an example of operation at the time of setting of the sales order judging and setting means 72. To store the sales quantity in the quantity field 52, for example, the PAGE key 30g in the key arrangement shown in Fig. 3 then, a desired key of the numral key group 30a and lastly the ENTER key 30d are operated. By this operation, sales quantity is set as the object of discrimination. Moreover, when storing the sales amount in the field 52, the ENTER key 30d is operated after operating the PAGE key 30g. By this operation, sales amount is set as the object of discrimination. In this way, a flag F1 in the sales order judging and setting means 72 is set at "1" or reset to "0" depending on whether a desired key of the numeral key group 30a is operated or not between the operation of the PAGE key 30g and the operation of the ENTER key 30d. The sales order judging means 14 decides the data to be stored in the field 52 of the memory file in order of sales volume 50 as either sales quantity or amount of sales by referring to the flag F1 and judges the order of sales by using the data stored in the field 52. With such operations, the order of sales can be determined on the basis of either the sales quantity or the amount of sales.

Claims: A merchandise register comprising: input and display means (11) for inputting a traded product item, a quantity and functions necessary for the registration, and sales information storing means (49) for storing sales information including sales quantity and sales amount for each item, and registering a sales quantity and a sales amount cumulatively in the sales information storing means (49) in response to the output of the input and display means (11), wherein the input and display means (11) comprises merchandise input means (29) provided with merchandise keys individually corresponding to the respective items, the merchandise input means (29) comprises: a key panel (22) provided with a plurality of light transmitting keys, display means (23) in which the key panel is arranged on a display screen in piles, and control means (17) for controlling so that item information representing an item is displayed in the region corresponding to each of the plurality of light transmitting keys of the display screen, the merchandise key being constituted by each of the plurality of light transmitting keys and the item information displayed in the region corresponding to each of the plurality of light transmitting keys, and the item code of an item corresponding to an operated merchandise key being outputted in response to the operation of merchandise keys, and the control means (17) changing the arrangement of the merchandise keys by changing the display position of the item information on the basis of the sales information. The merchandise register of claim 1, wherein the merchandise input means (29) comprises: order judging means (14) for calculating an index for each item according to a procedure prescribed on the basis of the sales information and judging the order of the item on the basis of the magnitude of the index, order storing means (16) for storing a key position representing an arranged position of each key in the key panel and a number representing the order in linkage with each other, and setting means (15) for setting a number representing the order corresponding to the key position for the order storing means, and. the control means (17) changes the arrangement of the merchandise keys by referring to the order storing means (16) on the basis of the results of judgment of the order judging means (14). The merchandise register of claim 1, wherein the control means (17) changes the arrangement of the merchandise keys at prescribed hours. The merchandise register of claim 2, wherein the order judging means (14) changes the order of an item of a lower order with that of an item of a higher order when the index of an item has exceeded the value of the sum of the index of the item of an order higher by one position and a prescribed value. The merchandise register of claim 1, wherein the input and display means (11) comprises switching means (64) for activating and disabling the change of arrangement of the merchandise keys by the control means (17). The merchandise register of claim 1, wherein the sales information storing means (66) stores the sales information of respective items up to the previous day every prescribed time zone, and the control means (17) changes the arrangement of merchandise keys on the basis of the sales information up to the previous day of the time zone concerned at the starting hours of the respective time zones. The merchandise register of claim 1, wherein the sales information storing means (49) stores the stock quantity of each item, and the control means (17) constitutes merchandise keys by displaying the stock quantity together with merchandise information. The merchandise register of claim 7, wherein the control means (17) displays neither merchandise information nor stock quantity for an item the stock quantity of which is zero. The merchandise register of claim 1, wherein the input and means (11) comprises code input means (30) capable of directly inputting the item codes of all traded items, the number of merchandise keys provided in the merchandise input means (29) is selected to be smaller than the number of all traded items, and the control means (17) comprises means (71) for selecting the item which constitutes the merchandise key on the basis of sales information. The merchandise register of claim 2, wherein the order judging means (14) judges the order of item by using sales quantity or sales amount as an index, and the input and display means (11) comprises selecting means (72) for selecting either sales quantity or sales amount as an index.

Inventors: NAKAMURA YASUHIDE, NAKAMURA, YASUHIDE
Applicants: SHARP KK, SHARP KABUSHIKI KAISHA
Application year: 1995
Main classification: G07G1
IPC codes: G06Q50, G07G1, G06F3