JP2020135354A - Server control method, server, and server control program - Google Patents

Server control method, server, and server control program Download PDF

Info

Publication number
JP2020135354A
JP2020135354A JP2019027334A JP2019027334A JP2020135354A JP 2020135354 A JP2020135354 A JP 2020135354A JP 2019027334 A JP2019027334 A JP 2019027334A JP 2019027334 A JP2019027334 A JP 2019027334A JP 2020135354 A JP2020135354 A JP 2020135354A
Authority
JP
Japan
Prior art keywords
template
term
terminal
replacement
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2019027334A
Other languages
Japanese (ja)
Other versions
JP7167765B2 (en
Inventor
敬 大久
Satoshi Ohisa
敬 大久
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Gourmet Navigator Inc
Original Assignee
Gourmet Navigator Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Gourmet Navigator Inc filed Critical Gourmet Navigator Inc
Priority to JP2019027334A priority Critical patent/JP7167765B2/en
Publication of JP2020135354A publication Critical patent/JP2020135354A/en
Application granted granted Critical
Publication of JP7167765B2 publication Critical patent/JP7167765B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

To provide a menu generation system that provides users with replacement templates appropriately generated from a template based on additional terms designated by the users.SOLUTION: A server 2 connectable to a terminal 4 and a storage unit 3 storing a template master defining a template including a plurality of variable elements made up of one or more terms and a term master associating the degree of association with each other term for each of a plurality of terms is controlled to transmit the template to the terminal in response to a request from the terminal, receive an additional term from the terminal, identify a variable element having a large degree of association with the received additional term as a replacement candidate variable element in the term master among the plurality of variable elements included in the template, generate a replacement template by replacing the replacement candidate variable element included in the template with the additional term, and transmit the generated replacement template to the terminal.SELECTED DRAWING: Figure 1

Description

本発明は、サーバの制御方法、サーバ、およびサーバの制御プログラムに関する。 The present invention relates to a server control method, a server, and a server control program.

飲食店を利用する外国人に向けて、飲食店が自店舗におけるメニューを外国語で提供するために、外国語でのメニュー名称を容易に生成可能にするメニュー生成システムが知られている。 There is known a menu generation system that makes it possible to easily generate a menu name in a foreign language so that the restaurant can provide the menu in the restaurant in a foreign language to foreigners who use the restaurant.

例えば、特許文献1には、ジャンル・食材・調味料を選択することでメニューを指定し、指定されたジャンル・食材・調味料に対応する外国語名称を組み合わせることにより、外国語で正確に表記されたメニュー属性の文字情報を提供することが記載されている。 For example, in Patent Document 1, a menu is specified by selecting a genre, an ingredient, and a seasoning, and a foreign language name corresponding to the specified genre, the ingredient, and the seasoning is combined to accurately describe the menu in a foreign language. It is stated that the text information of the menu attribute is provided.

特開2017−182355号公報Japanese Unexamined Patent Publication No. 2017-182355

特許文献1に例示されるメニュー生成システムにおいて、記憶されているテンプレートの一部を可変要素として定義しておき、この可変要素を置き換えることにより、新たなメニュー名またはメニュー説明文の翻訳を作成できる場合がある。例えば、メニュー名「ビーフステーキ」に対応する説明文のテンプレート「厚切りの牛肉を焼いた料理」において、「牛肉」が可変要素として定義されているとする。このテンプレートの可変要素「牛肉」を「アグー豚」に変更することにより、説明文「厚切りのアグー豚を焼いた料理」を生成することができる。 In the menu generation system exemplified in Patent Document 1, a part of the stored template is defined as a variable element, and by replacing this variable element, a new menu name or translation of the menu description can be created. In some cases. For example, suppose that "beef" is defined as a variable element in the template "thick sliced beef grilled dish" corresponding to the menu name "beef steak". By changing the variable element "beef" of this template to "Agu pork", the description "Thick sliced Agu pork roasted dish" can be generated.

しかし、例えばメニュー名「しゃぶしゃぶ」に対応する説明文のテンプレート「薄切りの肉や魚を熱湯や出汁にさっとくぐらせて、タレをつけて食べる料理」において、「肉や魚」および「熱湯や出汁」が可変要素として定義されているとする。このとき、単に「アグー豚」という用語を追加するだけでは、複数定義された可変要素のうちいずれを変更すればよいかをメニュー生成システムは適切に判定することができない。 However, for example, in the explanation template "Cooking thinly sliced meat or fish dipped in boiling water or soup stock and eating with sauce", "meat or fish" and "hot water or soup stock" corresponding to the menu name "Shabu-shabu" Is defined as a variable element. At this time, the menu generation system cannot appropriately determine which of the plurality of defined variable elements should be changed by simply adding the term "Agu pig".

そこで、本発明では、ユーザが指定する追加用語に基づいてテンプレートから適切に生成された置換テンプレートをユーザに提供することができるサーバの制御方法、サーバ、およびサーバの制御プログラムを提供することを目的とする。 Therefore, an object of the present invention is to provide a server control method, a server, and a server control program capable of providing a user with a replacement template appropriately generated from a template based on additional terms specified by the user. And.

本発明にかかるサーバの制御方法は、記憶部および端末と接続可能なサーバの制御方法であって、記憶部には、1以上の用語で構成される複数の可変要素を含むテンプレートが規定されるテンプレートマスタと、複数の用語ごとに、他の各用語との概念の類似度合いに基づく他の各用語との関連度を関連づける用語マスタと、が記憶され、サーバが、端末からの要求に応じてテンプレートマスタに規定されたテンプレートを端末に送信し、テンプレートに含まれる可変要素を置き換えるための追加用語を端末から受信し、テンプレートに含まれる複数の可変要素のうち、用語マスタにおいて、受信した追加用語との関連度が大きい可変要素を置換候補可変要素として特定し、テンプレートに含まれる置換候補可変要素を追加用語で置き換えることにより置換テンプレートを生成し、生成された置換テンプレートを端末に送信する、ことを含む。 The server control method according to the present invention is a control method for a server that can be connected to a storage unit and a terminal, and the storage unit defines a template including a plurality of variable elements composed of one or more terms. The template master and the term master that associates the degree of association with each other term based on the degree of similarity of the concept with each other term for each of the plurality of terms are stored, and the server responds to the request from the terminal. The template specified in the template master is sent to the terminal, additional terms for replacing the variable elements included in the template are received from the terminal, and among the multiple variable elements included in the template, the additional terms received in the term master. A variable element that has a high degree of relevance to is specified as a replacement candidate variable element, a replacement template is generated by replacing the replacement candidate variable element included in the template with an additional term, and the generated replacement template is sent to the terminal. including.

また、本発明にかかる制御方法では、関連度は、複数の用語ごとに、概念の類似度合いに基づいて他の各用語を並べたときの順位に応じて定められる値であることが好ましい。 Further, in the control method according to the present invention, the degree of relevance is preferably a value determined for each of a plurality of terms according to the order in which the other terms are arranged based on the degree of similarity of the concepts.

また、本発明にかかる制御方法では、関連度は、複数の用語ごとに、他の各用語との概念における距離に応じて定められる値であることが好ましい。 Further, in the control method according to the present invention, the degree of relevance is preferably a value determined for each of a plurality of terms according to the distance in the concept of each of the other terms.

また、本発明にかかる制御方法では、用語マスタは、複数の用語を概念の類似度合いに基づいて定められるグループである複数のカテゴリと関連づけており、サーバは、特定において、追加用語が関連づけられるカテゴリと同一のカテゴリに関連づけられる可変要素を、追加用語が関連づけられるカテゴリと同一のカテゴリに関連づけられない可変要素よりも追加用語との関連度が大きい可変要素と判定することが好ましい。 Further, in the control method according to the present invention, the term master associates a plurality of terms with a plurality of categories which are a group defined based on the degree of similarity of concepts, and the server specifically associates a plurality of categories with which additional terms are associated. It is preferable to determine that a variable element associated with the same category as is a variable element that is more relevant to the additional term than a variable element that is not associated with the same category as the category to which the additional term is associated.

また、本発明にかかる制御方法では、サーバは、特定において、追加用語が関連づけられるカテゴリのうち、より多くのカテゴリに関連づけられる可変要素を、追加用語との関連度がより大きい可変要素と判定することが好ましい。 Further, in the control method according to the present invention, the server determines, in particular, a variable element associated with more categories among the categories to which the additional term is associated is a variable element having a greater degree of association with the additional term. Is preferable.

また、本発明にかかる制御方法では、用語マスタにおいて、複数のカテゴリは、ツリー構造を形成する2以上の階層のうちいずれかの階層に位置づけられていることが好ましい。 Further, in the control method according to the present invention, it is preferable that a plurality of categories are positioned in any one of two or more layers forming a tree structure in the term master.

また、本発明にかかる制御方法では、サーバは、特定において、追加用語が関連づけられるカテゴリの上位または下位の階層に位置づけられたカテゴリに関連づけられる可変要素を、その他のカテゴリに関連づけられる可変要素よりも追加用語との関連度が大きいと判定することが好ましい。 Further, in the control method according to the present invention, the server specifically makes a variable element associated with a category located in a higher or lower hierarchy of a category to which an additional term is associated than a variable element associated with another category. It is preferable to determine that the degree of relevance to the additional term is large.

また、本発明にかかる制御方法では、サーバは、特定において、追加用語が関連づけられるカテゴリからたどったときの階層の数が少ないカテゴリに関連づけられる可変要素ほど、追加用語との関連度が大きいと判定することが好ましい。 Further, in the control method according to the present invention, the server determines that the variable element associated with the category having a smaller number of hierarchies when tracing from the category to which the additional term is associated has a greater degree of association with the additional term. It is preferable to do so.

また、本発明にかかる制御方法では、サーバは、複数の置換候補可変要素を特定し、複数の置換候補変換要素のそれぞれを追加用語によって置き換えた置換テンプレートを複数生成し、生成した複数の置換テンプレートを端末に送信し、複数の置換テンプレートのうちいずれか1つに対応する置換候補可変要素選択情報を端末から受信し、受信した置換候補可変要素選択情報に基づいて、置換候補可変要素選択情報に対応する用語と追加用語との関連度を変動させることが好ましい。 Further, in the control method according to the present invention, the server identifies a plurality of substitution candidate variable elements, generates a plurality of substitution templates in which each of the plurality of substitution candidate conversion elements is replaced by additional terms, and a plurality of generated substitution templates. Is sent to the terminal, the replacement candidate variable element selection information corresponding to any one of the plurality of replacement templates is received from the terminal, and based on the received replacement candidate variable element selection information, the replacement candidate variable element selection information is used. It is preferable to vary the degree of association between the corresponding term and the additional term.

本発明にかかるサーバは、記憶部および端末と接続可能なサーバであって、記憶部には、複数の用語を可変要素として含むテンプレートが規定されるテンプレートマスタと、複数の用語ごとに、他の各用語との概念の類似度合いに基づく他の用語の関連度を関連づける用語マスタと、が記憶され、端末からの要求に応じてテンプレートマスタに規定されたテンプレートを端末に送信するテンプレート送信部と、テンプレートに含まれる可変要素を置き換えるための追加用語を端末から受信する追加用語受信部と、テンプレートに含まれる複数の可変要素のうち、用語マスタにおいて、受信した追加用語との関連度が大きい可変要素を置換候補可変要素として特定する置換候補可変要素特定部と、テンプレートに含まれる置換候補可変要素を追加用語で置き換えることにより置換テンプレートを生成する置換テンプレート生成部と、生成された置換テンプレートを端末に送信する置換テンプレート送信部と、を備える。 The server according to the present invention is a server that can be connected to a storage unit and a terminal, and the storage unit includes a template master in which a template containing a plurality of terms as variable elements is defined, and another term for each of the plurality of terms. A term master that associates the degree of relevance of other terms based on the degree of similarity of the concept with each term, and a template transmitter that stores the template specified in the template master in response to a request from the terminal and sends the template to the terminal. An additional term receiver that receives additional terms to replace the variable elements included in the template from the terminal, and a variable element that has a high degree of relevance to the received additional terms in the term master among the multiple variable elements included in the template. The replacement candidate variable element identification part that specifies the replacement candidate variable element, the replacement template generation part that generates a replacement template by replacing the replacement candidate variable element included in the template with additional terms, and the generated replacement template to the terminal. It includes a replacement template transmission unit for transmission.

本発明にかかるサーバの制御プログラムは、記憶部および端末と接続可能なサーバの制御プログラムであって、記憶部には、複数の用語を可変要素として含むテンプレートが規定されるテンプレートマスタと、複数の用語ごとに、他の各用語との概念の類似度合いに基づく他の各用語の関連度を関連づける用語マスタと、が記憶され、サーバに、端末からの要求に応じてテンプレートマスタに規定されたテンプレートを端末に送信し、テンプレートに含まれる可変要素を置き換えるための追加用語を端末から受信し、テンプレートに含まれる複数の可変要素のうち、用語マスタにおいて、受信した追加用語との関連度が大きい可変要素を置換候補可変要素として特定し、テンプレートに含まれる置換候補可変要素を追加用語で置き換えることにより置換テンプレートを生成し、生成された置換テンプレートを端末に送信する、処理を実行させる。 The server control program according to the present invention is a server control program that can be connected to a storage unit and a terminal, and the storage unit includes a template master in which a template containing a plurality of terms as variable elements is defined, and a plurality of templates. For each term, a term master that associates the relevance of each other term based on the degree of similarity of the concept with each other term is stored, and the template specified in the template master in response to the request from the terminal is stored in the server. To the terminal, receive additional terms from the terminal to replace the variable elements included in the template, and of the multiple variable elements included in the template, the variable that has a high degree of relevance to the received additional terms in the term master. The element is specified as a replacement candidate variable element, a replacement template is generated by replacing the replacement candidate variable element included in the template with an additional term, and the generated replacement template is sent to the terminal to execute the process.

本発明によると、ユーザが指定する追加用語に基づいてテンプレートから適切に生成された置換テンプレートをユーザに提供するようサーバを制御することができる。 According to the present invention, the server can be controlled to provide the user with a replacement template appropriately generated from the template based on the additional term specified by the user.

メニュー生成システムの動作概要を示す模式図である。It is a schematic diagram which shows the operation outline of the menu generation system. メニュー生成システムの概略構成を示す模式図である。It is a schematic diagram which shows the schematic structure of the menu generation system. サーバの概略構成を示す模式図である。It is a schematic diagram which shows the schematic structure of a server. ストレージ装置の概略構成を示す模式図である。It is a schematic diagram which shows the schematic structure of the storage device. テンプレートマスタの例を示す図である。It is a figure which shows the example of the template master. 用語マスタの例を示す図である。It is a figure which shows the example of the term master. 用語マスタにおける用語とカテゴリとの関連付けの例を示す図である。It is a figure which shows the example of associating a term with a category in a term master. カテゴリのツリー構造の例を示す図である。It is a figure which shows the example of the tree structure of a category. 端末の概略構成を示す模式図である。It is a schematic diagram which shows the schematic structure of the terminal. 追加用語指定画面の例を示す図である。It is a figure which shows the example of the additional term designation screen. 置換テンプレート表示画面の例を示す図である。It is a figure which shows the example of the replacement template display screen. メニュー生成システムの動作シーケンス図である。It is an operation sequence diagram of a menu generation system.

以下、図面を参照してサーバの制御方法、サーバおよびサーバの制御プログラムについて詳細に説明する。ただし、本発明は図面または以下に記載される実施形態には限定されないことを理解されたい。 Hereinafter, the server control method, the server, and the server control program will be described in detail with reference to the drawings. However, it should be understood that the present invention is not limited to the drawings or embodiments described below.

本開示のメニュー生成システムにおいて、サーバは、1以上の用語で構成される複数の可変要素を含むテンプレートを端末に送信する。端末は、テンプレートを参照したユーザから追加用語の入力を受け付け、追加用語をサーバに送信する。サーバは、端末から追加用語を受信すると、テンプレートに含まれる複数の可変要素から置換候補可変要素を特定する。そして、サーバは、置換候補可変要素を追加用語で置き換えることにより置換テンプレートを生成し、端末に送信する。これにより、本開示のメニュー生成システムは、ユーザが指定する追加用語に基づいてテンプレートから適切に生成された置換テンプレートをユーザに提供することができる。 In the menu generation system of the present disclosure, the server transmits a template including a plurality of variable elements composed of one or more terms to the terminal. The terminal accepts input of additional terms from the user who referred to the template and sends the additional terms to the server. When the server receives the additional term from the terminal, the server identifies the replacement candidate variable element from the plurality of variable elements included in the template. Then, the server generates a replacement template by replacing the replacement candidate variable element with an additional term and sends it to the terminal. Thereby, the menu generation system of the present disclosure can provide the user with a replacement template appropriately generated from the template based on the additional term specified by the user.

図1は、メニュー生成システム1の動作概要を示す模式図である。 FIG. 1 is a schematic diagram showing an outline of operation of the menu generation system 1.

メニュー生成システム1は、サーバ2と、ストレージ装置3と、端末4と、ネットワーク5とを有する。メニュー生成システム1において、サーバ2は、ストレージ装置3と接続され、端末4とネットワーク5を介して接続される。 The menu generation system 1 includes a server 2, a storage device 3, a terminal 4, and a network 5. In the menu generation system 1, the server 2 is connected to the storage device 3 and is connected to the terminal 4 via the network 5.

サーバ2に接続されるストレージ装置3には、テンプレートマスタおよび用語マスタが記憶されている。テンプレートマスタは、1以上の用語で構成される複数の可変要素を含むテンプレートが規定する。用語マスタは、複数の用語ごとに、他の各用語との概念の類似度合いに基づく他の各用語との関連度を関連づける。 The template master and the term master are stored in the storage device 3 connected to the server 2. The template master is defined by a template that includes a plurality of variable elements composed of one or more terms. The term master associates a plurality of terms with each other term based on the degree of concept similarity with each other term.

本明細書において、テンプレートは、料理の説明文である。料理の説明文には、料理の食材、調味料、調理方法といった要素が含まれる。これらの要素を他の用語で置き換えることにより、既存のテンプレートに基づいて新たな料理の説明文を生成することができる。 In the present specification, the template is a description of the dish. The description of a dish includes elements such as ingredients, seasonings, and cooking method. By substituting these elements with other terms, new cooking descriptions can be generated based on existing templates.

サーバ2は、まず、テンプレートを端末4に送信する。サーバ2は、端末4から受信したテンプレート送信要求に応じてテンプレートを端末に送信してよい。図1の例では、サーバ2は、テンプレートとして、「薄切りの[肉や魚]を[熱湯や出汁]にさっとくぐらせて、タレをつけて食べる料理」を端末4に送信する。このテンプレートは、2つの可変要素[肉や魚]および[熱湯や出汁]を含んでいる。 The server 2 first transmits the template to the terminal 4. The server 2 may transmit the template to the terminal in response to the template transmission request received from the terminal 4. In the example of FIG. 1, the server 2 transmits, as a template, "a dish in which thinly sliced [meat or fish] is quickly passed through [hot water or soup stock] and eaten with sauce" to the terminal 4. This template contains two variable elements [meat and fish] and [hot water and soup stock].

テンプレートを受信した端末4は、追加用語指定画面100を表示し、ユーザによる追加用語の入力を受け付ける。図1の例では、追加用語「アグー豚」を入力したユーザが送信ボタンを操作することにより、端末4は追加用語「アグー豚」をサーバ2に送信する。 The terminal 4 that has received the template displays the additional term designation screen 100 and accepts the input of the additional term by the user. In the example of FIG. 1, when the user who has input the additional term "Agu pig" operates the send button, the terminal 4 transmits the additional term "Agu pig" to the server 2.

サーバ2は、追加用語を受信した場合、テンプレートに含まれる可変要素のうち、用語マスタにおいて、受信した追加用語との関連度が大きい可変要素を置換候補可変要素として特定する。図1の例では、用語マスタにおいて、追加用語「アグー豚」と可変要素「肉や魚」との関連度は90であり、追加用語「アグー豚」と可変要素「熱湯や出汁」との関連度は20である。なお、図1の例において、関連度は0から100までの数値であり、関連度の数値が大きいことは関連が強いことを表わしている。追加用語「アグー豚」と可変要素「肉や魚」との関連度は、追加用語「アグー豚」と可変要素「熱湯や出汁」との関連度よりも大きいため、可変要素「肉や魚」が置換候補可変要素として特定される。 When the server 2 receives the additional term, among the variable elements included in the template, the term master specifies the variable element having a high degree of relevance to the received additional term as the replacement candidate variable element. In the example of FIG. 1, in the term master, the degree of association between the additional term “Agu pork” and the variable element “meat and fish” is 90, and the relationship between the additional term “Agu pork” and the variable element “hot water and soup stock”. The degree is 20. In the example of FIG. 1, the degree of relevance is a numerical value from 0 to 100, and a large numerical value of the degree of relevance indicates that the relevance is strong. Since the degree of association between the additional term "Agu pig" and the variable element "meat and fish" is greater than the degree of association between the additional term "Agu pig" and the variable element "hot water and soup stock", the variable element "meat and fish" Is specified as a replacement candidate variable element.

次に、サーバ2は、テンプレートに含まれる置換候補可変要素を追加用語で置き換え、置換テンプレートを生成する。図1の例では、サーバ2は、テンプレート「薄切りの[肉や魚]を[熱湯や出汁]にさっとくぐらせて、タレをつけて食べる料理」における置換候補可変要素「肉や魚」を追加用語「アグー豚」で置き換える。これにより、置換テンプレート「薄切りのアグー豚を熱湯や出汁にさっとくぐらせて、タレをつけて食べる料理」が生成される。 Next, the server 2 replaces the replacement candidate variable element included in the template with additional terms to generate a replacement template. In the example of FIG. 1, the server 2 adds the replacement candidate variable element "meat and fish" in the template "a dish in which thinly sliced [meat and fish] are quickly passed through [hot water and soup stock] and eaten with sauce". Replaced by the term "Agu pig". As a result, a replacement template "a dish in which thinly sliced Agu pork is quickly dipped in boiling water or soup stock and eaten with sauce" is generated.

サーバ2は、生成された置換テンプレートを端末4に送信する。置換テンプレートを受信した端末4は、置換テンプレートを表示する。 The server 2 transmits the generated replacement template to the terminal 4. The terminal 4 that has received the replacement template displays the replacement template.

このように、本実施形態にかかるサーバ2を含むメニュー生成システム1は、ユーザが指定する追加用語に基づいてテンプレートから適切に生成された置換テンプレートをユーザに提供することができる。 As described above, the menu generation system 1 including the server 2 according to the present embodiment can provide the user with a replacement template appropriately generated from the template based on the additional term specified by the user.

図2は、メニュー生成システム1の概略構成を示す模式図である。 FIG. 2 is a schematic diagram showing a schematic configuration of the menu generation system 1.

メニュー生成システム1は、サーバ2と、ストレージ装置3と、端末4と、ネットワーク5とを有する。メニュー生成システム1において、サーバ2は、ストレージ装置3と接続され、端末4とネットワーク5を介して接続される。 The menu generation system 1 includes a server 2, a storage device 3, a terminal 4, and a network 5. In the menu generation system 1, the server 2 is connected to the storage device 3 and is connected to the terminal 4 via the network 5.

ネットワーク5は、サーバ2と端末4とを通信可能に接続する。ネットワーク5は、例えばTCP/IP(Transport Control Protocol / Internet Protocol)による通信が行われるインターネットである。ネットワーク5により通信する機器は、有線または無線によって接続される。無線による接続は、例えばIEEE(The Institute of Electrical and Electronics Engineers)802.11acなどの無線LAN(Local Area Network)接続であってよい。無線による接続は、また、4G(4th Generation)回線などの無線WAN(Wide Area Network)接続であってよい。 The network 5 connects the server 2 and the terminal 4 so as to be communicable. The network 5 is, for example, the Internet on which communication by TCP / IP (Transport Control Protocol / Internet Protocol) is performed. Devices that communicate via network 5 are connected by wire or wirelessly. The wireless connection may be, for example, a wireless LAN (Local Area Network) connection such as IEEE (The Institute of Electrical and Electronics Engineers) 802.11ac. The wireless connection may also be a wireless WAN (Wide Area Network) connection such as a 4G (4th Generation) line.

図3は、サーバ2の概略構成を示す模式図である。 FIG. 3 is a schematic diagram showing a schematic configuration of the server 2.

サーバ2は、ストレージ装置3および端末4と接続し、端末4から受信する追加用語に基づいて置換テンプレートを生成し、端末4に送信する。そのために、サーバ2は、サーバ通信部21と、サーバ記憶部22と、サーバ処理部23とを備える。 The server 2 connects to the storage device 3 and the terminal 4, generates a replacement template based on the additional term received from the terminal 4, and transmits the replacement template to the terminal 4. Therefore, the server 2 includes a server communication unit 21, a server storage unit 22, and a server processing unit 23.

サーバ通信部21は、サーバ2をネットワーク5に接続するための通信インタフェース回路を有する。サーバ通信部21は、端末4から受信したデータをサーバ処理部23に供給する。また、サーバ通信部21は、サーバ処理部23から供給されたデータを端末4等に送信する。 The server communication unit 21 has a communication interface circuit for connecting the server 2 to the network 5. The server communication unit 21 supplies the data received from the terminal 4 to the server processing unit 23. Further, the server communication unit 21 transmits the data supplied from the server processing unit 23 to the terminal 4 or the like.

サーバ記憶部22は、例えば、半導体メモリ、磁気ディスク装置および光ディスク装置のうちの少なくとも1つを有する。サーバ記憶部22は、サーバ処理部23による処理に用いられるドライバプログラム、オペレーティングシステムプログラム、アプリケーションプログラム、データ等を記憶する。例えば、サーバ記憶部22は、ドライバプログラムとして、サーバ通信部21を制御する通信デバイスドライバプログラム等を記憶する。各種プログラムは、コンピュータ読み取り可能な可搬型記録媒体から、公知のセットアッププログラム等を用いてサーバ記憶部22にインストールされてよい。コンピュータ読み取り可能な可搬型記録媒体とは、例えばCD−ROM(Compact Disc Read-Only Memory)、DVD−ROM(DVD Read-Only Memory)等である。 The server storage unit 22 has, for example, at least one of a semiconductor memory, a magnetic disk device, and an optical disk device. The server storage unit 22 stores driver programs, operating system programs, application programs, data, and the like used for processing by the server processing unit 23. For example, the server storage unit 22 stores a communication device driver program or the like that controls the server communication unit 21 as a driver program. The various programs may be installed in the server storage unit 22 from a computer-readable portable recording medium using a known setup program or the like. The computer-readable portable recording medium is, for example, a CD-ROM (Compact Disc Read-Only Memory), a DVD-ROM (DVD Read-Only Memory), or the like.

サーバ処理部23は、1以上のプロセッサおよびその周辺回路を備える。サーバ処理部23は、サーバ2の全体的な動作を統括的に制御するものであり、例えば、CPU(Central Processing Unit)である。サーバ処理部23は、サーバ2の各種処理がサーバ記憶部22に記憶されているプログラム等に基づいて適切な手段で実行されるように、サーバ通信部21等の動作を制御する。サーバ処理部23は、サーバ記憶部22に記憶されているプログラム(オペレーティングシステムプログラム、ドライバプログラム、アプリケーションプログラム等)に基づいて処理を実行する。また、サーバ処理部23は、複数のプログラム(アプリケーションプログラム等)を並列に実行することができる。 The server processing unit 23 includes one or more processors and peripheral circuits thereof. The server processing unit 23 comprehensively controls the overall operation of the server 2, and is, for example, a CPU (Central Processing Unit). The server processing unit 23 controls the operation of the server communication unit 21 and the like so that various processes of the server 2 are executed by appropriate means based on the program and the like stored in the server storage unit 22. The server processing unit 23 executes processing based on a program (operating system program, driver program, application program, etc.) stored in the server storage unit 22. Further, the server processing unit 23 can execute a plurality of programs (application programs and the like) in parallel.

サーバ処理部23は、テンプレート送信部231と、追加用語受信部232と、置換候補可変要素特定部233と、置換テンプレート生成部234と、置換テンプレート送信部235とを有する。サーバ処理部23が有するこれらの各部は、サーバ処理部23が有するプロセッサ上で実行されるプログラムによって実装される機能モジュールである。あるいは、サーバ処理部23が有するこれらの各部は、独立した集積回路、マイクロプロセッサ、またはファームウェアとしてサーバ2に実装されてもよい。 The server processing unit 23 includes a template transmission unit 231, an additional term reception unit 232, a replacement candidate variable element identification unit 233, a replacement template generation unit 234, and a replacement template transmission unit 235. Each of these units included in the server processing unit 23 is a functional module implemented by a program executed on the processor included in the server processing unit 23. Alternatively, each of these units included in the server processing unit 23 may be mounted on the server 2 as an independent integrated circuit, microprocessor, or firmware.

図4は、ストレージ装置3の概略構成を示す模式図である。 FIG. 4 is a schematic diagram showing a schematic configuration of the storage device 3.

ストレージ装置3は、記憶部の一例である。ストレージ装置3は、入力されたデータを記憶し、記憶したデータを要求に応じて出力する。そのために、ストレージ装置3は、ストレージ通信部31と、ストレージ記憶部32と、ストレージ処理部33とを備える。 The storage device 3 is an example of a storage unit. The storage device 3 stores the input data and outputs the stored data as requested. Therefore, the storage device 3 includes a storage communication unit 31, a storage storage unit 32, and a storage processing unit 33.

ストレージ通信部31は、ストレージ装置3をサーバ2に接続するための通信インタフェース回路を有する。ストレージ通信部31は、サーバ2から受信したデータをストレージ処理部33に供給する。また、ストレージ通信部31は、ストレージ処理部33から供給されたデータをサーバ2に送信する。 The storage communication unit 31 has a communication interface circuit for connecting the storage device 3 to the server 2. The storage communication unit 31 supplies the data received from the server 2 to the storage processing unit 33. Further, the storage communication unit 31 transmits the data supplied from the storage processing unit 33 to the server 2.

ストレージ記憶部32は、例えば、半導体メモリ、磁気ディスク装置および光ディスク装置のうちの少なくとも1つを有する。ストレージ記憶部32は、サーバ2から受信したデータ等を記憶する。 The storage storage unit 32 has, for example, at least one of a semiconductor memory, a magnetic disk device, and an optical disk device. The storage storage unit 32 stores data and the like received from the server 2.

ストレージ処理部33は、1以上のプロセッサおよびその周辺回路を備える。ストレージ処理部33は、ストレージ装置3の全体的な動作を統括的に制御するものであり、例えば、CPU(Central Processing Unit)である。ストレージ処理部33は、ストレージ通信部31およびストレージ記憶部32の動作を制御する。 The storage processing unit 33 includes one or more processors and peripheral circuits thereof. The storage processing unit 33 comprehensively controls the overall operation of the storage device 3, and is, for example, a CPU (Central Processing Unit). The storage processing unit 33 controls the operations of the storage communication unit 31 and the storage storage unit 32.

なお、ストレージ装置3は、ストレージ通信部31およびストレージ処理部33を有していなくてもよい。この場合、ストレージ装置3のストレージ記憶部32がサーバ2に直接接続され、ストレージ記憶部32はサーバ2のサーバ処理部23により制御される。 The storage device 3 does not have to have the storage communication unit 31 and the storage processing unit 33. In this case, the storage storage unit 32 of the storage device 3 is directly connected to the server 2, and the storage storage unit 32 is controlled by the server processing unit 23 of the server 2.

ストレージ装置3は、ストレージ記憶部32に、ジャンルテーブルと、属性テーブルとを記憶する。 The storage device 3 stores the genre table and the attribute table in the storage storage unit 32.

図5は、テンプレートマスタの例を示す図である。 FIG. 5 is a diagram showing an example of a template master.

テンプレートマスタは、1以上の用語で構成される複数の可変要素を含むテンプレートが規定されるマスタである。テンプレートマスタには、1以上のテンプレートが記憶される。 A template master is a master in which a template including a plurality of variable elements composed of one or more terms is defined. One or more templates are stored in the template master.

テンプレートは、複数の用語を含むテキスト情報である。テンプレートマスタにおいて、テキスト情報に含まれる1以上の単語が、可変要素として規定される。テンプレートには、複数の可変要素が含まれる。 A template is textual information that contains multiple terms. In the template master, one or more words included in the text information are defined as variable elements. The template contains multiple variable elements.

図5に示すテンプレートマスタの例では、テンプレートに含まれる可変要素が項目として記憶されている。また、テンプレートにおいて可変要素が角括弧で囲んで示されている。しかし、テンプレートマスタにおけるテンプレートの規定はこれに限らない。例えば、テンプレートに含まれる可変要素が項目として記憶されている場合、テンプレートにおける可変要素の角括弧による囲みはなくてもよい。逆に、テンプレートにおける可変要素の角括弧による囲みがある場合、テンプレートに含まれる可変要素が項目として記憶されていなくてもよい。このとき、テンプレートにおける可変要素の囲みは角括弧ではなく、他の記号または符号であってもよい。 In the example of the template master shown in FIG. 5, the variable elements included in the template are stored as items. Also, in the template, the variable elements are shown in square brackets. However, the template rules in the template master are not limited to this. For example, when the variable element included in the template is stored as an item, the variable element in the template may not be enclosed in square brackets. On the contrary, when the variable element in the template is enclosed in square brackets, the variable element included in the template may not be stored as an item. At this time, the box of the variable element in the template may be another symbol or code instead of the square brackets.

図6は、用語マスタの例を示す図である。 FIG. 6 is a diagram showing an example of a term master.

用語マスタは、複数の前記用語ごとに、他の各用語との概念の類似度合いに基づく他の各用語との関連度を関連づけるマスタである。 The term master is a master that associates the degree of association with each of the other terms based on the degree of similarity of the concept with each of the other terms for each of the plurality of the terms.

図6の例では、用語マスタは、用語「肉や魚」と用語「アグー豚」との関連度が90であり、用語「肉や魚」と用語「熱湯や出汁」との関連度が20であり、用語「アグー豚」と用語「熱湯や出汁」との関連度が20であることを示している。なお、図6の例では、同一の用語が縦方向および横方向に配列されている。そのため、左上から右下に向かう対角線上にある欄は同一の用語(例えば用語「肉や魚」と用語「肉や魚」)との関連度に対応し、関連度が100となっている。また、この対角線に対し右上側と左下側との値は対称であるので、一方のみに値を記憶して他方を省略することが可能である。 In the example of FIG. 6, in the term master, the degree of association between the term "meat and fish" and the term "Agu pork" is 90, and the degree of association between the term "meat and fish" and the term "hot water and soup stock" is 20. It shows that the degree of association between the term "Agu pork" and the term "hot water and soup stock" is 20. In the example of FIG. 6, the same terms are arranged in the vertical direction and the horizontal direction. Therefore, the columns on the diagonal line from the upper left to the lower right correspond to the degree of association with the same term (for example, the term "meat or fish" and the term "meat or fish"), and the degree of association is 100. Further, since the values on the upper right side and the lower left side are symmetrical with respect to this diagonal line, it is possible to store the values in only one and omit the other.

用語マスタに記憶される他の各用語との関連度は、他の各用語との概念の類似度合いに基づいて他の各用語を並べたときの順位に応じて定められてもよい。類似度合いの順位に応じて関連度を定めることにより、取り扱う情報量が減少し、より効率的に処理を実行することができる。 The degree of relevance to each of the other terms stored in the term master may be determined according to the order in which the other terms are arranged based on the degree of similarity of the concept with each of the other terms. By determining the degree of relevance according to the order of the degree of similarity, the amount of information handled can be reduced and processing can be executed more efficiently.

例えば、用語「肉や魚」との類似度合いが、用語「アグー豚」は90、用語「熱湯や出汁」は20であるとする。このとき、用語「アグー豚」の順位は1位であり、用語「熱湯や出汁」の順位は2位である。用語の関連度を、(順位の合計−用語の順位)/順位の合計×100とすることにより、順位に応じて用語の関連度を定めることができる。なお、順位の合計とは、他の用語の数がnである場合の1+2+…+nの値である。 For example, it is assumed that the degree of similarity with the term "meat or fish" is 90 for the term "Agu pork" and 20 for the term "hot water or soup stock". At this time, the term "Agu pork" is ranked first, and the term "hot water and soup stock" is ranked second. By setting the degree of relevance of terms to (total rank-rank of terms) / total of rank x 100, the degree of relevance of terms can be determined according to the rank. The total rank is a value of 1 + 2 + ... + N when the number of other terms is n.

図6の例では、用語「肉や魚」と用語「アグー豚」との関連度は、(1+2−1)/(1+2)×100=67である。また、用語「肉や魚」と用語「熱湯や出汁」との関連度は、(1+2−2)/(1+2)×100=33である。 In the example of FIG. 6, the degree of association between the term “meat or fish” and the term “Agu pork” is (1 + 2-1) / (1 + 2) × 100 = 67. The degree of association between the term "meat and fish" and the term "hot water and soup stock" is (1 + 2-2) / (1 + 2) × 100 = 33.

上述以外の計算式により、順位に応じて関連度を定めるようにしてもよい。 The degree of relevance may be determined according to the order by a calculation formula other than the above.

また、関連度は、複数の用語ごとに、他の各用語との概念における距離に応じて定められる値であってもよい。概念における距離に応じて関連度を定めることにより、メニュー生成システム1は、用語間の関係をより適切に反映した関連度を用いて処理を実行することができる。 Further, the degree of relevance may be a value determined for each of a plurality of terms according to the distance in the concept of each of the other terms. By determining the degree of relevance according to the distance in the concept, the menu generation system 1 can execute the process using the degree of relevance that more appropriately reflects the relationship between terms.

まず、各用語の概念が所定の座標空間にマッピングされる。そして、用語の概念に対応する座標と他の各用語の概念に対応する座標との間の距離が算出される。用語マスタには、算出された距離に応じた値が関連度として記憶される。 First, the concept of each term is mapped to a predetermined coordinate space. Then, the distance between the coordinates corresponding to the concept of the term and the coordinates corresponding to the concept of each other term is calculated. In the term master, a value corresponding to the calculated distance is stored as the degree of relevance.

図7は、用語マスタにおける用語とカテゴリとの関連づけの例を示す図である。 FIG. 7 is a diagram showing an example of associating terms with categories in the term master.

図7に示す用語マスタは、複数の用語ごとに、他の用語との関連度に加えて、カテゴリとも関連づけている。カテゴリは、概念の類似度合いに基づいて定められるグループである。カテゴリはメニュー生成システム1の運営者が人為的に定めてもよく、座標空間にマッピングされた概念のうち距離の近いものをグループとして抽出してもよい。カテゴリを人為的に定めた場合、用語の概念とカテゴリとの対応関係は、人為的に設定される。 The term master shown in FIG. 7 associates each of a plurality of terms with a category in addition to the degree of association with other terms. A category is a group defined based on the degree of similarity of concepts. The category may be artificially determined by the operator of the menu generation system 1, or the concepts mapped in the coordinate space that are close in distance may be extracted as a group. When the category is artificially defined, the correspondence between the concept of the term and the category is artificially set.

用語をカテゴリと関連づけた用語マスタを用いるメニュー生成システム1において、置換候補可変要素特定部232は、用語の関連度を、用語に関連づけられたカテゴリに基づいて求めることができる。例えば、用語「アグー豚」はカテゴリ「食材」「動物性」「豚肉」に関連づけられている。用語「肉や魚」も同様にカテゴリ「食材」「動物性」「豚肉」に関連づけられている。一方、用語「熱湯や出汁」はカテゴリ「食材」「動物性」「豚肉」に関連づけられておらず、他のカテゴリ「調味料」「旨味」に関連づけられている。この場合、用語「アグー豚」と同一のカテゴリに関連づけられる用語「肉や魚」は、用語「アグー豚」と異なるカテゴリに づけられる用語「熱湯や出汁」よりも、用語「アグー豚」との関連度が大きいと判定される。このように、用語に関連づけられたカテゴリの情報を用いることで、置換候補可変要素特定部232は、用語間の関連度をより効率的に判定することができる。 In the menu generation system 1 using a term master in which a term is associated with a category, the replacement candidate variable element identification unit 232 can obtain the degree of relevance of the term based on the category associated with the term. For example, the term "Agu pork" is associated with the categories "foodstuff", "animal" and "pork". The terms "meat and fish" are also associated with the categories "ingredients," "animals," and "pork." On the other hand, the term "hot water and soup stock" is not associated with the categories "ingredients", "animal" and "pork", but with other categories "seasoning" and "umami". In this case, the term "meat and fish" associated with the same category as the term "Agu pork" is referred to as the term "Agu pork" rather than the term "hot water and soup stock" associated with the term "Agu pork". It is judged that the degree of relevance is high. In this way, by using the information of the category associated with the term, the substitution candidate variable element specifying unit 232 can more efficiently determine the degree of relevance between the terms.

図8は、カテゴリのツリー構造の例を示す図である。 FIG. 8 is a diagram showing an example of a tree structure of categories.

図8のツリー構造は、図7に示す用語マスタにおけるカテゴリに対応している。図8に示すように、カテゴリはツリー構造を形成し、L1〜L3の3階層を有するツリー構造におけるいずれかの階層に位置づけられている。すなわち、カテゴリ「食材」は階層L1に位置づけられている。また、カテゴリ「動物性」はカテゴリ「食材」の下位であり、階層L2に位置づけられている。同様に、カテゴリ「豚肉」はカテゴリ「動物性」の下位であり、階層L3に位置づけられている。このようにツリー構造を形成する2以上の階層のうちいずれかの階層に各カテゴリを位置づけることにより、置換候補可変要素特定部232は、用語の関連度をツリー構造に基づいて効率的に求めることができる。 The tree structure of FIG. 8 corresponds to the categories in the term master shown in FIG. As shown in FIG. 8, the categories form a tree structure and are positioned at any layer in the tree structure having three layers L1 to L3. That is, the category "foodstuff" is positioned in the hierarchy L1. Further, the category "animal" is a subordinate of the category "foodstuff" and is positioned in the hierarchy L2. Similarly, the category "pork" is subordinate to the category "animal" and is positioned in the hierarchy L3. By locating each category in one of the two or more hierarchies forming the tree structure in this way, the replacement candidate variable element identification unit 232 efficiently obtains the relevance of terms based on the tree structure. Can be done.

置換候補可変要素特定部232は、一の用語が関連づけられるカテゴリの上位または下位の階層に位置づけられたカテゴリに関連づけられる用語を、その他のカテゴリに関連づけられる用語よりも、一の用語との関連度が大きいと判定してもよい。図8の例において、一の用語が階層L2に属するカテゴリ「植物性」に関連づけられているとする。この場合、置換候補可変要素特定部232は、カテゴリ「植物性」の上位カテゴリの「食材」または下位カテゴリ「穀類」に関連づけられる用語は、「動物性」、「調味料」といった他のカテゴリに関連づけられる用語よりも、一の用語との関連度が大きいと判定する。これにより、置換候補可変要素特定部232は、用語の関連度をツリー構造に基づいて適切に判定することができる。 The replacement candidate variable element identification unit 232 makes the term associated with the category located in the upper or lower hierarchy of the category to which one term is associated more related to one term than the term associated with other categories. May be determined to be large. In the example of FIG. 8, it is assumed that one term is associated with the category "vegetable" belonging to the hierarchy L2. In this case, the substitution candidate variable element identification unit 232 puts the terms associated with the upper category "foodstuff" or the lower category "cereal" of the category "vegetable" into other categories such as "animal" and "seasoning". It is determined that the degree of relevance to one term is greater than that of the related term. As a result, the replacement candidate variable element identification unit 232 can appropriately determine the degree of relevance of terms based on the tree structure.

また、置換候補可変要素特定部232は、一の用語が関連づけられるカテゴリからたどったときの階層の数が少ないカテゴリに関連づけられる可変要素ほど、一の用語との関連度が大きいと判定してもよい。 Further, even if the replacement candidate variable element identification unit 232 determines that the variable element associated with the category having a smaller number of layers when tracing from the category to which one term is associated has a greater degree of association with one term. Good.

図8の例において、カテゴリ「牛肉」に関連づけられる用語「米沢牛」を考える。用語「アグー豚」が関連づけられるカテゴリ「豚肉」は、「牛肉」→「動物性」→「豚肉」と、カテゴリ「牛肉」から2つの階層でたどることができる。一方、用語「聖護院大根」が関連づけられるカテゴリ「根菜類」は、「牛肉」→「動物性」→「食材」→「植物性」→「根菜類」と、カテゴリ「牛肉」から4つの階層でたどることができる。したがって、置換候補可変要素特定部232は、用語「米沢牛」と用語「アグー豚」との関連度は、用語「米沢牛」と用語「聖護院大根」との関連度よりも大きいと判定する。これにより、置換候補可変要素特定部232は、用語の関連度をツリー構造に基づいて適切に判定することができる。 In the example of FIG. 8, consider the term "Yonezawa beef" associated with the category "beef". The category "pork" to which the term "Agu pork" is associated can be traced in two levels from the category "beef": "beef"-> "animal"-> "pork". On the other hand, the category "root vegetables" to which the term "Shogoin radish" is associated is "beef"-> "animal"-> "ingredients"-> "vegetables"-> "root vegetables", and there are four levels from the category "beef". Can be traced. Therefore, the substitution candidate variable element identification unit 232 determines that the degree of association between the term "Yonezawa beef" and the term "Agu pig" is greater than the degree of association between the term "Yonezawa beef" and the term "Shogoin radish". As a result, the replacement candidate variable element identification unit 232 can appropriately determine the degree of relevance of terms based on the tree structure.

ストレージ記憶部32は、ツリー構造を有しない用語マスタを記憶してもよい。ツリー構造を有しない用語マスタでは、図8に示すカテゴリ間の階層の上下関係は規定されていない。ツリー構造を有しない用語マスタでは、各用語にカテゴリをタグとして付与することにより、用語とカテゴリとの関連を規定することができる。 The storage storage unit 32 may store a term master having no tree structure. In the term master having no tree structure, the hierarchical relationship between the categories shown in FIG. 8 is not defined. In a term master that does not have a tree structure, it is possible to define the relationship between terms and categories by assigning categories to each term as tags.

置換候補可変要素特定部233は、追加用語が関連づけられるカテゴリのうち、より多くのカテゴリに関連づけられる可変要素を、追加用語との関連がより大きい可変要素として判定してもよい。 The replacement candidate variable element identification unit 233 may determine the variable element associated with more categories among the categories to which the additional term is associated as the variable element having a greater association with the additional term.

例えば、追加用語「アグー豚」は、カテゴリ「食材」「豚肉」に関連づけられている。可変要素「肉や魚」は、追加用語「アグー豚」が関連づけられるカテゴリ「食材」「豚肉」の2つに関連づけられている。一方、可変要素「熱湯や出汁」は、追加用語「アグー豚」が関連づけられるカテゴリに関連づけられていない。 For example, the additional term "Agu pork" is associated with the categories "ingredients" and "pork". The variable element "meat and fish" is associated with two categories, "foodstuff" and "pork", to which the additional term "Agu pork" is associated. On the other hand, the variable element "hot water and soup stock" is not associated with the category to which the additional term "Agu pork" is associated.

置換候補可変要素特定部233は、追加用語「アグー豚」が関連づけられるカテゴリのより多くに関連づけられている可変要素「肉や魚」を、より少ないカテゴリに関連づけられている「熱湯や出汁」よりも、追加用語「アグー豚」との関連度が大きいと判定する。 Substitution candidate variable element identification unit 233 transfers the variable element "meat and fish" associated with more of the categories to which the additional term "Agu pork" is associated from "hot water and soup stock" associated with less categories. However, it is judged that the degree of relevance to the additional term "Agu pig" is high.

図9は、端末4の概略構成を示す模式図である。 FIG. 9 is a schematic diagram showing a schematic configuration of the terminal 4.

端末4は、ネットワーク5を介してサーバ2に接続し、サーバ2と通信を行う。端末4は、ユーザの入力操作に応じて、テンプレートの表示および追加用語の入力の受付を行う。そのために、端末4は、端末通信部41と、端末記憶部42と、端末操作部43と、端末表示部44と、端末処理部45とを備える。 The terminal 4 connects to the server 2 via the network 5 and communicates with the server 2. The terminal 4 displays the template and accepts the input of additional terms according to the input operation of the user. Therefore, the terminal 4 includes a terminal communication unit 41, a terminal storage unit 42, a terminal operation unit 43, a terminal display unit 44, and a terminal processing unit 45.

なお、本実施形態では端末4として、パーソナルコンピュータ(Personal Computer, PC)を想定するが、実施形態はこれに限定されない。端末4は、例えば、多機能携帯電話(いわゆる「スマートフォン」)、携帯電話(いわゆる「フィーチャーフォン」)、携帯情報端末(Personal Digital Assistant, PDA)、携帯ゲーム機、携帯音楽プレーヤ、タブレット端末、タブレットPC、ノートPCなどの情報処理装置であってよい。また、端末4は、飲食店に設置され飲食店の関係者等に操作される店舗端末であってもよい。 In the present embodiment, a personal computer (PC) is assumed as the terminal 4, but the embodiment is not limited to this. The terminal 4 is, for example, a multifunctional mobile phone (so-called “smartphone”), a mobile phone (so-called “feature phone”), a mobile information terminal (Personal Digital Assistant, PDA), a portable game machine, a portable music player, a tablet terminal, or a tablet. It may be an information processing device such as a PC or a notebook PC. Further, the terminal 4 may be a store terminal installed in the restaurant and operated by a person concerned with the restaurant.

端末通信部41は、通信インタフェース回路を備え、端末4をネットワーク5に接続する。端末通信部41は、端末処理部45から供給されたデータを、ネットワークを介してサーバ2等に送信する。また、端末通信部41は、ネットワークを介してサーバ2等から受信したデータを端末処理部45に供給する。 The terminal communication unit 41 includes a communication interface circuit and connects the terminal 4 to the network 5. The terminal communication unit 41 transmits the data supplied from the terminal processing unit 45 to the server 2 or the like via the network. Further, the terminal communication unit 41 supplies the data received from the server 2 or the like to the terminal processing unit 45 via the network.

端末記憶部42は、例えば、半導体メモリ装置を備える。端末記憶部42は、端末処理部45での処理に用いられるオペレーティングシステムプログラム、ドライバプログラム、アプリケーションプログラム、データ等を記憶する。例えば、端末記憶部42は、ドライバプログラムとして、端末操作部43を制御する入力デバイスドライバプログラムや、端末表示部44を制御する出力デバイスドライバプログラム等を記憶する。また、端末記憶部42は、アプリケーションプログラムとして、受信したテンプレートを受信し、追加用語の入力を受け付ける追加用語指定画面を表示するための画面表示プログラム等を記憶する。また、端末記憶部42は、所定の処理にかかる一時的なデータを一時的に記憶してもよい。 The terminal storage unit 42 includes, for example, a semiconductor memory device. The terminal storage unit 42 stores operating system programs, driver programs, application programs, data, and the like used for processing in the terminal processing unit 45. For example, the terminal storage unit 42 stores, as a driver program, an input device driver program that controls the terminal operation unit 43, an output device driver program that controls the terminal display unit 44, and the like. Further, the terminal storage unit 42 stores, as an application program, a screen display program or the like for displaying the additional term designation screen that receives the received template and accepts the input of the additional term. Further, the terminal storage unit 42 may temporarily store temporary data related to a predetermined process.

端末操作部43は、端末4の操作が可能であればどのようなデバイスでもよく、例えば、キーボードやマウス等である。ユーザは、端末操作部43を用いて、文字や数字、記号等を入力することができる。端末操作部43は、ユーザにより操作されると、その操作に対応する信号を発生する。そして、発生した信号は、ユーザの指示として端末処理部45に供給される。 The terminal operation unit 43 may be any device as long as the terminal 4 can be operated, such as a keyboard and a mouse. The user can input characters, numbers, symbols and the like using the terminal operation unit 43. When the terminal operation unit 43 is operated by the user, the terminal operation unit 43 generates a signal corresponding to the operation. Then, the generated signal is supplied to the terminal processing unit 45 as a user's instruction.

端末表示部44は、映像や画像等の表示が可能であればどのようなデバイスでもよく、例えば、液晶ディスプレイや有機EL(Electro-Luminescence)ディスプレイ等である。端末表示部44は、端末処理部45から供給された映像データに応じた映像や、画像データに応じた画像等を表示する。 The terminal display unit 44 may be any device as long as it can display an image, an image, or the like, such as a liquid crystal display or an organic EL (Electro-Luminescence) display. The terminal display unit 44 displays an image corresponding to the image data supplied from the terminal processing unit 45, an image corresponding to the image data, and the like.

端末処理部45は、1以上のプロセッサおよびその周辺回路を備える。端末処理部45は、端末4の全体的な動作を統括的に制御するものであり、例えば、CPUである。端末処理部45は、端末4の各種処理が端末記憶部42に記憶されているプログラムや端末操作部43への操作等に基づいて適切な手段で実行されるように、端末通信部41や端末表示部44等の動作を制御する。端末処理部45は、端末記憶部42に記憶されているプログラム(オペレーティングシステムプログラム、ドライバプログラム、アプリケーションプログラム等)に基づいて処理を実行する。また、端末処理部45は、複数のプログラム(アプリケーションプログラム等)を並列に実行することができる。 The terminal processing unit 45 includes one or more processors and peripheral circuits thereof. The terminal processing unit 45 controls the overall operation of the terminal 4 in an integrated manner, and is, for example, a CPU. The terminal processing unit 45 is a terminal communication unit 41 or a terminal so that various processes of the terminal 4 are executed by appropriate means based on a program stored in the terminal storage unit 42, an operation on the terminal operation unit 43, or the like. It controls the operation of the display unit 44 and the like. The terminal processing unit 45 executes processing based on a program (operating system program, driver program, application program, etc.) stored in the terminal storage unit 42. Further, the terminal processing unit 45 can execute a plurality of programs (application programs and the like) in parallel.

端末処理部45は、少なくとも閲覧実行部451、端末送信部452等を備える。これらの各部は、端末処理部45が備えるプロセッサで実行されるプログラムにより実現される機能モジュールである。あるいは、これらの各部は、ファームウェアとして端末4に実装されてもよい。 The terminal processing unit 45 includes at least a browsing execution unit 451 and a terminal transmission unit 452. Each of these parts is a functional module realized by a program executed by the processor included in the terminal processing unit 45. Alternatively, each of these parts may be mounted on the terminal 4 as firmware.

本開示のメニュー生成システム1は、上述のハードウェア構成を採用することで、ユーザが指定する追加用語によりテンプレートに含まれる可変要素を置換して生成された置換テンプレートをユーザに提供するようサーバを制御する。本開示のメニュー生成システム1によると、所望の置換テンプレートを得るために必要なサーバ2と端末4との通信量およびサーバ2における処理時間を削減することができるため、効率的な情報処理が可能となる。 The menu generation system 1 of the present disclosure adopts the above-mentioned hardware configuration, and provides a server to the user to provide a replacement template generated by replacing the variable elements included in the template with additional terms specified by the user. Control. According to the menu generation system 1 of the present disclosure, it is possible to reduce the amount of communication between the server 2 and the terminal 4 and the processing time in the server 2 required to obtain a desired replacement template, so that efficient information processing is possible. It becomes.

次に、図10および図11を参照して、サーバ2に接続された端末4の表示機能によって端末表示部44に表示される各表示画面の一例を説明する。 Next, with reference to FIGS. 10 and 11, an example of each display screen displayed on the terminal display unit 44 by the display function of the terminal 4 connected to the server 2 will be described.

図10は、追加用語指定画面の例を示す図である。 FIG. 10 is a diagram showing an example of an additional term designation screen.

端末4は、サーバ2が送信する、テンプレートを含む追加用語指定画面表示データに基づいて、図10に示す追加用語指定画面100を端末表示部44に表示する。端末4のユーザは、追加用語指定画面100を参照して、追加用語を入力する。 The terminal 4 displays the additional term designation screen 100 shown in FIG. 10 on the terminal display unit 44 based on the additional term designation screen display data including the template transmitted by the server 2. The user of the terminal 4 refers to the additional term designation screen 100 and inputs an additional term.

追加用語指定画面100には、テンプレート表示欄101と、テンプレートリスト表示要求欄102と、追加用語入力欄103と、追加用語リスト表示要求欄104と、追加用語送信ボタン105とが含まれる。 The additional term designation screen 100 includes a template display field 101, a template list display request field 102, an additional term input field 103, an additional term list display request field 104, and an additional term transmission button 105.

テンプレート表示欄101は、サーバ2から受信したテンプレートを表示する欄である。ユーザは、テンプレート表示欄101に表示されたテンプレートを参照し、追加用語を指定する。 The template display field 101 is a field for displaying the template received from the server 2. The user refers to the template displayed in the template display field 101 and specifies additional terms.

テンプレートリスト表示要求欄102は、テンプレートリストの表示を要求する欄である。テンプレートリスト表示要求欄102への所定の操作(例えばカーソルを位置づけて左クリック)を検出すると、端末4は、サーバ2にテンプレートリスト表示要求を送信し、受信したテンプレートリストを端末表示部44に表示する。テンプレートリストには、テンプレートマスタに記憶されるテンプレートが一覧表示される。テンプレートリストから選択されたテンプレートが、テンプレート表示欄101に表示される。 The template list display request column 102 is a column for requesting the display of the template list. When a predetermined operation (for example, positioning the cursor and left-clicking) on the template list display request field 102 is detected, the terminal 4 sends a template list display request to the server 2 and displays the received template list on the terminal display unit 44. To do. In the template list, the templates stored in the template master are listed. The template selected from the template list is displayed in the template display field 101.

追加用語入力欄103は、ユーザによる入力を受け付けた追加用語が表示される欄である。図10では、ユーザが追加用語として「アグー豚」を入力した状態を示している。 The additional term input field 103 is a field in which additional terms that have been input by the user are displayed. FIG. 10 shows a state in which the user has input “Agu pig” as an additional term.

追加用語リスト表示要求欄104は、追加用語リストの表示を要求する欄である。追加用語リスト表示要求欄104への所定の操作を検出すると、端末4は、サーバ2に追加用語リスト表示要求を送信し、受信した追加用語リストを端末表示部44に表示する。追加用語リストには、用語マスタに記憶される用語が一覧表示される。このとき、追加用語リストでは、用語をカテゴリごとに表示してもよい。また、検索キーワードの入力を受け付け、検索キーワードを含む、または、検索キーワードに関連する用語を表示するようにしてもよい。追加用語表示リストから選択された追加用語が、追加用語入力欄103に表示される。 The additional term list display request column 104 is a column for requesting the display of the additional term list. When the terminal 4 detects a predetermined operation on the additional term list display request field 104, the terminal 4 transmits an additional term list display request to the server 2 and displays the received additional term list on the terminal display unit 44. The additional term list lists the terms stored in the term master. At this time, the terms may be displayed for each category in the additional term list. Further, the input of the search keyword may be accepted, and the terms including the search keyword or related to the search keyword may be displayed. The additional term selected from the additional term display list is displayed in the additional term input field 103.

追加用語送信ボタン105は、追加用語の送信を指示するボタンである。端末操作部43が追加用語送信ボタン105に対するユーザの所定の操作を検出すると、端末4は、端末通信部41を介して、追加用語入力欄103に入力された指定用語をサーバ2に送信する。 The additional term transmission button 105 is a button for instructing the transmission of the additional term. When the terminal operation unit 43 detects a predetermined operation of the user with respect to the additional term transmission button 105, the terminal 4 transmits the designated term input in the additional term input field 103 to the server 2 via the terminal communication unit 41.

図11は、置換テンプレート表示画面の例を示す図である。 FIG. 11 is a diagram showing an example of a replacement template display screen.

端末4は、サーバ2が送信する、置換テンプレートを含む置換テンプレート表示画面表示データに基づいて、図11に示す置換テンプレート表示画面110を端末表示部44に表示する。端末4のユーザは、置換テンプレート表示画面110を参照して、置換テンプレートが適切に生成されているか否かを確認する。 The terminal 4 displays the replacement template display screen 110 shown in FIG. 11 on the terminal display unit 44 based on the replacement template display screen display data including the replacement template transmitted by the server 2. The user of the terminal 4 refers to the replacement template display screen 110 and confirms whether or not the replacement template is properly generated.

置換テンプレート表示画面110には、置換テンプレート表示欄111と、置換テンプレート決定ボタン112と、置換テンプレート修正ボタン113とが含まれる。 The replacement template display screen 110 includes a replacement template display field 111, a replacement template determination button 112, and a replacement template modification button 113.

置換テンプレート表示欄111は、サーバ2から受信した置換テンプレートを表示する欄である。置換テンプレート表示欄111では、置換テンプレートが、テンプレートのうち追加用語により置換された部分とその他の部分とが異なる表示態様で表示される。これにより、ユーザは置換された部分を容易に視認することができる。図11の例では、置換された部分には下線を付して表示されている。 The replacement template display field 111 is a field for displaying the replacement template received from the server 2. In the replacement template display field 111, the replacement template is displayed in a different display mode from the portion of the template replaced by the additional term and the other portion. This allows the user to easily see the replaced portion. In the example of FIG. 11, the replaced portion is underlined and displayed.

置換テンプレート決定ボタン112は、置換テンプレート表示欄111に表示された置換テンプレートの内容の決定を指示するボタンである。端末操作部43が置換テンプレート決定ボタン112に対するユーザの所定の操作を検出すると、端末4は、端末通信部41を介して、置換テンプレートの決定を指示する置換テンプレート決定指示要求をサーバ2に送信する。置換テンプレート決定指示要求を受信したサーバ2は、決定した置換テンプレートをサーバ記憶部22の所定の領域に記憶し、他の用途での使用を可能にする。 The replacement template determination button 112 is a button for instructing the determination of the content of the replacement template displayed in the replacement template display field 111. When the terminal operation unit 43 detects a predetermined operation of the user with respect to the replacement template determination button 112, the terminal 4 transmits a replacement template determination instruction request for instructing the determination of the replacement template to the server 2 via the terminal communication unit 41. .. The server 2 that has received the replacement template determination instruction request stores the determined replacement template in a predetermined area of the server storage unit 22 so that it can be used for other purposes.

置換テンプレート修正ボタン113は、置換テンプレート表示欄111に表示された置換テンプレートの内容の修正を指示するボタンである。端末操作部43が置換テンプレート修正ボタン113に対するユーザの所定の操作を検出すると、端末4は、置換テンプレートの修正を行う置換テンプレート修正画面を端末表示部44に表示する。置換テンプレート修正画面での修正が完了すると、修正された置換テンプレートが置換テンプレート表示欄111に表示される。また、置換テンプレートは、置換テンプレート表示欄111に修正可能に表示されていてもよい。この場合、置換テンプレート修正ボタン113は省略可能である。 The replacement template modification button 113 is a button for instructing modification of the content of the replacement template displayed in the replacement template display field 111. When the terminal operation unit 43 detects a predetermined operation of the user on the replacement template modification button 113, the terminal 4 displays a replacement template modification screen for modifying the replacement template on the terminal display unit 44. When the modification on the replacement template modification screen is completed, the modified replacement template is displayed in the replacement template display field 111. Further, the replacement template may be displayed in the replacement template display field 111 so as to be modifiable. In this case, the replacement template modification button 113 can be omitted.

図12は、メニュー生成システム1の動作シーケンス図である。 FIG. 12 is an operation sequence diagram of the menu generation system 1.

まず、端末4は、ネットワーク5を介してテンプレート要求を送信する(ステップS1)。テンプレート要求は、追加用語指定画面100のテンプレートリスト表示要求欄102への操作に応じて表示されるテンプレートリストからテンプレートを選択することにより送信される。テンプレート要求には、対象となるテンプレートに対応するテンプレート識別子が含まれる。 First, the terminal 4 transmits a template request via the network 5 (step S1). The template request is transmitted by selecting a template from the template list displayed in response to the operation of the template list display request field 102 of the additional term designation screen 100. The template request contains a template identifier corresponding to the target template.

サーバ通信部21を介してテンプレート要求を受信したサーバ2のテンプレート送信部231は、対応するテンプレートをストレージ記憶部32に記憶されるテンプレートマスタから読み出し、サーバ通信部21を介して端末4に送信する(ステップS2)。 The template transmission unit 231 of the server 2 that has received the template request via the server communication unit 21 reads the corresponding template from the template master stored in the storage storage unit 32 and transmits the corresponding template to the terminal 4 via the server communication unit 21. (Step S2).

テンプレートを受信した端末4は、受信したテンプレートを端末表示部44に表示する(ステップS3)。ユーザは、表示されたテンプレートを参照し、追加用語の指定を行う。 The terminal 4 that has received the template displays the received template on the terminal display unit 44 (step S3). The user refers to the displayed template and specifies additional terms.

端末4は、端末操作部43を介してユーザによる追加用語の指定を受け付ける(ステップS4)。そして、端末4は、受け付けた追加用語をサーバ2に送信する(ステップS5)。 The terminal 4 accepts the designation of additional terms by the user via the terminal operation unit 43 (step S4). Then, the terminal 4 transmits the received additional term to the server 2 (step S5).

サーバ2の追加用語受信部232がサーバ通信部21を介して追加用語を受信した場合、置換候補可変要素特定部233が置換候補変換要素を特定する(ステップS6)。置換候補可変要素特定部233は、ストレージ記憶部32に記憶された用語マスタを参照し、対象となるテンプレートに含まれる複数の可変要素について、受信した追加用語との関連度を取得する。そして、置換候補可変要素特定部233は、複数の可変要素についての追加用語との関連度を比較し、関連度が大きい可変要素を、置換候補可変要素として特定する。 When the additional term receiving unit 232 of the server 2 receives the additional term via the server communication unit 21, the replacement candidate variable element specifying unit 233 specifies the replacement candidate conversion element (step S6). The replacement candidate variable element identification unit 233 refers to the term master stored in the storage storage unit 32, and acquires the degree of relevance of the plurality of variable elements included in the target template with the received additional terms. Then, the replacement candidate variable element specifying unit 233 compares the degree of relevance with the additional term for the plurality of variable elements, and identifies the variable element having a large degree of relevance as the replacement candidate variable element.

次に、サーバ2の置換テンプレート生成部234は、テンプレートに含まれる置換候補可変要素を追加用語で置き換えることにより置換テンプレートを生成する(ステップS7)。 Next, the replacement template generation unit 234 of the server 2 generates a replacement template by replacing the replacement candidate variable elements included in the template with additional terms (step S7).

続いて、サーバ2の置換テンプレート送信部235は、生成された置換テンプレートを、サーバ通信部21を介して端末4に送信する(ステップS8)。 Subsequently, the replacement template transmission unit 235 of the server 2 transmits the generated replacement template to the terminal 4 via the server communication unit 21 (step S8).

置換テンプレートを受信した端末4は、端末表示部44に置換テンプレートを表示する(ステップS9)。 The terminal 4 that has received the replacement template displays the replacement template on the terminal display unit 44 (step S9).

以上詳述したとおり、メニュー生成システム1は、ユーザが指定する追加用語に基づいてテンプレートから適切に生成された置換テンプレートをユーザに提供する。 As described in detail above, the menu generation system 1 provides the user with a replacement template appropriately generated from the template based on additional terms specified by the user.

なお、本実施形態を変形したメニュー生成システムも実施可能である。 A menu generation system that is a modification of this embodiment can also be implemented.

例えば、メニュー生成システムのある変形例では、動作シーケンスのステップS6において、置換候補可変要素特定部233は、複数の置換候補可変要素を特定してもよい。この場合、ステップS7において、置換テンプレート生成部234は、複数の置換候補可変要素のそれぞれを追加用語によって置き換えて、置換テンプレートを複数生成する。そして、ステップS8において、置換テンプレート送信部235は、生成した複数の置換テンプレートを端末4に送信する。 For example, in a modification of the menu generation system, in step S6 of the operation sequence, the replacement candidate variable element specifying unit 233 may specify a plurality of replacement candidate variable elements. In this case, in step S7, the replacement template generation unit 234 replaces each of the plurality of replacement candidate variable elements with additional terms to generate a plurality of replacement templates. Then, in step S8, the replacement template transmission unit 235 transmits the generated replacement template to the terminal 4.

複数の置換テンプレートを受信した端末4は、ステップS9において、受信した複数の置換テンプレートを端末表示部44に表示する。そして、端末4は、ユーザによる置換テンプレートの選択を受け付ける。端末4は、端末操作部43を介して受け付けたユーザによる置換テンプレートの選択に対応する置換候補可変要素選択情報を、サーバ2に送信する。 The terminal 4 that has received the plurality of replacement templates displays the received plurality of replacement templates on the terminal display unit 44 in step S9. Then, the terminal 4 accepts the user's selection of the replacement template. The terminal 4 transmits the replacement candidate variable element selection information corresponding to the selection of the replacement template by the user received via the terminal operation unit 43 to the server 2.

サーバ通信部21を介して置換候補可変要素選択情報を受信したサーバ2は、受信した置換候補可変要素選択情報に基づいて、用語マスタにおける置換候補可変要素選択情報に対応する用語と追加用語との関連度を変更させる。 The server 2 that has received the replacement candidate variable element selection information via the server communication unit 21 has the terms corresponding to the replacement candidate variable element selection information in the term master and additional terms based on the received replacement candidate variable element selection information. Change the degree of relevance.

このようなメニュー生成システムは、用語マスタにおける用語間の関連度をユーザの選択に基づいて更新していくことができる。このとき、サーバ2は、置換候補可変要素選択情報に対応する用語と追加用語との関連度が大きくなるように変更することが好ましい。ユーザにより追加用語で置換すべきと選択された用語は、追加用語との関連度が大きいためである。 In such a menu generation system, the degree of relevance between terms in the term master can be updated based on the user's selection. At this time, it is preferable that the server 2 is changed so that the degree of relevance between the term corresponding to the replacement candidate variable element selection information and the additional term becomes large. This is because the term selected by the user to be replaced with the additional term is highly relevant to the additional term.

また、メニュー生成システムの他の変形例では、テンプレートマスタは第1言語のテンプレートを第2言語のテンプレートと関連づけており、ストレージ記憶部32は第1言語の用語と第2言語の用語とを関連づける用語翻訳マスタを記憶していてもよい。 Further, in another modification of the menu generation system, the template master associates the template of the first language with the template of the second language, and the storage storage unit 32 associates the terms of the first language with the terms of the second language. The term translation master may be stored.

この場合、サーバ2のテンプレート送信部231は、ステップS2において第1言語のテンプレートを送信する。そして、サーバ2の追加用語受信部は、ステップS5において端末4から第1言語の追加用語を受信する。 In this case, the template transmission unit 231 of the server 2 transmits the template of the first language in step S2. Then, the additional term receiving unit of the server 2 receives the additional term of the first language from the terminal 4 in step S5.

サーバ2の置換テンプレート生成部234は、ステップS7において、第1言語のテンプレートに関連づけられた第2言語のテンプレートの置換候補可変要素を、第1言語の追加用語に関連づけられた第2言語の用語により置き換える。そして、サーバ2の置換テンプレート送信部235は、生成された置換テンプレートを端末4に送信する。 In step S7, the replacement template generation unit 234 of the server 2 uses the replacement candidate variable element of the template of the second language associated with the template of the first language as a term of the second language associated with the additional term of the first language. Replace with. Then, the replacement template transmission unit 235 of the server 2 transmits the generated replacement template to the terminal 4.

このようなメニュー生成システムによると、ユーザは第1言語でテンプレートおよび追加用語を指定することにより、適切に生成された第2言語の置換テンプレートを得ることができる。 According to such a menu generation system, the user can obtain a properly generated replacement template for the second language by specifying the template and additional terms in the first language.

ここまで説明した実施形態では、サーバ2は飲食店で提供される料理のメニューまたは説明文に関するテンプレートに基づいて置換テンプレートを生成する。しかし、本出願にかかるサーバにおいて、記憶部に記憶されるテンプレートは、料理のメニューまたは説明文に関するものに限定されない。 In the embodiments described so far, the server 2 generates a replacement template based on the template for the menu or description of the dish provided at the restaurant. However, in the server according to the present application, the template stored in the storage unit is not limited to that related to the menu or description of the dish.

例えば、サーバ2は店舗やウェブ上で提供される商品の情報に関するテンプレートに基づいて置換テンプレートを生成してもよい。商品以外にもアイテムに関する説明であれば本発明は適用できる。 For example, the server 2 may generate a replacement template based on a template for product information provided on the store or the web. The present invention can be applied as long as the description relates to items other than goods.

記憶部に記憶されるテンプレートマスタには、「[東京]地方で[地震]が発生しました」といった災害情報の告知に関するテンプレートが規定されていてもよい。このとき、用語マスタには、概念の類似度に基づいて、「東京」「千葉」「地震」「台風」といった用語の関連度が関連づけられる。そして、追加用語「千葉」を受信した場合、サーバは、上述の制御方法に従って用語「千葉」との関連度が大きい置換候補可変要素[東京]を特定し、適切な置換テンプレート「千葉地方で地震が発生しました」を生成する。 The template master stored in the storage unit may specify a template for notification of disaster information such as "[earthquake] has occurred in the [Tokyo] district". At this time, the term master is associated with the relevance of terms such as "Tokyo", "Chiba", "earthquake", and "typhoon" based on the similarity of concepts. Then, when the additional term "Chiba" is received, the server identifies the replacement candidate variable element [Tokyo] that is highly relevant to the term "Chiba" according to the above control method, and the appropriate replacement template "Earthquake in the Chiba region". Has occurred. "

当業者は、本発明の精神および範囲から外れることなく、種々の変更、置換および修正をこれに加えることが可能であることを理解されたい。 It will be appreciated by those skilled in the art that various changes, substitutions and modifications can be made to this without departing from the spirit and scope of the invention.

1 メニュー生成システム
2 サーバ
231 テンプレート送信部
232 追加用語受信部
233 置換候補可変要素特定部
234 置換テンプレート生成部
235 置換テンプレート送信部
3 ストレージ装置
4 端末
5 ネットワーク
1 Menu generation system 2 Server 231 Template transmitter 232 Additional term receiver 233 Substitution candidate variable element identification unit 234 Replacement template generator 235 Replacement template transmitter 3 Storage device 4 Terminal 5 Network

Claims (11)

記憶部および端末と接続可能なサーバの制御方法であって、
前記記憶部には、
1以上の用語で構成される複数の可変要素を含むテンプレートが規定されるテンプレートマスタと、
複数の前記用語ごとに、他の各用語との概念の類似度合いに基づく他の各用語との関連度を関連づける用語マスタと、が記憶され、
前記サーバが、
前記端末からの要求に応じて前記テンプレートマスタに規定された前記テンプレートを前記端末に送信し、
前記テンプレートに含まれる前記可変要素を置き換えるための追加用語を前記端末から受信し、
前記テンプレートに含まれる複数の前記可変要素のうち、前記用語マスタにおいて、受信した前記追加用語との関連度が大きい可変要素を置換候補可変要素として特定し、
前記テンプレートに含まれる前記置換候補可変要素を前記追加用語で置き換えることにより置換テンプレートを生成し、
生成された前記置換テンプレートを前記端末に送信する、
ことを含むサーバの制御方法。
A method of controlling a server that can be connected to a storage unit and a terminal.
In the storage unit
A template master that defines a template that includes a plurality of variable elements composed of one or more terms, and
For each of the plurality of terms, a term master that associates the degree of relevance with each of the other terms based on the degree of similarity of the concept with each of the other terms is stored.
The server
In response to a request from the terminal, the template specified in the template master is transmitted to the terminal.
Receiving additional terms from the terminal to replace the variable element contained in the template,
Among the plurality of variable elements included in the template, in the term master, a variable element having a high degree of relevance to the received additional term is specified as a replacement candidate variable element.
A replacement template is generated by replacing the replacement candidate variable element included in the template with the additional term.
Send the generated replacement template to the terminal,
How to control the server, including that.
前記関連度は、前記複数の用語ごとに、概念の類似度合いに基づいて他の各用語を並べたときの順位に応じて定められる値である、請求項1に記載の制御方法。 The control method according to claim 1, wherein the degree of relevance is a value determined for each of the plurality of terms according to the order in which the other terms are arranged based on the degree of similarity of the concepts. 前記関連度は、前記複数の用語ごとに、他の各用語との概念における距離に応じて定められる値である、請求項1に記載の制御方法。 The control method according to claim 1, wherein the degree of relevance is a value determined for each of the plurality of terms according to a distance in the concept of each of the other terms. 前記用語マスタは、複数の前記用語を概念の類似度合いに基づいて定められるグループである複数のカテゴリと関連づけており、
前記サーバは、前記特定において、前記追加用語が関連づけられるカテゴリと同一のカテゴリに関連づけられる可変要素を、前記追加用語が関連づけられるカテゴリと同一のカテゴリに関連づけられない可変要素よりも前記追加用語との関連度が大きい可変要素と判定する、請求項1に記載の制御方法。
The term master associates a plurality of the terms with a plurality of categories, which is a group defined based on the degree of similarity of concepts.
In the particular case, the server refers to a variable element associated with the same category as the category with which the additional term is associated rather than a variable element associated with the same category as the category with which the additional term is associated. The control method according to claim 1, wherein the variable element has a high degree of relevance.
前記サーバは、前記特定において、前記追加用語が関連づけられるカテゴリのうち、より多くのカテゴリに関連づけられる可変要素を、前記追加用語との関連度がより大きい可変要素と判定する、請求項4に記載の制御方法。 The fourth aspect of the present invention, wherein the server determines a variable element associated with more categories among the categories to which the additional term is associated in the identification as a variable element having a higher degree of association with the additional term. Control method. 前記用語マスタにおいて、複数の前記カテゴリは、ツリー構造を形成する2以上の階層のうちいずれかの階層に位置づけられている、請求項4に記載の制御方法。 The control method according to claim 4, wherein in the term master, the plurality of the categories are positioned in any one of two or more hierarchies forming a tree structure. 前記サーバは、前記特定において、前記追加用語が関連づけられるカテゴリの上位または下位の階層に位置づけられたカテゴリに関連づけられる可変要素を、その他のカテゴリに関連づけられる可変要素よりも前記追加用語との関連度が大きいと判定する、請求項6に記載の制御方法。 In the particular case, the server makes the variable element associated with the category located in the upper or lower hierarchy of the category to which the additional term is associated more related to the additional term than the variable element associated with the other category. The control method according to claim 6, wherein is determined to be large. 前記サーバは、前記特定において、前記追加用語が関連づけられるカテゴリからたどったときの階層の数が少ないカテゴリに関連づけられる可変要素ほど、前記追加用語との関連度が大きいと判定することを特徴とする、請求項6に記載の制御方法。 The server is characterized in that, in the identification, it is determined that a variable element associated with a category having a smaller number of hierarchies when tracing from the category to which the additional term is associated has a greater degree of association with the additional term. , The control method according to claim 6. 前記サーバは、
複数の前記置換候補可変要素を特定し、複数の前記置換候補可変要素のそれぞれを前記追加用語によって置き換えた前記置換テンプレートを複数生成し、生成した複数の前記置換テンプレートを前記端末に送信し、
前記複数の置換テンプレートのうちいずれか1つに対応する置換候補可変要素選択情報を前記端末から受信し、
受信した前記置換候補可変要素選択情報に基づいて、前記置換候補可変要素選択情報に対応する用語と前記追加用語との関連度を変動させる、請求項1ないし8のいずれか一項に記載の制御方法。
The server
A plurality of the replacement candidate variable elements are specified, a plurality of the replacement templates in which each of the plurality of replacement candidate variable elements is replaced by the additional term are generated, and the generated plurality of the replacement templates are transmitted to the terminal.
The replacement candidate variable element selection information corresponding to any one of the plurality of replacement templates is received from the terminal, and the replacement candidate variable element selection information is received from the terminal.
The control according to any one of claims 1 to 8, which changes the degree of association between the term corresponding to the replacement candidate variable element selection information and the additional term based on the received replacement candidate variable element selection information. Method.
記憶部および端末と接続可能なサーバであって、
前記記憶部には、
複数の用語を可変要素として含むテンプレートが規定されるテンプレートマスタと、
複数の前記用語ごとに、他の各用語との概念の類似度合いに基づく他の用語の関連度を関連づける用語マスタと、が記憶され、
前記端末からの要求に応じて前記テンプレートマスタに規定された前記テンプレートを前記端末に送信するテンプレート送信部と、
前記テンプレートに含まれる前記可変要素を置き換えるための追加用語を前記端末から受信する追加用語受信部と、
前記テンプレートに含まれる複数の前記可変要素のうち、前記用語マスタにおいて、受信した前記追加用語との関連度が大きい可変要素を置換候補可変要素として特定する置換候補可変要素特定部と、
前記テンプレートに含まれる前記置換候補可変要素を前記追加用語で置き換えることにより置換テンプレートを生成する置換テンプレート生成部と、
生成された前記置換テンプレートを前記端末に送信する置換テンプレート送信部と、
を備えるサーバ。
A server that can connect to a storage unit and a terminal.
In the storage unit
A template master that defines a template that contains multiple terms as variable elements,
For each of the plurality of terms, a term master that associates the degree of relevance of other terms based on the degree of concept similarity with each other term is stored.
A template transmission unit that transmits the template specified in the template master to the terminal in response to a request from the terminal.
An additional term receiver that receives additional terms from the terminal to replace the variable element included in the template, and
Among the plurality of variable elements included in the template, a replacement candidate variable element specifying unit that specifies a variable element having a high degree of relevance to the received additional term as a replacement candidate variable element in the term master.
A replacement template generation unit that generates a replacement template by replacing the replacement candidate variable element included in the template with the additional term.
A replacement template transmission unit that transmits the generated replacement template to the terminal,
Server with.
記憶部および端末と接続可能なサーバの制御プログラムであって、
前記記憶部には、
複数の用語を可変要素として含むテンプレートが規定されるテンプレートマスタと、
複数の前記用語ごとに、他の各用語との概念の類似度合いに基づく他の各用語の関連度を関連づける用語マスタと、が記憶され、
前記サーバに、
前記端末からの要求に応じて前記テンプレートマスタに規定された前記テンプレートを前記端末に送信し、
前記テンプレートに含まれる前記可変要素を置き換えるための追加用語を前記端末から受信し、
前記テンプレートに含まれる複数の前記可変要素のうち、前記用語マスタにおいて、受信した前記追加用語との関連度が大きい可変要素を置換候補可変要素として特定し、
前記テンプレートに含まれる前記置換候補可変要素を前記追加用語で置き換えることにより置換テンプレートを生成し、
生成された前記置換テンプレートを前記端末に送信する、
処理を実行させることを特徴とするサーバの制御プログラム。
A server control program that can connect to a storage unit and a terminal.
In the storage unit
A template master that defines a template that contains multiple terms as variable elements,
For each of the plurality of terms, a term master that associates the degree of relevance of each of the other terms based on the degree of concept similarity with each of the other terms is stored.
To the server
In response to a request from the terminal, the template specified in the template master is transmitted to the terminal.
An additional term for replacing the variable element contained in the template is received from the terminal and
Among the plurality of variable elements included in the template, in the term master, a variable element having a high degree of relevance to the received additional term is specified as a replacement candidate variable element.
A replacement template is generated by replacing the replacement candidate variable element included in the template with the additional term.
Send the generated replacement template to the terminal,
A server control program characterized by executing processing.
JP2019027334A 2019-02-19 2019-02-19 Server control method, server, and server control program Active JP7167765B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019027334A JP7167765B2 (en) 2019-02-19 2019-02-19 Server control method, server, and server control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019027334A JP7167765B2 (en) 2019-02-19 2019-02-19 Server control method, server, and server control program

Publications (2)

Publication Number Publication Date
JP2020135354A true JP2020135354A (en) 2020-08-31
JP7167765B2 JP7167765B2 (en) 2022-11-09

Family

ID=72278646

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019027334A Active JP7167765B2 (en) 2019-02-19 2019-02-19 Server control method, server, and server control program

Country Status (1)

Country Link
JP (1) JP7167765B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10320388A (en) * 1997-05-16 1998-12-04 Dainippon Screen Mfg Co Ltd Text preparation device and method therefor and dictionary registration method and recording medium
JP2000242637A (en) * 1999-02-23 2000-09-08 Fujitsu Ltd Information processor and storage medium
JP2017016558A (en) * 2015-07-06 2017-01-19 株式会社オービックビジネスコンサルタント Information processing device, information processing method, and program

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10320388A (en) * 1997-05-16 1998-12-04 Dainippon Screen Mfg Co Ltd Text preparation device and method therefor and dictionary registration method and recording medium
JP2000242637A (en) * 1999-02-23 2000-09-08 Fujitsu Ltd Information processor and storage medium
JP2017016558A (en) * 2015-07-06 2017-01-19 株式会社オービックビジネスコンサルタント Information processing device, information processing method, and program

Also Published As

Publication number Publication date
JP7167765B2 (en) 2022-11-09

Similar Documents

Publication Publication Date Title
CN105260420B (en) A kind of method and apparatus for the offer target pages in mobile application
US20160210678A1 (en) Systems for generating a global product taxonomy
JP6790413B2 (en) Menu generation system, menu generation method and menu generation program
JP6635843B2 (en) Menu generation system, menu generation method, and menu generation program
WO2017018410A1 (en) Meal content provision method, information processing device, and meal content provision program
US10055496B2 (en) Cuisine search device, cuisine search method, program, and computer-readable storage medium
WO2017168241A1 (en) Menu information providing system, menu information providing method, and non-transitory computer-readable storage medium storing menu information providing program
KR20220153044A (en) Menu generation system
KR20140094058A (en) Method and system for managing food service business using the space web
US20210287270A1 (en) Information processing system, information processing method, and non-transitory computer-readable storage medium storing program
JP7167765B2 (en) Server control method, server, and server control program
US20160378871A1 (en) Generating Search Results Using Current Software Application States
TWI717725B (en) Menu generation system, menu generation method, and non-transitory computer-readable storage medium storing menu generation program
JP6866615B2 (en) Menu generation system, menu generation method and menu generation program
JP7127324B2 (en) Information processing device, information processing method and program
JP6537756B1 (en) Server control method, server, and server control program
JP7147215B2 (en) Information processing device, information processing method and program
JP2020061083A (en) Control method of server, server, and control program of server
JP2020024490A (en) Information processing device, information processing method, program, and storage medium
JP7040291B2 (en) Server control methods, servers, and server control programs
JP2019160224A (en) Menu planning system, method and program
JP7025507B2 (en) Network servers and methods for providing web pages to user terminals
JP2018165895A (en) Multilingual translation system, multilingual translation method and multilingual translation program
JP7069979B2 (en) Server control methods, servers, and server control programs
JP2016062329A (en) Information providing device and information providing method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20211110

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220920

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20220927

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20221010

R150 Certificate of patent or registration of utility model

Ref document number: 7167765

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R360 Written notification for declining of transfer of rights

Free format text: JAPANESE INTERMEDIATE CODE: R360

R360 Written notification for declining of transfer of rights

Free format text: JAPANESE INTERMEDIATE CODE: R360

R371 Transfer withdrawn

Free format text: JAPANESE INTERMEDIATE CODE: R371