JP2009217315A - Information processor, control method for information processor, and control program for information processor - Google Patents

Information processor, control method for information processor, and control program for information processor Download PDF

Info

Publication number
JP2009217315A
JP2009217315A JP2008057375A JP2008057375A JP2009217315A JP 2009217315 A JP2009217315 A JP 2009217315A JP 2008057375 A JP2008057375 A JP 2008057375A JP 2008057375 A JP2008057375 A JP 2008057375A JP 2009217315 A JP2009217315 A JP 2009217315A
Authority
JP
Japan
Prior art keywords
search
unit
tenant
information terminal
data
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
JP2008057375A
Other languages
Japanese (ja)
Other versions
JP5358981B2 (en
Inventor
Keiichi Seki
啓一 関
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP2008057375A priority Critical patent/JP5358981B2/en
Publication of JP2009217315A publication Critical patent/JP2009217315A/en
Application granted granted Critical
Publication of JP5358981B2 publication Critical patent/JP5358981B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To reduce a workload required for the maintenance or update of a query to be used by a user who retrieves a database for retrieval and to enhance also extensibility of a table. <P>SOLUTION: An information processor includes: a basic region retrieval part for generating and retrieving a retrieval formula for retrieving data to be classified into common items from a retrieval request to be transmitted from an information terminal; a tenant unique extension region retrieval part for generating and retrieving a retrieval formula for retrieving data classified into individual items; and a table retrieval result merge part for merging respective retrieval results obtained by the basic region retrieval part and the tenant unique extension region retrieval part, and for transmitting the retrieval result to the information terminal. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は情報処理装置、情報処理装置の制御方法および情報処理装置の制御用プログラムに関する。   The present invention relates to an information processing apparatus, a control method for the information processing apparatus, and a control program for the information processing apparatus.

マルチテナントデータ管理システムの一例が、非特許文献1に記載されている。非特許文献1の図8−1に示すように、このマルチテナントデータ管理システムを構成する情報処理装置は、標準テーブルと、拡張テーブルと、から構成されている。標準テーブルはデータを保存するデータ列と各レコードを識別するIDを保存するID列とから構成される。拡張テーブルは標準テーブルの各レコードを識別するIDを保存するID列と拡張用のデータを保存する拡張列とから構成されている。標準テーブル中の各レコードは、それぞれのID列に保存されているIDと同じIDをID列に持つ拡張テーブル中のレコードと対応付けられている。   An example of a multi-tenant data management system is described in Non-Patent Document 1. As illustrated in FIG. 8A of Non-Patent Document 1, the information processing apparatus configuring the multi-tenant data management system includes a standard table and an extension table. The standard table includes a data string for storing data and an ID string for storing an ID for identifying each record. The extension table includes an ID column that stores an ID for identifying each record in the standard table and an extension column that stores data for extension. Each record in the standard table is associated with a record in the extended table having the same ID as the ID stored in the respective ID column in the ID column.

岩井 哲郎著「SaaS開発指針」NSA−Vol.7 No.07009 2007年3月19日pp.11http://www.nsa.or.jp/make_jimu/committee/9/data/07001.pdfTetsuro Iwai "SaaS Development Guidelines" NSA-Vol.7 No.07009 March 19, 2007 pp. 11http: //www.nsa.or.jp/make_jimu/committee/9/data/07001.pdf

しかし、上述したような構成においては、データベース管理者は、クエリを作成する際にはテーブルの構造および各カラムがどのテーブルにあるのかを知らなければならない。このため、クエリの保守作業に多大なコストがかかっていた。   However, in the configuration described above, the database administrator must know the table structure and which table each column is in when creating a query. For this reason, a large amount of cost is required for query maintenance work.

また、このような構造のデータベースを1つのクエリで検索する場合には、検索する各テーブル名およびテーブル間のリレーションを明記する必要があった。   Further, when a database having such a structure is searched with a single query, it is necessary to clearly specify each table name to be searched and the relationship between the tables.

また、複数のテーブルを仮想的に1つのテーブルに見せるViewという技術も存在するが、この技術を用いてもテーブル構造を変化させると、View自体を更新する必要があり、データベースの管理者の管理のコストが大きい。   In addition, there is a technique called View that virtually shows a plurality of tables as one table. Even if this technique is used, if the table structure is changed, the View itself needs to be updated, which is managed by the database administrator. The cost of

また、データベースを利用するユーザが独自にテーブルを拡張しようとすると、テーブルを使用している既存のユーザに対する検索のためのクエリを修正する必要があり、クエリの保守が困難である。   Further, when a user who uses a database tries to expand a table independently, it is necessary to modify a search query for an existing user who uses the table, which makes it difficult to maintain the query.

本発明は上記課題を鑑みてなされたものであって、その目的の一つは、データベースを検索するユーザが検索に用いるクエリの保守や更新に要する作業負担を軽減できるとともにテーブルの拡張性を向上した情報処理装置を提供することにある。   The present invention has been made in view of the above problems, and one of its purposes is to reduce the work load required for maintenance and update of a query used by a user searching a database for search and improve the extensibility of a table. An information processing apparatus is provided.

本発明による情報処理装置の好ましい一態様は、複数の事業者の少なくとも1つに所属する担当者に使用される情報端末と接続され、前記情報端末から送信されるデータベースの検索要求に応じて前記データベースを検索し前記情報端末に検索結果を送信する情報処理装置であって、前記データベースは、前記複数の事業者で共通する共通項目に分類されるデータを記憶する基本テーブルと、前記複数の事業者毎に異なる個別項目に分類されるデータを記憶する拡張テーブルと、を含み、前記情報処理装置は、前記情報端末から前記データベースの検索要求を受信し、前記検索要求を送信してきた情報端末を使用する担当者が所属する事業者を前記検索要求に基づいて特定する受信部と、前記受信部から送信される前記検索要求に基づいて前記共通項目のデータを検索する第1の検索式を生成し、前記共通項目のデータを検索する基本領域検索部と、前記受信部により前記事業者を指定して送信される前記検索要求に基づいて前記指定された事業者の個別項目のデータを検索する第2の検索式を生成し、前記個別項目のデータを検索するテナント固有拡張領域検索部と、前記基本領域検索部が検索した前記共通項目のデータと前記テナント固有拡張領域検索部が検索した前記個別項目のデータとを結合して前記検索結果として前記情報端末に送信するテーブル検索結果マージ部と、を備える。   A preferred aspect of the information processing apparatus according to the present invention is connected to an information terminal used by a person in charge belonging to at least one of a plurality of business operators, and in response to a database search request transmitted from the information terminal. An information processing apparatus that searches a database and transmits a search result to the information terminal, wherein the database includes a basic table that stores data classified into common items common to the plurality of operators, and the plurality of businesses. An extended table that stores data classified into different individual items for each person, and the information processing device receives an information terminal that has received the search request for the database from the information terminal and has transmitted the search request. A receiving unit that identifies a business operator to which the person in charge to use belongs based on the search request, and a front based on the search request transmitted from the receiving unit. Based on the search request generated by generating a first search expression for searching for common item data, searching for the common item data, and specifying the provider by the receiving unit Generate a second search expression for searching the individual item data of the specified business operator and search for the individual item data, and the common item searched by the basic region search unit And a table search result merging unit that combines the data of the individual item searched by the tenant-specific extended area search unit and transmits it as the search result to the information terminal.

また、本発明による情報処理装置の制御方法の好ましい一態様は、複数の事業者の少なくとも1つに所属する担当者に使用される情報端末と接続され、前記複数の事業者で共通する共通項目に分類されるデータを記憶する基本テーブルと前記複数の事業者毎に異なる個別項目に分類されるデータを記憶する拡張テーブルとを含むデータベースを備え、前記情報端末から送信される前記データベースの検索要求に応じて前記データベースを検索し前記情報端末に検索結果を送信する情報処理装置の制御方法であって、前記情報処理装置が、前記情報端末から前記データベースの検索要求を受信し、前記情報処理装置が、前記検索要求を送信してきた情報端末を使用する担当者が所属する事業者を前記検索要求に基づいて特定し、前記情報処理装置が、前記検索要求に基づいて前記共通項目のデータを検索する第1の検索式を生成し、前記共通項目のデータを検索し、前記情報処理装置が、前記事業者を指定して送信される前記検索要求に基づいて前記指定された事業者の個別項目のデータを検索する第2の検索式を生成し、前記個別項目のデータを検索し、前記情報処理装置が、前記検索した前記共通項目のデータと前記検索した前記個別項目のデータとを結合して前記検索結果として前記情報端末に送信する。   Also, a preferred aspect of the method for controlling the information processing apparatus according to the present invention is a common item that is connected to an information terminal used by a person in charge belonging to at least one of a plurality of businesses and is common to the plurality of businesses. The database search request transmitted from the information terminal, comprising a database that includes a basic table that stores data classified into data and an extended table that stores data classified into individual items different for each of the plurality of operators. A method for controlling an information processing apparatus that searches the database in response to the information and transmits a search result to the information terminal, wherein the information processing apparatus receives the database search request from the information terminal, and the information processing apparatus Identifies the business operator to which the person in charge who uses the information terminal that has transmitted the search request belongs based on the search request, and Generates a first search expression for searching for the data of the common item based on the search request, searches for the data of the common item, and the information processing apparatus is transmitted by designating the provider. Based on the search request, a second search expression for searching the individual item data of the designated business operator is generated, the individual item data is searched, and the information processing apparatus searches the common item. And the searched individual item data are combined and transmitted to the information terminal as the search result.

また、本発明による情報処理装置の制御プログラムの好ましい一態様は、複数の事業者の少なくとも1つに所属する担当者に使用される情報端末と接続され、前記複数の事業者で共通する共通項目に分類されるデータを記憶する基本テーブルと前記複数の事業者毎に異なる個別項目に分類されるデータを記憶する拡張テーブルとを含むデータベースを備え、前記情報端末から送信される前記データベースの検索要求に応じて前記データベースを検索し前記情報端末に検索結果を送信する情報処理装置に、前記情報端末から前記データベースの検索要求を受信し、前記検索要求を送信してきた情報端末を使用する担当者が所属する事業者を前記検索要求に基づいて特定する処理と、前記検索要求に基づいて前記共通項目のデータを検索する第1の検索式を生成し、前記共通項目のデータを検索する処理と、前記事業者を指定して送信される前記検索要求に基づいて前記指定された事業者の個別項目のデータを検索する第2の検索式を生成し、前記個別項目のデータを検索する処理と、前記検索した前記共通項目のデータと前記検索した前記個別項目のデータとを結合して前記検索結果として前記情報端末に送信する処理と、を実行させる。   Moreover, a preferable aspect of the control program for the information processing apparatus according to the present invention is a common item that is connected to an information terminal used by a person in charge belonging to at least one of a plurality of business operators and is common to the plurality of business operators. The database search request transmitted from the information terminal, comprising a database that includes a basic table that stores data classified into data and an extended table that stores data classified into individual items different for each of the plurality of operators. The person in charge of using the information terminal that has received the database search request from the information terminal and has transmitted the search request to the information processing apparatus that searches the database according to the information and transmits the search result to the information terminal. A process of specifying a business company to which the user belongs based on the search request, and a first search for data of the common item based on the search request A process for generating a search expression and searching for data of the common item; and a second method of searching for data of individual items of the specified operator based on the search request transmitted by specifying the operator. A process of generating a search expression and searching for data of the individual item, and a process of combining the searched data of the common item and the searched data of the individual item and transmitting the result as the search result to the information terminal And execute.

本発明によれば、データベースを検索する利用者が検索に用いるクエリの保守や更新に要する作業負担を軽減することができるとともにテーブルの拡張性を向上することにある。   According to the present invention, it is possible to reduce a work load required for maintenance and update of a query used by a user who searches a database for search, and to improve the extensibility of a table.

次に、発明を実施するための最良の形態について図面を参照して詳細に説明する。まず第1の実施の形態について説明する。
Next, the best mode for carrying out the invention will be described in detail with reference to the drawings. First, a first embodiment will be described.

図1は本発明の第1の実施の形態における情報処理装置の構成例を示すブロック図である。   FIG. 1 is a block diagram showing a configuration example of an information processing apparatus according to the first embodiment of the present invention.

この情報処理装置は、このデータベースを管理するデータベース管理業者によって管理される。このデータベース管理業者は、このデータベースを利用してサービスを提供する事業者または団体である複数のテナント(特許請求の範囲に記載の事業者に相当する)にデータベースを提供する。各テナントに所属する担当者は情報端末を用いてこのデータベースを独自に拡張して各テナントの顧客であるユーザに関する情報を管理し、または当該情報について検索を行う。   This information processing apparatus is managed by a database management company that manages this database. The database manager provides the database to a plurality of tenants (corresponding to the companies described in the claims) that are businesses or organizations that provide services using the database. The person in charge belonging to each tenant uses the information terminal to independently expand this database to manage information related to users who are customers of each tenant, or search for the information.

図1を参照すると、本発明の第1の実施の形態における情報処理装置は、情報端末110とそれぞれネットワーク10を介して接続され、記憶部120と通信可能に接続されたコンピュータ100である。なお、コンピュータ100と記憶部120とがネットワーク10を介して接続されていてもよい。またコンピュータ100は、記憶部120を含んで構成されていてもよい。また、図1を参照すると情報端末110が2台接続されているが、これに限られることは無く、1台以上の情報端末110とネットワーク10を介し通信可能に接続されていればよい。   Referring to FIG. 1, the information processing apparatus according to the first embodiment of the present invention is a computer 100 that is connected to an information terminal 110 via a network 10 and is connected to a storage unit 120 so as to be communicable. The computer 100 and the storage unit 120 may be connected via the network 10. The computer 100 may be configured to include the storage unit 120. In addition, referring to FIG. 1, two information terminals 110 are connected. However, the present invention is not limited to this, and any information terminal 110 may be connected to one or more information terminals 110 via the network 10.

次にコンピュータ100、情報端末110および記憶部120について詳細に説明する。   Next, the computer 100, the information terminal 110, and the storage unit 120 will be described in detail.

===記憶部120===
まず、記憶部120について説明する。記憶部120は、図1に示すように、少なくとも基本テーブル121及び拡張テーブル122を記憶しているデータベースである。
=== Storage 120 ===
First, the storage unit 120 will be described. As illustrated in FIG. 1, the storage unit 120 is a database that stores at least a basic table 121 and an extension table 122.

<基本テーブル121>
基本テーブル121は、図2に示すようにテーブルの各カラムに値を対応付け、レコード毎に記憶している。各カラムには当該カラムを識別する共通項目名がそれぞれ付されている。図2の例を参照すると、「テナントID」、「ユーザID」、「メールアドレス」、「レコードID」がそれぞれ共通項目名である。さらに基本テーブル121には、各レコードを識別するレコードIDがレコード毎に付されている。図2に示すように各レコードIDを格納するカラムを基本テーブル121に新たに備えていてもよいし、基本テーブル121とは別にインデックスとして記憶部120に備えていてもよい。図2の例を参照すると、共通項目名が「メールアドレス」のカラムには文字列「a@b.c」、「x@y.z」、「l@m.n」、「u@v.w」、「d@e.f」、「j@k.l」、「g@h.i」、「o@p.q」がそれぞれ記憶されている。
<Basic table 121>
As shown in FIG. 2, the basic table 121 associates a value with each column of the table and stores it for each record. Each column has a common item name for identifying the column. Referring to the example of FIG. 2, “tenant ID”, “user ID”, “mail address”, and “record ID” are common item names. Further, the basic table 121 has a record ID for identifying each record for each record. As shown in FIG. 2, a column for storing each record ID may be newly provided in the basic table 121, or may be provided in the storage unit 120 as an index separately from the basic table 121. Referring to the example in FIG. 2, the character string “a @ bc”, “x @ yz”, “l @ mn”, “u @ v” is displayed in the column whose common item name is “mail address”. .W ”,“ d @ ef ”,“ j @ kl ”,“ g @ hi ”, and“ o@p.q ”are stored.

<拡張テーブル122>
拡張テーブル122は、図3に示すように前述の基本テーブル121の各レコードに付されているレコードIDと、個別項目名と値との組と、を対応付けて記憶している。個別項目名は値の属性を示している。拡張テーブル122の各レコードは、当該レコードに含まれるレコードIDが示す基本テーブル121のレコードにおける付加的情報という意味を持つ。
<Extended table 122>
As shown in FIG. 3, the extension table 122 stores record IDs assigned to the records of the basic table 121 and sets of individual item names and values in association with each other. The individual item name indicates a value attribute. Each record of the extension table 122 has the meaning of additional information in the record of the basic table 121 indicated by the record ID included in the record.

図3の例を参照すると、レコードIDが21、個別項目名が「小人人数」、値が「2人」のレコードは、レコードIDが21の基本テーブル121のレコードに「小人人数」が「2人」である情報を付加していることを示している。つまり、基本テーブル121のレコードID21のレコードと拡張テーブル122のレコードIDが21、個別項目名が「小人人数」、値が「2人」のレコードとで仮想的に図4に示すようなレコードを構成しているものとする。   Referring to the example of FIG. 3, a record with a record ID of 21, an individual item name of “number of dwarfs”, and a value of “2 people” has a “number of dwarfs” in the record of the basic table 121 with a record ID of 21 It shows that the information “2 people” is added. That is, a record virtually shown in FIG. 4 with a record of record ID 21 in the basic table 121 and a record ID of 21 in the extension table 122, the individual item name “small number of people”, and the value “2 people”. It shall be comprised.

基本テーブル121に記憶されている各レコードについて、同一のテナントに属するユーザの情報に関するレコード、すなわちテナントを識別するテナントIDが共通であるレコードにそれぞれ対応付けられている各レコードIDには、拡張テーブル122において共通した個別項目名が対応付けられている。例えば、図2の例を参照すると、テナントIDが‘1’であるレコードはレコードIDとして‘11’、‘12’、‘13’および‘14’を持つレコードがある。そして、拡張テーブル122においてレコードID‘11’、‘12’、‘13’および‘14’に対応付けられている個別項目名は「職業」および「DM可否」という共通の個別項目名である。   For each record stored in the basic table 121, each record ID associated with a record related to user information belonging to the same tenant, that is, a record with a common tenant ID for identifying a tenant, includes an extended table. 122, the common individual item names are associated with each other. For example, referring to the example of FIG. 2, a record whose tenant ID is “1” includes records having record IDs “11”, “12”, “13”, and “14”. The individual item names associated with the record IDs “11”, “12”, “13”, and “14” in the extension table 122 are common individual item names “occupation” and “DM availability”.

===情報端末110===
次に、情報端末110について説明する。情報端末110は図1に示すように、少なくとも検索式指定部111および検索結果表示部112を備える。検索式指定部111は検索結果表示部112と接続されている。
=== Information Terminal 110 ===
Next, the information terminal 110 will be described. As shown in FIG. 1, the information terminal 110 includes at least a search formula designation unit 111 and a search result display unit 112. The search expression specifying unit 111 is connected to the search result display unit 112.

<検索式指定部111>
担当者が記憶部120を検索する条件である検索式を指定すると、検索式指定部111は、その指定された検索式をコンピュータ100へ送信する。担当者は、例えば、検索したい条件を示す情報を図示しない入力手段から検索式指定部111に与えることにより記憶部120を検索する検索式を指定することができる。
<Search expression specifying unit 111>
When the person in charge specifies a search expression that is a condition for searching the storage unit 120, the search expression specifying unit 111 transmits the specified search expression to the computer 100. For example, the person in charge can specify a search formula for searching the storage unit 120 by giving information indicating a condition to be searched to the search formula specifying unit 111 from an input unit (not shown).

検索式は、テーブルの検索を行うための問い合わせ文であり、少なくとも1又は複数の検索条件を含むものである。検索条件は、テーブルの検索を実現するための条件を示す情報であり、少なくとも共通項目名または個別項目名を含むものである。   The search expression is an inquiry sentence for searching the table, and includes at least one or a plurality of search conditions. The search condition is information indicating a condition for realizing a table search, and includes at least a common item name or an individual item name.

また検索式は、データベースに対する操作などを示すコマンド文、または検索式に含まれる各検索条件をつなぎ、‘and’や‘or’などの演算を示す演算子をさらに含んでもよい。   The search expression may further include a command statement indicating an operation on the database or an operator indicating an operation such as ‘and’ or ‘or’ by connecting each search condition included in the search expression.

例えば、検索式が「SELECT * WHERE ‘メールアドレス’=‘l@m.n’ OR ‘DM可否’=‘不可’」という文字列であったとすると、「SELECT * WHERE」がコマンド文を示し、「‘メールアドレス’=‘l@m.n’」、「‘DM可否’=‘不可’」がそれぞれ検索条件を示し、「OR」が演算子を示す。また、この検索式は、「‘メールアドレス’が‘l@m.n’であるレコード、または‘DM可否’が‘不可’であるレコードを抽出する」という意味を示している。   For example, if the search expression is a character string “SELECT * WHERE 'e-mail address'='l@m.n' OR 'DM OK / NO' = 'NO'", "SELECT * WHERE" indicates a command statement, “'Mail address” = “l @ mn” ”,“ DM availability ”=“ impossible ”indicate search conditions, and“ OR ”indicates an operator. In addition, this search expression indicates that “records whose“ e-mail address ”is“ l@m.n ”or“ DM availability ”is“ impossible ”are extracted”.

担当者が検索式を指定する他の例として、検索式指定部111が択一的な選択肢を担当者に提示し、担当者がその中から一つを選択して図示しない入力手段から検索式指定部111に与えるようにしてもよい。   As another example in which the person in charge designates a search expression, the search expression designation unit 111 presents alternative choices to the person in charge, and the person in charge selects one of the search expressions from an input means (not shown). You may make it give to the designation | designated part 111. FIG.

検索式指定部111は、担当者によって指定された検索式をコンピュータ100に送信する。そして検索式指定部111は送信した検索式に対応する検索結果をコンピュータ100から取得して検索結果表示部112に与える。   The search formula designation unit 111 transmits the search formula designated by the person in charge to the computer 100. Then, the search formula designation unit 111 acquires a search result corresponding to the transmitted search formula from the computer 100 and gives it to the search result display unit 112.

<検索結果表示部112>
検索結果表示部112は、検索式指定部111から検索結果を受け取り、受け取った検索結果を表示する。
<Search result display unit 112>
The search result display unit 112 receives the search result from the search expression designating unit 111 and displays the received search result.

===コンピュータ100===
次に、コンピュータ100について説明する。コンピュータ100は図1に示すように受信部101、基本領域検索部102、テナント固有拡張領域検索部103a、103bおよびテーブル検索結果マージ部104を備える。
=== Computer 100 ===
Next, the computer 100 will be described. As shown in FIG. 1, the computer 100 includes a receiving unit 101, a basic area search unit 102, a tenant-specific extended area search units 103 a and 103 b, and a table search result merge unit 104.

受信部101は基本領域検索部102とテナント固有拡張領域検索部103a、103bとそれぞれ接続されている。基本領域検索部102は受信部101とテーブル検索結果マージ部104と接続されている。テナント固有拡張領域検索部103a、103bはそれぞれ受信部101とテーブル検索結果マージ部104とそれぞれ接続されている。   The receiving unit 101 is connected to the basic area searching unit 102 and the tenant specific extended area searching units 103a and 103b, respectively. The basic area search unit 102 is connected to the reception unit 101 and the table search result merge unit 104. The tenant specific extension area search units 103a and 103b are connected to the reception unit 101 and the table search result merge unit 104, respectively.

<受信部101>
コンピュータ100が情報端末110から記憶部120を検索する条件である検索式を受け取ると、受信部101は、受け取った検索式からテナントを識別するテナントIDを特定する。例えば、次のような方法によって特定する。テナントIDをあらかじめ検索式に含めて情報端末110が送信し、受信部101が受信した検索式からテナントIDを特定する。上記方法は例示であってこの方法に限られるものではない。
<Receiver 101>
When the computer 100 receives a search formula that is a condition for searching the storage unit 120 from the information terminal 110, the receiving unit 101 specifies a tenant ID for identifying a tenant from the received search formula. For example, it is specified by the following method. The tenant ID is included in the search formula in advance and the information terminal 110 transmits, and the tenant ID is specified from the search formula received by the receiving unit 101. The above method is illustrative and is not limited to this method.

また、受信部101は、当該検索式と前述の特定したテナントIDとを基本領域検索部102に渡すとともに当該検索式を前述の特定したテナントIDが示すテナント固有拡張領域検索部103に渡す。   The receiving unit 101 passes the search formula and the identified tenant ID to the basic area search unit 102 and passes the search formula to the tenant-specific extended area search unit 103 indicated by the identified tenant ID.

各レコードが示すユーザが属するテナントを後述の基本領域検索部102が識別するために、基本テーブル121は、図2に示すように各テナントを識別するテナントIDを格納するカラムをさらに備えていてもよい。または、各レコードのレコードIDと当該レコードが示すユーザが属するテナントのテナントIDとを対応付けて記憶する図示しないテナントID対応テーブルを記憶部120に備えていてもよい。また、この構成に限られることは無く、各レコードが示すユーザが属するテナントが識別できる構成であればよい。   In order for the basic area search unit 102 described later to identify the tenant to which the user indicated by each record belongs, the basic table 121 may further include a column for storing a tenant ID for identifying each tenant as shown in FIG. Good. Alternatively, the storage unit 120 may include a tenant ID correspondence table (not shown) that stores the record ID of each record and the tenant ID of the tenant to which the user indicated by the record belongs. The configuration is not limited to this, and any configuration is possible as long as the tenant to which the user indicated by each record belongs can be identified.

なお、前述のテナントIDの特定においては、次のような方法であってもよい。まず、情報端末110を利用する担当者のユーザIDを当該情報端末110にあらかじめ登録しておく。また、受信部101はあらかじめユーザIDとテナントIDとを対応付けて図5に示すようなユーザID対応テーブル105に記憶しておく。検索式指定部111は、担当者に指定された検索式とともに当該検索式を指定した担当者のユーザIDをコンピュータ100に送信する。そして受信部101は前述のユーザID対応テーブルを用いて受信したユーザIDに対応付けられたテナントIDを特定するようにする。   Note that the following method may be used to specify the tenant ID described above. First, the user ID of the person in charge who uses the information terminal 110 is registered in advance in the information terminal 110. The receiving unit 101 associates the user ID and the tenant ID in advance and stores them in the user ID correspondence table 105 as shown in FIG. The search expression designating unit 111 transmits to the computer 100 the user ID of the person in charge who designated the search expression together with the search expression designated by the person in charge. Then, the receiving unit 101 identifies the tenant ID associated with the received user ID using the above-described user ID correspondence table.

または、受信部101が検索式に含まれる特定の情報からテナントIDを特定するという構成であってもよい。これらは例示であって、これらの構成に限られるものではなく、受信部101がテナントIDを特定できる構成であればよい。   Alternatively, the reception unit 101 may specify a tenant ID from specific information included in the search formula. These are merely examples, and are not limited to these configurations, but may be any configuration as long as the receiving unit 101 can identify the tenant ID.

<基本領域検索部102>
基本領域検索部102は、受信部101から受け取った検索式に含まれる各検索条件において、基本テーブル121に含まれる共通項目名を含む検索条件を用いて基本テーブル121の中から各検索条件を満たすレコードをそれぞれ抽出する。そして、基本領域検索部102は、抽出されたレコードに含まれるレコードIDをテーブル検索結果マージ部104に渡す。
<Basic region search unit 102>
The basic area search unit 102 satisfies each search condition from the basic table 121 using the search condition including the common item name included in the basic table 121 in each search condition included in the search expression received from the reception unit 101. Extract each record. Then, the basic area search unit 102 passes the record ID included in the extracted record to the table search result merge unit 104.

また、基本領域検索部102は、受信部101から受け取ったテナントIDをもつレコードを基本テーブル121から抽出する。そして、基本領域検索部102は、抽出されたレコードを受け取った検索式とともにテーブル検索結果マージ部104に渡す。   Further, the basic area search unit 102 extracts a record having the tenant ID received from the receiving unit 101 from the basic table 121. Then, the basic area search unit 102 passes the extracted record to the table search result merge unit 104 together with the received search formula.

検索条件を用いた検索においては、基本領域検索部102は、受け取った検索式をそのまま利用して検索を実行してもよい。または、次のような方法で実現してもよい。基本領域検索部102は、受け取った検索式のうち基本テーブル121に含まれる共通項目名を含む検索条件を抽出する図示しない変換部をさらに備えておく。そして、前述の変換部が新たな検索式を生成する。基本領域検索部102は前述の変換部で生成された検索式を用いて検索を実行する。または、前述の変換部は基本テーブル121に含まれる共通項目名を含まない検索条件を、恒真を示す情報に変換することで新たな検索式を生成するような構成であってもよい。前述の変換部に、基本テーブル121に含まれる共通項目名を図6に示すような共通項目名対応テーブル106に記憶しておき、基本領域検索部102が、前述の変換部に記憶されている共通項目名が当該検索条件に含まれているか否かに応じて検索条件の抽出を実現するように構成してもよい。これらは例示であって上記の方法に限られるものではない。   In the search using the search condition, the basic area search unit 102 may execute the search using the received search formula as it is. Alternatively, it may be realized by the following method. The basic area search unit 102 further includes a conversion unit (not shown) that extracts a search condition including a common item name included in the basic table 121 from the received search formula. Then, the conversion unit described above generates a new search expression. The basic area search unit 102 executes a search using the search formula generated by the conversion unit described above. Alternatively, the above-described conversion unit may be configured to generate a new search expression by converting a search condition that does not include the common item name included in the basic table 121 into information indicating trueness. The common item names included in the basic table 121 are stored in the common item name correspondence table 106 as shown in FIG. 6 in the conversion unit, and the basic area search unit 102 is stored in the conversion unit. You may comprise so that extraction of search conditions may be implement | achieved according to whether the common item name is contained in the said search conditions. These are examples and are not limited to the methods described above.

<テナント固有拡張領域103>
テナント固有拡張領域検索部103は、テナント毎にそれぞれコンピュータ100に備えられる。テナント固有拡張領域検索部103は、受信部101から検索式を受け取ると、当該検索式に含まれる検索条件毎に拡張テーブル122を検索する。そして、テナント固有拡張領域検索部103は、検索した結果をテーブル検索結果マージ部104に渡す。
<Tenant-specific extension area 103>
The tenant-specific extended area search unit 103 is provided in the computer 100 for each tenant. When the tenant-specific extension area search unit 103 receives the search formula from the reception unit 101, the tenant-specific extension area search unit 103 searches the extension table 122 for each search condition included in the search formula. Then, the tenant-specific extended area search unit 103 passes the search result to the table search result merge unit 104.

検索条件を用いた検索においては、テナント固有拡張領域検索部103は、受け取った検索式をそのまま利用して検索を実行してもよい。または、次のような方法で実現してもよい。テナント固有拡張領域検索部103は、受け取った検索式のうち拡張テーブル122に含まれる個別項目名を含む検索条件を抽出する図示しない変換部をさらに備えておく。そして、前述の変換部が新たな検索式を生成する。テナント固有拡張領域検索部103は前述の変換部で生成された検索式を用いて検索を実行する。または、前述の変換部は拡張テーブル122に含まれる個別項目名を含まない検索条件を、恒真を示す情報に変換することで新たな検索式を生成するような構成であってもよい。前述の変換部に、拡張テーブル122に含まれる個別項目名を図7に示すような個別項目名対応テーブル107に記憶しておき、テナント固有拡張領域検索部103が、前述の変換部に記憶されている個別項目名が当該検索条件に含まれているか否かに応じて検索条件の抽出を実現するように構成してもよい。これらは例示であって上記の方法に限られるものではない。   In the search using the search condition, the tenant-specific extended area search unit 103 may execute the search using the received search formula as it is. Alternatively, it may be realized by the following method. The tenant-specific extended area search unit 103 further includes a conversion unit (not shown) that extracts a search condition including an individual item name included in the extension table 122 from the received search formula. Then, the conversion unit described above generates a new search expression. The tenant-specific extended area search unit 103 executes a search using the search formula generated by the conversion unit described above. Alternatively, the above-described conversion unit may be configured to generate a new search expression by converting a search condition that does not include an individual item name included in the extension table 122 into information indicating trueness. The individual item names included in the extension table 122 are stored in the individual item name correspondence table 107 as shown in FIG. 7 in the conversion unit, and the tenant-specific extension area search unit 103 is stored in the conversion unit. The search condition may be extracted depending on whether or not the individual item name is included in the search condition. These are examples and are not limited to the methods described above.

本実施の形態においてはテナントの数が2の場合を示す。この場合、コンピュータ100にはテナントID‘1’に対応するテナント固有拡張領域検索部103aとテナントID‘2’に対応するテナント固有拡張領域検索部103bとを備える。本実施の形態においてはテナントの数が2の場合を示すが、テナントの数はこれに限られるものではなく少なくとも1つあればいくつであってもよい。   In the present embodiment, a case where the number of tenants is two is shown. In this case, the computer 100 includes a tenant-specific extended area search unit 103a corresponding to the tenant ID “1” and a tenant-specific extended area search unit 103b corresponding to the tenant ID “2”. In this embodiment, a case where the number of tenants is two is shown, but the number of tenants is not limited to this, and any number of tenants may be used.

また、テナント固有拡張領域検索部103は、後述のテーブル検索結果マージ部104からレコードIDを受け取ると、そのレコードIDを持つレコードを拡張テーブル122から抽出し、抽出したレコードをテーブル検索結果マージ部104に渡す。   When the tenant-specific extended area search unit 103 receives a record ID from a table search result merge unit 104 described later, the tenant-specific extended region search unit 103 extracts a record having the record ID from the extension table 122 and extracts the extracted record into the table search result merge unit 104 To pass.

<テーブル検索結果マージ部104>
テーブル検索結果マージ部104は、基本領域検索部102からは検索式と検索結果とレコードIDとを、テナント固有拡張領域検索部103からは検索結果を、それぞれ受け取る。次にテーブル検索結果マージ部104は受け取ったレコードIDを、検索結果を渡してきたテナント固有拡張領域検索部103に渡す。次にテーブル検索結果マージ部104はテナント固有拡張領域検索部103から前述のレコードIDに対応付けられているレコードを受け取る。次に、テーブル検索結果マージ部104は基本領域検索部102から受け取った検索式に基づいてそれぞれ受け取った検索結果をマージする。次にテーブル検索結果マージ部104はコンピュータ100に検索式を送信してきた情報端末110に、マージしたレコードを送信する。
<Table search result merge unit 104>
The table search result merging unit 104 receives a search expression, a search result, and a record ID from the basic area search unit 102, and a search result from the tenant-specific extended area search unit 103. Next, the table search result merge unit 104 passes the received record ID to the tenant-specific extended area search unit 103 that has passed the search result. Next, the table search result merging unit 104 receives a record associated with the record ID described above from the tenant-specific extended area search unit 103. Next, the table search result merge unit 104 merges the received search results based on the search formula received from the basic area search unit 102. Next, the table search result merge unit 104 transmits the merged record to the information terminal 110 that has transmitted the search expression to the computer 100.

各検索結果がどの検索条件を用いて検索された結果かを識別できるように、例えば、基本領域検索部102およびテナント固有拡張領域検索部103はレコードID又は検索結果をテーブル検索結果マージ部104に渡す際に、当該検索結果を得るために用いられた検索条件と対応付けて渡してもよい。上記は例示であってこの方法に限られるものではない。   For example, the basic area search unit 102 and the tenant-specific extended area search unit 103 store the record ID or search result in the table search result merge unit 104 so that each search result can be identified using which search condition. When handing over, it may be passed in association with the search conditions used to obtain the search result. The above is an example and is not limited to this method.

マージの手順は以下の通りである。初めにテーブル検索結果マージ部104は基本領域検索部102から受け取ったレコードIDを、検索結果を送ってきたテナント固有拡張領域検索部103に渡す。テナント固有拡張領域検索部103は受け取ったレコードIDを持つレコードを抽出して、抽出されたレコードをテーブル検索結果マージ部104に渡す。テーブル検索結果マージ部104はテナント固有拡張領域検索部103から受け取ったレコードと前述のレコードIDに対応付けられていた検索条件とを新たに対応付け、当該検索条件を用いて検索して得られた結果を前述のレコードとみなす。   The merge procedure is as follows. First, the table search result merge unit 104 passes the record ID received from the basic region search unit 102 to the tenant-specific extended region search unit 103 that has sent the search result. The tenant-specific extended area search unit 103 extracts a record having the received record ID, and passes the extracted record to the table search result merge unit 104. The table search result merge unit 104 is obtained by newly associating the record received from the tenant-specific extended area search unit 103 with the search condition associated with the above-described record ID and performing a search using the search condition. The result is regarded as the aforementioned record.

次に、検索式に含まれる検索条件と各検索条件をつなぐ演算子に基づいてレコードIDの抽出を行う。以下、‘A’、‘B’をそれぞれ検索条件とする。検索条件‘A’によって得られた検索結果に含まれるレコードIDと検索条件‘B’によって得られた検索結果に含まれるレコードIDとの論理積を取り、得られたレコードIDが示すレコードを検索条件‘A and B’を検索したときの検索結果とする。また、検索条件‘A’によって得られた検索結果に含まれるレコードIDと検索条件‘B’によって得られた検索結果に含まれるレコードIDとの論理和を取り、得られたレコードIDが示すレコードを検索条件‘A or B’を検索したときの検索結果とする。この操作を、受け取った検索式を基に繰り返して行う。   Next, a record ID is extracted based on a search condition included in the search expression and an operator connecting each search condition. Hereinafter, ‘A’ and ‘B’ are used as search conditions, respectively. The record ID included in the search result obtained by the search condition 'A' and the record ID included in the search result obtained by the search condition 'B' are obtained, and the record indicated by the obtained record ID is searched. The search result when the condition “A and B” is searched is used. In addition, the record ID indicated by the record ID obtained by calculating the logical sum of the record ID included in the search result obtained by the search condition 'A' and the record ID included in the search result obtained by the search condition 'B'. Is the search result when the search condition 'A or B' is searched. This operation is repeated based on the received search expression.

次に、上記手順で得られた検索結果と、基本領域検索部102から受け取った、テナントIDを基に検索した検索結果と、を結合する。結合方法は、それぞれの検索結果中のレコードIDを持つレコード同士を結合することで実現する。   Next, the search result obtained in the above procedure is combined with the search result retrieved from the basic area search unit 102 based on the tenant ID. The combining method is realized by combining records having record IDs in the respective search results.

最後に、マージしたレコードを出力する。   Finally, output the merged record.

次に、上記構成例の動作について説明する。   Next, the operation of the above configuration example will be described.

図8は、本発明の第1の実施の形態の動作の概要を示すシーケンス図である。   FIG. 8 is a sequence diagram showing an outline of the operation of the first exemplary embodiment of the present invention.

まず、担当者は、情報端末110内の検索式指定部111により検索式を指定する。検索式指定部111は、指定された検索式をコンピュータ100に送信する(ステップS1001)。受信部101は、コンピュータ100が受け取った検索式からテナントIDを特定し、受け取った検索式と特定されたテナントIDとを基本領域検索部102に渡す(ステップS1002)とともに、特定されたテナントIDに対応するテナント固有拡張領域検索部103に受け取った検索式を渡す(ステップS1003)。   First, the person in charge designates a search expression by the search expression specifying unit 111 in the information terminal 110. The search formula designating unit 111 transmits the designated search formula to the computer 100 (step S1001). The receiving unit 101 specifies a tenant ID from the search formula received by the computer 100, passes the received search formula and the specified tenant ID to the basic area search unit 102 (step S1002), and assigns the specified tenant ID to the specified tenant ID. The received search expression is passed to the corresponding tenant-specific extended area search unit 103 (step S1003).

基本領域検索部102は、受け取った検索式に含まれる検索条件のうち基本テーブル121に含まれる共通項目名を含む検索条件を用いて基本テーブル121の検索を行い、検索結果に含まれるレコードIDをテーブル検索結果マージ部104に渡す(ステップS1004)とともに受け取ったテナントIDを持つレコードを基本テーブル121から検索し、検索結果と受け取った検索式とをテーブル検索結果マージ部104に渡す(ステップS1005)。テナント固有拡張領域検索部103は、受信部101から検索式を受け取ると、受け取った検索式に含まれる検索条件毎に拡張テーブル122を検索し、検索結果をそれぞれテーブル検索結果マージ部104に渡す(ステップS1006)。   The basic area search unit 102 searches the basic table 121 using the search condition including the common item name included in the basic table 121 among the search conditions included in the received search expression, and obtains the record ID included in the search result. A record having the received tenant ID is retrieved from the basic table 121 together with the table search result merge unit 104 (step S1004), and the search result and the received search expression are delivered to the table search result merge unit 104 (step S1005). Upon receiving the search expression from the receiving unit 101, the tenant-specific extended area search unit 103 searches the extension table 122 for each search condition included in the received search expression, and passes the search results to the table search result merge unit 104 ( Step S1006).

次に、テーブル検索結果マージ部104は、基本領域検索部102から検索式と検索結果とレコードIDとを、テナント固有拡張領域検索部103から検索結果を、それぞれ受け取り、マージを行う。さらにテーブル検索結果マージ部104は、ステップS1001にて検索式を送信してきた情報端末110にマージした結果を送信する(ステップS1007)。次に、検索式指定部111はコンピュータ100から検索結果を受け取り、検索結果表示部112に渡す。検索結果表示部112は、検索式指定部111から検索結果を受け取り、その検索結果を表示する(ステップS1008)。   Next, the table search result merging unit 104 receives the search formula, the search result, and the record ID from the basic area search unit 102, and the search result from the tenant-specific extended area search unit 103, and performs merging. Furthermore, the table search result merging unit 104 transmits the result of merging to the information terminal 110 that has transmitted the search formula in step S1001 (step S1007). Next, the search expression specifying unit 111 receives the search result from the computer 100 and passes it to the search result display unit 112. The search result display unit 112 receives the search result from the search formula designating unit 111 and displays the search result (step S1008).

第1の実施の形態では、情報端末110から送信され、共通項目名または個別項目名を含む検索式から、基本領域検索部102が検索式に含まれる検索条件毎に基本テーブル121を、テナント固有拡張領域検索部103が検索式に含まれる検索条件毎に拡張テーブル122を、それぞれ検索し、テーブル検索結果マージ部104がそれぞれの検索結果をマージする。担当者は検索式に含まれる共通項目名又は個別項目名が基本テーブル121に含まれているか拡張テーブル122に含まれているかを意識することなく検索を行うことが可能となる。なぜなら基本領域検索部101およびテナント固有拡張領域検索部103がそれぞれ検索条件毎に共通項目名を含むか否か、又は個別項目名を含むか否か判定し、判定の結果に応じた検索式を生成して検索を行うからである。また、担当者が検索の際に指定するクエリには各カラムが属するテーブルを指定する必要はないので、テーブル構造が変化されても、その変化に応じてクエリを変更する必要が無くなり、クエリの保守作業負担を低減することができる。   In the first embodiment, from the search formula transmitted from the information terminal 110 and including the common item name or individual item name, the basic area search unit 102 sets the basic table 121 for each search condition included in the search formula. The extended area search unit 103 searches the extended table 122 for each search condition included in the search formula, and the table search result merge unit 104 merges the search results. The person in charge can perform a search without being aware of whether the common item name or individual item name included in the search formula is included in the basic table 121 or the extended table 122. Because it is determined whether the basic area search unit 101 and the tenant-specific extended area search unit 103 include a common item name or an individual item name for each search condition, and a search formula corresponding to the determination result is determined. This is because they are generated and searched. In addition, since it is not necessary to specify the table to which each column belongs in the query specified by the person in charge when searching, even if the table structure changes, there is no need to change the query according to the change. Maintenance work burden can be reduced.

また、このような構成によれば、新たなテナントを追加する際に、テナント固有拡張領域検索部103を新たにコンピュータ100に備えることで、新たなテナントに所属する担当者はシステムが使用可能となり、テナントを増やす拡張作業負担を低減することができる。このテナント追加時においても既存のテナントにおける検索方法を変更する必要が無い。なぜなら、テナント毎にテーブルを検索するテナント固有拡張領域検索部103をコンピュータ100に備え、各テナント固有拡張領域検索部103はそれぞれが当該テナントの個別項目を検索する検索式を生成しているからである。   Further, according to such a configuration, when a new tenant is added, the system can be used by a person in charge belonging to the new tenant by providing the computer 100 with the tenant-specific extension area search unit 103 newly. Increase the tenant, can reduce the burden of expansion work. Even when this tenant is added, there is no need to change the search method in the existing tenant. This is because the tenant-specific extended area search unit 103 that searches the table for each tenant is provided in the computer 100, and each tenant-specific extended area search unit 103 generates a search expression for searching for an individual item of the tenant. is there.

第1の実施の形態において、基本領域検索部102は検索条件を基に検索した検索結果に含まれるレコードIDの代わりに当該検索結果のレコードをテーブル検索結果マージ部104に送るようにし、テーブル検索結果マージ部104は受け取ったレコードに含まれるレコードIDを、検索結果を送ってきたテナント固有拡張領域検索部103に渡すようにしてもよい。   In the first embodiment, the basic area search unit 102 sends a record of the search result to the table search result merge unit 104 instead of the record ID included in the search result searched based on the search condition. The result merge unit 104 may pass the record ID included in the received record to the tenant-specific extended area search unit 103 that has sent the search result.

次に第2の実施の形態について説明する。   Next, a second embodiment will be described.

図9は本発明の第2の実施の形態における情報処理装置の構成例を示すブロック図である。   FIG. 9 is a block diagram showing a configuration example of the information processing apparatus according to the second embodiment of the present invention.

図9を参照すると、本発明の第2の実施の形態における情報処理装置は、情報端末110とそれぞれネットワーク10を介して接続され、記憶部220と通信可能に接続されたコンピュータ200である。なお、コンピュータ200と記憶部220とがネットワーク10を介して接続されていてもよい。またコンピュータ200は、記憶部220を含んで構成されていてもよい。また、図9を参照すると情報端末110が2台接続されているが、これに限られることは無く、1台以上の情報端末110とネットワーク10を介し通信可能に接続されていればよい。ここでは第2の実施の形態の第1の実施の形態と異なる点のみを説明し、同様の構成については、同様の符号を付して説明を省略する。   Referring to FIG. 9, the information processing apparatus according to the second exemplary embodiment of the present invention is a computer 200 that is connected to the information terminal 110 via the network 10 and is connected to the storage unit 220 so as to be communicable. The computer 200 and the storage unit 220 may be connected via the network 10. The computer 200 may be configured to include the storage unit 220. 9, two information terminals 110 are connected. However, the present invention is not limited to this, and any information terminal 110 may be connected to one or more information terminals 110 via the network 10. Here, only the differences of the second embodiment from the first embodiment will be described, and the same components are denoted by the same reference numerals and the description thereof is omitted.

===記憶部220===
記憶部220について説明する。記憶部220は、図9に示すように少なくとも基本テーブル221および拡張テーブル122を記憶している。拡張テーブル122は第1の実施の形態における拡張テーブル122と同様である。
=== Storage 220 ===
The storage unit 220 will be described. As shown in FIG. 9, the storage unit 220 stores at least a basic table 221 and an extension table 122. The extension table 122 is the same as the extension table 122 in the first embodiment.

<基本テーブル221>
基本テーブル221は、図10に示すように第1の実施の形態における基本テーブル121の構成において、各カラムには当該カラムを識別する共通項目名又は拡張項目名が付されている点が異なる。
<Basic table 221>
As shown in FIG. 10, the basic table 221 is different from the basic table 121 in the first embodiment in that each column is given a common item name or an extended item name for identifying the column.

共通項目名は各カラムを識別するとともに当該カラムに記憶されている値の属性を示している。拡張項目名は各カラムを識別するためのものである。また、各拡張項目名は後述の領域名対応テーブル208にそれぞれ個別項目名と対応付けられて記憶されている。例えば図10の例を参照すると、各カラムを識別するとともに当該カラムに記憶されている値の属性を示す「ユーザID」および「メールアドレス」が共通項目名、各カラムを識別する「拡張領域1」、「拡張領域2」および「拡張領域3」が拡張項目名となる。   The common item name identifies each column and indicates the attribute of the value stored in the column. The extension item name is for identifying each column. Each extended item name is stored in the region name correspondence table 208 described later in association with the individual item name. For example, referring to the example of FIG. 10, “user ID” and “email address” that identify each column and indicate the attribute of the value stored in the column are common item names, and “extended region 1” identifies each column. "," Extended area 2 "and" extended area 3 "are the extension item names.

拡張項目名で識別されるカラムには、テナント毎に異なる属性の値が記憶される。例えば、テナントIDが‘1’のレコードにおいては、「拡張領域2」のカラムに「500万円台」、「700万円台」という数量を示す文字列が、テナントIDが‘2’のレコードにおいては、「拡張領域2」のカラムに「一戸建て」、「集合住宅」という居住形態を示す文字列が、それぞれ記憶されている。   The column identified by the extension item name stores attribute values that differ for each tenant. For example, in the record with the tenant ID “1”, the character string indicating the quantity “5 million yen” or “7 million yen” in the column “extension area 2” is the record with the tenant ID “2”. In the “extension area 2” column, character strings indicating the residence forms of “detached house” and “condominium” are stored.

===コンピュータ200===
次にコンピュータ200について説明する。コンピュータ200は、第1の実施の形態におけるコンピュータ100に含まれるテナント固有拡張領域検索部103a、103bを、テナント固有拡張領域検索部203a、203bにそれぞれ置き換えた点でコンピュータ100と異なる。テナント固有拡張領域検索部203a、203bはそれぞれ受信部101とテーブル検索結果マージ部104とそれぞれ接続されている。
=== Computer 200 ===
Next, the computer 200 will be described. The computer 200 is different from the computer 100 in that the tenant-specific extended area search units 103a and 103b included in the computer 100 in the first embodiment are replaced with tenant-specific extended area search units 203a and 203b, respectively. The tenant-specific extended area search units 203a and 203b are connected to the receiving unit 101 and the table search result merge unit 104, respectively.

<テナント固有拡張検索部203>
テナント固有拡張領域検索部203は、テナント毎にそれぞれコンピュータ100に備えられる。テナント固有拡張領域検索部203は、受信部101から検索式を受け取ると、領域名対応テーブル208を用いて当該検索式に含まれる検索条件毎に基本テーブル221または拡張テーブル122を検索するか判定したうえで判定の結果に応じたテーブルを検索し、検索した結果をテーブル検索結果マージ部104に渡す。前述の判定は、受け取った検索式に含まれる各検索条件について、当該検索条件に含まれる個別項目名が領域名対応テーブル208に含まれているか否かによって行う。
<Tenant-specific extended search unit 203>
The tenant-specific extended area search unit 203 is provided in the computer 100 for each tenant. Upon receiving the search expression from the receiving unit 101, the tenant-specific extended area search unit 203 uses the area name correspondence table 208 to determine whether to search the basic table 221 or the extension table 122 for each search condition included in the search expression. Then, a table corresponding to the determination result is searched, and the search result is passed to the table search result merge unit 104. The above-described determination is performed for each search condition included in the received search expression based on whether or not the individual item name included in the search condition is included in the area name correspondence table 208.

領域名対応テーブル208は、各テナント固有拡張領域検索部203に備えられ、個別項名と拡張項目名とを対応付けて記憶するものである。図11は、テナント固有拡張領域検索部203a、203bにそれぞれ備えられている領域名対応テーブル208a、208bをそれぞれ示している。テナント固有拡張領域検索部203は、受け取った検索式に含まれる各検索条件について、当該検索条件に含まれる個別項目名が領域名対応テーブル208に含まれているか否か調べる。含まれている場合にはテナント固有拡張領域検索部203は前述の検索条件に含まれる個別項目名を当該個別項目名に対応付けられている拡張項目名で置換する。そして、テナント固有拡張領域検索部203は当該拡張項目名に置換された検索条件を用いて、当該検索条件を満たすレコードを基本テーブル221から抽出する。さらにテナント固有拡張領域検索部203は、抽出されたレコードに含まれるレコードIDを持つレコードを拡張テーブル122から抽出し、拡張テーブル122から抽出されたレコードをテーブル検索結果マージ部104に渡す。   The area name correspondence table 208 is provided in each tenant-specific extension area search unit 203 and stores individual item names and extension item names in association with each other. FIG. 11 shows area name correspondence tables 208a and 208b provided in the tenant-specific extended area search units 203a and 203b, respectively. For each search condition included in the received search formula, the tenant-specific extended area search unit 203 checks whether or not the individual item name included in the search condition is included in the area name correspondence table 208. If it is included, the tenant-specific extended area search unit 203 replaces the individual item name included in the search condition with the extended item name associated with the individual item name. Then, the tenant-specific extension area search unit 203 extracts records satisfying the search condition from the basic table 221 using the search condition replaced with the extension item name. Further, the tenant-specific extended area search unit 203 extracts a record having a record ID included in the extracted record from the extension table 122 and passes the record extracted from the extension table 122 to the table search result merge unit 104.

一方、受け取った検索式に含まれる各検索条件について、当該検索条件に含まれる個別項目名が領域名対応テーブル208に含まれていない場合にはテナント固有拡張領域検索部203は当該検索条件を満たすレコードを拡張テーブル122から抽出する。そして、テナント固有拡張領域検索部203は拡張テーブル122から抽出されたレコードをテーブル検索結果マージ部104に渡す。   On the other hand, for each search condition included in the received search expression, if the individual item name included in the search condition is not included in the area name correspondence table 208, the tenant-specific extended area search unit 203 satisfies the search condition. Records are extracted from the expansion table 122. Then, the tenant-specific extension area search unit 203 passes the record extracted from the extension table 122 to the table search result merge unit 104.

第2の実施の形態では、第1の実施の形態と同様の効果を奏する。   The second embodiment has the same effect as the first embodiment.

次に第3の実施の形態について説明する。   Next, a third embodiment will be described.

図12は本発明の第3の実施の形態における情報処理装置の構成例を示すブロック図である。   FIG. 12 is a block diagram showing a configuration example of an information processing apparatus according to the third embodiment of the present invention.

図12を参照すると、本発明の第3の実施の形態における情報処理装置は、情報端末110とそれぞれネットワーク10を介して接続され、記憶部220と通信可能に接続されたコンピュータ300である。なお、コンピュータ300と記憶部220とがネットワーク10を介して接続されていてもよい。またコンピュータ300は、記憶部220を含んで構成されていてもよい。また、図12を参照すると情報端末110が2台接続されているが、これに限られることは無く、1台以上の情報端末110とネットワーク10を介し通信可能に接続されていればよい。ここでは第3の実施の形態の第2の実施の形態と異なる点のみを説明し、同様の構成については、同様の符号を付して説明を省略する。   Referring to FIG. 12, the information processing apparatus according to the third exemplary embodiment of the present invention is a computer 300 that is connected to the information terminal 110 via the network 10 and is connected to the storage unit 220 so as to be communicable. The computer 300 and the storage unit 220 may be connected via the network 10. The computer 300 may be configured to include the storage unit 220. Referring to FIG. 12, two information terminals 110 are connected. However, the present invention is not limited to this, and any information terminal 110 may be connected to one or more information terminals 110 via the network 10. Here, only the differences of the third embodiment from the second embodiment will be described, and the same components are denoted by the same reference numerals and the description thereof is omitted.

===コンピュータ300===
コンピュータ300について説明する。コンピュータ300は、第2の実施の形態におけるコンピュータ200に含まれるテナント固有拡張領域検索部203a、203bを、テナント固有拡張領域検索部303に置き換えた点、および受信部101を受信部301に置き換えた点でコンピュータ200と異なる。テナント固有拡張領域検索部303はそれぞれ受信部301とテーブル検索結果マージ部104とそれぞれ接続されている。受信部301は基本領域検索部102とテナント固有拡張領域検索部303とそれぞれ接続されている。
=== Computer 300 ===
The computer 300 will be described. The computer 300 replaces the tenant-specific extended area search units 203a and 203b included in the computer 200 in the second embodiment with a tenant-specific extended area search unit 303, and replaces the receiving unit 101 with the receiving unit 301. This differs from the computer 200 in that respect. The tenant specific extension area search unit 303 is connected to the reception unit 301 and the table search result merge unit 104, respectively. The reception unit 301 is connected to the basic area search unit 102 and the tenant-specific extension area search unit 303, respectively.

<受信部301>
受信部301は、受信部101の構成において、情報端末110から受け取った検索式を受信部101が特定したテナントIDが示すテナント固有拡張領域検索部に渡す代わりに、情報端末110から受け取った検索式と受信部301が特定したテナントIDとをテナント固有拡張領域検索部303に渡すという点が受信部101と異なる。
<Receiving unit 301>
The receiving unit 301 receives the search formula received from the information terminal 110 instead of passing the search formula received from the information terminal 110 to the tenant-specific extended area search unit indicated by the tenant ID specified by the receiving unit 101 in the configuration of the receiving unit 101. And the tenant ID specified by the reception unit 301 is different from the reception unit 101 in that the tenant ID is passed to the tenant-specific extension area search unit 303.

<テナント固有拡張領域検索部303>
テナント固有拡張領域検索部303は、受信部301から検索式とテナントIDとを受け取ると、領域名対応テーブル308を用いて当該検索式に含まれる検索条件毎に基本テーブル221または拡張テーブル122を検索するか判定したうえで判定の結果に応じたテーブルを検索し、検索した結果をテーブル検索結果マージ部104に渡す。前述の判定は、受け取った検索式に含まれる各検索条件について、当該検索条件に含まれる個別項目名と受け取ったテナントIDとが対応付けられて領域名対応テーブル308に含まれているか否かによって行う。
<Tenant-specific extended area search unit 303>
Upon receiving the search expression and the tenant ID from the receiving unit 301, the tenant-specific extended area search unit 303 searches the basic table 221 or the extension table 122 for each search condition included in the search expression using the area name correspondence table 308. After determining whether to perform the search, a table corresponding to the determination result is searched, and the search result is passed to the table search result merge unit 104. The above determination is based on whether or not the individual item name included in the search condition and the received tenant ID are associated with each search condition included in the received search expression and included in the area name correspondence table 308. Do.

領域名対応テーブル308は、テナント固有拡張領域検索部303に備えられ、個別項名と拡張項目名とテナントIDとを対応付けて記憶するものである。図13は、テナント固有拡張領域検索部303に備えられている領域名対応テーブル308を示している。テナント固有拡張領域検索部303は、受け取った検索式に含まれる各検索条件について、当該検索条件に含まれる個別項目名が受け取ったテナントIDと対応付けられて領域名対応テーブル308に記憶されているか否か調べる。記憶されている場合にはテナント固有拡張領域検索部303は前述の検索条件に含まれる個別項目名を当該個別項目名に対応付けられている拡張項目名で置換する。そして、テナント固有拡張領域検索部303は当該拡張項目名に置換された検索条件を用いて、当該検索条件を満たすレコードを基本テーブル221から抽出する。さらにテナント固有拡張領域検索部303は、抽出されたレコードに含まれるレコードIDを持つレコードを拡張テーブル122から抽出し、拡張テーブル122から抽出されたレコードをテーブル検索結果マージ部104に渡す。   The area name correspondence table 308 is provided in the tenant-specific extended area search unit 303 and stores individual item names, extended item names, and tenant IDs in association with each other. FIG. 13 shows an area name correspondence table 308 provided in the tenant-specific extended area search unit 303. Whether the tenant-specific extended area search unit 303 stores, for each search condition included in the received search expression, the individual item name included in the search condition in association with the received tenant ID in the area name correspondence table 308. Check whether or not. If stored, the tenant-specific extended area search unit 303 replaces the individual item name included in the search condition with the extended item name associated with the individual item name. Then, the tenant-specific extension area search unit 303 extracts records satisfying the search condition from the basic table 221 using the search condition replaced with the extension item name. Further, the tenant-specific extended area search unit 303 extracts a record having a record ID included in the extracted record from the extended table 122 and passes the record extracted from the extended table 122 to the table search result merge unit 104.

一方、受け取った検索式に含まれる各検索条件について、当該検索条件に含まれる個別項目名が受け取ったテナントIDと対応付けられて領域名対応テーブル208に記憶されていない場合には、テナント固有拡張領域検索部303は当該検索条件を満たすレコードを拡張テーブル122から抽出する。そして、テナント固有拡張領域検索部303は拡張テーブル122から抽出されたレコードをテーブル検索結果マージ部104に渡す。   On the other hand, for each search condition included in the received search expression, if the individual item name included in the search condition is not stored in the area name correspondence table 208 in association with the received tenant ID, the tenant-specific extension The area search unit 303 extracts records satisfying the search condition from the extension table 122. Then, the tenant-specific extension area search unit 303 passes the record extracted from the extension table 122 to the table search result merge unit 104.

第3の実施の形態では、テナント固有拡張領域検索部303がテナントIDを受け取り、テナント固有拡張領域検索部303に備えられている領域名対応テーブル308を基に受け取ったテナントIDに対応付けられた個別項目名および拡張項目名と受け取った検索式とから新たな検索式を生成する。テナント固有拡張領域検索部303はこの検索式を用いて検索を行う。担当者は検索式に含まれる共通項目名又は個別項目名が基本テーブル121に含まれているか拡張テーブル122に含まれているかを意識することなく検索を行うことが可能となる。   In the third embodiment, the tenant-specific extension area search unit 303 receives the tenant ID and is associated with the received tenant ID based on the area name correspondence table 308 provided in the tenant-specific extension area search unit 303. A new search expression is generated from the individual item name and the extended item name and the received search expression. The tenant-specific extended area search unit 303 performs a search using this search formula. The person in charge can perform a search without being aware of whether the common item name or individual item name included in the search formula is included in the basic table 121 or the extended table 122.

また、このような構成によれば、新たなテナントを追加する際に、テナント固有拡張領域検索部303に備えられている領域名対応テーブル308を更新することで、システムが使用可能となり、テナントを増やす拡張作業負担を低減することができる。このテナント追加時においても既存のテナントにおける検索方法を変更する必要が無い。なぜなら、領域名対応テーブル308はテナント毎に検索式を生成するための情報として拡張項目名と個別項目名とを対応付けて記憶し、テナント固有拡張領域検索部303はこの領域名対応テーブル308に基づいて各テナントの個別項目を検索する検索式を生成しているからである。   Further, according to such a configuration, when a new tenant is added, the system can be used by updating the area name correspondence table 308 provided in the tenant-specific extension area search unit 303, and the tenant can be used. Increased expansion work burden can be reduced. Even when this tenant is added, there is no need to change the search method in the existing tenant. This is because the area name correspondence table 308 stores the extended item name and the individual item name in association with each other as information for generating a search expression for each tenant, and the tenant-specific extended area search unit 303 stores the area name correspondence table 308 in the area name correspondence table 308. This is because a search expression for searching for individual items of each tenant is generated based on the search results.

次に第4の実施の形態について説明する。第4の実施の形態は第1の実施の形態を、具体例を用いて詳細に説明するものである。   Next, a fourth embodiment will be described. In the fourth embodiment, the first embodiment will be described in detail using a specific example.

情報端末110は、少なくとも中央演算装置(CPU)、メモリおよびネットワークインタフェースを備えるパーソナル・コンピュータであり、入力手段としてキーボード又はマウスを、表示手段としてディスプレイを備える。また、パーソナル・コンピュータ内のCPUは、メモリ上に展開されたプログラムを解釈実行することにより、図1に示すような、検索式指定部111および検索結果表示部112として機能する。   The information terminal 110 is a personal computer including at least a central processing unit (CPU), a memory, and a network interface, and includes a keyboard or a mouse as input means and a display as display means. Further, the CPU in the personal computer functions as a search expression specifying unit 111 and a search result display unit 112 as shown in FIG. 1 by interpreting and executing a program developed on the memory.

コンピュータ100は、サーバ装置であり、少なくともCPU、メモリおよびネットワークインタフェースを備える。フレキシブルディスクやCD−ROMなどのコンピュータで読み取り可能な記録媒体を読み取るための読取装置や、磁気記憶装置を備えていてもよい。コンピュータ100は、ネットワークインタフェースから受信したプログラムコードをメモリ上に展開し、あるいは、CD−ROM又は磁気記憶装置などに記憶されたプログラムコードを読み出してメモリ上に展開し、展開されたプログラムコードをCPUが解釈実行することで図1に示すような受信部101、基本領域検索部102、テナント固有拡張領域検索部103およびテーブル検索結果マージ部104として各種機能を実現するコンピュータとして動作する。   The computer 100 is a server device and includes at least a CPU, a memory, and a network interface. A reading device for reading a computer-readable recording medium such as a flexible disk or a CD-ROM, or a magnetic storage device may be provided. The computer 100 expands the program code received from the network interface on the memory, or reads out the program code stored in the CD-ROM or the magnetic storage device and expands the expanded program code on the memory. 1 operates as a computer that realizes various functions as the receiving unit 101, the basic area searching unit 102, the tenant-specific extended area searching unit 103, and the table search result merging unit 104 as shown in FIG.

磁気記憶装置には、図5で示すように担当者を識別するユーザIDとテナントを識別するテナントIDとが対応付けられて記憶されている。また、磁気記憶装置には、図6で示すように基本テーブル121に含まれている共通項目名が共通項目名対応テーブル106として、図7で示すように拡張テーブル122に含まれている個別項目名が個別項目名対応テーブル107として記憶されている。   In the magnetic storage device, as shown in FIG. 5, a user ID for identifying a person in charge and a tenant ID for identifying a tenant are stored in association with each other. Further, in the magnetic storage device, the common item names included in the basic table 121 as shown in FIG. 6 are used as the common item name correspondence table 106, and the individual items included in the extension table 122 as shown in FIG. The names are stored as the individual item name correspondence table 107.

記憶部120はいわゆる記憶装置であり、少なくともネットワークインタフェースおよび磁気記憶装置を備える。磁気記憶装置には、図2および図3に示すような基本テーブル121と拡張テーブル122とがそれぞれ記憶されている。   The storage unit 120 is a so-called storage device, and includes at least a network interface and a magnetic storage device. The magnetic storage device stores a basic table 121 and an extension table 122 as shown in FIGS.

今、テナントID‘1’のテナントに所属する担当者は、メールアドレスが‘l@m.n’であるユーザ又はDM可否が‘不可’であるテナントID‘1’のテナントのユーザの情報を取得したいとする。   The person in charge belonging to the tenant with the tenant ID “1” has an e-mail address of “l @ m. Suppose that it is desired to obtain information on a user who is “n” or a tenant with a tenant ID “1” whose DM availability is “impossible”.

まず、担当者によって情報端末110のキーボードなどの入力手段が操作され、プログラムが起動される。すなわち、情報端末110のメモリ上にプログラムが展開され、CPUがそのプログラムを解釈実行する。CPUは情報端末110の備えるディスプレイに検索式を指定させるための映像を表示し、担当者からの入力を待つ。担当者はキーボード又はマウスなどの入力手段により検索式および担当者のユーザIDを指定する。本実施の形態では検索式として、「SELECT * WHERE ‘メールアドレス’=‘l@m.n’ OR ‘DM可否’=‘不可’」が、ユーザIDとして‘10000’が、それぞれ指定されたとする。   First, an input means such as a keyboard of the information terminal 110 is operated by the person in charge, and the program is started. That is, a program is developed on the memory of the information terminal 110, and the CPU interprets and executes the program. The CPU displays a video for specifying a search expression on the display of the information terminal 110 and waits for input from the person in charge. The person in charge designates the search expression and the user ID of the person in charge using input means such as a keyboard or a mouse. In this embodiment, it is assumed that “SELECT * WHERE 'email address” = “l @ mn” OR “DM availability” = “impossible” ”and“ 10000 ”as the user ID are specified as the search expressions. .

この検索式に含まれる検索条件は、「‘メールアドレス’=‘l@m.n’」、「‘DM可否’=‘不可’」の2つとなる。また、個別項目名は、「DM可否」の1つとなる。共通項目名は、「メールアドレス」の1つとなる。   There are two search conditions included in this search formula: “'email address” = “l@m.n”, ““ DM availability ”=“ impossible ”. The individual item name is one of “DM availability”. The common item name is one of “mail address”.

また、前述の検索式では「SELECT * WHERE」がコマンド文に相当し、この検索式は、「‘WHERE’以降にある各検索条件を満たすレコードの全項目を抽出する」ことを意味する。   In the above-described search expression, “SELECT * WHERE” corresponds to a command sentence, and this search expression means “extract all items of records satisfying each search condition after“ WHERE ””.

担当者が検索式を入力すると、情報端末の検索式指定部111は、指定された検索式を、ネットワークインタフェースおよびネットワークを通じてコンピュータ100へ送信する。   When the person in charge inputs the search formula, the search formula designating unit 111 of the information terminal transmits the designated search formula to the computer 100 through the network interface and the network.

コンピュータ100の受信部101は検索式として、「SELECT * WHERE ‘メールアドレス’=‘l@m.n’ OR ‘DM可否’=‘不可’」を、ユーザIDとして‘10000’を、それぞれネットワークインタフェースを通して受信すると、ユーザID‘10000’に対応付けられているテナントIDがコンピュータ100の磁気記憶装置に記憶されているかどうかを調べる。本実施の形態では‘10000’に対応するテナントIDとして‘1’が記憶されているため、受信部101は、‘1’を磁気記憶装置から読み出す。   The receiving unit 101 of the computer 100 uses “SELECT * WHERE 'email address” = “l @ mn” OR “DM availability” = “impossible” as a search expression, “10000” as a user ID, and a network interface. If the tenant ID associated with the user ID “10000” is stored in the magnetic storage device of the computer 100, it is checked. In this embodiment, since “1” is stored as the tenant ID corresponding to “10000”, the receiving unit 101 reads “1” from the magnetic storage device.

受信部101は、受信した検索式「SELECT * WHERE ‘メールアドレス’=‘l@m.n’ OR ‘DM可否’=‘不可’」と読み出したテナントIDの‘1’とをコンピュータ100の基本領域検索部102に渡すとともに、当該検索式を当該テナントIDが示すコンピュータ100のテナント固有拡張領域検索部103に渡す。   The receiving unit 101 uses the received search expression “SELECT * WHERE 'email address' = 'l @ mn' OR 'DM OK / NO' = 'NO' and the read tenant ID '1' as the basis of the computer 100. In addition to passing to the area search unit 102, the search formula is passed to the tenant-specific extension area search unit 103 of the computer 100 indicated by the tenant ID.

次にコンピュータ100の基本領域検索部102は、検索式「SELECT * WHERE ‘メールアドレス’=‘l@m.n’ OR ‘DM可否’=‘不可’」からこの検索式を構成する検索条件とコマンド文とを抽出する。この検索式を構成する検索条件は「‘メールアドレス’=‘l@m.n’」、「‘DM可否’=‘不可’」という各文字列である。また、この検索式を構成するコマンド文は「SELECT * WHERE」という文字列である。これらの文字列を抽出するために特定の語を予約語とし、その語を目印にして抽出する方法がある。例えば、検索式に含まれる‘WHERE’をコマンド文と検索条件との境界の予約語とする。そして、検索式における‘WHERE’の前までの文字列をコマンド文、それ以降の文字列を1又は複数の検索条件とする。また、検索式に含まれる‘OR’または‘AND’を各検索条件の境界の予約語とする。そして、検索式における1又は複数の検索条件を‘OR’または‘AND’で区切り、各検索条件を抽出する。もちろん予約語はこれに限定されず、空白文字、句読点、特殊文字その他の境界を示す記号であればよい。また予約語は必須ではなく、無くてもよい。   Next, the basic area search unit 102 of the computer 100 uses the search condition “SELECT * WHERE 'email address' =“ l @ mn ”OR“ DM availability ”=“ impossible ”” Extract command statements. The search conditions constituting this search formula are each character string of “'mail address” = “l@m.n”, “DM availability” = “impossible”. Further, the command statement constituting this search expression is a character string “SELECT * WHERE”. In order to extract these character strings, there is a method of extracting a specific word as a reserved word and using that word as a mark. For example, “WHERE” included in the search expression is a reserved word at the boundary between the command sentence and the search condition. Then, the character string before ‘WHERE’ in the search expression is a command sentence, and the character string after that is one or more search conditions. Further, “OR” or “AND” included in the search expression is a reserved word at the boundary of each search condition. Then, one or more search conditions in the search formula are separated by “OR” or “AND”, and each search condition is extracted. Of course, the reserved word is not limited to this, and may be a symbol indicating a blank character, punctuation mark, special character, or other boundary. Reserved words are not essential and may be omitted.

次に基本領域検索部102は、各検索条件について磁気記憶装置に記憶されている共通項目名対応テーブル106を用いて共通項目名を含んでいるか否か調べる。そして基本領域検索部102は検索条件に共通項目名が含まれている検索条件のみを抽出する。本実施の形態の場合、図6に示すように‘メールアドレス’が共通項目名として記憶されており、‘DM可否’は共通項目名として記憶されていないので、基本領域検索部102は「‘メールアドレス’=‘l@m.n’」を抽出する。そして基本領域検索部102は抽出された検索条件毎にコマンド文を組み合わせて新たな検索式とし、新たな検索式毎に基本テーブル121を検索する。本実施の形態の場合、基本領域検索部102は「SELECT * WHERE ‘メールアドレス’=‘l@m.n’」という新たな検索式を生成し、基本テーブル121を検索する。この新たな検索式は「‘メールアドレス’が‘l@m.n’であるレコードの全項目を抽出する」指示であることを意味する。基本領域検索部102は検索式に含まれている文字列‘メールアドレス’という共通項目名をもつカラムを基本テーブル121から探し、次に探してきたカラムにこの検索式に含まれている文字列‘l@m.n’を含むか否かを調べる。そして、基本領域検索部102はこの文字列‘l@m.n’を含むレコードを検索結果として得る。すると、図14(a)に示すレコードが検索結果として得られる。次に基本領域検索部102は、検索結果に含まれるレコードIDの‘12’と検索条件「‘メールアドレス’=‘l@m.n’」を対応付けてコンピュータ100のテーブル検索結果マージ部104に渡すとともに、受け取った検索式「SELECT * WHERE ‘メールアドレス’=‘l@m.n’ OR ‘DM可否’=‘不可’」をテーブル検索結果マージ部104に渡す。   Next, the basic area search unit 102 checks whether or not each search condition includes a common item name using the common item name correspondence table 106 stored in the magnetic storage device. Then, the basic area search unit 102 extracts only search conditions in which the common item name is included in the search conditions. In the case of the present embodiment, as shown in FIG. 6, 'mail address' is stored as a common item name, and 'DM availability' is not stored as a common item name. The mail address' = 'l @ mn.' Is extracted. Then, the basic area search unit 102 combines command sentences for each extracted search condition to form a new search formula, and searches the basic table 121 for each new search formula. In the present embodiment, the basic area search unit 102 generates a new search expression “SELECT * WHERE 'email address' =“ l@m.n ”” and searches the basic table 121. This new search formula means an instruction to “extract all items of a record whose“ e-mail address ”is“ l@m.n ””. The basic area search unit 102 searches the basic table 121 for a column having a common item name “mail address” included in the search expression, and the character string included in this search expression in the next searched column. 'l @ m. It is checked whether or not n 'is included. Then, the basic area search unit 102 sends the character string ‘l @ m. Records including n ′ are obtained as search results. Then, the record shown in FIG. 14A is obtained as a search result. Next, the basic area search unit 102 associates the record ID “12” included in the search result with the search condition “'email address” = “l @ mn” and associates the table search result merge unit 104 of the computer 100 with it. And the received search expression “SELECT * WHERE 'email address' = 'l @ mn' OR 'DM OK / NO' = 'NO'" is passed to the table search result merge unit 104.

次に基本領域検索部102は、磁気記憶装置から読み出したテナントIDの‘1’を持つレコードを基本テーブル121から検索する。本実施の形態の場合、例えば基本領域検索部102が「SELECT * WHERE ‘テナントID’=‘1’」という新たな検索式を生成し、基本テーブル121を検索する、というように実現してもよい。この場合、図14(b)に示すレコードが検索結果として得られる。次に基本領域検索部102は、検索結果として得たレコードをテーブル検索結果マージ部104に渡す。   Next, the basic area search unit 102 searches the basic table 121 for a record having the tenant ID “1” read from the magnetic storage device. In the case of the present embodiment, for example, the basic area search unit 102 may generate a new search expression “SELECT * WHERE 'tenant ID' = '1'” and search the basic table 121. Good. In this case, the record shown in FIG. 14B is obtained as a search result. Next, the basic area search unit 102 passes the record obtained as the search result to the table search result merge unit 104.

次にテナントIDを受信部101から受け取ったテナント固有拡張領域検索部103は、各検索条件について磁気記憶装置に記憶されている個別項目名対応テーブル107を用いて個別項目名を含んでいるか否か調べる。そしてテナント固有拡張領域検索部103は検索条件に個別項目名が含まれている検索条件のみを抽出する。本実施の形態の場合、図7に示すように‘DM可否’が個別項目名として記憶されており、‘メールアドレス’は個別項目名として記憶されていないので、テナント固有拡張領域検索部103は「‘DM可否’=‘不可’」を抽出する。そして抽出された検索条件毎にコマンド文を組み合わせて新たな検索式とし、新たな検索式毎に拡張テーブル122を検索する。本実施の形態の場合、テナント固有拡張領域検索部103は「SELECT * WHERE ‘DM可否’=‘不可’」という新たな検索式を生成し、拡張テーブル122を検索する。この新たな検索式は「‘DM可否’が‘不可’であるレコードの全項目を抽出する」指示であることを意味する。テナント固有拡張領域検索部103は検索式に含まれている文字列‘DM可否’という個別項目名をもつカラムを拡張テーブル122から探し、次に探してきたカラムにこの検索式に含まれている文字列‘不可’を含むか否かを調べる。そして、テナント固有拡張領域検索部103はこの文字列‘不可’を含むレコードを検索結果として得るとともに、当該検索結果に含まれるレコードIDを持つレコードも検索結果として得る。すると、図14(c)に示すようなレコードが検索結果として得られる。次にテナント固有拡張領域検索部103は、検索結果として得たレコードと検索条件「‘DM可否’=‘不可’」とを対応付けてテーブル検索結果マージ部104に渡す。   Next, the tenant-specific extended area search unit 103 that has received the tenant ID from the receiving unit 101 includes an individual item name using the individual item name correspondence table 107 stored in the magnetic storage device for each search condition. Investigate. Then, the tenant-specific extended area search unit 103 extracts only the search condition in which the individual item name is included in the search condition. In the case of the present embodiment, as shown in FIG. 7, “DM availability” is stored as an individual item name, and “email address” is not stored as an individual item name. “'DM availability” = “impossible” ”is extracted. Then, a command statement is combined for each extracted search condition to form a new search formula, and the extension table 122 is searched for each new search formula. In the case of the present embodiment, the tenant-specific extension area search unit 103 generates a new search expression “SELECT * WHERE 'DM OK / NO' = 'NO'" and searches the extension table 122. This new search formula means an instruction to “extract all items of a record whose“ DM availability ”is“ impossible ”. The tenant-specific extension area search unit 103 searches the extension table 122 for a column having the individual item name “DM availability” included in the search expression, and the next searched column is included in this search expression. Check to see if it contains the string 'impossible'. Then, the tenant-specific extended area search unit 103 obtains a record including the character string “impossible” as a search result, and also obtains a record having a record ID included in the search result as a search result. Then, a record as shown in FIG. 14C is obtained as a search result. Next, the tenant-specific extended area search unit 103 associates the record obtained as the search result with the search condition “‘ DM availability ”=“ impossible ”and passes it to the table search result merge unit 104.

次にテーブル検索結果マージ部104は、基本領域検索部102からは検索式「SELECT * WHERE ‘メールアドレス’=‘l@m.n’ OR ‘DM可否’=‘不可’」と図14(b)に示すレコードとレコードIDの‘12’とを、テナント固有拡張領域検索部103からは図14(c)に示すようなレコードを、それぞれ受け取る。そしてテーブル検索結果マージ部104は、基本領域検索部102から受け取ったレコードIDの‘12’を、検索結果を渡してきたテナント固有拡張領域検索部103に渡す。テナント固有拡張領域検索部103は、受け取ったレコードIDの‘12’を持つレコードを拡張テーブルから検索し、検索結果として図14(d)に示すようなレコードを得る。テナント固有拡張領域検索部103は、検索結果として得たレコードをテーブル検索結果マージ部104に渡す。テーブル検索結果マージ部104は、テナント固有拡張領域検索部103から図14(d)に示すようなレコードを受け取る。テーブル検索結果マージ部104は、この受け取ったレコードとテナント固有拡張領域検索部103に送信したレコードIDに対応付けられた検索条件とを対応付ける。すなわち、‘メールアドレス’=‘l@m.n’と図14(d)に示すようなレコードとを対応付ける。   Next, the table search result merge unit 104 sends a search expression “SELECT * WHERE 'mail address' = 'l @ mn' OR 'DM availability' = 'impossible'" from the basic area search unit 102 as shown in FIG. ) And the record ID “12”, and the record shown in FIG. 14C is received from the tenant-specific extended area search unit 103. Then, the table search result merge unit 104 passes the record ID “12” received from the basic region search unit 102 to the tenant-specific extended region search unit 103 that has passed the search result. The tenant-specific extended area search unit 103 searches the extended table for a record having the received record ID “12”, and obtains a record as shown in FIG. 14D as a search result. The tenant-specific extended area search unit 103 passes the record obtained as the search result to the table search result merge unit 104. The table search result merge unit 104 receives a record as shown in FIG. 14D from the tenant-specific extended area search unit 103. The table search result merge unit 104 associates the received record with the search condition associated with the record ID transmitted to the tenant-specific extended area search unit 103. That is, 'email address' =' l @ m. n ′ is associated with a record as shown in FIG.

次に、テーブル検索結果マージ部104は、基本領域検索部102から受け取った検索式に基づいて受け取った検索結果をマージする。それぞれの検索結果には当該検索結果を得るために用いた検索条件が対応付けられており、各検索条件と当該検索条件間をつなぐ演算子に基づいてマージする。まずテーブル検索結果マージ部104は検索式「SELECT * WHERE ‘メールアドレス’=‘l@m.n’ OR ‘DM可否’=‘不可’」の最初の検索条件「メールアドレス’=‘l@m.n’」、二番目の検索条件「DM可否’=‘不可’」とそれらをつなぐ演算子‘OR’を参照する。「メールアドレス’=‘l@m.n’」に対応付けられた検索結果(図14(d))に含まれるレコードIDは‘12’、「‘DM可否’=‘不可’」に対応付けられた検索結果(図14(c))に含まれるレコードIDは、‘11’、‘13’であり、それらを‘OR’でつないでいるので、それらの論理和をとる。得られたレコードIDが示すレコード(図15(e))を検索条件「‘メールアドレス’=‘l@m.n’ OR ‘DM可否’=‘不可’」を用いて検索したときの検索結果とする。   Next, the table search result merge unit 104 merges the search results received based on the search formula received from the basic area search unit 102. Each search result is associated with a search condition used to obtain the search result, and the search conditions are merged based on an operator connecting the search conditions and the search conditions. First, the table search result merge unit 104 uses the search condition “SELECT * WHERE 'email address' = 'l @ mn' OR 'DM admissibility' = 'impossible'" as the first search condition "email address '=' l @ m .N ′ ”, the second search condition“ DM availability ”=“ impossible ”and the operator“ OR ”connecting them are referred to. The record ID included in the search result (FIG. 14 (d)) associated with “mail address” = “l @ mn.” Is associated with “12” and “DM availability” = “impossible”. The record IDs included in the retrieved result (FIG. 14 (c)) are “11” and “13”, and they are connected by “OR”, so that they are ORed. Search result when the record (FIG. 15 (e)) indicated by the obtained record ID is searched using the search condition “'email address' = 'l @ mn' OR 'DM OK / NO' = 'NO'" And

次にテーブル検索結果マージ部104は、検索結果(図15(e))と基本領域検索部102から受け取ったレコード(図14(b))とを結合する。結合方法は、それぞれの検索結果中のレコードIDを持つレコード同士を結合することで実現する。マージの結果、図15(f)のレコードが得られる。   Next, the table search result merge unit 104 combines the search result (FIG. 15E) and the record received from the basic area search unit 102 (FIG. 14B). The combining method is realized by combining records having record IDs in the respective search results. As a result of the merge, the record shown in FIG. 15F is obtained.

次にテーブル検索結果マージ部104は図15(f)のレコードを検索式とユーザIDとを送信してきた情報端末110に送信する。検索式指定部111は受け取った図15(f)のレコードを検索結果表示部112に表示させる。   Next, the table search result merging unit 104 transmits the record of FIG. 15F to the information terminal 110 that has transmitted the search expression and the user ID. The search formula designating unit 111 displays the received record in FIG. 15F on the search result display unit 112.

なお上記説明において図14および図15では説明のため各カラムの名前を付しているが、実際にはこれらの項目は付いていなくてもよい。   In the above description, in FIG. 14 and FIG. 15, the names of the respective columns are given for explanation, but actually these items may not be given.

以上、これまで述べてきた各実施の形態は、本発明の好適な実施形態であり、上記実施の形態のみに本発明の範囲を限定するものではなく、本発明の要旨を逸脱しない範囲において種々の変更を施した形態での実施が可能である。   Each embodiment described so far is a preferred embodiment of the present invention, and the scope of the present invention is not limited only to the above-described embodiment, and various modifications are possible without departing from the gist of the present invention. It is possible to implement in a form that has been modified.

また、本発明の各実施の形態における各構成要素は、その機能をハードウェア的に実現することはもちろん、コンピュータとプログラムとで実現することができる。プログラムは磁気ディスクや半導体メモリなどのコンピュータ可読記録媒体に記録されて提供され、コンピュータの立ち上げ時などにコンピュータに読み取られ、そのコンピュータの動作を制御することにより、そのコンピュータを前述して各実施の形態における構成要素として機能させる。   In addition, each component in each embodiment of the present invention can be realized by a computer and a program as well as its function in hardware. The program is provided by being recorded on a computer-readable recording medium such as a magnetic disk or a semiconductor memory, read by the computer at the time of starting up the computer, etc., and controlling the operation of the computer. It functions as a component in the form.

本発明によれば、SaaS(Software as a Service)によるマルチテナントへのサービス提供といった用途に適用できる。   INDUSTRIAL APPLICABILITY According to the present invention, it can be applied to uses such as providing services to multi-tenants by SaaS (Software as a Service).

本発明を実施するための第1の実施の形態の構成を示すブロック図である。It is a block diagram which shows the structure of 1st Embodiment for implementing this invention. 基本テーブル121の具体例を示す図である。It is a figure which shows the specific example of the basic table. 拡張テーブル122の具体例を示す図である。It is a figure which shows the specific example of the expansion table. 仮想的なレコードの具体例を示す図である。It is a figure which shows the specific example of a virtual record. ユーザID対応テーブル105の具体例を示す図である。It is a figure which shows the specific example of the user ID corresponding | compatible table 105. FIG. 共通項目名対応テーブル106の具体例を示す図である。It is a figure which shows the specific example of the common item name corresponding | compatible table 106. FIG. 個別項目名対応テーブル107の具体例を示す図である。It is a figure which shows the specific example of the individual item name corresponding | compatible table 107. FIG. 本発明を実施するための第1の実施の形態の処理フローを示す図である。It is a figure which shows the processing flow of 1st Embodiment for implementing this invention. 本発明を実施するための第2の実施の形態の構成を示すブロック図である。It is a block diagram which shows the structure of 2nd Embodiment for implementing this invention. 基本テーブル221の具体例を示す図である。It is a figure which shows the specific example of the basic table. 領域名対応テーブル208a、208bの具体例を示す図である。It is a figure which shows the specific example of area | region name corresponding | compatible table 208a, 208b. 本発明を実施するための第3の実施の形態の構成を示すブロック図である。It is a block diagram which shows the structure of 3rd Embodiment for implementing this invention. 領域名対応テーブル308の具体例を示す図である。It is a figure which shows the specific example of the area | region name corresponding | compatible table 308. FIG. 本発明を実施するための第4の実施の形態において、各検索の動作の詳細な説明をするための図である。(a)本発明を実施するための第4の実施の形態において、基本領域検索部102が検索条件を基に検索した結果を示す。(b)本発明を実施するための第4の実施の形態において、基本領域検索部102がテナントIDを基に検索した結果を示す。(c)本発明を実施するための第4の実施の形態において、テナント固有拡張領域検索部103が検索条件を基に検索した結果を示す。(d)本発明を実施するための第4の実施の形態において、テナント固有拡張領域検索部103がテーブル検索結果マージ部から受け取ったレコードIDを基に検索した結果を示す。In the fourth embodiment for carrying out the present invention, it is a diagram for explaining in detail the operation of each search. (A) In 4th Embodiment for implementing this invention, the basic region search part 102 shows the result searched based on search conditions. (B) In the fourth embodiment for carrying out the present invention, the basic area search unit 102 performs a search based on the tenant ID. (C) In the fourth embodiment for carrying out the present invention, the tenant-specific extension area search unit 103 shows a search result based on the search condition. (D) In the fourth embodiment for carrying out the present invention, the tenant-specific extended area search unit 103 shows a search result based on the record ID received from the table search result merge unit. 本発明を実施するための第4の実施の形態において、各検索およびマージの動作の詳細な説明をするための図である。(e)テーブル検索結果マージ部104が、基本領域検索部102から受け取った検索式に基づいて受け取った検索結果をマージした結果を示す。(f)検索結果として得られたレコードを示す。In the fourth embodiment for carrying out the present invention, it is a diagram for explaining in detail each search and merge operation. (E) The table search result merge unit 104 shows a result of merging the search results received based on the search formula received from the basic area search unit 102. (F) Indicates a record obtained as a search result.

符号の説明Explanation of symbols

10 ネットワーク
100 コンピュータ
101 受信部
102 基本領域検索部
103a、103b テナント固有拡張領域検索部
104 テーブル検索結果マージ部
105 ユーザID対応テーブル
106 共通項目名対応テーブル
107 個別項目名対応テーブル
110 情報端末
111 検索式指定部
112 検索結果表示部
120 記憶部
121 基本テーブル
122 拡張テーブル
200 コンピュータ
203a、203b テナント固有拡張領域検索部
208a、208b 領域名対応テーブル
220 記憶部
221 基本テーブル
300 コンピュータ
301 受信部
303 テナント固有拡張領域検索部
DESCRIPTION OF SYMBOLS 10 Network 100 Computer 101 Reception part 102 Basic area search part 103a, 103b Tenant specific expansion area search part 104 Table search result merge part 105 User ID correspondence table 106 Common item name correspondence table 107 Individual item name correspondence table 110 Information terminal 111 Search formula Designation unit 112 Search result display unit 120 Storage unit 121 Basic table 122 Extension table 200 Computer 203a, 203b Tenant-specific extended area search unit 208a, 208b Area name correspondence table 220 Storage unit 221 Basic table 300 Computer 301 Reception unit 303 Tenant-specific extension area Search part

Claims (7)

複数の事業者の少なくとも1つに所属する担当者に使用される情報端末と接続され、前記情報端末から送信されるデータベースの検索要求に応じて前記データベースを検索し前記情報端末に検索結果を送信する情報処理装置であって、
前記データベースは、
前記複数の事業者で共通する共通項目に分類されるデータを記憶する基本テーブルと、前記複数の事業者毎に異なる個別項目に分類されるデータを記憶する拡張テーブルと、を含み、
前記情報処理装置は、
前記情報端末から前記データベースの検索要求を受信し、前記検索要求を送信してきた情報端末を使用する担当者が所属する事業者を前記検索要求に基づいて特定する受信部と、
前記受信部から送信される前記検索要求に基づいて前記共通項目のデータを検索する第1の検索式を生成し、前記共通項目のデータを検索する基本領域検索部と、
前記受信部により前記事業者を指定して送信される前記検索要求に基づいて前記指定された事業者の個別項目のデータを検索する第2の検索式を生成し、前記個別項目のデータを検索するテナント固有拡張領域検索部と、
前記基本領域検索部が検索した前記共通項目のデータと前記テナント固有拡張領域検索部が検索した前記個別項目のデータとを結合して前記検索結果として前記情報端末に送信するテーブル検索結果マージ部と、
を備える、情報処理装置。
Connected to an information terminal used by a person in charge belonging to at least one of a plurality of business operators, searches the database in response to a database search request transmitted from the information terminal, and transmits a search result to the information terminal An information processing apparatus that
The database is
A basic table that stores data classified into common items common to the plurality of operators, and an extension table that stores data classified into different individual items for each of the plurality of operators,
The information processing apparatus includes:
A receiving unit that receives a search request for the database from the information terminal and identifies a business operator to which a person in charge using the information terminal that has transmitted the search request belongs, based on the search request;
A basic area search unit for generating a first search expression for searching for data of the common item based on the search request transmitted from the receiving unit, and searching for the data of the common item;
Based on the search request transmitted by designating the business operator by the receiving unit, a second search expression that retrieves data of the individual item of the designated business operator is generated, and the data of the individual item is retrieved. Tenant-specific extension area search part to
A table search result merging unit that combines the data of the common item searched by the basic area search unit and the data of the individual item searched by the tenant-specific extension area search unit and transmits the combined result to the information terminal as the search result; ,
An information processing apparatus comprising:
請求項1に記載の情報処理装置であって、
前記情報処理装置は、前記テナント固有拡張領域検索部を前記複数の事業者毎に備え、
前記受信部は、特定した事業者に対応するテナント固有拡張領域検索部に前記検索要求を送信することで前記事業者を指定して送信する、情報処理装置。
The information processing apparatus according to claim 1,
The information processing apparatus includes the tenant-specific extended area search unit for each of the plurality of operators,
The information processing apparatus, wherein the receiving unit designates and transmits the business operator by transmitting the search request to a tenant-specific extended area search unit corresponding to the identified business operator.
請求項1に記載の情報処理装置であって、
前記受信部は、前記情報端末から受信した検索要求と、前記特定した事業者を識別する情報と、を前記テナント固有拡張領域検索部に送信し、
前記テナント固有拡張領域検索部は、前記受信部から送信される検索要求と前記事業者を識別する情報とに基づいて前記指定された事業者の個別項目のデータを検索する第2の検索式を生成し、前記個別項目のデータを検索する、情報処理装置。
The information processing apparatus according to claim 1,
The receiving unit transmits the search request received from the information terminal and the information for identifying the specified business operator to the tenant-specific extension area searching unit,
The tenant-specific extended area search unit has a second search formula for searching for data of individual items of the specified business operator based on a search request transmitted from the reception unit and information for identifying the business operator. An information processing apparatus that generates and searches for data of the individual items.
請求項1から3の何れか1項に記載の情報処理装置であって、
前記情報処理装置は、前記情報端末を使用する担当者を識別するユーザIDと前記複数の事業者を識別する情報とを対応付けて記憶するユーザID対応テーブルを備え、
前記受信部は、ユーザIDを含む検索要求を前記情報端末から受信し、
前記受信部は、前記検索要求に含まれるユーザIDに対応付けられて前記ユーザID対応テーブルに記憶されている事業者を識別する情報で、前記検索要求を送信してきた情報端末を使用する担当者が所属する事業者を特定する、情報処理装置。
The information processing apparatus according to any one of claims 1 to 3,
The information processing apparatus includes a user ID correspondence table that stores a user ID that identifies a person in charge who uses the information terminal and information that identifies the plurality of operators in association with each other.
The receiving unit receives a search request including a user ID from the information terminal;
The reception unit is information that identifies the business operator associated with the user ID included in the search request and stored in the user ID correspondence table, and the person in charge who uses the information terminal that has transmitted the search request An information processing device that identifies the company to which the company belongs.
請求項1から3の何れか1項に記載の情報処理装置であって、
前記データベースを含んで構成される情報処理装置。
The information processing apparatus according to any one of claims 1 to 3,
An information processing apparatus including the database.
複数の事業者の少なくとも1つに所属する担当者に使用される情報端末と接続され、前記複数の事業者で共通する共通項目に分類されるデータを記憶する基本テーブルと前記複数の事業者毎に異なる個別項目に分類されるデータを記憶する拡張テーブルとを含むデータベースを備え、前記情報端末から送信される前記データベースの検索要求に応じて前記データベースを検索し前記情報端末に検索結果を送信する情報処理装置の制御方法であって、
前記情報処理装置が、前記情報端末から前記データベースの検索要求を受信し、前記検索要求を送信してきた情報端末を使用する担当者が所属する事業者を前記検索要求に基づいて特定し、
前記情報処理装置が、前記検索要求に基づいて前記共通項目のデータを検索する第1の検索式を生成し、前記共通項目のデータを検索し、
前記情報処理装置が、前記事業者を指定して送信される前記検索要求に基づいて前記指定された事業者の個別項目のデータを検索する第2の検索式を生成し、前記個別項目のデータを検索し、
前記情報処理装置が、前記検索した前記共通項目のデータと前記検索した前記個別項目のデータとを結合して前記検索結果として前記情報端末に送信する、情報処理装置の制御方法。
A basic table that is connected to an information terminal used by a person in charge belonging to at least one of a plurality of businesses and stores data classified into common items common to the plurality of businesses, and each of the plurality of businesses And an extended table for storing data classified into different individual items, searching the database in response to a search request for the database transmitted from the information terminal, and transmitting a search result to the information terminal A method for controlling an information processing apparatus,
The information processing apparatus receives a search request for the database from the information terminal, and identifies a company to which a person in charge using the information terminal that has transmitted the search request belongs based on the search request.
The information processing apparatus generates a first search expression for searching for data of the common item based on the search request, searches for data of the common item,
The information processing apparatus generates a second search expression for searching for data of the individual item of the designated business operator based on the search request transmitted by designating the business operator, and the data of the individual item Search for
The information processing apparatus control method, wherein the information processing apparatus combines the searched common item data and the searched individual item data, and transmits the combined result as the search result to the information terminal.
複数の事業者の少なくとも1つに所属する担当者に使用される情報端末と接続され、前記複数の事業者で共通する共通項目のデータを記憶する基本テーブルと前記複数の事業者毎に異なる個別項目のデータを記憶する拡張テーブルとを含むデータベースを備え、前記情報端末から送信される前記データベースの検索要求に応じて前記データベースを検索し前記情報端末に検索結果を送信する情報処理装置に、
前記情報端末から前記データベースの検索要求を受信し、前記検索要求を送信してきた情報端末を使用する担当者が所属する事業者を前記検索要求に基づいて特定する処理と、
前記検索要求に基づいて前記共通項目のデータを検索する第1の検索式を生成し、前記共通項目のデータを検索する処理と、
前記事業者を指定して送信される前記検索要求に基づいて前記指定された事業者の個別項目のデータを検索する第2の検索式を生成し、前記個別項目のデータを検索する処理と、
前記検索した前記共通項目のデータと前記検索した前記個別項目のデータとを結合して前記検索結果として前記情報端末に送信する処理と、を実行させるためのプログラム。
A basic table that is connected to an information terminal used by a person in charge belonging to at least one of a plurality of business operators and stores data of common items common to the plurality of business operators, and a different individual for each of the plurality of business operators An information processing apparatus that includes an extended table that stores data of items, and that searches the database in response to a search request for the database transmitted from the information terminal and transmits a search result to the information terminal;
A process of receiving a search request for the database from the information terminal, and identifying a company to which a person in charge using the information terminal that has transmitted the search request belongs, based on the search request;
Generating a first search expression for searching for data of the common item based on the search request, and searching for the data of the common item;
Generating a second search expression for searching for data of individual items of the specified business operator based on the search request transmitted by designating the business operator, and processing for searching for data of the individual items;
The program for performing the process which combines the searched said common item data and the searched said individual item data, and transmits to the said information terminal as said search result.
JP2008057375A 2008-03-07 2008-03-07 Information processing apparatus, information processing apparatus control method, and information processing apparatus control program Expired - Fee Related JP5358981B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008057375A JP5358981B2 (en) 2008-03-07 2008-03-07 Information processing apparatus, information processing apparatus control method, and information processing apparatus control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008057375A JP5358981B2 (en) 2008-03-07 2008-03-07 Information processing apparatus, information processing apparatus control method, and information processing apparatus control program

Publications (2)

Publication Number Publication Date
JP2009217315A true JP2009217315A (en) 2009-09-24
JP5358981B2 JP5358981B2 (en) 2013-12-04

Family

ID=41189141

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008057375A Expired - Fee Related JP5358981B2 (en) 2008-03-07 2008-03-07 Information processing apparatus, information processing apparatus control method, and information processing apparatus control program

Country Status (1)

Country Link
JP (1) JP5358981B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013182310A (en) * 2012-02-29 2013-09-12 Mitsubishi Electric Corp Access control device, access control method and program
CN113556808A (en) * 2016-01-07 2021-10-26 松下知识产权经营株式会社 Integrated circuit with a plurality of transistors

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003256614A (en) * 2002-03-05 2003-09-12 Nippon Telegr & Teleph Corp <Ntt> Electronic application system and electronic application method
JP2007094570A (en) * 2005-09-27 2007-04-12 Nomura Research Institute Ltd Database utilization system
JP2007531941A (en) * 2004-04-02 2007-11-08 セールスフォース ドット コム インコーポレイティッド Custom entities and fields in a multitenant database system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003256614A (en) * 2002-03-05 2003-09-12 Nippon Telegr & Teleph Corp <Ntt> Electronic application system and electronic application method
JP2007531941A (en) * 2004-04-02 2007-11-08 セールスフォース ドット コム インコーポレイティッド Custom entities and fields in a multitenant database system
JP2007094570A (en) * 2005-09-27 2007-04-12 Nomura Research Institute Ltd Database utilization system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013182310A (en) * 2012-02-29 2013-09-12 Mitsubishi Electric Corp Access control device, access control method and program
CN113556808A (en) * 2016-01-07 2021-10-26 松下知识产权经营株式会社 Integrated circuit with a plurality of transistors
CN113596977A (en) * 2016-01-07 2021-11-02 松下知识产权经营株式会社 Terminal device

Also Published As

Publication number Publication date
JP5358981B2 (en) 2013-12-04

Similar Documents

Publication Publication Date Title
US20170277672A1 (en) Information processing device, information processing method, and computer program product
JP2008234550A (en) Expert information retrieval device, expert information retrieval method and program
JP2010250450A (en) Database message analysis support program, method and device
JP5221664B2 (en) Information map management system and information map management method
US11200527B2 (en) Platform for evaluating and recommending process automations
JPWO2010064317A1 (en) Operation management support program, recording medium recording the program, operation management support device, and operation management support method
JP5358981B2 (en) Information processing apparatus, information processing apparatus control method, and information processing apparatus control program
JP2012159917A (en) Document management system, document management method and program
CN115329753B (en) Intelligent data analysis method and system based on natural language processing
JP6963372B2 (en) Business card information management system and search result display program
JP2013008237A (en) Related information extraction program, related information extraction method and related information extraction apparatus
JP6677624B2 (en) Analysis apparatus, analysis method, and analysis program
JP2012043258A (en) Retrieval system, retrieval device, retrieval program, recording medium and retrieval method
JPWO2017072872A1 (en) Business program generation support system and business program generation support method
JP6891542B2 (en) Personal connection information creation device, personal connection information creation program and personal connection information creation method
JP6686519B2 (en) Configuration selecting device, configuration selecting system, method and program
JP6256079B2 (en) Search program, search method, and search device
CN113672794B (en) Page generation method, device and medium
KR102413632B1 (en) Apparatus and method for managing document
JP2010218459A (en) Apparatus and method for processing information, and program
JP6973132B2 (en) Information processing equipment, information processing methods and information processing programs
JP2008015830A (en) Form layout structure output device, layout structure creation method and program
JP2009199254A (en) Electronic mail transmission system, information processor, electronic mail transmission method, program, and recording medium
JPWO2008114316A1 (en) Electronic document management apparatus and electronic document management program
JP2008197759A (en) Translation system, translation method, dictionary management system, and dictionary management method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110218

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20110706

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20121011

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20121016

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20121214

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130514

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130709

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: 20130806

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130819

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 5358981

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees