JP2011076478A - Sns server, property information management method and program for the same - Google Patents
Sns server, property information management method and program for the same Download PDFInfo
- Publication number
- JP2011076478A JP2011076478A JP2009228823A JP2009228823A JP2011076478A JP 2011076478 A JP2011076478 A JP 2011076478A JP 2009228823 A JP2009228823 A JP 2009228823A JP 2009228823 A JP2009228823 A JP 2009228823A JP 2011076478 A JP2011076478 A JP 2011076478A
- Authority
- JP
- Japan
- Prior art keywords
- item
- user
- sns
- information
- unit
- 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.)
- Pending
Links
Images
Abstract
Description
ソーシャルネットワーキングサービス(SNS)のソーシャルデータベースの管理に関する技術である。 It is a technology related to the management of a social database of a social networking service (SNS).
現在、mixi(登録商標)や、GREE(登録商標)等、様々なSNSが存在し、SNSごとに、ユーザのソーシャル情報を管理している。このソーシャル情報は、SNSに用いられるユーザの情報であり、例えば、ユーザの氏名、ニックネーム、現在地、趣味等のプロパティ情報(非特許文献1参照)を含む。なお、このソーシャル情報は、プロパティ情報のほかに、フレンド(フレンド情報)、アクティビティ(アクティビティ情報)を含む。フレンド情報は、ユーザの友人、同僚、家族等、ユーザの人間関係を示す情報である。アクティビティ情報とは、ブログを書く、音楽を聴く、写真を撮る等、ユーザの行動を示す情報であり、このアクティビティ情報は、ユーザのフレンドに通知される。なお、ここでの通知は、例えば、アクティビティ情報を、ユーザのフレンドの端末装置のWebブラウザ上に文字画像等で表示することにより行われる。 Currently, various SNSs such as mixi (registered trademark) and GREE (registered trademark) exist, and social information of users is managed for each SNS. This social information is user information used for SNS, and includes, for example, property information (see Non-Patent Document 1) such as the user's name, nickname, current location, and hobbies. This social information includes friends (friend information) and activities (activity information) in addition to property information. The friend information is information indicating the user's personal relationship such as the user's friend, colleague, and family. The activity information is information indicating user behavior such as writing a blog, listening to music, taking a picture, etc., and this activity information is notified to the user's friends. The notification here is performed, for example, by displaying the activity information as a character image or the like on the Web browser of the terminal device of the user's friend.
ここで、同じユーザが複数のSNSを利用する場合もある。すなわち、あるサーバがSNS1,2という2つのSNSを提供している場合において、ユーザAが、この両方のSNSを利用することもある。このような場合において、SNS1のプロパティ情報とSNS2のプロパティ情報とを別個に管理することになるが、それでは管理の手間がかかる。つまり、プロパティ情報には、各SNSで共通して用いられる項目(共通項目。例えば、氏名、生年月日、住所、メールアドレス等)があり、これらをSNSのプロパティ情報ごとに管理すると二重の手間となる。例えば、共通項目のうち、ユーザのメールアドレスの内容に変更があった場合、それぞれのSNSのプロパティ情報のメールアドレスの情報を変更しなければならない。 Here, the same user may use a plurality of SNSs. That is, when a certain server provides two SNSs SNS1 and SNS2, the user A may use both SNSs. In such a case, the property information of SNS1 and the property information of SNS2 are managed separately, but this takes time and effort for management. That is, the property information includes items commonly used in each SNS (common items. For example, name, date of birth, address, e-mail address, etc.), and if these are managed for each SNS property information, double It will be a hassle. For example, when there is a change in the contents of the user's mail address among the common items, the information on the mail address of the property information of each SNS must be changed.
そこで、本発明は、前記した課題を解決し、複数のSNSを提供するサーバにおいて、プロパティ情報の管理を容易にすることを目的とする。 Accordingly, an object of the present invention is to solve the above-described problems and facilitate management of property information in a server that provides a plurality of SNSs.
前記した課題を解決するため、請求項1に記載の発明は、複数のSNSを提供し、複数のSNSのプロパティ情報を管理するSNSサーバであって、ネットワーク経由で、SNSのユーザの端末装置から各種情報の入力を受け付ける入力部と、(1)ユーザのユーザIDごとに、SNSそれぞれのプロパティ情報の項目の共通項目と、その共通項目の項目値を示した共通テーブルと、(2)各SNSについて、そのSNSを利用するユーザのユーザIDごとに、当該SNSのプロパティ情報の項目のうち、共通項目以外の項目である独自項目と、その独自項目の項目値とを示した独自テーブルとを記憶する記憶部と、入力部経由で入力された端末装置からの処理要求に基づきSNSのデータ処理を実行し、その実行結果を端末装置へ返すSNSデータ処理部と、SNSデータ処理部経由で、端末装置から、ユーザのプロパティ情報の参照要求を受け付けたとき、参照要求の対象となる項目値のうち、共通項目の項目値については共通テーブルから読み出し、独自項目の項目値については独自テーブルから読み出し、その読み出した項目値をSNSデータ処理部へ出力するデータベース参照部と、SNSデータ処理部およびデータベース参照部による処理結果を、端末装置へ出力する出力部とを備える構成とした。
In order to solve the above-described problem, the invention described in
また、請求項6に記載の発明は、複数のSNSを提供し、複数のSNSのプロパティ情報を管理するSNSサーバであって、(1)SNSのユーザのユーザIDごとに、SNSそれぞれのプロパティ情報の項目の共通項目と、その共通項目の項目値を示した共通テーブルと、(2)各SNSについて、そのSNSを利用するユーザのユーザIDごとに、当該SNSのプロパティ情報の項目のうち、共通項目以外の項目である独自項目と、その独自項目の項目値とを示した独自テーブルとを記憶する記憶部と、ユーザの端末装置からの処理要求に基づきSNSのデータ処理を実行し、その実行結果を端末装置へ返すSNSデータ処理部とを備えるSNSサーバが、端末装置から、ユーザのプロパティ情報の参照要求を受け付けたとき、参照要求の対象となる項目値のうち、共通項目の項目値については共通テーブルから読み出し、独自項目の項目値については独自テーブルから読み出し、その読み出した項目値を、参照要求の送信元の端末装置へ出力することを特徴とするプロパティ情報管理方法とした。 The invention described in claim 6 is an SNS server that provides a plurality of SNSs and manages property information of the plurality of SNSs. (1) Property information of each SNS for each user ID of the SNS user Common item of the item, a common table indicating the item value of the common item, and (2) for each SNS, for each user ID of the user who uses the SNS, among the items of the property information of the SNS A storage unit that stores a unique item that is an item other than the item and a unique table that indicates the item value of the unique item, and executes SNS data processing based on a processing request from the user's terminal device. When an SNS server including an SNS data processing unit that returns a result to the terminal device receives a reference request for user property information from the terminal device, the reference request Among the target item values, the item value of the common item is read from the common table, the item value of the unique item is read from the unique table, and the read item value is output to the terminal device that is the source of the reference request. The property information management method is characterized by this.
このようにすることで、SNSサーバは、複数のSNSのプロパティ情報のうち、共通項目の項目値については共通テーブルに記録し、そのSNS独自の項目については、独自テーブルに記録する。そして、端末装置からの要求に応じて、あるSNSのプロパティ情報を参照する際には、共通項目の項目値については、共通テーブルから読み出し、そのSNSの独自の項目の項目値については、独自テーブルから読み出せばよい。このように、共通項目については、共通テーブルにより管理することで、SNSごとにプロパティ情報を用意する必要がなくなる。よって、プロパティ情報の管理が容易になる。例えば、各SNSのプロパティ情報のうち、共通項目の項目値を更新したい場合、共通テーブルの項目値を更新しておけばよい。 By doing in this way, the SNS server records the item value of the common item in the common table among the property information of the plurality of SNSs, and records the item unique to the SNS in the unique table. When referring to the property information of a certain SNS in response to a request from the terminal device, the item value of the common item is read from the common table, and the item value of the unique item of the SNS is read from the unique table. Read from. As described above, by managing common items using the common table, it is not necessary to prepare property information for each SNS. Therefore, management of property information becomes easy. For example, if it is desired to update the item value of the common item among the property information of each SNS, the item value of the common table may be updated.
請求項2に記載の発明は、請求項1に記載のSNSサーバが、SNSデータ処理部経由で、端末装置から、ユーザID、項目名および項目値を含むプロパティ情報の更新要求を受け付けたとき、更新要求に基づき、共通テーブルおよび独自テーブルにおける当該ユーザIDのユーザの項目名の項目値を更新し、項目値を更新した項目および当該ユーザIDを示す項目IDをSNSデータ処理部へ出力するデータベース更新部を備え、記憶部が、項目IDと、更新した項目値とを対応付けた項目情報を備え、データベース更新部は、(1)受け付けた更新要求に項目IDが含まれていなかった場合、更新要求に含まれるユーザIDおよび項目名を示す項目IDを発行し、更新要求に含まれる項目値を用いて共通テーブルおよび独自テーブルにおける当該ユーザに関する当該項目の項目値を更新し、発行した項目IDと、更新した項目値とを対応付けて、項目情報に記憶し、発行した項目IDをSNSデータ処理部へ出力し、(2)受け付けた更新要求に項目IDが含まれていた場合において、(a)この更新要求に含まれる項目値が、項目情報における当該項目IDに対応付けられた項目値とは異なるとき、項目情報における当該項目に関する項目値を、更新要求に含まれる項目値に更新し、項目値を用いて共通テーブルおよび独自テーブルを更新し、(b)この更新要求に含まれる項目値が、項目情報における当該項目IDに対応付けられた項目値と同じとき、共通テーブルおよび独自テーブルを更新せず、SNSデータ処理部は、データベース更新部から出力された項目IDに対応する項目の更新要求を、再度データベース更新部へ出力するとき、当該出力された項目IDを含む更新要求を出力する構成とした。
In the invention according to
また、請求項7に記載の発明は、請求項6に記載のプロパティ情報管理方法において、端末装置から、ユーザID、項目名および項目値を含むプロパティ情報の更新要求を受け付けたとき、更新要求に基づき、共通テーブルおよび独自テーブルにおける当該ユーザIDのユーザの項目名の項目値を更新し、項目および当該ユーザIDを示す項目IDをSNSデータ処理部へ出力するデータベース更新部を備えるSNSサーバのデータベース更新部が、(1)受け付けた更新要求に項目IDが含まれていなかった場合、更新要求に含まれるユーザIDおよび項目名を示す項目IDを発行し、更新要求に含まれる項目値を用いて共通テーブルおよび独自テーブルにおける当該ユーザに関する当該項目の項目値を更新するステップと、発行した項目IDと、更新した項目値とを対応付けて、項目情報に記憶するステップと、発行した項目IDをSNSデータ処理部へ出力するステップとを実行し、(2)受け付けた更新要求に項目IDが含まれていた場合において、(a)この更新要求に含まれる項目値が、項目情報における当該項目IDに対応付けられた項目値とは異なるとき、項目情報における当該項目に関する項目値を、更新要求に含まれる項目値に更新するステップと、項目値を用いて共通テーブルおよび独自テーブルを更新ステップとを実行し、(b)この更新要求に含まれる項目値が、項目情報における当該項目IDに対応付けられた項目値と同じとき、共通テーブルおよび独自テーブルを更新せず、SNSデータ処理部が、データベース更新部から出力された項目IDに対応する項目の更新要求を、再度データベース更新部へ出力するとき、当該出力された項目IDを含む更新要求を出力するプロパティ情報管理方法とした。 In the property information management method according to claim 6, when an update request for property information including a user ID, an item name, and an item value is received from a terminal device, the update request is received. The database update of the SNS server including the database update unit that updates the item value of the item name of the user of the user ID in the common table and the unique table, and outputs the item and the item ID indicating the user ID to the SNS data processing unit (1) If the received update request does not include an item ID, the department issues an item ID indicating the user ID and item name included in the update request, and uses the item value included in the update request. Update the field value of the field for the user in the table and the original table, and the issued field D is associated with the updated item value and stored in the item information, and the step of outputting the issued item ID to the SNS data processing unit is executed. (2) The item ID is included in the received update request. If the item value included in the update request is different from the item value associated with the item ID in the item information, the item value related to the item in the item information is updated. And updating the common table and the original table using the item value, and (b) the item value included in the update request corresponds to the item ID in the item information. When it is the same as the assigned item value, the common table and the unique table are not updated, and the SNS data processing unit does not correspond to the item ID output from the database updating unit. The item update request to, when outputting the re database update unit, and the property information management method for outputting an update request including the item ID which is the output.
このようなSNSサーバによれば、データベース更新部は、初めてプロパティ情報の項目値の更新を受け付けたユーザ、また同じユーザでも初めて更新を受け付けた項目について項目IDを発行し、SNSデータ処理部へ出力する。また、この発行した項目IDを項目情報として記憶しておく。そして、データベース更新部は、SNSデータ処理部から、この項目IDを含む更新要求を受け付けたとき、当該ユーザのプロパティ情報のうち、前回更新した項目と同じ項目の項目値の更新であると分かる。そして、この項目IDの項目の項目値が同じであれば、各テーブルの更新はせず、項目値が異なれば、各テーブルの更新を行うようにする。つまり、SNSサーバは、プロパティ情報の更新要求を受け付けたとき、更新の必要がなければ、各テーブルにアクセスしないので、各テーブルの更新処理負荷を軽減できる。よって、プロパティ情報のうち、頻繁に更新される項目の項目値(例えば、GPS等により測定されたユーザの現在位置を示す情報)の更新処理の負荷を軽減できる。また、このように共通テーブルと、独自テーブルとによりプロパティ情報を構成することで、例えば、新規にSNSのプロパティ情報を作成するときも、共通テーブルに記録されている共通項目の項目値を用いればよいので、プロパティ情報の作成が容易かつ正確なものとなる。 According to such an SNS server, the database update unit issues an item ID for the user who has received the update of the item value of the property information for the first time, and the item for which the same user has received the update for the first time, and outputs it to the SNS data processing unit To do. The issued item ID is stored as item information. And when a database update part receives the update request containing this item ID from a SNS data processing part, it turns out that it is update of the item value of the same item as the item updated last time among the property information of the said user. And if the item value of the item of this item ID is the same, each table is not updated, and if the item value is different, each table is updated. That is, when receiving an update request for property information, the SNS server does not access each table if there is no need for updating, so the update processing load on each table can be reduced. Therefore, it is possible to reduce the load of updating processing of item values of items that are frequently updated in the property information (for example, information indicating the current position of the user measured by GPS or the like). In addition, by configuring the property information with the common table and the unique table in this way, for example, when newly creating SNS property information, if the item value of the common item recorded in the common table is used, Therefore, the creation of property information is easy and accurate.
請求項3に記載の発明は、請求項1に記載のSNSサーバが、SNSデータ処理部経由で、端末装置から、ユーザID、項目名および項目値を含むプロパティ情報の更新要求を受け付けたとき、更新要求に基づき、共通テーブルおよび独自テーブルにおける当該ユーザIDのユーザの項目名の項目値を更新するデータベース更新部を備え、記憶部が、ユーザID、項目名およびその項目名の項目の項目値を対応付けた項目情報を備え、データベース更新部が、(1)この更新要求に含まれるユーザID、項目名および項目値の組み合わせが、項目情報に記憶されていないとき、項目情報における当該ユーザの当該項目の項目値を、更新要求に含まれる項目値により更新し、ユーザID、項目名および項目値を用いて共通テーブルおよび独自テーブルを更新し、(2)この更新要求に含まれるユーザID、項目名および項目値の組み合わせが、項目情報に記憶されているとき、共通テーブルおよび独自テーブルを更新しないことを特徴とする。
In the invention according to claim 3, when the SNS server according to
このようにすることでも、SNSサーバは更新要求を受け付けたとき、更新の必要がなければ、各テーブルにアクセスしないので、各テーブルの更新処理負荷を軽減できる。 Even in this way, when the SNS server accepts an update request, it does not access each table if there is no need for updating, so that the update processing load on each table can be reduced.
請求項4に記載の発明は、請求項2または請求項3に記載のSNSサーバのデータベース更新部が、所定期間ごとに、記憶部の項目情報に記憶された最新の項目値を用いて共通テーブルおよび独自テーブルを更新することを特徴とする。
In the invention according to claim 4, the database update unit of the SNS server according to
このようにすることで、プロパティ情報のうち、更新頻度の高い項目の項目値は項目情報上で更新しておき、各テーブルへの反映は所定期間ごとに行うので、更新要求の都度、各テーブルの更新を行う必要がなくなり、各テーブルの更新処理負荷をさらに軽減できる。 By doing in this way, item values of items with high update frequency in the property information are updated on the item information and reflected in each table every predetermined period. It is no longer necessary to perform update, and the update processing load on each table can be further reduced.
請求項5に記載の発明は、請求項1ないし請求項4のいずれか1項に記載のSNSサーバの記憶部が、ユーザのフレンドであるユーザのユーザIDおよびそのフレンドであるユーザの属性を示したフレンド情報を備え、SNSデータ処理部あ、第1のユーザに関するデータの処理要求を受け付けたとき、第1のユーザに関するフレンド情報を参照して、処理要求の送信元の端末装置の第2のユーザが、第1のユーザのフレンドであり、かつ、所定の属性を持つユーザであると判断したとき、第2のユーザの端末装置からの処理要求に応じ、第1のユーザに関するデータ処理を実行することを特徴とする。
As for invention of Claim 5, the memory | storage part of the SNS server of any one of
このようにすることで、SNSサーバはSNSに関する各種データ処理について、このデータ処理要求の送信元の端末装置のユーザの属性を考慮した処理を行うことができる。例えば、フレンド情報において、データ処理の要求元の端末装置のユーザBの属性が、「ユーザA」に対し「家族」である、という情報が記録されている場合、このユーザBの「家族」に対し許可されている範囲のデータ処理を行う。具体例を挙げると、SNSサーバの提供するサービスのうち、ユーザAのブログのコメントの追加等が許可されていれば、ユーザBの端末装置からのコメントの追加要求に応じて、コメントを追加する。 By doing in this way, the SNS server can perform the process which considered the attribute of the user of the terminal device of the transmission source of this data processing request about the various data processing regarding SNS. For example, in the friend information, when the information that the attribute of the user B of the terminal device that requested the data processing is “family” with respect to “user A” is recorded, Data processing is performed within the permitted range. For example, in the service provided by the SNS server, if the addition of a comment on the blog of user A is permitted, a comment is added in response to a comment addition request from the terminal device of user B. .
請求項8に記載の発明は、請求項6または請求項7に記載のプロパティ情報管理方法を、コンピュータであるSNSサーバに実行させるためのプログラムである。 The invention according to claim 8 is a program for causing an SNS server, which is a computer, to execute the property information management method according to claim 6 or claim 7.
このようにすることで、請求項6または請求項7に記載のプロパティ情報管理方法を、一般的なコンピュータに実行させることができる。 By doing so, the property information management method according to claim 6 or claim 7 can be executed by a general computer.
本発明によれば、複数のSNSを提供するサーバにおいて、各SNSのプロパティ情報の管理を容易なものとすることができる。 ADVANTAGE OF THE INVENTION According to this invention, in the server which provides several SNS, management of the property information of each SNS can be made easy.
以下、本発明を実施するための形態(以下、実施の形態とする)について説明する。 Hereinafter, modes for carrying out the present invention (hereinafter referred to as embodiments) will be described.
<構成>
まず、図1を用いて、本実施の形態のSNS(ソーシャルネットワークサービス)サーバを含むシステムの全体構成を説明する。システムは、複数のSNSを提供するSNSサーバ10と、このSNSサーバ10との間でデータの送受信を行う端末装置20とを備える。このSNSサーバ10と端末装置20とは、IP(Internet Protocol)ネットワーク等のネットワーク30により接続される。SNSサーバ10は、ネットワーク30経由で、端末装置20から、プロパティ情報等の参照要求、更新要求、SNSに関する各種データ処理要求を受信すると、これに対する参照結果、更新結果、各種データ処理結果を返す。
<Configuration>
First, the overall configuration of a system including an SNS (social network service) server according to the present embodiment will be described with reference to FIG. The system includes an
このようなSNSサーバ10は、入出力部(入力部および出力部)11、処理部12および記憶部13を備えるコンピュータにより実現される。入出力部11は、前記したSNSに関する各種データ処理要求の受信や、各種データ処理結果の送信等を司る。処理部12は、このSNSサーバ10全体の制御を司り、ここでは主に、SNSに関する各種アプリケーション実行処理により、ユーザの端末装置20に対しSNSの提供を行う。また、記憶部13に記憶されるプロパティ情報131(後記)の参照や更新を行う。なお、SNSの提供は、SNSデータ処理部121によるアプリケーションの実行処理により行われ、このSNSデータ処理部121は、1以上のSNSを提供するものとする。記憶部13は、処理部12が処理を実行するときに必要な各種情報やアプリケーション(アプリケーションプログラム)等を記憶する。また、各SNSに関する各ユーザのプロパティ情報は、各SNSに共通な項目とその項目値を示した共通テーブル132と、各SNSに独自の項目とその項目値を示した独自テーブル133とにより構成される。このことを図2を用いて概念的に説明する。
Such an
例えば、各SNSで用いられるプロパティ情報は、図2の符号210に示すような各SNSのプロパティ情報の共通項目(氏名、生年月日等)と、符号211に示すような各SNSのプロパティ情報の独自項目(趣味、現在地等)とから構成される。ここで、ユーザID=XXのSNSID=A1のプロファイル情報のうち、共通項目の項目値を参照する際には、共通テーブル132のユーザID=XXの当該項目の項目値を読み出す。また、SNSID=A1のプロファイル情報の独自項目の項目値を参照する際には、独自テーブル133のうち、SNSID=A1のテーブルからユーザID=XXの当該項目の項目値を読み出す。なお、このユーザID=XXのSNSID=A1のプロファイル情報の全体の参照要求であれば、共通項目および独自項目の項目値を読み出し、出力する。つまり、プロファイル情報のうち、共通項目については、共通テーブル132の項目値を用いるので、各ユーザのプロファイル情報を、SNSごとに管理する必要がなくなる。
For example, the property information used in each SNS includes common items (name, date of birth, etc.) of property information of each SNS as indicated by
なお、図1のSNSサーバ10の入出力部11は、ネットワーク30でデータの通信を行うための通信インタフェース、入出力インタフェースから構成される。また、処理部12は、このSNSサーバ10が備えるCPU(Central Processing Unit)によるプログラム実行処理や、専用回路等により実現される。さらに、記憶部13は、RAM(Random Access Memory)、ROM(Read Only Memory)、HDD(Hard Disk Drive)、フラッシュメモリ等の記憶媒体から構成される。なお、この記憶部13は、SNSデータ処理部121の機能を実現するためのアプリケーションプログラムが格納される。また、項目情報134(後記)は、記憶部13のRAM(メインメモリ)上に記憶されるものとする。これは、項目情報134の情報は、頻繁に更新される可能性が高いからである。
The input /
次に、処理部12の構成を説明する。処理部12は、SNSデータ処理部121およびデータベース処理部122を備える。
Next, the configuration of the
SNSデータ処理部121は、入出力部11で入力された端末装置20からの要求に基づき各SNSのデータ処理を実行し、その処理結果を端末装置20へ返す。つまり、SNSに関する各種サービスを提供する。例えば、端末装置20からブログの更新処理要求を受け付けると、これに応じて、ブログデータ(図示省略)を更新し、その更新結果を端末装置20へ返す。また、SNSデータ処理部121は、端末装置20から、ユーザのプロパティ情報の参照要求や更新要求を受け付けたとき、データベース処理部122に対し、プロパティ情報の参照や更新を指示し、データベース処理部122から、その結果を受け取ると、端末装置20へ返す。
The SNS
データベース処理部122は、SNSデータ処理部121からの指示に基づき、記憶部13に記憶されたプロパティ情報131、フレンド情報135(後記)等各種情報を参照したり、更新したりする。そして、その参照結果や更新結果を、SNSデータ処理部121へ出力する。このようなデータベース処理部122は、データベース参照部123と、データベース更新部124と、フレンド参照部125と、フレンド更新部126とを含んで構成される。
The
データベース参照部123は、ユーザのプロパティ情報の参照要求を受け付けると、この参照要求の対象である項目が、共通テーブル132の項目か、独自テーブル133の項目か判断する。そして、その参照対象の項目を含むテーブルから、プロパティ情報の参照要求の対象であるユーザに関する、当該項目の項目値を読み出し、SNSデータ処理部121へ出力する。例えば、図2を用いて説明すると、データベース参照部123が、SNSデータ処理部121経由で、ユーザID=XXの氏名の参照要求を受け付けたとき、この項目は共通項目なので、共通テーブル132から、このユーザID=XXの氏名に関する項目値を読み出す。また、ユーザID=XXの現在地の参照要求を受け付けたときには、独自テーブル133から、このユーザID=XXのSNSID=A1の現在地の項目値を読み出す。そして、読み出した項目値を、SNSデータ処理部121へ返す。
Upon receiving a user property information reference request, the
データベース更新部124は、プロパティ情報131の更新要求を受け付けると、共通テーブル132または独自テーブル133の情報のうち、更新要求の対象であるSNSのユーザの情報を更新する。具体的には、まず、データベース更新部124は、SNSデータ処理部121経由で、プロパティ情報131の更新要求を入力を受け付けたとき、この更新要求に更新要求の対象となる項目名およびユーザIDを示す項目IDが含まれているか否かを判断する。ここで、項目IDが含まれていなかった場合、データベース更新部124は、この更新要求の対象となる項目名およびユーザIDを示す項目IDを発行する。この項目IDは、毎回ユニークな値(またはランダムな値)を発行するものとする。そして、入力された更新要求に含まれる項目値を用いて共通テーブル132および独自テーブル133における当該ユーザに関する当該項目の項目値を更新する。また、データベース更新部124は、発行した項目IDと、項目値とを対応付けて項目情報134に記憶する。そして、この発行した項目IDをSNSデータ処理部121へ出力する。つまり、当該ユーザのプロパティ情報131のうち、今まで更新したことのない項目の項目値の更新であれば、その項目の項目IDと、項目値とを項目情報134に記憶しておく。また、発行した項目IDを、SNSデータ処理部121(および更新要求の端末装置20)へ通知し、SNSデータ処理部121は、再度同じユーザについて同じ項目の更新要求を出力する際には、更新要求にこの項目IDを含めて出力する。よって、データベース更新部124は、この更新要求に項目IDがあるか否かで、この更新要求が、新たなユーザからの項目値の更新要求であるか否かや、同じユーザからの新たな項目の更新要求であるか否かを判断できる。
When the
また、データベース更新部124は、入力された更新要求に項目名およびユーザIDを示す項目IDが含まれていた場合において、この更新要求に含まれる項目値が、項目情報134における当該項目IDに対応付けられた項目値と同じか否かを判断する。つまり、この更新要求が、同じユーザのプロファイル情報について、同じ項目について、同じ値で更新する旨の更新要求であるか否かを判断する。ここで、同じユーザ、同じ項目について、同じ値で更新する旨の更新要求でないと判断したとき、項目情報134における当該項目に関する項目値を、この更新要求に含まれる項目値に更新する。また、この項目値を用いて共通テーブル132または独自テーブル133の当該項目の項目値を更新する。一方、データベース更新部124は、更新要求に含まれる項目値が、項目情報134における当該項目IDに対応付けられた項目値と同じとき、つまり、ここで、同じユーザ、同じ項目について、同じ値で更新する旨の更新要求であると判断したとき、共通テーブル132および独自テーブル133を更新しない。これにより、同じユーザから同じ項目について同じ項目値の更新要求を受け付けた場合、各種テーブルの更新処理を行う必要がなくなる。
In addition, when the input update request includes an item ID indicating an item name and a user ID, the
フレンド参照部125は、SNSデータ処理部121経由で、ユーザIDを含むフレンド参照要求を受け付けたとき、フレンド情報135において、このユーザIDのフレンドのユーザID(フレンドID)と、そのフレンドの属性を読み出し、SNSデータ処理部121へ出力する。ここで読み出したフレンドの属性は、SNSデータ処理部121がフレンドの属性に基づく処理を行う際に参照される。つまり、SNSデータ処理部121は、第1のユーザに関するデータの処理要求を受け付けたとき、このフレンド情報135を参照して、処理要求の送信元の端末装置20の第2のユーザが、第1のユーザのフレンドであり、かつ、所定の属性を持つユーザであると判断したとき、第2のユーザの端末装置20からの処理要求に応じ、第1のユーザに関するデータ処理を実行する。例えば、フレンド情報135において、ユーザAに関するデータ処理を受け付け、そのデータ処理の要求元がユーザBの端末装置20であった場合を考える。ここで、フレンド情報135において、ユーザBの属性が、「ユーザA」に対し「家族」である場合、SNSデータ処理部121は、このユーザAの「家族」に対し許可されている範囲のデータ処理を行う。
When the
フレンド更新部126は、SNSデータ処理部121経由で、フレンド情報135の更新要求を受け付けたとき、この更新要求に基づきフレンド情報135のフレンドや、そのフレンドの属性の更新等を行う。例えば、フレンド情報135に既に登録されたフレンドの属性の変更であれば、その変更対象のフレンドの属性を変更する。また、フレンドの追加であれば、そのユーザのフレンドIDを追加し、また、そのフレンドの属性を追加する。
When the
次に、記憶部13を説明する。記憶部13は、プロパティ情報131と、項目情報134、フレンド情報135と、ユーザID情報136とを記憶する。
Next, the
プロパティ情報131は、共通テーブル132と、独自テーブル133とを備える。このうち、共通テーブル132は、プロパティ情報131の項目のうち、各SNSに共通する項目(共通項目)の項目値を示したテーブルである。例えば、図2に例示するように、ユーザIDごとに、そのユーザの参加しているSNSのID(SNSID)と、共通項目と、そのユーザに関する共通項目の値とを示した情報である。例えば、図2の共通テーブル132は、ユーザID「XX」のユーザのSNSIDは、「A1,A2」であり、氏名は「aa」であり、生年月日は「bb」であることを示す。
The
また、独自テーブル133は、図2に例示するように、SNSごとに、そのSNSに参加しているユーザIDと、当該ユーザに関する、そのSNSの独自項目の項目値とを示したテーブルである。図2の独自テーブル133のうち、一番手前側のテーブルは、SNSIDが「A1」の独自項目の項目値を示したテーブルであり、ユーザID「XX」のユーザの現在地は「cc」であり、趣味は「dd」であることを示す。 In addition, as illustrated in FIG. 2, the unique table 133 is a table showing, for each SNS, a user ID participating in the SNS and item values of the unique items of the SNS regarding the user. The table on the foremost side of the unique table 133 in FIG. 2 is a table showing the item value of the unique item whose SNSID is “A1”, and the current location of the user with the user ID “XX” is “cc”. The hobby is “dd”.
図1の説明に戻る。項目情報134は、データベース更新部124により、プロパティ情報131のうち、項目値が更新された項目の項目IDと、その項目の項目値とを対応付けて示した情報である。この項目情報134は、例えば、記憶部13のRAM上に記憶される。そして、この項目情報134に示される項目IDとその項目値とは、データベース更新部124が、各テーブルの項目値を更新する必要があるか否かを判断するときに参照される。
Returning to the description of FIG. The item information 134 is information indicating the item ID of the item whose item value is updated in the
フレンド情報135は、各SNSについて、そのSNSの各ユーザのフレンドとなるユーザのユーザID(フレンドID)と、そのフレンドとなるユーザの属性とを示した情報である。このフレンド情報135は、例えば、SNSデータ処理部121等が、所定のユーザの端末装置20から、データ処理要求を受け付けたとき、そのユーザの属性をもとに、そのデータ処理要求に応じて処理を実行してよいか否かを判断するときに参照される。
The friend information 135 is information indicating, for each SNS, a user ID (friend ID) of a user who is a friend of each user of the SNS and an attribute of the user who is the friend. For example, when the SNS
ユーザID情報136は、SNSごとに、そのSNSに加入しているユーザのユーザIDを示した情報である。このユーザID情報136は、新規に共通テーブル132や独自テーブル133を作成する際に参照される。このユーザID情報136の情報は、入出力部11経由で事前に入力されているものとする。
The
以上説明したSNSサーバ10によれば、各SNSのプロパティ情報を、個別に管理する必要がないので、管理の手間を軽減できる。また、プロパティ情報131の項目値の更新要求を受け付けた場合において、その更新要求に含まれる項目値が、同じユーザ、同じ項目についての同じ項目値であったとき、各テーブルへの項目値の反映を省くことができる。これにより、各テーブルの更新処理の負荷を軽減できる。さらに、フレンド情報135は、各ユーザのフレンドのユーザID(フレンドID)のみならず、そのフレンドの属性も含む。よって、SNSデータ処理部121は、このフレンドの属性に基づくデータ処理を実行することができる。
According to the
<処理手順>
次に、図1を参照しつつ、図3〜図7を用いて、SNSサーバ10の処理手順を説明する。まず、図3(a)および(b)を用いて、新規に共通テーブル132および独自テーブル133の作成するときの作成手順を説明する。
<Processing procedure>
Next, the processing procedure of the
<新規作成処理>
図1のSNSデータ処理部121は、入出力部11経由で、共通テーブル132に設ける項目名一覧を含む新規共通テーブル作成要求を受け付けると、この作成要求をデータベース処理部122に出力する(図3(a)のS11)。これを受けてデータベース処理部122のデータベース更新部124は、この項目名一覧を記憶部13の所定領域に登録する(S12)。そして、データベース更新部124は、ユーザID情報136から全ユーザIDの一覧を取得し(S13)、S12で記憶部13に登録しておいた項目名一覧と、S13で取得した全ユーザIDの一覧とを用いて新規の共通テーブル132を作成する(S14)。作成した共通テーブル132は記憶部13の所定領域に記憶する。データベース処理部122のデータベース更新部124は、新規に共通テーブル132を作成したことを、SNSデータ処理部121に通知する(S15)。
<New creation process>
When the SNS
また、図1のSNSデータ処理部121は、入出力部11経由で、独自テーブル133に設ける項目名一覧と、SNSIDとを含む新規独自テーブル作成要求を受け付けると、データベース処理部122に出力する(図3(b)のS21)。これを受けてデータベース処理部122のデータベース更新部124は、S12と同様に、この項目名一覧を記憶部13の所定領域に登録する(S22)。そして、データベース更新部124は、ユーザID情報136から、S22で受け付けたSNSIDのユーザIDの一覧を取得し(S23)、S22で記憶部13に登録しておいた項目名一覧と、S23で取得したユーザIDの一覧とを用いて新規に独自テーブル133を作成する(S24)。作成した独自テーブル133は記憶部13の所定領域に記憶する。データベース処理部122のデータベース更新部124は、新規に独自テーブル133を作成したことを、SNSデータ処理部121に通知する(S25)。以上のようにして、データベース更新部124は、新規に共通テーブル132および独自テーブル133を作成する。
When the SNS
<新規項目追加処理>
次に、図4(a)および(b)を用いて、共通テーブル132および独自テーブル133に新規項目を追加するときの手順を説明する。まず、SNSデータ処理部121は、入出力部11経由で、共通項目に関する新規項目の項目名を含む作成要求を受け付けると、この作成要求を、データベース処理部122に出力する(図4(a)のS31)。これを受けてデータベース処理部122のデータベース更新部124は、新規項目の項目名を記憶部13の所定領域に登録し(S32)、この登録した項目名を用いて、共通テーブル132に新規項目を作成する(S33)。そして、新規項目を作成した共通テーブル132を記憶部13の所定領域に記憶する。次に、データベース処理部122は、共通テーブル132に新規項目を作成したことを、SNSデータ処理部121に通知する(S34)。
<New item addition processing>
Next, a procedure for adding a new item to the common table 132 and the unique table 133 will be described with reference to FIGS. First, when the SNS
また、SNSデータ処理部121は、入出力部11経由で、独自テーブル133に関する新規項目の項目名と、SNSIDとを含む新規項目の作成要求を受け付けると、この作成要求をデータベース処理部122に出力する(図4(b)のS41)。これを受けてデータベース処理部122のデータベース更新部124は、S32と同様に、新規項目の項目名を記憶部13の所定領域に登録し(S42)、この登録した項目名を用いて、当該SNSIDの独自テーブル133に新規項目を作成する(S43)。そして、新規項目を作成した独自テーブル133を記憶部13の所定領域に記憶する。次に、データベース処理部122は、この独自テーブル133に新規項目を作成したことを、SNSデータ処理部121に通知する(S44)。以上のようにして、データベース更新部124は、新規に共通テーブル132および独自テーブル133を作成する。
When the SNS
<項目値の参照処理>
次に、図5(a)および(b)を用いて、共通テーブル132および独自テーブル133の項目値を参照するときの手順を説明する。まず、SNSデータ処理部121は、入出力部11経由で、ユーザID、参照対象となる項目の項目名を含む項目値の参照要求を受け付けると、この参照要求をデータベース処理部122に出力する(図5(a)のS51)。これを受けてデータベース処理部122のデータベース参照部123は、共通テーブル132および独自テーブル133の項目名から、参照要求の項目名の検索を行う(S52)。そして、この参照要求の項目名が共通テーブル132の項目であると判断すると、共通テーブル132から、当該ユーザIDの当該項目名の項目値の参照(読み出し)を行う(S53)。そして、この共通テーブル132から読み出した項目値を(S54)、SNSデータ処理部121に出力する(S55)。
<Reference processing of item value>
Next, a procedure when referring to the item values of the common table 132 and the unique table 133 will be described with reference to FIGS. First, when the SNS
また、SNSデータ処理部121は、入出力部11経由で、ユーザIDと、参照対象となる項目の項目名と、SNSIDとを含む項目値の参照要求を受け付けると(図5(b)のS61)、データベース処理部122に出力する。これを受けてデータベース処理部122のデータベース参照部123は、共通テーブル132および独自テーブル133の項目名から、項目名の検索を行う(S62)。そして、この項目名が独自テーブル133の項目であると判断すると、このSNSIDの独自テーブル133から当該ユーザIDの当該項目名の項目値の参照(読み出し)を行う(S63)。そして、この独自テーブル133から項目値を読み出し(S64)、SNSデータ処理部121に出力する(S65)。以上のようにして、データベース更新部124は、共通テーブル132および独自テーブル133の項目値の参照処理を行う。
When the SNS
<項目値の更新処理>
次に、図6(a)および(b)を用いて、共通テーブル132および独自テーブル133の項目値を更新するときの手順を説明する。まず、SNSデータ処理部121は、入出力部11経由で、ユーザIDと、更新対象となる項目の項目名と、項目値とを含む項目値の更新要求を受け付けると、データベース処理部122に出力する(図6(a)のS71)。これを受けてデータベース処理部122のデータベース更新部124は、共通テーブル132および独自テーブル133の項目名から、項目名の検索を行う(S72)。そして、データベース更新部124は、この項目名が共通テーブル132の項目であると判断すると、共通テーブル132における、当該ユーザIDの当該項目名の項目値の更新を行い(S73)、更新した旨をSNSデータ処理部121に通知する(S74)。
<Item value update processing>
Next, a procedure for updating item values in the common table 132 and the unique table 133 will be described with reference to FIGS. First, when the SNS
また、SNSデータ処理部121は、入出力部11経由で、ユーザIDと、更新対象となる項目の項目名と、SNSIDとを含む項目値の更新要求を受け付けると(図6(b)のS81)、データベース処理部122に出力する。これを受けてデータベース処理部122のデータベース更新部124は、共通テーブル132および独自テーブル133の項目名から、項目名の検索を行う(S82)。そして、データベース更新部124は、この項目名が独自テーブル133の項目であることを確認すると、このSNSIDの独自テーブル133における、当該ユーザIDの当該項目名の項目値の更新を行い(S83)、更新した旨をSNSデータ処理部121に通知する(S84)。
When the SNS
ここで、データベース処理部122による、共通テーブル132および独自テーブル133の項目値の更新処理の詳細を、図7を用いて説明する。
Here, details of the update processing of the item values of the common table 132 and the unique table 133 by the
まず、SNSデータ処理部121は、入出力部11経由で、更新要求の対象となるユーザIDと、項目名と、項目値とを含む項目値の更新要求を受け付けると、この更新要求をデータベース処理部122に出力する(S91、図6(a)のS71に相当)。そして、データベース処理部122のデータベース更新部124は、この更新要求に項目IDが含まれるか否かを判断する(S92)。ここで、更新要求に項目IDが含まれていなければ(S92のNo)、新規に項目IDを発行する(S94)。そして、更新要求に含まれるユーザIDおよび項目名をキーとして共通テーブル132または独自テーブル133を検索し、どのテーブルのどの項目名の項目値を更新すればよいか特定する。そして、データベース処理部122のデータベース更新部124は、この特定したテーブルの、当該ユーザ、当該項目名の項目値を、更新する(S96)。また、データベース更新部124は、項目情報134に、発行した項目IDと、更新要求に含まれる項目値とを対応付けて記憶する。そして、データベース処理部122のデータベース更新部124は、発行した項目IDを、SNSデータ処理部121に出力する(S97)。この後、SNSデータ処理部121は、同じユーザから同じ項目の更新要求を受け付けたとき、この項目IDを含む更新要求をデータベース処理部122へ出力する。
First, when the SNS
一方、S92においてSNSデータ処理部121から出力された更新要求に項目IDが含まれていれば(S92のYes)、データベース処理部122のデータベース更新部124は、この項目IDが、項目情報134に記憶されているか否かを判断する(S93)。ここで、この項目IDが、項目情報134に記憶されていれば(S93のYes)、この項目情報134における、当該項目IDに対応する項目値が、今回の項目値(更新要求に含まれる項目値)と同じか否かを判断する(S95)。一方、項目IDが、項目情報134に記憶されていなければ(S93のNo)、S96へ進む。
On the other hand, if the item ID is included in the update request output from the SNS
S95において、この項目情報134における当該項目IDに対応する項目値が、今回の項目値(更新要求に含まれる項目値)と同じであれば(S95のYes)、データベース処理部123のデータベース更新部124は、SNSデータ処理部121に「OK」を返却する(S97)。このとき、データベース更新部124は、項目情報134における項目値更新も、各テーブルにおける項目値更新も行わない。つまり、前回と同じユーザから、同じ項目について、同じ項目値での更新要求を受け付けたときには、データベース更新部124は、各テーブルにおける更新処理を行わない。これにより、データベース更新部124は、各テーブルの項目値について不要な更新処理を行う必要がなくなる。また、データベース更新部124は、この項目情報134における当該項目IDに対応する項目値が、今回の項目値(更新要求に含まれる項目値)と異なる値であれば(S95のNo)、S96へ進む。つまり、データベース更新部124は、更新要求に示されるユーザID、項目名、項目値を用いて、各テーブルの更新処理と、項目情報134の更新処理とを実行する。
In S95, if the item value corresponding to the item ID in the item information 134 is the same as the current item value (the item value included in the update request) (Yes in S95), the database updating unit of the
以上説明したデータベース処理部122のデータベース更新部124によれば、ユーザから新たな項目値の更新要求を受け付けたとき、項目IDを発行し、その項目IDをSNSデータ処理部121に出力する。そして、このSNSデータ処理部121は、再度同じユーザのプロファイル情報について、同じ項目の項目値の更新要求を受け付けたときには、その項目IDを含む更新要求を出力する。つまり、データベース更新部124は、過去に同じユーザから同じ項目の更新要求を受け付けたか否か、また、その項目の項目値がどのような値かを項目IDをキーとして項目情報134を検索できるので、データベース更新部124は、同じユーザから同じ項目について同じ項目値での更新要求を受け付けたか否かを迅速に判断できる。
According to the
なお、ここでは説明を省略したが、SNSデータ処理部121は、ユーザID、そのユーザのフレンドのID(フレンドID)、そのユーザの属性を示すラベルを含むフレンドの更新要求を受け付けると、この更新要求をフレンド更新部126へ出力する。これを受けて、フレンド更新部126は、フレンド情報135に、フレンドやその属性を更新したり、追加したりする。また、SNSデータ処理部121は、ユーザID、そのフレンドの属性を示すラベル等を含むフレンドの参照要求を受け付けると、この参照要求をフレンド参照部125へ出力する。これを受けて、フレンド参照部125は、フレンド情報135から、当該ユーザのフレンドや、そのフレンドのうち、参照要求に示される属性を持つフレンドの一覧を、SNSデータ処理部121へ返す。
Although not described here, the SNS
<第2の実施の形態>
次に、図8を用いて、本発明の第2の実施の形態のSNSサーバ10Aを説明する。第2の実施の形態のSNSサーバ10Aは、SNSデータ処理部121による処理結果を示すアクティビティ情報139を生成することを特徴とする。前記した実施の形態と同様の構成要素は、同じ符号を付して説明を省略する。
<Second Embodiment>
Next, the
<構成>
図8のSNSサーバ10Aの記憶部13は、モジュール群137およびモジュールテーブル138を記憶する。また、記憶部13は、アクティビティ情報139を記憶する領域を備える。さらに、SNSサーバ10Aの処理部12は、モジュール管理部127をさらに備える。
<Configuration>
The
モジュール群137は、SNSデータ処理部121のアプリケーションプログラム実行処理に伴い実行されるプログラムのモジュール群である。
The
モジュールテーブル138は、各アプリケーションプログラムの実行処理に伴い実行されるプログラムのモジュールを示した情報である(表1参照)。 The module table 138 is information indicating a program module to be executed in accordance with the execution process of each application program (see Table 1).
アクティビティ情報139は、SNSデータ処理部121が実行した処理内容を示す情報である。例えば、SNSデータ処理部121がユーザAのブログを公開した場合、アクティビティ情報139は、「ユーザAがブログを公開した」という内容になる。また、SNSデータ処理部121がユーザBに対し音楽の配信サービスを提供した場合、アクティビティ情報139は、「ユーザBが音楽を聴いた」という内容になり、SNSデータ処理部121がユーザCの端末装置20から、写真の画像のアップロードを受け付けた場合、アクティビティ情報139は、「ユーザCが写真の画像をアップロードした」という内容になる。
The
なお、SNSデータ処理部121およびデータベース処理部122は、第1の実施の形態で述べた処理に加え、以下の処理を行う。SNSデータ処理部121は、アプリケーションプログラムを実行すると、このプログラムの実行に関するアクティビティ情報登録要求をデータベース処理部122へ出力する処理をさらに行う。データベース処理部122は、アクティビティ情報登録要求を受け取ると、モジュール管理部127に対し、このアプリケーションの実行に伴い実行するモジュール(対象モジュール)を呼び出す処理をさらに行う。
Note that the SNS
モジュール管理部127は、データベース処理部122からのモジュール呼び出し指示に基づき、モジュールテーブル138を参照して、アプリケーションプログラムの実行に伴い実行すべきプログラムのモジュールを、モジュール群137から選択する。そして、このモジュール管理部127の備えるシナリオ実行部128は、選択されたモジュールの実行処理を行う。
Based on the module call instruction from the
例えば、SNSデータ処理部121がユーザAのブログを公開したとき、このことをデータベース処理部122に通知する。そして、この通知を受けてデータベース処理部122は、対象モジュールの呼び出し指示をモジュール管理部127に出力する。また、この対象モジュールの呼び出し指示を受けてモジュール管理部127は、モジュールを選択し、この選択したモジュールを起動させる。そして、シナリオ実行部128は、アクティビティ情報登録要求に示されるユーザAのフレンドの検索をデータベース処理部122に対し要求し、ここで検索されたフレンドへ通知するアクティビティ情報を生成する。例えば、シナリオ実行部128は、このモジュールに基づき、アクティビティ情報登録要求に示されるユーザのフレンドの検索をデータベース処理部122に対し要求し、ユーザAのフレンドがユーザB,Cであるという検索結果を得た場合を考える。この場合、シナリオ実行部128は、ユーザAがブログを公開したことを示すアクティビティ情報139を生成し、この生成したアクティビティ情報139を、ユーザB,Cの端末装置20に通知する。
For example, when the SNS
<処理手順>
次に、図8を参照しつつ、図9を用いて、SNSサーバ10Aの処理手順を説明する。まず、データベース処理部122は、アプリケーションプログラムの実行処理を行うと、この実行処理に伴うアクティビティ情報139の登録要求(アクティビティ情報登録要求)をデータベース処理部122へ出力する(S101)。この登録要求は、このアプリケーションプログラムの実行要求の送信元の端末装置20のユーザID、アプリケーションプログラムによる処理内容を示すXML(Extensible Markup Language)データ(XML)、実行したアプリケーションプログラムのID(APLID)を含む。このようなアクティビティ情報登録要求を受信したデータベース処理部122は、このアプリケーションプログラムの実行に伴い実行する対象モジュールの呼び出し指示をモジュール管理部127に出力する(S102)。この呼び出し指示は、前記したユーザID、XML、APLIDを含む。
<Processing procedure>
Next, the processing procedure of the
このような呼び出し指示を受け付けたモジュール管理部127は、この呼び出し指示に含まれるAPLIDをキーとして、モジュールテーブル138を参照して、このアプリケーションの実行に伴い起動させるモジュールをモジュール群137の中から選択する。そして、この選択したモジュールの起動処理を行う(S103)。そして、シナリオ実行部128は、この呼び出し要求に含まれるXMLを解析し(S104)、この解析したXMLに基づくモジュールの実行を行う。ここでは、対象モジュールの呼び出し指示に含まれるユーザIDを示したフレンドの検索要求をデータベース処理部122のフレンド参照部125に出力し、フレンドの呼び出しを行う(S105)。そして、フレンド参照部125は、ユーザIDをキーとしてフレンド情報135から、当該ユーザのフレンド検索処理を行う(S106)。次に、検索したフレンドをフレンドID一覧として、モジュール管理部127へ返す。そして、モジュール管理部127のシナリオ実行部128は、アプリケーションの実行結果を示すアクティビティ情報139を生成し(S107)、この生成したアクティビティ情報139を、S106で検索されたフレンドID一覧に示されるフレンドへ通知する(S108)。
Upon receiving such a call instruction, the
例えば、シナリオ実行部128は、ユーザAがブログを公開したというアクティビティ情報139を、ユーザAのフレンドである、ユーザB,Cの端末装置20のブラウザ等へ通知する。これにより、ユーザB,Cは、自身のフレンドであるユーザAがブログを公開したことを知ることができる。
For example, the
なお、モジュールテーブル138に記載されるアプリケーションプログラムの実行に伴い実行すべきプログラムのモジュールは、入出力部11からの指示入力に基づき変更可能である。例えば、ユーザAからの指示に基づき、アプリケーションプログラムXXの実行に伴い実行すべきプログラムのモジュールをb,cからd,eに変更することも可能である。このようにすることで、アプリケーションプログラムの実行に連動して実行すべきプログラムのモジュールを、ユーザの所望するものに変更可能となり、ユーザに様々なサービスを提供できる。
Note that the module of the program to be executed in accordance with the execution of the application program described in the module table 138 can be changed based on an instruction input from the input /
また、図1,8のデータベース更新部124は、SNSデータ処理部121により新たな項目値を含む更新要求を受け付けると、(1)項目情報134における当該更新要求に含まれる項目の項目値の更新と、(2)各テーブルの項目の項目値の更新とを行うが、(1)(2)の更新のタイミングは同じでなくてもよい。すなわち、データベース更新部124は、更新要求により新たな項目値を受け付けるたびに、項目情報134上の項目値を更新するが、この項目情報134に記憶された項目値を各テーブルに反映処理については、所定期間ごとに実行してもよい。つまり、データベース更新部124は、所定期間内は項目情報134上で項目値を更新していき、所定期間経過後、その項目情報134上の項目値(最新の項目値)をもって各テーブルの更新を行うようにしてもよい。このようにすることで、例えば、各端末装置20から送信されてくる項目値が、GPS(Global Positioning System)により測定されたユーザの位置情報等、頻繁に値が変わる項目値であっとしても、データベース更新部124は、この項目値を受信するたびに各テーブルを更新する必要がなくなる。よって、各テーブルの更新処理の負荷を軽減できる。
1 and 8, when the SNS
さらに、図1,8のデータベース更新部124は、受け付けた更新要求に含まれる項目IDを用いて、同じユーザの同じ項目に関する更新要求か否かを判断することとしたが、更新要求に含まれるユーザIDと項目名を用いて判断するようにしてもよい。つまり、項目情報134には、過去に受け付けた更新要求のユーザIDおよび項目名と、その項目の項目値とを対応付けた情報を記憶しておき、データベース更新部124は、受け付けた更新要求に含まれるユーザID、項目名および項目値の組み合わせが、項目情報134に記憶されていれば、同じユーザから同じ項目について同じ項目値による更新要求を受け付けたと判断して、各テーブルへの更新処理を行わない。一方、受け付けた更新要求に含まれるユーザID、項目名および項目値の組み合わせが、項目情報134に記憶されていなければ、データベース更新部124は、(1)異なるユーザからの更新要求、(2)同じユーザでも異なる項目に関する更新要求、または、(3)同じユーザからの同じ項目に関する更新要求だが、異なる更新値による更新要求と判断して、各テーブルへの更新処理を行う。このようにすることで、データベース更新部124は、項目IDを用いずに、同じユーザの同じ項目に関する更新要求か否かを判断することができる。
Further, the
また、データベース更新部124は、項目情報134の情報を所定期間ごとに消去するようにしてもよい。このようにすることで、記憶部13の項目情報134に確保されたリソースを有効活用できる。
Further, the
10,10A SNSサーバ
11 入出力部
12 処理部
13 記憶部
20 端末装置
30 ネットワーク
121 SNSデータ処理部
122 データベース処理部
123 データベース参照部
124 データベース更新部
125 フレンド参照部
126 フレンド更新部
127 モジュール管理部
128 シナリオ実行部
131 プロパティ情報
132 共通テーブル
133 独自テーブル
134 項目情報
135 フレンド情報
136 ユーザID情報
137 モジュール群
138 モジュールテーブル
139 アクティビティ情報
10,
Claims (8)
ネットワーク経由で、前記SNSのユーザの端末装置から各種情報の入力を受け付ける入力部と、
(1)前記ユーザのユーザIDごとに、前記SNSそれぞれのプロパティ情報の項目の共通項目と、その共通項目の項目値を示した共通テーブルと、(2)前記各SNSについて、そのSNSを利用する前記ユーザのユーザIDごとに、当該SNSのプロパティ情報の項目のうち、前記共通項目以外の項目である独自項目と、その独自項目の項目値とを示した独自テーブルとを記憶する記憶部と、
前記入力部経由で入力された前記端末装置からの処理要求に基づきSNSのデータ処理を実行し、その実行結果を前記端末装置へ返すSNSデータ処理部と、
前記SNSデータ処理部経由で、前記端末装置から、前記ユーザの前記プロパティ情報の参照要求を受け付けたとき、前記参照要求の対象となる項目値のうち、前記共通項目の項目値については前記共通テーブルから読み出し、前記独自項目の項目値については前記独自テーブルから読み出し、その読み出した項目値を前記SNSデータ処理部へ出力するデータベース参照部と、
前記SNSデータ処理部およびデータベース参照部による処理結果を、前記端末装置へ出力する出力部とを備えることを特徴とするSNSサーバ。 An SNS server that provides a plurality of SNSs and manages property information of the plurality of SNSs,
An input unit for receiving input of various information from the terminal device of the SNS user via a network;
(1) For each user ID of the user, a common item of the property information items of the SNS, a common table indicating the item values of the common items, and (2) using the SNS for each SNS A storage unit that stores, for each user ID of the user, a unique table that is an item other than the common item among items of the property information of the SNS, and a unique table that indicates item values of the unique item;
An SNS data processing unit that executes SNS data processing based on a processing request from the terminal device input via the input unit, and returns an execution result to the terminal device;
When a reference request for the property information of the user is received from the terminal device via the SNS data processing unit, the item value of the common item among the item values subject to the reference request is the common table. A database reference unit that reads out the item value of the unique item from the unique table and outputs the read item value to the SNS data processing unit;
An SNS server, comprising: an output unit that outputs processing results obtained by the SNS data processing unit and the database reference unit to the terminal device.
前記SNSデータ処理部経由で、前記端末装置から、前記ユーザID、項目名および項目値を含む前記プロパティ情報の更新要求を受け付けたとき、前記更新要求に基づき、前記共通テーブルおよび独自テーブルにおける当該ユーザIDのユーザの前記項目名の項目値を更新し、前記項目値を更新した項目および当該ユーザIDを示す項目IDを前記SNSデータ処理部へ出力するデータベース更新部を備え、
前記記憶部は、
前記項目IDと、前記更新した項目値とを対応付けた項目情報を備え、
前記データベース更新部は、
(1)前記受け付けた更新要求に前記項目IDが含まれていなかった場合、前記更新要求に含まれるユーザIDおよび項目名を示す項目IDを発行し、前記更新要求に含まれる項目値を用いて前記共通テーブルおよび独自テーブルにおける当該ユーザに関する当該項目の項目値を更新し、前記発行した項目IDと、前記更新した項目値とを対応付けて、前記項目情報に記憶し、前記発行した項目IDを前記SNSデータ処理部へ出力し、
(2)前記受け付けた更新要求に前記項目IDが含まれていた場合において、(a)この更新要求に含まれる項目値が、前記項目情報における当該項目IDに対応付けられた項目値とは異なるとき、前記項目情報における当該項目に関する項目値を、前記更新要求に含まれる項目値に更新し、前記項目値を用いて前記共通テーブルおよび独自テーブルを更新し、(b)この更新要求に含まれる項目値が、前記項目情報における当該項目IDに対応付けられた項目値と同じとき、前記共通テーブルおよび独自テーブルを更新せず、
前記SNSデータ処理部は、
前記データベース更新部から出力された項目IDに対応する項目の更新要求を、再度前記データベース更新部へ出力するとき、当該出力された項目IDを含む更新要求を出力することを特徴とする請求項1に記載のSNSサーバ。 The SNS server is
When an update request for the property information including the user ID, item name, and item value is received from the terminal device via the SNS data processing unit, the user in the common table and the unique table is based on the update request. A database update unit that updates the item value of the item name of the user of the ID, and outputs the item that updated the item value and the item ID indicating the user ID to the SNS data processing unit;
The storage unit
Item information that associates the item ID with the updated item value,
The database update unit
(1) If the item ID is not included in the received update request, an item ID indicating a user ID and an item name included in the update request is issued, and an item value included in the update request is used. The item value of the item related to the user in the common table and the unique table is updated, the issued item ID is associated with the updated item value, stored in the item information, and the issued item ID is Output to the SNS data processing unit,
(2) When the item ID is included in the received update request, (a) the item value included in the update request is different from the item value associated with the item ID in the item information. When the item value related to the item in the item information is updated to the item value included in the update request, the common table and the unique table are updated using the item value, and (b) included in the update request. When the item value is the same as the item value associated with the item ID in the item information, the common table and the unique table are not updated,
The SNS data processing unit
2. The update request including the output item ID is output when an update request for an item corresponding to the item ID output from the database update unit is output to the database update unit again. The SNS server as described in.
前記SNSデータ処理部経由で、前記端末装置から、前記ユーザID、項目名および項目値を含む前記プロパティ情報の更新要求を受け付けたとき、前記更新要求に基づき、前記共通テーブルおよび独自テーブルにおける当該ユーザIDのユーザの前記項目名の項目値を更新するデータベース更新部を備え、
前記記憶部は、前記ユーザID、項目名およびその項目名の項目の項目値を対応付けた項目情報を備え、
前記データベース更新部は、
(1)この更新要求に含まれるユーザID、項目名および項目値の組み合わせが、前記項目情報に記憶されていないとき、前記項目情報における当該ユーザの当該項目の項目値を、前記更新要求に含まれる項目値により更新し、前記ユーザID、項目名および項目値を用いて前記共通テーブルおよび独自テーブルを更新し、
(2)この更新要求に含まれるユーザID、項目名および項目値の組み合わせが、前記項目情報に記憶されているとき、前記共通テーブルおよび独自テーブルを更新しないことを特徴とする請求項1に記載のSNSサーバ。 The SNS server is
When an update request for the property information including the user ID, item name, and item value is received from the terminal device via the SNS data processing unit, the user in the common table and the unique table is based on the update request. A database update unit for updating the item value of the item name of the user of ID,
The storage unit includes item information in which the user ID, the item name, and the item value of the item of the item name are associated with each other,
The database update unit
(1) When the combination of the user ID, item name, and item value included in the update request is not stored in the item information, the item value of the item of the user in the item information is included in the update request Updating the common table and the original table using the user ID, the item name, and the item value,
(2) The common table and the unique table are not updated when a combination of a user ID, an item name, and an item value included in the update request is stored in the item information. SNS server.
所定期間ごとに、前記記憶部の項目情報に記憶された最新の項目値を用いて前記共通テーブルおよび独自テーブルを更新することを特徴とする請求項2または請求項3に記載のSNSサーバ。 The database update unit
4. The SNS server according to claim 2, wherein the common table and the unique table are updated using a latest item value stored in the item information of the storage unit for each predetermined period.
前記ユーザのフレンドであるユーザのユーザIDおよびそのフレンドであるユーザの属性を示したフレンド情報を備え、
前記SNSデータ処理部は、
第1のユーザに関するデータの処理要求を受け付けたとき、前記第1のユーザに関するフレンド情報を参照して、前記処理要求の送信元の端末装置の第2のユーザが、前記第1のユーザのフレンドであり、かつ、所定の属性を持つユーザであると判断したとき、前記第2のユーザの端末装置からの処理要求に応じ、前記第1のユーザに関するデータ処理を実行することを特徴とする請求項1ないし請求項4のいずれか1項に記載のSNSサーバ。 The storage unit
Comprising friend information indicating a user ID of a user who is the friend of the user and an attribute of the user who is the friend;
The SNS data processing unit
When a processing request for data related to the first user is received, the second user of the terminal device that is the transmission source of the processing request refers to the friend information related to the first user, and the friend of the first user When it is determined that the user has a predetermined attribute, data processing relating to the first user is executed in response to a processing request from the terminal device of the second user. The SNS server according to any one of claims 1 to 4.
前記端末装置から、前記ユーザの前記プロパティ情報の参照要求を受け付けたとき、前記参照要求の対象となる項目値のうち、前記共通項目の項目値については前記共通テーブルから読み出し、前記独自項目の項目値については前記独自テーブルから読み出し、その読み出した項目値を、前記参照要求の送信元の端末装置へ出力することを特徴とするプロパティ情報管理方法。 An SNS server that provides a plurality of SNSs and manages property information of the plurality of SNSs, (1) for each user ID of the SNS user, common items of the property information items of the SNSs, A common table indicating item values of common items, and (2) for each SNS, for each user ID of the user using the SNS, among items of property information of the SNS, items other than the common items A storage unit that stores a unique item and a unique table that indicates an item value of the unique item, and performs SNS data processing based on a processing request from the terminal device of the user, and the execution result is transmitted to the terminal An SNS server including an SNS data processing unit to be returned to the device
When the reference request for the property information of the user is received from the terminal device, the item value of the common item is read from the common table among the item values subject to the reference request, and the item of the unique item A property information management method, wherein values are read from the unique table, and the read item values are output to the terminal device that is the source of the reference request.
(1)前記受け付けた更新要求に前記項目IDが含まれていなかった場合、
前記更新要求に含まれるユーザIDおよび項目名を示す項目IDを発行し、前記更新要求に含まれる項目値を用いて前記共通テーブルおよび独自テーブルにおける当該ユーザに関する当該項目の項目値を更新するステップと、
前記発行した項目IDと、前記更新した項目値とを対応付けて、項目情報に記憶するステップと、
前記発行した項目IDを前記SNSデータ処理部へ出力するステップとを実行し、
(2)前記受け付けた更新要求に前記項目IDが含まれていた場合において、
(a)この更新要求に含まれる項目値が、前記項目情報における当該項目IDに対応付けられた項目値とは異なるとき、
前記項目情報における当該項目に関する項目値を、前記更新要求に含まれる項目値に更新するステップと、
前記項目値を用いて前記共通テーブルおよび独自テーブルを更新ステップとを実行し、
(b)この更新要求に含まれる項目値が、前記項目情報における当該項目IDに対応付けられた項目値と同じとき、
前記共通テーブルおよび独自テーブルを更新せず、
前記SNSデータ処理部が、
前記データベース更新部から出力された項目IDに対応する項目の更新要求を、再度前記データベース更新部へ出力するとき、当該出力された項目IDを含む更新要求を出力することを特徴とする請求項6に記載のプロパティ情報管理方法。 When receiving an update request for the property information including the user ID, item name and item value from the terminal device, based on the update request, the item name of the user of the user ID in the common table and the unique table The database update unit in the SNS server includes a database update unit that updates an item value and outputs an item ID indicating the item and the user ID to the SNS data processing unit,
(1) If the item ID is not included in the accepted update request,
Issuing an item ID indicating a user ID and an item name included in the update request, and updating an item value of the item related to the user in the common table and the unique table using an item value included in the update request; ,
Associating the issued item ID with the updated item value and storing it in item information;
Outputting the issued item ID to the SNS data processing unit;
(2) In the case where the item ID is included in the received update request,
(A) When the item value included in the update request is different from the item value associated with the item ID in the item information,
Updating an item value related to the item in the item information to an item value included in the update request;
Executing the step of updating the common table and the unique table using the item value;
(B) When the item value included in the update request is the same as the item value associated with the item ID in the item information,
Without updating the common table and the original table,
The SNS data processing unit
7. When an item update request corresponding to an item ID output from the database update unit is output again to the database update unit, an update request including the output item ID is output. Property information management method described in 1.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009228823A JP2011076478A (en) | 2009-09-30 | 2009-09-30 | Sns server, property information management method and program for the same |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009228823A JP2011076478A (en) | 2009-09-30 | 2009-09-30 | Sns server, property information management method and program for the same |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2011076478A true JP2011076478A (en) | 2011-04-14 |
Family
ID=44020376
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2009228823A Pending JP2011076478A (en) | 2009-09-30 | 2009-09-30 | Sns server, property information management method and program for the same |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2011076478A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2013125282A (en) * | 2011-12-13 | 2013-06-24 | International Universal Menu Association | System, method and program for providing administrative service information |
JP2014535093A (en) * | 2011-10-17 | 2014-12-25 | エンパイア テクノロジー ディベロップメント エルエルシー | Social network report |
JP2020003972A (en) * | 2018-06-27 | 2020-01-09 | 富士ゼロックス株式会社 | Information processing device and program |
-
2009
- 2009-09-30 JP JP2009228823A patent/JP2011076478A/en active Pending
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2014535093A (en) * | 2011-10-17 | 2014-12-25 | エンパイア テクノロジー ディベロップメント エルエルシー | Social network report |
US9373145B2 (en) | 2011-10-17 | 2016-06-21 | Empire Technology Development Llc | Social network reports |
JP2013125282A (en) * | 2011-12-13 | 2013-06-24 | International Universal Menu Association | System, method and program for providing administrative service information |
JP2020003972A (en) * | 2018-06-27 | 2020-01-09 | 富士ゼロックス株式会社 | Information processing device and program |
JP7151211B2 (en) | 2018-06-27 | 2022-10-12 | 富士フイルムビジネスイノベーション株式会社 | Information processing device and program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5905017B2 (en) | Content sharing interface for sharing content within social networks | |
US9185063B1 (en) | System and method for sharing and synchronization of information within a specified information context among users with a mobile electronic device | |
US20170118165A1 (en) | System and method for controlled sharing and synchronizing information across a plurality of mobile client application computers | |
US11356528B2 (en) | Context and social distance aware fast live people cards | |
KR101885689B1 (en) | Uberfeed | |
US8346796B2 (en) | System for searching property listings based on location | |
JP2016105287A (en) | Retrieval service system and retrieval service providing method | |
US8738648B2 (en) | System and method for delivery of business information through an electronic address book | |
JP2015001931A (en) | Server device, display control method and program | |
US20140214960A1 (en) | Methods and systems for targeting query messages in a social graph | |
JP2011170471A (en) | Social graph generation method, social graph generation device and program | |
US20150334101A1 (en) | Aggregator of Media Content | |
US20140114943A1 (en) | Event search engine for web-based applications | |
EP2172900A1 (en) | Community generation support system, community generation support method, and community generation support program | |
US9367624B2 (en) | Identity workflow that utilizes multiple storage engines to support various lifecycles | |
JP2011076478A (en) | Sns server, property information management method and program for the same | |
JP2017083984A (en) | Network system, server, and terminal | |
JP2011048445A (en) | Sns server, content notification method and program for the same | |
JP2009099007A (en) | Service server, update information management server, service system, service program and update information management program | |
JP2016024551A (en) | Electronic magazine creation device, server device, electronic magazine creation system, electronic magazine creation method, and computer program | |
JP5342531B2 (en) | Network system, shared folder icon display method, server, and program | |
JP6114236B2 (en) | Terminal device, electronic magazine creation system, electronic magazine creation method, and computer program | |
US20180091620A1 (en) | Availability data caching in meeting systems | |
JP7030197B2 (en) | Blind location search methods, systems and non-temporary computer-readable recording media | |
JP2007200120A (en) | Map information output device, map information output method, and map information output program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20110822 |