The present invention relates to an input reception method, an input reception program, and a terminal device.
There are devices, such as tablet terminals and smartphones, which have touch panels. These devices may be used, for example, for a menu in a store to be displayed, and when any of items in the displayed menu is specified by touch operation, the specified menu item is selected, or a menu of a lower layer for that menu item is displayed.
Patent Literature 1: Japanese Laid-open Patent Publication No. 2005-235116
According to an aspect of an embodiment, an input reception method includes: using input contents of a handwritten input in one of a process of narrowing down menu items of a lower layer of a specific menu item and a process of receiving the input contents as contents of an instruction related to an order for the specific menu item, when it is detected that the handwritten input has been executed at an input position corresponding to the specific menu item of plural menu items displayed on a display screen, using a processor.
The object and advantages of the invention will be realized and attained by means of the elements and combinations particularly pointed out in the claims.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory and are not restrictive of the invention.
However, with conventional techniques, desired screens are unable to be reached unless correct routes are followed according to structures of menus, and freedom of operation thereof is not sufficiently high.
Hereinafter, based on the drawings, embodiments of an input reception method, an input reception program, and a terminal device, which are disclosed by the present application, will be described in detail. The disclosed techniques are not limited by these embodiments. Further, the following embodiments may be combined with one another as appropriate so long as no contradiction arises therefrom.
The terminal device 10 and the server device 100 are connected to be able to communicate with each other via a network N. Regardless of whether the network N is wired or wireless, any type of communication network may be adopted as the network N, including the Internet, a local area network (LAN), and a virtual private network (VPN).
The terminal device 10 is a computer used by, for example, a customer who makes an order in a restaurant, that is, a user. For example, the terminal device 10 presents various menu screens received from the server device 100, to the user by displaying the various menu screens. The terminal device 10 is able to use, for example, a Web browser for display and operation of the various menu screens and the like. Further, the terminal device 10 receives a handwritten input on a display screen for the various menu screens and the like. A tablet terminal may be adopted as an example of the terminal device 10. As to the terminal device 10, not only a portable terminal, such as the above mentioned tablet terminal or the like, but also a stationary personal computer, may be adopted as the terminal device 10. Furthermore, if the terminal device 10 is a portable terminal, other than the above mentioned tablet terminal, for example, a mobile communication terminal or the like, such as a portable personal computer, a smartphone, or a mobile phone, may be adopted as the terminal device 10.
In response to a handwritten input on the display screen, the terminal device 10 determines whether or not the handwritten input is an input associated with a specific element, for example, a menu item, which is displayed on the display screen. If it is determined that the handwritten input is an input associated with a specific element displayed on the display screen, the terminal device 10 uses contents of the handwritten input, by a use method different from that in a case where the handwritten input is not determined to be an input associated with a specific element displayed on the display screen. That is, if, for example, a handwritten input is an input associated with a menu item, the terminal device 10 transmits contents of the handwritten input as a request for a search within that menu item, to the server device 100, and receives search results. Further, if, for example, a handwritten input is not associated with a menu item, the terminal device 10 transmits contents of the handwritten input as a request for a search through the whole menu, to the server device 100, and receives search results. Thereby, operation associated with a specific element is able to be made smooth.
The server device 100 has, for example, a menu database for a restaurant (hereinafter, “database” being referred to as “DB”), and causes the terminal device 10 to display a menu screen. Further, when the server device 100 receives a search request from the terminal device 10, the server device 100 searches the menu DB according to the search request, and transmits results of the search to the terminal device 10. The search request may be, for example, a SQL statement. Furthermore, when the server device 100 receives various types of information, such as order information, from the terminal device 10, the server device 100 stores the various types of information received, into the menu DB. If the server device 100 receives order information, for example, the server device 100 stores the received order information into the menu DB, and delivers an order to a worker in a restaurant by transmitting the order information to an order display device not illustrated and causing the order display device to display thereon the order information.
Next, a configuration of the terminal device 10 will be described. As illustrated in
The communication unit 11 is realized by, for example, a communication module, a network interface card (NIC), or the like, of a wireless LAN or the like. The communication unit 11 is a communication interface, which is connected to the server device 100 via the network N wiredly or wirelessly, and which controls communication of information to and from the server device 100. The communication unit 11 receives data of the various menu screens from the server device 100. The communication unit 11 outputs the received data of the various menu screens to the control unit 14. Further, the communication unit 11 transmits a search request, and various types of information including order information and the like, which have been input from the control unit 14, to the server device 100. Search results according to a search request and order information are reflected in the various menu screens.
The display operation unit 12 is a display device for displaying thereon various types of information, and an input device that receives various operations from a user. For example, the display operation unit 12 is realized by a liquid crystal display or the like serving as the display device. Further, for example, the display operation unit 12 is realized by a touch panel or the like serving as the input device. That is, in the display operation unit 12, the display device and the input device are integrated together. The display operation unit 12 outputs an operation input by a user as operation information, to the control unit 14. The operation information may be, for example, stroke input indicating coordinates on the display screen from touch to separation of a user's finger on and from the touch panel, that is, a handwritten input.
The storage unit 13 is realized by, for example: a semiconductor memory element, such as a random access memory (RAM) or a flash memory; and a storage device, such as a hard disk or an optical disk. The storage unit 13 stores therein the data of the various menu screens received from the server device 100. Further, the storage unit 13 stores therein information used in processing at the control unit 14.
The control unit 14 is realized by, for example, a program being executed by a central processing unit (CPU), a micro processing unit (MPU), or the like, with a RAM being a work area, the program having been stored in a storage device inside thereof. Further, the control unit 14 may be realized by, for example, an integrated circuit, such as an application specific integrated circuit (ASIC) or a field programmable gate array (FPGA). The control unit 14: has a reception unit 15, a determination unit 16, a use control unit 17, and a search unit 18; and realizes or executes functions and effects of information processing described below. An internal configuration of the control unit 14 is not limited to the configuration illustrated in
The reception unit 15 receives operation information, for example, coordinates of stroke input, from the display operation unit 12. Based on the coordinates of the stroke input, the reception unit 15 determines whether or not the stroke input has finished. If the stroke input has finished, the reception unit 15 outputs the received coordinates of the stroke input to the determination unit 16. Further, the reception unit 15 recognizes a handwritten character based on the coordinates of the stroke input, and generates contents of the handwritten input. The reception unit 15 outputs the generated contents of the handwritten input to the use control unit 17. The reception unit 15 nay transmit the coordinates of the stroke input to the server device 100, and receive, from the server device 100, the contents of the handwritten input generated through recognition of the handwritten character by the server device 100.
When the coordinates of the stroke input are input from the reception unit 15, the determination unit 16 determines whether or not the stroke input is an input associated with a specific element displayed in the display screen being displayed on the display operation unit 12. That is, the determination unit 16 determines, for example, whether or not the stroke input is an input associated with any of menu items displayed in the menu screen. If the stroke input is an input associated with any of the menu items, the determination unit 16 outputs associated area information added with attribute information of that menu item, to the use control unit 17. If the stroke input is not an input associated with any of the menu items, the determination unit 16 outputs non-associated area information not added with attribute information of a menu item, to the use control unit 17.
By use of
The determination unit 16 identifies, for example, a smaller area of areas, in which an input area and the associated areas overlap each other over a predetermined threshold value or more, for example, 70% or more thereof. Further, the determination unit 16 compares an average character size for one character of input characters, with a length of a shorter one of vertical and horizontal lengths of a specific element, for example, a menu item. If, as a result of the comparison, the average character size is shorter than the shorter length of the vertical and horizontal lengths of the specific element, the determination unit 16 identifies the area of that specific element as the associated area.
Returning to the description of
As an example of the use method for the contents of the handwritten input, a case where the menu DB of the server device 100 is searched will be described. If associated area information is input from the determination unit 16, for example, the use control unit 17 outputs a search instruction to the search unit 18 for a search by use of the attribute information of the menu item included in the associated area information. Further, if non-associated area information is input from the determination unit 16, for example, the use control unit 17 outputs a search instruction to the search unit 18 for a search without use of attribute information of a menu item.
A referent determination process for determination of a target of a search instruction will now be described. Based on input of associated area information or non-associated area information, the use control unit 17 determines whether or not an associated area has been able to be identified. If an associated area has not been able to be identified, that is, if non-associated area information has been input, the use control unit 17 determines respective menu items on the display screen currently being displayed as a referent. If an associated area has been able to be identified, that is, if associated area information has been input, the use control unit 17 determines menu items of a hierarchical layer lower than that of the menu item of the associated area as a referent.
If an associated area has not been able to be identified, the use control unit 17 outputs a search instruction to the search unit 18 for an AND search with the referent, that is, the respective menu items being displayed, and the input characters corresponding to the contents of the handwritten input. When the use control unit 17 receives results of the search from the search unit 18, the use control unit 17 determines whether or not the number of the search results is equal to or greater than one. If the number of the search results is equal to or greater than one, the use control unit 17 ends the referent determination process, and updates the display screen being displayed on the display operation unit 12 to a display screen displaying thereon the search results.
If the number of the search results is not equal to or greater than one, that is, is zero, the use control unit 17 outputs a search instruction to the search unit 18 for a search for a classification of the input characters corresponding to the contents of the handwritten input. When a result of the search is input from the search unit 18, the use control unit 17 determines which one of option, merchandise item or material, and category, the classification of the input characters, which is the search result, is. If the classification of the input characters is option, the use control unit 17 determines the input with respect to the respective menu items being displayed is invalid and ends the referent determination process. If the input is determined to be invalid, the use control unit 17 erases the track of the handwritten input from the track screen without updating the display screen being displayed.
If the classification of the input characters is merchandise item or material, the use control unit 17 outputs a search instruction to the search unit 18 for execution of an OR search for merchandise items with the referent and the input characters. When results of the search are input from the search unit 18, the use control unit 17 ends the referent determination process, and updates the display screen being displayed on the display operation unit 12 to a display screen displaying thereon the search results.
If the classification of the input characters is category, the use control unit 17 determines an attribute, that is, a classification, of the current menu items being the referent. If the classification of the referent is merchandise item, the use control unit 17 outputs a search instruction to the search unit 18 for execution of an OR search for merchandise items with the merchandise items being the referent and the input category name. When results of the search are input from the search unit 18, the use control unit 17 ends the referent determination process, and updates the display screen being displayed on the display operation unit 12 to a display screen displaying thereon the search results.
If the classification of the referent is category, the use control unit 17 outputs a search instruction to the search unit 18 for execution of an OR search for categories, with the category names being the referent and the input category name. When results of the search are input from the search unit 13, the use control unit 17 ends the referent determination process, and updates the display screen being displayed on the display operation unit 12 to a display screen displaying thereon the search results.
If the classification of the referent is option, the use control unit 17 outputs a search instruction to the search unit 18 for execution of an OR search for merchandise items with the immediately preceding list of merchandise items and the input category name. When results of the search are input from the search unit 18, the use control unit 17 ends the referent determination process, and updates the display screen being displayed on the display operation unit 12 to a display screen displaying thereon the search results.
If an associated area has been able to be identified, the use control unit 17 outputs a search instruction to the search unit 18 for a search for a classification of the input characters corresponding to the contents of the handwritten input, with respect to a referent that is menu items of a hierarchical layer lower than the menu item of the associated area. When a result, of the search is input from the search unit 18, the use control unit 17 determines which one of option, merchandise item or material, and category, the classification of the input characters, which is the search result, is.
If the classification of the input characters is option, the use control unit 17 determines whether or not the referent is merchandise items. If the referent is merchandise items, the use control unit 17 outputs a search instruction to the search unit 18 for execution of an AND search for merchandise items and options with the referent and the input option name. When results of the search are input from the search unit 18, the use control unit 17 ends the referent determination process, and updates the display screen being displayed on the display operation unit 12 to a display screen displaying thereon the search results. If the referent is not merchandise items, the use control unit 17 determines the input with respect to the respective menu items being displayed is invalid and ends the referent determination process. If the input is determined to be invalid, the use control unit 17 erases the track of the handwritten input from the track screen without updating the display screen being displayed.
If the classification of the input characters is merchandise item or material, the use control unit 17 outputs a search instruction to the search unit 18 for execution of an AND search for merchandise items with the referent and the input characters. When results of the search are input from the search unit 18, the use control unit 17 ends the referent determination process, and updates the display screen being displayed on the display operation unit 12 to a display screen displaying thereon the search results.
If the classification of the input characters is category, the use control unit 17 outputs a search instruction to the search unit 18 for execution of an AND search for categories and merchandise items with the referent and the input category name. When results of the search are input from the search unit 18, the use control unit 17 ends the referent determination process, and updates the display screen being displayed on the display operation unit 12 to a display screen displaying thereon the search results.
When a search instruction is input from the use control unit 17, the search unit 18 generates a search request based on the search instruction. For example, the search unit 18 generates, based on a search instruction, a SQL statement corresponding to contents of the search instruction, as a search request. The search unit 18 transmits the generated search request to the server device 100 via the communication unit 11 and the network N.
Further, the search unit 18 receives search results corresponding to the search request from the server device 100 via the network N and the communication unit 11. The search unit 18 outputs the received search results to the use control unit 17. If the search instruction is based on a handwritten input on a display screen having plural choices displayed thereon, the search unit 18 generates, based on contents of the handwritten input, a search request for alternatives corresponding to the plural choices to be searched. For example, it is assumed that a menu screen, through which a way whisky is drunk is input, is being displayed on the display operation unit 12. In a case where “straight”, “on the rocks”, and “with cold water” are available as menu items on the menu screen, when “mizu” (a Chinese character meaning “water” in Japanese) is input by handwriting over the whole menu screen, the search unit 18 then generates a search request for a search to be executed for “with cold water (single)” and “with cold water (double)”.
Next, by use of
In the example of
The use control unit 17 outputs a search instruction to the search unit 18, for a search for “water” corresponding to the input character, with sweet potato shochu of the item 34b being a referent. When the search unit 18 receives “with cold water” as a result of the search from the server device 100, the search unit 18 updates the menu screen 34 being displayed on the display operation unit 12 to a menu screen 36 displaying thereon the search result. On the menu screen 36, an item 36a corresponding to “with cold water”, which is the search result, is displayed, and the number of ordered servings is displayed in a lower area 37 of the item 36a. On the menu screen 36, for example, “1” is input as the default number of ordered servings. In the above example, the server device 100 transmits “with cold water” including “water” from options for ways of drinking corresponding to sweet potato shochu, as the search result, to the search unit 18 of the terminal device 10. The server device 100 determines that “water” corresponds to way of drinking, of attributes of menu items, for example, way of drinking, number of ordered servings, brand, and the like; and determines “with cold water” including “water”, from the options for ways of drinking, as the search result.
Further, a menu screen 38 illustrated in
The use control unit 17 outputs a search instruction to the search unit 16, for a search for “2” corresponding to the input character, with sweet potato shochu of the item 34b being a referent. When the search unit 18 receives that the number of ordered servings is two, as a result of the search, from the server device 100, the search unit 18 updates the menu screen 34, for “2” to be displayed thereon as the number of ordered servings 42 in the item 34b on the menu screen 34 being displayed on the display operation unit 12. That is, the use control unit 17 is able to change a reference method for an attribute of a specific element, according to a classification of contents of a handwritten input.
The use control unit 17 outputs a search instruction to the search unit 18, for a search for “orange” corresponding to the input characters, with the non-associated area, that is, the items 31a to 31g that are the respective menu items on the menu screen 31 currently being displayed, being a referent. The search unit 18 receives, as results of the search, “orange”, “orange sorbet”, “Fuzzy Navel”, “Screwdriver”, “Cassis and Orange”, “orange soda”, and “orange juice”, from the server device 100. The search unit 18 updates the menu screen 31 being displayed on the display operation unit 12 to a menu screen 44 displaying thereon from “orange” of an item 44a to “orange juice” of an item 44g, which correspond to the received search results. That is, at the terminal device 10, when “orenji” is input on the menu screen 31, the menu screen 44 having thereon “orange” included in “dessert”, and in “soft drink” and “alcohol” that are in a lower hierarchical layer of “drink” is displayed.
The use control unit 17 outputs a search instruction to the search unit 18, for a search for “orange” corresponding to the input characters, with the non-associated area, that is, the items 34a to 34g that are the respective menu items on the menu screen 34 currently being displayed, being a referent. The search unit 18 receives, as results of the search, “Fuzzy Navel”, “Screwdriver”, and “Cassis and Orange”, from the server device 100. The search unit 16 updates the menu screen 34 being displayed on the display operation unit 12 to a menu screen 46 displaying thereon “Fuzzy Navel” of an item 46a, “Screwdriver” of an item 46b, and “Cassis and Orange” of an item 46c, which correspond to the received search results.
Further, a menu screen 47 illustrated in
The use control unit 17 outputs a search instruction to the search unit 18, for a search for “orange” corresponding to the input characters, with the associated area, that is, “alcohol” of the item 47a, being a referent. The search unit 18 receives, as results of the search, “Fuzzy Navel”, “Screwdriver”, and “Cassis and Orange”, from the server device 100. The search unit 18 updates the menu screen 47 being displayed on the display operation unit 12 to a menu screen 46 displaying thereon “Fuzzy Navel” of the item 46a, “Screwdriver” of the item 46b, and “Cassis and Orange” of the item 46c, which correspond to the received search results. That is, whether “orenji” is input over the whole screen of the menu screen 34 listing thereon categories of alcohol, or “orenji” is input on the item 47a for “alcohol” on the menu screen 47 for “drink”, the menu screen 46 is able to be displayed by input of one time. The menu screen 46 has thereon menu items including “orange” belonging to “alcohol”. In other words, based on a choice corresponding to an attribute of a menu screen, the terminal device 10 updates the menu screen. That is, the terminal device 10 displays menu screens according to hierarchy of the menus.
The use control unit 17 outputs a search instruction to the search unit 18, for an OR search for merchandise items with a referent and the input category, “gunkan”, the referent being the non-associated area, that is, the items 51a to 51g that are the respective menu items on the menu screen 51 currently being displayed. The search unit 18 receives, as results of the search, “red sea bream” of an item 53a, “yellowtail” of an item 53b, “salmon” of an item 53c, and “tuna” of an item 53d, which are included in the category, “nigiri”, from the server device 100. Further, the search unit 18 receives, as results of the search, “tuna-yukke” (tuna and egg mixed together with a spicy Korean sauce) of an item 53e, “sea urchin” of an item 53f, and “salmon roe” of an item 53g, which are included in the category, “gunkan”, from the server device 100. The search unit 18 updates the menu screen 51 being displayed on the display operation unit 12 to a menu screen 53 displaying thereon from “red sea bream” of the item 53a to “salmon roe” of the item 53g, which correspond to the received search results. That is, at the terminal device 10, when “gunkan” is input on the menu screen 51, the menu screen 53 having thereon the merchandise items included in the categories, “nigiri” and “gunkan”, is displayed.
In other words, according to a way in which a keyword input on a menu screen is written, the terminal device 10 is able to change operation, such as customization of a menu. Further, the terminal device 10 is able to execute a search by taking over context of a selected menu item. For example, if “on the rocks” is input on a menu screen for “sweet potato shochu”, the terminal device 10 executes an AND search for “sweet potato shochu” and “on the rocks”. Furthermore, if, for example, “white” is input on a menu screen for “mini-van”, the terminal device 10 executes an AND search for “mini-van” and “white”. Moreover, if “katsu” (meaning “deep-fried breaded meat” in Japanese) is input on a menu screen for “curry”, the terminal device 10 is able to add information for topping “curry” with “katsu”. What is more, the terminal device 10 may execute a search by, for example, increasing priority of contents of a handwritten input. In addition, the terminal device 10 may change operation by using information on a size of an input keyword or input order.
Next, by use of
Further, the categories 54 have two categories, “tuna” and “salmon”, under “nigiri”, in a third hierarchical layer thereof. Furthermore, the categories 54 have two categories, “salmon roe” and “sea urchin”, under “gunkan”, in the third hierarchical layer. Moreover, the categories 54 have two categories, “soft drink” and “alcohol”, under “drink”, in the third hierarchical layer. What is more, the categories 54 have two categories, “carbonated drink” and “fruit juice”, under “soft drink”, in a fourth hierarchical layer thereof. In addition, the categories 54 have “beer” and “sour” under “alcohol” in the fourth hierarchical layer. The numbers of hierarchical layers may be different from one another among categories, like those of “gunkan” and “drink”, in the categories 54.
In the example of
In the example of
Returning to the description of
The communication unit 110 is realized by, for example, an NIC or the like. The communication unit 110 is a communication interface, which is connected to the terminal device 10 via the network N wiredly or wirelessly, and which controls communication of information to and from the terminal device 10. The communication unit 110 receives various types of information, such as a search request, order information, and the like, from the terminal device 10. The communication unit 110 outputs the received various types of information, such as the search request, order information, and the like, to the control unit 130. Further, the communication unit 110 transmits data of various menu screens, such as menu screens according to the search request, order information, and the like, which have been input from the control unit 130, to the terminal device 10.
The storage unit 120 is realized by, for example: a semiconductor memory element, such as a RAM or a flash memory; and a storage device, such as a hard disk or an optical disk. The storage unit 120 has a classification DB 121, a category DB 122, a merchandise item DB 123, a material DB 124, an option DB 125, a screen display DB 126, and an order DB 127. The respective DBs from the classification DB 121 to the order DB 127 are, for example, an example of a composition of the menu DB of the restaurant. Further, the storage unit 120 stores therein information used in processing at the control unit 130.
The classification DB 121 stores therein classifications of menu items.
“Classification number” is an identifier that identifies a classification of a menu item. “Classification name” is information indicating a classification name of the menu item. The example of
Returning to the description of
“Category number” is an identifier that identifies a category of a menu item. “Category name” is information indicating a category name of the menu item. “Parent category number” is information indicating a category number of an upper hierarchical layer that the category belongs to. The example in
Returning to the description of
“Merchandise item number” is an identifier that identifies a merchandise item of a menu item. “Merchandise item name” is information indicating a merchandise item name of the menu item. “Parent category number” is information indicating a category number of an upper hierarchical layer that the merchandise item belongs to. “Material number” is information indicating a number corresponding to a material of the merchandise item. “Option number” is information indicating a number of an option corresponding to the merchandise item. The example in
Returning to the description of
“Material number” is an identifier that identifies a material. “Material name” is information indicating a name of the material used in a merchandise item. The example of
Returning to the description of
“Option number” is an identifier that identifies an option. “Option name” is information indicating an option name corresponding to a merchandise item. The example in
Returning to the description of
“Display number” is an identifier that identifies a menu item to be displayed on the menu screen. “Display classification number” is information indicating a classification of the menu item to be displayed on the menu screen. “Branch number” is information indicating a number in a DB corresponding to the classification of the menu item. In the example of
Returning to the description of
“Table number” is an identifier that identifies a user of a table where the terminal device 10 is installed. “Ordered merchandise item number” is information indicating a merchandise item number of a merchandise item that has been ordered. “Number of ordered servings” is information indicating the number of ordered servings of the merchandise item. When there is an option corresponding to the merchandise item that has been ordered, “option number” is information indicating a number of the option specified by the user. The example in
Returning to the description of
The DB management unit 131 executes management of the respective DBs from the classification DB 121 to the order DB 127, and provides various menu screens to the terminal device 10. Based on information on the respective DBs from the classification DB 121 to the order DB 127, the DB management unit 131 generates data of the various menu screens, and transmits the generated data of the various menu screens to the terminal device 10 via the communication unit 110 and the network N. The DB management unit 131 transmits, for example, data of the menu screen 31 illustrated in
Further, the DB management unit 131 receives various types of information including a search request and order information, from the terminal device 10, via the network N and the communication unit 110. Based on the received search request, the DB management unit 131 searches a corresponding DB of the respective DBs from the classification DB 121 to the order DB 127, and transmits data of a menu screen based on results of the search, to the terminal device 10, via the communication unit 110 and the network N. Furthermore, the DB management unit 131 stores the received order information into the order DB 127, and transmits data of a menu screen reflecting the order information, to the terminal device 10, via the communication unit 110 and the network N. Moreover, the DB management unit 131 delivers an order to a worker of the restaurant by causing an order display device not illustrated to display thereon the received order information.
Next, operation of the information processing system 1 of the embodiment will be described.
The reception unit 15 of the terminal device 10 receives operation information, for example, coordinates of stroke input, from the display operation unit 12 (Step S1). Based on the coordinates of the stroke input, the reception unit 15 determines whether or not the stroke input has finished (Step S2). If the stroke input has not finished (Step S2: No), the reception unit 15 returns to Step S1. If the stroke input has finished (Step S2: Yes), the reception unit 15 outputs the received coordinates of the stroke input to the determination unit 16.
When the coordinates of the stroke input are input from the reception unit 15, the determination unit 16 determines whether or not the stroke input is an input associated with a specific element displayed in the display screen being displayed on the display operation unit 12. If the stroke input is an input associated with any of the menu items, the determination unit 16 outputs associated area information added with attribute information of that menu item, to the use control unit 17. If the stroke input is not an input associated with any of the menu items, the determination unit 16 outputs non-associated area information not added with attribute information of a menu item, to the use control unit 17. That is, the determination unit 16 identifies an associated area (Step S3). Further, based on the coordinates of the stroke input, the reception unit 15 recognizes handwritten characters (Step S4), and generates contents of the handwritten input. The reception unit 15 outputs the generated contents of the handwritten input to the use control unit 17.
When the associated area information or the non-associated area information is input from the determination unit 16, and the contents of the handwritten input are input from the reception unit 15; the use control unit 17 executes the referent determination process (Step S5). According to a result of the referent determination process the use control unit 17 updates the display screen being displayed on the display operation unit 12 to a display screen displaying thereon results of a search. That is, according to the referent determination process, the use control unit 17 updates the menu screen being displayed on the display operation unit 12 (Step S6). Thereby, the terminal device 10 enables smooth operation associated with a specific element.
By use of
The use control unit 17 outputs a search instruction to the search unit 18 for an AND search with the referent and input characters corresponding to the contents of the handwritten input (Step S53). When the search instruction is input from the use control unit 17, the search unit 18 generates a search instruction, based on the search instruction. The search unit 18 transmits the generated search request to the server device 100. When the DB management unit 131 of the server device 100 receives the search request from the terminal device 10, the DB management unit 131 searches, based on the received search request, a corresponding DB of the respective DBs from the classification DB 121 to the order DB 127. The DB management unit 131 transmits results of the search through the DB, to the terminal device 10.
The search unit 18 of the terminal device 10 receives the search results from the server device 100. The search unit 13 outputs the received search results to the use control unit 17. When the search results are input from the search unit 18, the use control unit 17 determines whether the number of the search results is equal to or greater than one (Step S54). If the number of the search results is equal to or greater than one (Step S54: Yes), the use control unit 17 ends the referent determination process, and updates the menu screen.
If the number of the search results is not equal to or greater than one (Step S54: No), the use control unit 17 outputs a search instruction to the search unit 18 for a search for a classification of the input characters corresponding to the contents of the handwritten input (Step S55). When the search instruction is input from the use control unit 17, the search unit 18 generates, based on the search instruction, a search request. The search unit 18 transmits the generated search request to the server device 100. When the DB management unit 131 of the server device 100 receives the search request from the terminal device 10, the DB management unit 131 searches, based on the received search request, a corresponding DB of the respective DBs from the classification DB 121 to the order DB 127. The DB management unit 131 transmits a result of the search through the DB, to the terminal device 10.
The search unit 18 of the terminal device 10 receives the search result from the server device 100. The search unit 18 outputs the received search result to the use control unit 17. When the search result is input from the search unit 18, the use control unit 17 determines which one of option, merchandise item or material, and category, the classification of the input characters, which is the search result, is (Step S56). If the classification of the input characters is option (Step S56: Option), the use control unit 17 determines the input with respect to the respective menu items being displayed is invalid (Step S57) and ends the referent determination process.
If the classification of the input characters is merchandise item or material (Step S56: Merchandise item or material), the use control unit 17 outputs a search instruction to the search unit 18 for execution of an OR search for merchandise items with the referent and the input characters (Step S58). When the search instruction is input from the use control unit 17, the search unit 18 generates, based on the search instruction, a search request. The search unit 18 transmits the generated search request to the server device 100. When the DB management unit 131 of the server device 100 receives the search request from the terminal device 10, the DB management unit 131 searches, based on the received search request, a corresponding DB of the respective DBs from the classification DB 121 to the order DB 127. The DB management unit 131 transmits results of the search through the DB, to the terminal device 10.
The search unit 18 of the terminal device 10 receives the search results from the server device 100. The search unit 18 outputs the received search results to the use control unit 17. When the search results are input from the search unit 18, the use control unit 17 ends the referent determination process, and updates the menu screen.
If the classification of the input characters is category (Step S56: Category), the use control unit 17 determines a classification of the current menu items that are the referent (Step S59). If the classification of the referent is merchandise item (Step S55: Merchandise item), the use control unit 17 outputs a search instruction to the search unit 18 for execution of an OR search for merchandise items with the merchandise items of the referent and the input category name (Step S60). When the search instruction is input from the use control unit 17, the search unit 18 generates, based on the search instruction, a search request. The search unit 18 transmits the generated search request to the server device 100. When the DB management unit 131 of the server device 100 receives the search request from the terminal device 10, the DB management unit 131 searches, based on the received search request, a corresponding DB of the respective DBs from the classification DB 121 to the order DB 127. The DB management unit 131 transmits results of the search through the DB, to the terminal device 10.
The search unit 18 of the terminal device 10 receives the search results from the server device 100. The search unit 18 outputs the received search results to the use control unit 17. When the search results are input from the search unit 18, the use control unit 17 ends the referent determination process, and updates the menu screen.
If the classification of the referent is category (Step S59: Category), the use control unit 17 outputs a search instruction to the search unit 18 for execution of an OR search for categories with the category names of the referent and the input category name (Step S61). When the search instruction is input from the use control unit 17, the search unit 18 generates, based on the search instruction, a search request. The search unit 18 transmits the generated search request to the server device 100. When the DB management unit 131 of the server device 100 receives the search request from the terminal device 10, the DB management unit 131 searches, based on the received search request, a corresponding DB of the respective DBs from the classification DB 121 to the order DB 127. The DB management unit 131 transmits results of the search through the DB, to the terminal device 10.
The search unit 18 of the terminal device 10 receives the search results from the server device 100. The search unit 18 outputs the received search results to the use control unit 17. When the search results are input from the search unit 18, the use control unit 17 ends the referent determination process, and updates the menu screen.
If the classification of the referent is option (Step S59: Option), the use control unit 17 outputs a search instruction to the search unit 18 for execution of an OR search for merchandise items with the immediately preceding merchandise item list and the input category name (Step S62). When the search instruction is input from the use control unit 17, the search unit 18 generates, based on the search instruction, a search request. The search unit 18 transmits the generated search request to the server device 100. When the DB management unit 131 of the server device 100 receives the search request from the terminal device 10, the DB management unit 131 searches, based on the received search request, a corresponding DB of the respective DBs from the classification DB 121 to the order DB 127. The DB management unit 131 transmits results of the search through the DB, to the terminal device 10.
The search unit 18 of the terminal device 10 receives the search results from the server device 100. The search unit 18 outputs the received search results to the use control unit 17. When the search results are input from the search unit 18, the use control unit 17 ends the referent determination process, and updates the menu screen.
Returning to the description of Step S51, if an associated area has been able to be identified, that is, when associated area information has been input (Step S51: Yes), the use control unit 17 determines a menu item belonging to the associated area as a referent (Step S63). That is, the use control unit 17 determines menu items of a hierarchical layer lower than that of the menu item of the associated area as the referent. The use control unit 17 outputs, with respect to the referent, a search instruction to the search unit 18 for a search for a classification of input characters corresponding to contents of the handwritten input (Step S64).
When the search instruction is input from the use control unit 17, the search unit 18 generates, based on the search instruction, a search request. The search unit 18 transmits the generated search request to the server device 100. When the DB management unit 131 of the server device 100 receives the search request from the terminal device 10, the DB management unit 131 searches, based on the received search request, a corresponding DB of the respective DBs from the classification DB 121 to the order DB 127. The DB management unit 131 transmits a result of the search through the DB, to the terminal device 10.
The search unit 18 of the terminal device 10 receives the search result from the server device 100. The search unit 18 outputs the received search result to the use control unit 17. When the search result is input from the search unit 18, the use control unit 17 determines which one of option, merchandise item or material, and category, the classification of the input characters, which is the search result, is (Step S65).
If the classification of the input characters is option (Step S65: Option), the use control unit 17 determines whether or not the referent is a merchandise item (Step S66). If the referent is a merchandise item (Step S66: Yes), the use control unit 17 outputs a search instruction to the search unit 18 for execution of an AND search for the merchandise item and options with the referent and the input option name (Step S67).
When the search instruction is input from the use control unit 17, the search unit 18 generates, based on the search instruction, a search request. The search unit 18 transmits the generated search request to the server device 100. When the DB management unit 131 of the server device 100 receives the search request from the terminal device 10, the DB management unit 131 searches, based on the received search request, a corresponding DB of the respective DBs from the classification DB 121 to the order DB 127. The DB management unit 131 transmits results of the search through the DB, to the terminal device 10.
The search unit 18 of the terminal device 10 receives the search results from the server device 100. The search unit 18 outputs the received search results to the use control unit 17. When the search results are input from the search unit 18, the use control unit 17 ends the referent determination process, and updates the menu screen.
If the referent is not a merchandise item (Step S66: No), the use control unit 17 determines that the input with respect to the respective menu items being displayed is invalid (Step S68) and ends the referent determination process.
If the classification of the input characters is merchandise item or material (Step S65: Merchandise item or material), the use control unit 17 outputs a search instruction to the search unit 18 for execution of an AND search for merchandise items with the referent and the input characters (Step S69). When the search instruction is input from the use control unit 17, the search unit 18 generates, based on the search instruction, a search request. The search unit 18 transmits the generated search request to the server device 100. When the DB management unit 131 of the server device 100 receives the search request from the terminal device 10, the DB management unit 131 searches, based on the received search request, a corresponding DB of the respective DBs from the classification DB 121 to the order DB 127. The DB management unit 131 transmits results of the search through the DB, to the terminal device 10.
The search unit 18 of the terminal device 10 receives the search results from the server device 100. The search unit 18 outputs the received search results to the use control unit 17. When the search results are input from the search unit 18, the use control unit 17 ends the referent determination process, and updates the menu screen.
If the classification of the input characters is category (Step S65: Category), the use control unit 17 outputs a search instruction to the search unit 18 for execution of an AMD search for categories and merchandise items with the referent and the input category name (Step S70). When the search instruction is input from the use control unit 17, the search unit 18 generates, based on the search instruction, a search request. The search unit 18 transmits the generated search request to the server device 100. When the DB management unit 131 of the server device 100 receives the search request from the terminal device 10, the DB management unit 131 searches, based on the received search request, a corresponding DB of the respective DBs from the classification DB 121 to the order DB 127. The DB management unit 131 transmits results of the search through the DB, to the terminal device 10.
The search unit 18 of the terminal device 10 receives the search results from the server device 100. The search unit 13 outputs the received search results to the use control unit 17. When the search results are input from the search unit 18, the use control unit 17 ends the referent determination process, and updates the menu screen. Thereby, the terminal device 10 is able to determine a referent DB, obtain results of a search through the determined referent DB, and update a menu screen. That is, since the terminal device 10 is able to search for similar merchandise items belonging to plural categories according to a screen being operated, a user is able to easily search for a desired merchandise item.
Next, by use of
Based on the received search request, the DB management unit 131 of the server device 100 refers to a screen display DB 126a, and obtains a display classification number, “2”, of the menu items on the menu screen 51 being displayed. Based on the obtained display classification number, “2”, the DB management unit 131 refers to a classification DB 121a (Step S101), and obtains that the classification is “merchandise item”. Based on the classification, “merchandise item”, the DB management unit 131 determines a merchandise item DB 123a as a DB to be referred to (Step S102). The DB management unit 131 refers to the screen display DB 126a and the merchandise item DS 123a, and obtains merchandise item names of merchandise item numbers corresponding to branch numbers, as merchandise item names being displayed on the menu screen 51 (Step S103).
Further, the DB management unit 131 obtains merchandise item names having a parent category number, “4”, corresponding to the category, “gunkan”, that is, merchandise item names, “salmon roe”, “sea urchin”, and “tuna yukke” in
Based on the received search request, the DB management unit 131 of the server device 100 searches a category DB 122a with “alcohol” corresponding to the item 47a on the menu screen 47, and obtains a category number, “9”, of “alcohol” (Step S111). The DB management unit 131 searches the category DB 122a, and obtains category numbers, “11”, “12”, and “13”, of “sour”, “shochu”, and “cocktail” that are categories having the obtained category number, “9”, as their parent category number (Step S112). Further, the DB management unit 131 searches a material DB 124a with the input “orange”, and obtains a material number, “10”, of “orange”.
The DB management unit 131 refers to the merchandise item DB 123a, and searches for merchandise items having any of the obtained category numbers, “11”, “12”, and “13”, as their parent categories, and having the obtained material number, “10”, as their material number (Step S113). That is, the DB management unit 131 obtains the merchandise item names by executing an AND search through the merchandise item DB 123a with the category numbers, “11”, “12”, and “13”, that are the referent, and the input material, “orange”. The DB management unit 131 obtains, “Cassis and Orange”, “Screwdriver”, and “Fuzzy Navel”, as results of the search. Based on the obtained merchandise item names, the DB management unit 131 updates the menu screen, and transmits the updated menu screen to the terminal device 10. The updated menu screen is, for example, the menu screen 46 in
As described above, the terminal device 10 detects that handwritten input has been executed at an input position corresponding to a specific menu item of plural menu items displayed on a display screen. The terminal device 10 then uses input contents of the handwritten input in a process of narrowing down menu items of a lower layer of the specific menu item, or a process of receiving the input contents as contents of an instruction related to an order for the specific menu item. Further, the terminal device 10 displays a menu of a first hierarchical layer having a group of choices, of menus having a hierarchical structure. According to a handwritten input on a display screen of the menu of the first hierarchical layer, the terminal device 10 displays items of a hierarchical layer lower than the first hierarchical layer, the items related to the input contents of the handwritten input. As a result, freedom of operation in display of menus is able to be improved.
Further, according to a handwritten input on a display screen, the terminal device 10 determines whether or not the handwritten input is an input associated with a specific element displayed on the display screen. Furthermore, if it is determined that the handwritten input is an input associated with a specific element displayed on the display screen, the terminal device 10 uses contents of the handwritten input, by a use method different from that in a case where the handwritten input is not determined to be an input associated with a specific element displayed on the display screen. As a result, operation associated with a specific element is able to be made smoothly.
Further, if it is determined that the handwritten input is an input associated with a specific element displayed on the display screen, the terminal device 10 uses the contents of the handwritten input, by referring to an attribute of the specific element. As a result, the number of screen transitions is able to be reduced.
Further, the terminal device 10 changes a reference method for the attribute of the specific element, according to a classification of the contents of the handwritten input. As a result, a screen according to the attribute of the specific element is able to be displayed, and thus the number of screen transitions is able to be reduced.
Further, if the handwritten input is an input with respect to a display screen displaying thereon plural choices, the terminal device 10 outputs, based on contents of the handwritten input, a search request for a search through alternatives corresponding to the plural choices. As a result, search results that are more desirable are able to be obtained.
Further, the terminal device 10 receives a handwritten input on a display screen. Furthermore, according to the handwritten input on the display screen, the terminal device 10 uses contents of the handwritten input by referring to an attribute of the display screen. As a result, the contents of the handwritten input are able to be used with the attribute of the display screen being reflected therein.
Further, a display screen of the terminal device 10 is a screen for menu display having plural hierarchical layers, and the terminal device 10 uses contents of a handwritten input by referring to a menu hierarchical layer on the display screen. As a result, the contents of the handwritten input are able to be used with the menu hierarchical layer being reflected therein.
In the above described embodiment, the screen display DB 126 and the order DB 127 are provided in the server device 100, but limitation is not made thereto. For example, the screen display DB 126 and the order DB 127 may be provided in the terminal device 10. Thereby, response of screen display in the terminal device 10 is able to be improved.
Further, with respect to the above embodiment, an example where application is made to a menu screen has been described, but limitation is not made thereto. For example, as illustrated in
Further, each component of the respective units illustrated in the drawings is not necessarily physically configured as illustrated in the drawings. That is, specific nodes of separation and integration of the respective units are not limited to those illustrated in the drawings, and all or a part thereof may be configured to be functionally or physically separated or integrated in arbitrary units depending on various loads, use situations, and the like. For example, the use control unit 17 and the search unit 18 may be integrated together.
Further, all or any part of the various processing functions executed in the respective devices may be executed on a CPU (or a micro computer, such as an MPU or a micro controller unit (MCU)). Further, needless to say, all or any part of the various processing functions may be executed on a program analyzed and executed by a CPU (or a micro computer, such as an MPU or MCU) or on hardware by wired logic.
The various processes described in the above embodiment nay be realized by a program that has been prepared beforehand, the program being executed by a computer. Accordingly, hereinafter, an example of a computer that executes a program having the same functions as those of the above described embodiment will be described.
As illustrated in
Stored in the flash memory 208 is the input reception program having the same functions as the respective processing units, including the reception unit 15, the determination unit 16, the use control unit 17, and the search unit 13, which are illustrated in
The CPU 201 executes various processes by reading respective programs stored in the flash memory 206 and expanding and executing the programs in the RAM 207. Further, these programs are able to cause the computer 200 to function as the reception unit 15, the determination unit 16, the use control unit 17, and the search unit 18, which are illustrated in
The above described input reception program is not necessarily stored in the flash memory 208. For example, a program stored in a storage medium that is readable by the computer 200 may be read out and executed by the computer 200. The storage medium readable by the computer 200 corresponds to, for example: a portable recording medium, such as a CD-ROM, a DVD disk, or a universal serial bus (USB) memory; a semiconductor memory, such as a flash memory; or a hard disk drive. Further, this input reception program may be stored beforehand in a device connected to a public line, the Internet, a local area network (LAN), or the like; and the computer 200 may read and execute the input reception program therefrom.
Freedom of operation in display of menus is able to be improved.
All examples and conditional language recited herein are intended for pedagogical purposes of aiding the reader in understanding the invention and the concepts contributed by the inventor to further the art, and are not to be construed as limitations to such specifically recited examples and conditions, nor does the organization of such examples in the specification relate to a showing of the superiority and inferiority of the invention. Although the embodiment of the present invention has been described in detail, it should be understood that the various changes, substitutions, and alterations could be made hereto without departing from the spirit and scope of the invention.
This application is a continuation application of International Application PCT/JP2015/063379, filed on May 8, 2015, and designating the U.S., the entire contents of which are incorporated herein by reference.
Number | Date | Country | |
---|---|---|---|
Parent | PCT/JP2015/063379 | May 2015 | US |
Child | 15804471 | US |