JP2014134877A - Information processing apparatus and queue storage method - Google Patents

Information processing apparatus and queue storage method Download PDF

Info

Publication number
JP2014134877A
JP2014134877A JP2013001165A JP2013001165A JP2014134877A JP 2014134877 A JP2014134877 A JP 2014134877A JP 2013001165 A JP2013001165 A JP 2013001165A JP 2013001165 A JP2013001165 A JP 2013001165A JP 2014134877 A JP2014134877 A JP 2014134877A
Authority
JP
Japan
Prior art keywords
file
processing
message queue
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.)
Granted
Application number
JP2013001165A
Other languages
Japanese (ja)
Other versions
JP5718953B2 (en
Inventor
Masaichi Yamauchi
政一 山内
Takahide Todoroki
高秀 等々力
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.)
Aplix IP Holdings Corp
Original Assignee
Aplix IP Holdings 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 Aplix IP Holdings Corp filed Critical Aplix IP Holdings Corp
Priority to JP2013001165A priority Critical patent/JP5718953B2/en
Publication of JP2014134877A publication Critical patent/JP2014134877A/en
Application granted granted Critical
Publication of JP5718953B2 publication Critical patent/JP5718953B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide an information processing apparatus capable of quickly reading out a queue when utilizing message queuing, and to provide a queue storage method.SOLUTION: A message queue management part 104 generates a character string based on a result of processing received by a user interface 102 and generates a message queue file to be a processing result file using the generated character string as a file name. The message queue management part 104 stores the generated message queue file. Consequently, when storing operation history, processing results, etc., memory consumption can be reduced and reading processing of stored data can be quickly performed. When the message queue file does not include substantial data, utilization efficiency of a memory can be further improved.

Description

本発明は、メッセージキューイングを行う情報処理装置およびキュー記憶方法に関する。   The present invention relates to an information processing apparatus that performs message queuing and a queue storage method.

従来の携帯電話などの携帯端末におけるメールシステムは、メールサーバにおいて新しい電子メールが受信されると、携帯端末にその旨を通知し、または電子メールを配信している。例えば、以下の特許文献1には、メールサーバと携帯コンピューティングデバイスとの間でデータベースの同期をとることの記載がある。より具体的には、特許文献1に記載のデータベースの同期方法においては、メールサーバにおいてメールを受信すると、その旨を携帯コンピューティングデバイスに通知し、携帯コンピューティングデバイスは、メールサーバからメールを取得することができる。   When a new electronic mail is received by a mail server, a mail system in a conventional mobile terminal such as a mobile phone notifies the mobile terminal to that effect or distributes the electronic mail. For example, Patent Document 1 below describes that database synchronization is performed between a mail server and a portable computing device. More specifically, in the database synchronization method described in Patent Document 1, when a mail is received by a mail server, the mobile computing device is notified of the fact, and the mobile computing device acquires the mail from the mail server. can do.

特開2001−274841号公報JP 2001-274841 A

近年、クラウドサーバを利用して、複数の通信端末において同一のメールアカウントを有し、それぞれの端末において同じ電子メールの送受信を行うシステムが考えられている。このシステムにおいては、クラウドサーバ上に電子メールデータ(ヘッダ情報や書誌事項のほか、メール本文や添付ファイルを含む)が保存されており、通信端末は、基本的には各電子メールのヘッダ情報(各種ステータス等)および書誌情報(件名、宛先など)のみを保持している。そして、ユーザが個々の電子メールデータを閲覧する際に、通信端末はクラウドサーバからメール本文および添付ファイルを取得することで、メール本文や添付ファイルを表示することができる。   In recent years, a system that uses a cloud server to have the same mail account in a plurality of communication terminals and perform transmission and reception of the same electronic mail in each terminal has been considered. In this system, e-mail data (including header information and bibliographic items, as well as e-mail text and attached files) is stored on the cloud server. Only various statuses) and bibliographic information (subject, destination, etc.). And when a user browses each electronic mail data, a communication terminal can display a mail text and an attached file by acquiring a mail text and an attached file from a cloud server.

しかしながら、操作履歴等をストレージに逐一、ファイルにして記憶すると、そのキューの数(操作履歴等の数)だけ、ファイルが生じてしまい、ストレージのメモリブロックを大量に消費してしまう、という問題がある。また、キューの内容をファイルデータに保持させると、そのファイルを開く必要が有り、タイムロスが生じる。   However, if the operation history and the like are stored in the storage one by one as a file, the number of queues (the number of operation history etc.) will be generated, and the storage memory block will be consumed in large quantities. is there. Further, if the contents of the queue are held in the file data, it is necessary to open the file, resulting in time loss.

そこで、本発明においては、メッセージキューイングを利用するに際して、キューの読み出しを迅速に行うことができる情報処理装置およびキュー記憶方法を提供することを目的とする。   Accordingly, an object of the present invention is to provide an information processing apparatus and a queue storage method capable of quickly reading a queue when using message queuing.

上述の課題を解決するために本発明の情報処理装置は、入力を受け付ける入力手段と、 前記入力手段が受け付けた入力に応じた処理を行う処理手段と、前記処理手段が行った処理の結果に基づいた文字列を生成する文字列生成手段と、前記文字列生成手段により生成された文字列をファイル名とした処理結果ファイルを生成するファイル生成手段と、前記ファイル生成手段により生成された処理結果ファイルを記憶する処理結果記憶手段と、を備える。   In order to solve the above-described problem, an information processing apparatus according to the present invention includes an input unit that receives an input, a processing unit that performs a process according to an input received by the input unit, and a result of a process performed by the processing unit. A character string generation unit that generates a character string based on the file, a file generation unit that generates a processing result file with the character string generated by the character string generation unit as a file name, and a processing result generated by the file generation unit Processing result storage means for storing a file.

また、本発明のキュー記憶方法は、入力を受け付ける入力ステップと、前記入力ステップが受け付けた入力に応じた処理を行う処理ステップと、前記処理ステップが行った処理の結果に基づいた文字列を生成する文字列生成ステップと、前記文字列生成ステップにより生成された文字列をファイル名とした処理結果ファイルを生成するファイル生成ステップと、前記ファイル生成ステップにより生成された処理結果ファイルを処理結果記憶手段に記憶する記憶ステップと、を備える。   In addition, the queue storage method of the present invention generates an input step for receiving an input, a processing step for performing processing according to the input received by the input step, and a character string based on a result of the processing performed by the processing step. A character string generating step, a file generating step for generating a processing result file with the character string generated by the character string generating step as a file name, and a processing result storage means for generating the processing result file generated by the file generating step. And a storing step for storing.

本発明によれば、受け付けられた処理の結果に基づいた文字列を生成し、生成された文字列をファイル名とした処理結果ファイルを生成する。そして、生成された処理結果ファイルを記憶する。これにより、操作履歴や処理結果等を記憶するに際して、メモリ消費量を少なくするとともに、その読み出し処理を迅速に行うことができる。その際、ファイル生成手段は、実体データを有さない処理結果ファイルを生成する。   According to the present invention, a character string based on the received processing result is generated, and a processing result file is generated with the generated character string as a file name. Then, the generated processing result file is stored. Thereby, when storing the operation history, the processing result, etc., the memory consumption can be reduced and the reading process can be quickly performed. At that time, the file generation means generates a processing result file having no actual data.

また、本発明の情報処理装置は、前記処理結果記憶手段に記憶された複数の処理結果ファイルを、あらかじめ定めた条件に従って、1つの処理結果ファイルに集約する集約手段をさらに備える。   The information processing apparatus according to the present invention further includes an aggregating unit that aggregates a plurality of processing result files stored in the processing result storage unit into one processing result file according to a predetermined condition.

この発明によれば、あらかじめ定めた条件に従って、複数の処理結果ファイルを1つの処理結果ファイルに集約することで、メモリ消費量および読み出し処理を効率的に行うことができる。さらに、サーバ等に処理結果等を通知する際において、複数の状態を通知する必要がなく、効率的な処理を実現できる。   According to the present invention, it is possible to efficiently perform memory consumption and read processing by aggregating a plurality of processing result files into one processing result file according to a predetermined condition. Furthermore, when notifying the processing result or the like to the server or the like, it is not necessary to notify a plurality of states, and efficient processing can be realized.

また、本発明の情報処理装置は、前記処理結果記憶手段に記憶された処理結果ファイルのファイル名に基づいて、前記処理手段が行った処理の結果を外部へ出力する出力手段をさらに備える。   The information processing apparatus of the present invention further includes output means for outputting the result of the processing performed by the processing means to the outside based on the file name of the processing result file stored in the processing result storage means.

この発明によれば、処理結果ファイルのファイル名に基づいた処理を外部に出力することで、外部端末は処理結果を把握することができる。   According to the present invention, the external terminal can grasp the processing result by outputting the processing based on the file name of the processing result file to the outside.

また、本発明の情報処理装置において、前記処理結果記憶手段は、処理結果ファイルの数をファイル名に含む管理ファイルをさらに記憶し、前記ファイル生成手段が処理結果ファイルを生成するごとに、前記管理ファイルのファイル名に含まれるファイル数の情報をインクリメントするとともに、当該ファイル数の情報が所定数に達すると前記出力手段に前記処理手段が行った処理の結果を外部へ出力させるファイル数管理手段を備える。   In the information processing apparatus of the present invention, the processing result storage unit further stores a management file including the number of processing result files in a file name, and the management unit stores the management result every time the file generation unit generates the processing result file. File number management means for incrementing information on the number of files included in the file name of the file and causing the output means to output the result of the processing performed by the processing means to the outside when the information on the number of files reaches a predetermined number. Prepare.

この発明によれば、処理結果ファイルの数をファイル名に含めた管理ファイルを作成しておき、そのファイル名に基づいてファイル数を判断することができ、ファイル数管理を迅速かつ簡易にすることができる。   According to the present invention, a management file including the number of processing result files in the file name is created, the number of files can be determined based on the file name, and the number of files can be managed quickly and easily. Can do.

本発明によれば、操作履歴や処理結果等を記憶するに際して、メモリ消費量を少なくするとともに、その読み出し処理を迅速に行うことができる。   According to the present invention, when storing an operation history, a processing result, and the like, it is possible to reduce the memory consumption and to quickly perform the reading process.

第1の実施形態の情報処理装置100を利用した通信システムを示すシステム構成図である。1 is a system configuration diagram illustrating a communication system using an information processing apparatus 100 according to a first embodiment. 第1の実施形態の情報処理装置100の機能構成を示すブロック図である。It is a block diagram which shows the function structure of the information processing apparatus 100 of 1st Embodiment. 情報処理装置100のハードウェア構成図である。2 is a hardware configuration diagram of the information processing apparatus 100. FIG. ディレクトリエントリと、iノードデータ構造とからなるファイル構造を示す説明図である。It is explanatory drawing which shows the file structure which consists of a directory entry and an i-node data structure. サーバ200の機能構成を示すブロック図である。2 is a block diagram showing a functional configuration of a server 200. FIG. 情報処理装置100の処理を示すフローチャートである。3 is a flowchart showing processing of the information processing apparatus 100. 第2の実施形態の情報処理装置100xを利用した通信システムを示すシステム構成図である。It is a system configuration figure showing a communication system using information processor 100x of a 2nd embodiment. 第2の実施形態の情報処理装置100xの機能構成を示すブロック図である。It is a block diagram which shows the function structure of the information processing apparatus 100x of 2nd Embodiment. 第2の実施形態におけるメッセージキューの具体例を示す説明図である。It is explanatory drawing which shows the specific example of the message queue in 2nd Embodiment. 管理ファイルのファイル名の構成を示す説明図である。It is explanatory drawing which shows the structure of the file name of a management file. メッセージキューの集約例を示す説明図である。It is explanatory drawing which shows the example of aggregation of a message queue. ライブラリ情報の具体例を示す説明図である。It is explanatory drawing which shows the specific example of library information. メディアサーバ200xの機能構成を示すブロック図である。It is a block diagram which shows the function structure of the media server 200x. 情報処理装置100xの処理を示すフローチャートである。It is a flowchart which shows the process of information processing apparatus 100x.

添付図面を参照しながら本発明の実施形態を説明する。可能な場合には、同一の部分には同一の符号を付して、重複する説明を省略する。   Embodiments of the present invention will be described with reference to the accompanying drawings. Where possible, the same parts are denoted by the same reference numerals, and redundant description is omitted.

[第1の実施形態]
図1は、本実施形態の情報処理装置100を利用した通信システムを示すシステム構成図である。図1に示す通り、情報処理装置100は、ネットワークを介してサーバ200と通信接続することができる。本実施形態においては、情報処理装置100は、当該装置に対して受け付けられた操作履歴情報や、当該装置にインストールされているアプリケーションに対して受け付けられた操作履歴情報およびそのアプリケーションの処理結果情報をメッセージキューとして生成して、記憶することができる。そして、情報処理装置100は、生成されたメッセージキューに基づいて、操作履歴情報や処理結果情報を所定のタイミングでサーバ200に送信し、サーバ200は、受信した操作履歴情報や処理結果情報を記憶する。
[First Embodiment]
FIG. 1 is a system configuration diagram showing a communication system using the information processing apparatus 100 of the present embodiment. As shown in FIG. 1, the information processing apparatus 100 can be connected to the server 200 via a network. In the present embodiment, the information processing apparatus 100 displays the operation history information received for the apparatus, the operation history information received for an application installed in the apparatus, and the processing result information of the application. It can be created and stored as a message queue. The information processing apparatus 100 transmits operation history information and processing result information to the server 200 at a predetermined timing based on the generated message queue, and the server 200 stores the received operation history information and processing result information. To do.

ここで情報処理装置100は、メッセージキューとして、操作履歴情報および処理結果情報を示す文字列を生成し、その文字列をファイル名としたメッセージキューファイルを生成する。そして、情報処理装置100は、所定のタイミングで、この生成したメッセージキューファイルのファイル名から操作履歴情報や処理結果情報を抽出して、サーバ200に出力し、また同期処理を行うことができる。   Here, the information processing apparatus 100 generates a character string indicating operation history information and processing result information as a message queue, and generates a message queue file having the character string as a file name. Then, the information processing apparatus 100 can extract operation history information and processing result information from the file name of the generated message queue file at a predetermined timing, output the information to the server 200, and perform synchronization processing.

図2は、本実施形態の情報処理装置100の機能構成を示すブロック図である。図2に示されるように、情報処理装置100は、通信部101(出力手段)、ユーザインタフェース102(入力手段)、データ処理部103(処理手段)、メッセージキュー管理部104(文字列生成手段、ファイル生成手段)、メッセージキュー記憶部105(処理結果記憶手段)、データ管理部106、ライブラリ情報記憶部107およびデータ記憶部108を含んで構成されている。   FIG. 2 is a block diagram illustrating a functional configuration of the information processing apparatus 100 according to the present embodiment. As shown in FIG. 2, the information processing apparatus 100 includes a communication unit 101 (output unit), a user interface 102 (input unit), a data processing unit 103 (processing unit), and a message queue management unit 104 (character string generation unit, A file generation unit), a message queue storage unit 105 (processing result storage unit), a data management unit 106, a library information storage unit 107, and a data storage unit 108.

図3は、情報処理装置100のハードウェア構成図である。図1に示される情報処理装置100は、物理的には、図3に示すように、CPU11、主記憶装置であるRAM12及びROM13、入力デバイスであるキーボード及びマウス等の入力装置14、ディスプレイ等の出力装置15、ネットワークカード等のデータ送受信デバイスである通信モジュール16、半導体メモリ等の補助記憶装置17などを含むコンピュータシステムとして構成されている。図2における各機能は、図3に示すCPU11、RAM12等のハードウェア上に所定のコンピュータソフトウェアを読み込ませることにより、CPU11の制御のもとで入力装置14、出力装置15、通信モジュール16を動作させるとともに、RAM12や補助記憶装置17におけるデータの読み出し及び書き込みを行うことで実現される。以下、図2に示す機能ブロックに基づいて、各機能ブロックを説明する。   FIG. 3 is a hardware configuration diagram of the information processing apparatus 100. As shown in FIG. 3, the information processing apparatus 100 shown in FIG. 1 physically includes a CPU 11, a RAM 12 and a ROM 13 that are main storage devices, an input device 14 such as a keyboard and a mouse that are input devices, a display, and the like. The computer system includes an output device 15, a communication module 16 that is a data transmission / reception device such as a network card, an auxiliary storage device 17 such as a semiconductor memory, and the like. Each function in FIG. 2 operates the input device 14, the output device 15, and the communication module 16 under the control of the CPU 11 by reading predetermined computer software on the hardware such as the CPU 11 and the RAM 12 shown in FIG. 3. In addition, it is realized by reading and writing data in the RAM 12 and the auxiliary storage device 17. Hereinafter, each functional block will be described based on the functional blocks shown in FIG.

通信部101は、サーバ200と通信接続する部分であり、メッセージキューファイルに記述されている処理結果をサーバ200に通知することができる。   The communication unit 101 is a part that performs communication connection with the server 200 and can notify the server 200 of the processing result described in the message queue file.

ユーザインタフェース102は、ユーザによる操作を受け付け、またはユーザに提供される情報を表示する部分であり、例えば、キーボード、ディスプレイや、タッチパネルディスプレイである。情報処理装置100が携帯電話であった場合には、当該ユーザインタフェース102は、各種アイコンや、メッセージなどを表示し、またユーザからアイコンなどに対する操作を受け付けることができる。   The user interface 102 is a part that receives an operation by the user or displays information provided to the user, and is, for example, a keyboard, a display, or a touch panel display. When the information processing apparatus 100 is a mobile phone, the user interface 102 can display various icons, messages, and the like, and can accept operations on the icons from the user.

データ処理部103は、ユーザインタフェース102により受け付けられた操作に基づいた処理を実行する部分である。例えば、所定のアプリケーションが起動されているのであれば、そのアプリケーションに従った操作を受け付けて実行するものである。アプリケーションが、ゲームであれば、ゲームに対する操作であったり、ブラウザであれば、閲覧のための操作である。本実施形態においては、アプリケーションや、その具体的な操作については何ら限定するものではない。   The data processing unit 103 is a part that executes processing based on an operation received by the user interface 102. For example, if a predetermined application is activated, an operation according to the application is received and executed. If the application is a game, it is an operation for the game, and if the application is a browser, it is an operation for browsing. In the present embodiment, the application and its specific operation are not limited at all.

メッセージキュー管理部104は、データ処理部103において処理された結果に基づいた文字列を生成し、その文字列をファイル名としたメッセージキューファイルを生成する部分である。そして、生成したメッセージキューファイルをメッセージキュー記憶部105に記憶する。   The message queue management unit 104 is a part that generates a character string based on the result processed by the data processing unit 103 and generates a message queue file using the character string as a file name. The generated message queue file is stored in the message queue storage unit 105.

ここで、図4を用いて、生成する文字列およびその文字列からなるファイル名の記述について説明する。図4は、ディレクトリエントリと、iノードデータ構造とからなるファイル構造を示す説明図である。この説明図は、一般的に、UNIX(登録商標)などにおけるファイル構造を示したものである。   Here, the description of the character string to be generated and the file name composed of the character string will be described with reference to FIG. FIG. 4 is an explanatory diagram showing a file structure comprising a directory entry and an i-node data structure. This explanatory diagram generally shows a file structure in UNIX (registered trademark) or the like.

図4(a)に示される通り、ディレクトリエントリは、iノード番号とファイル名とからなるデータ構造をとる。また、iノードデータ構造は、ファイル区分(ディレクトリか、ファイルの区分)、iノード番号、ユーザID、およびファイルサイズ等を含んだものである。メッセージキュー管理部104は、そのディレクトリエントリにおけるファイル名の領域に、処理結果を示す文字列を記述することができる。なお、iノードデータ構造には、実体データを含めないことでデータサイズを極力小さくすることができる。   As shown in FIG. 4A, the directory entry has a data structure including an i-node number and a file name. The i-node data structure includes a file classification (directory or file classification), an i-node number, a user ID, a file size, and the like. The message queue management unit 104 can describe a character string indicating the processing result in the file name area in the directory entry. Note that the data size can be reduced as much as possible by not including entity data in the i-node data structure.

図4(a)を用いてさらに、ファイル名の構造について説明する。上述した通り、ファイル名は、少なくとも、CUE番号および操作履歴情報や処理結果情報を示す文字列からなる。CUE番号は、入力の時系列的な順番を示すIDであり、操作履歴情報や処理結果情報は、どのキーが押下(またはタッチ)されたかを示す情報である。なお、この情報に限るものではなく、例えば図4(b)に示されるように、UUID、CUE番号、タイプ、および処理結果内容を示す文字列を生成するようにしてもよい。なお、ここでUUID(Universally Unique Identifier)は、標準化された一意に識別するための識別子であり、タイプは、アプリケーションなどの操作対象を示し、処理結果内容は、操作に対するアプリケーションにより処理された結果を示す情報である。また、図4(c)に示される文字列としてもよい。図4(c)においては、UUID、CUE番号、タイプ、処理結果前ステータス、および処理結果後ステータスを示す文字列を生成することが示されている。   The structure of the file name will be further described with reference to FIG. As described above, the file name includes at least a character string indicating a CUE number, operation history information, and processing result information. The CUE number is an ID indicating a time-sequential order of input, and the operation history information and the processing result information are information indicating which key is pressed (or touched). Note that the present invention is not limited to this information. For example, as shown in FIG. 4B, a character string indicating the UUID, CUE number, type, and processing result content may be generated. Here, the UUID (Universally Unique Identifier) is a standardized identifier for uniquely identifying, the type indicates an operation target such as an application, and the processing result content indicates the result processed by the application for the operation. It is information to show. Moreover, it is good also as a character string shown by FIG.4 (c). FIG. 4C shows that a character string indicating the UUID, CUE number, type, status before processing result, and status after processing result is generated.

さらに、メッセージキュー管理部104は、生成したメッセージキューファイルが所定数に達すると、通信部101を介して、メッセージキューファイルそれ自身をサーバ200に送信するか、またはメッセージキューファイルのファイル名に記述されている文字列に基づいた操作履歴情報や処理結果情報等を抽出してサーバ200に送信する。   Furthermore, when the number of generated message queue files reaches a predetermined number, the message queue management unit 104 transmits the message queue file itself to the server 200 via the communication unit 101 or is described in the file name of the message queue file. Operation history information, processing result information, and the like based on the character string being extracted are extracted and transmitted to the server 200.

メッセージキュー管理部104は、サーバ200から正常終了の旨を、通信部101を介して受信すると、当該正常終了したメッセージキューファイルをメッセージキュー記憶部105から削除する。また、サーバ200からエラーの旨を受信すると、その対応するメッセージキューファイルに基づいて、ライブラリ情報記憶部107に記憶されているアプリケーションなどの処理結果情報などを元に戻す処理を行う。   When the message queue management unit 104 receives the normal end message from the server 200 via the communication unit 101, the message queue management unit 104 deletes the normally ended message queue file from the message queue storage unit 105. In addition, when an error message is received from the server 200, processing result information such as an application stored in the library information storage unit 107 is restored based on the corresponding message queue file.

メッセージキュー記憶部105は、メッセージキュー管理部104により生成された複数のメッセージキューファイルを記憶する部分である。   The message queue storage unit 105 is a part that stores a plurality of message queue files generated by the message queue management unit 104.

データ管理部106は、ユーザ操作に応じてアプリケーションのライブラリ情報のステータスを変更する部分である。本実施形態では、ライブラリ情報とは、アプリケーションの処理結果情報などのステータス情報を含んだものであるが、これに限定するものではなく、アプリケーションのほか、情報処理装置100の処理結果情報であってもよい。   The data management unit 106 is a part that changes the status of the library information of the application according to a user operation. In the present embodiment, the library information includes status information such as application processing result information, but is not limited thereto, and includes processing result information of the information processing apparatus 100 in addition to the application. Also good.

ライブラリ情報記憶部107は、アプリケーションの処理結果情報や、ステータス情報などのメタデータを記憶する部分である。また、データ記憶部108は、アプリケーションなどのデータを含む各種データを記憶する部分である。   The library information storage unit 107 is a part for storing metadata such as application processing result information and status information. The data storage unit 108 is a part that stores various data including data such as applications.

つぎに、この情報処理装置100と通信接続するサーバ200について説明する。図5は、サーバ200の機能構成を示すブロック図である。図5に示されるように、サーバ200は、通信部201、メッセージキュー処理部202、データ管理部203、ライブラリ情報記憶部204およびデータ記憶部205を含んで構成されている。このサーバ200も、情報処理装置100と同様にCPU、RAM、ROM等を備えたコンピュータシステムから構成されている。以下、各機能について説明する。   Next, the server 200 that communicates with the information processing apparatus 100 will be described. FIG. 5 is a block diagram illustrating a functional configuration of the server 200. As shown in FIG. 5, the server 200 includes a communication unit 201, a message queue processing unit 202, a data management unit 203, a library information storage unit 204, and a data storage unit 205. Similarly to the information processing apparatus 100, the server 200 is also composed of a computer system that includes a CPU, a RAM, a ROM, and the like. Each function will be described below.

通信部201は、情報処理装置100と通信する部分であり、本実施形態においては、メッセージキューファイルまたはメッセージキューファイルに基づいた処理結果内容を情報処理装置100から受信する部分である。   The communication unit 201 is a part that communicates with the information processing apparatus 100. In the present embodiment, the communication unit 201 is a part that receives a message queue file or the processing result contents based on the message queue file from the information processing apparatus 100.

メッセージキュー処理部202は、情報処理装置100から受信したメッセージキューファイルまたは受信された処理結果内容に基づいた処理をデータ管理部203に指示する部分である。   The message queue processing unit 202 is a part that instructs the data management unit 203 to perform processing based on the message queue file received from the information processing apparatus 100 or the received processing result content.

データ管理部203は、メッセージキュー処理部202からの指示に応じてライブラリ情報記憶部204に記憶されているライブラリ情報を更新する部分である。そして、更新の成功または失敗をメッセージキュー処理部202に通知する。メッセージキュー処理部202においては、その成否の情報を、通信部201を介して情報処理装置100に通知する。情報処理装置100では、その結果に基づいた処理(リトライまたは強制同期処理)を行う。   The data management unit 203 is a part that updates the library information stored in the library information storage unit 204 in response to an instruction from the message queue processing unit 202. Then, the message queue processing unit 202 is notified of the success or failure of the update. The message queue processing unit 202 notifies the information processing apparatus 100 of the success / failure information via the communication unit 201. The information processing apparatus 100 performs processing (retry or forced synchronization processing) based on the result.

ライブラリ情報記憶部204は、情報処理装置100における操作履歴情報や、アプリケーションの処理結果情報などのライブラリ情報を記憶する部分である。また、データ記憶部205は、各種データを記憶する部分である。   The library information storage unit 204 is a part that stores library information such as operation history information in the information processing apparatus 100 and application processing result information. The data storage unit 205 is a part that stores various data.

このように構成された情報処理装置100において、その処理動作について説明する。図6は、情報処理装置100の処理を示すフローチャートである。まず、情報処理装置100において、ユーザインタフェース102を介したユーザ操作によりアプリケーションが起動される(S101)。そして、アプリケーションに対するユーザ入力操作がユーザインタフェース102により受け付けられ(S102)、データ処理部103において、その入力操作に対する処理を行うとともに、データ管理部106において、その入力操作に対するライブラリ情報が更新される(S103)。なお、単なる入力操作履歴を保持するだけである場合には、ライブラリ情報の更新処理はされなくてもよい。   The processing operation of the information processing apparatus 100 configured as described above will be described. FIG. 6 is a flowchart showing processing of the information processing apparatus 100. First, in the information processing apparatus 100, an application is activated by a user operation via the user interface 102 (S101). Then, a user input operation for the application is accepted by the user interface 102 (S102), the data processing unit 103 performs processing for the input operation, and the data management unit 106 updates the library information for the input operation ( S103). Note that when only the input operation history is held, the library information update process may not be performed.

そして、メッセージキュー管理部104において入力操作による処理結果に基づいた文字列が生成され、当該文字列をファイル名としたメッセージキューを示すメッセージキューファイルが生成される。生成されたメッセージキューファイルは、メッセージキュー記憶部105に記憶される(S104)。   Then, the message queue management unit 104 generates a character string based on the processing result of the input operation, and a message queue file indicating a message queue having the character string as a file name is generated. The generated message queue file is stored in the message queue storage unit 105 (S104).

ここで、情報処理装置100において、所定条件を満たしたか否かが、メッセージキュー管理部104において判断される(S105)。ここでは、例えば、メッセージキューファイルが所定数を超えたか否か、明示的な操作が行われたな否か、ユーザ操作などによりサーバ200に接続されたか否か、サーバ200に対して前回接続してから一定時間経過したか否か、が判断される。ここで、所定条件を満たしたと判断されると、最もCUE番号の若いメッセージキューファイルのファイル名に応じた処理を通信部101からサーバ200に対して要求を行う(S106)。   Here, in the information processing apparatus 100, the message queue management unit 104 determines whether or not a predetermined condition is satisfied (S105). Here, for example, whether or not the message queue file has exceeded a predetermined number, whether or not an explicit operation has been performed, whether or not the message queue file has been connected to the server 200 by a user operation, etc. It is determined whether a certain time has elapsed since then. Here, if it is determined that the predetermined condition is satisfied, the communication unit 101 requests the server 200 for processing corresponding to the file name of the message queue file with the smallest CUE number (S106).

ここで、サーバ200において、要求に対する処理が成功したか否かが判断され(S107)、成功したと判断された場合には、メッセージキュー管理部104は、サーバ200に反映された処理を示すメッセージキューファイルを削除する(S108)。そして、メッセージキューファイルが残っているか否かが判断され(S110)、残っている場合には、S106に戻り、次のメッセージキューファイルに対する処理が行われる(S106)。   Here, in the server 200, it is determined whether or not the processing for the request is successful (S107). If it is determined that the processing is successful, the message queue management unit 104 displays a message indicating the processing reflected in the server 200. The queue file is deleted (S108). Then, it is determined whether or not a message queue file remains (S110). If it remains, the process returns to S106, and processing for the next message queue file is performed (S106).

また、サーバ200が処理に成功しなかった場合には、メッセージキュー管理部104によりエラー処理が行われる(S109)。ここでのエラー処理は、例えば、リトライ処理や、強制同期処理(情報処理装置100におけるライブラリ情報を元に戻すなど)である。そして、これら処理が繰り返し行われる。   If the server 200 has not succeeded in processing, the message queue management unit 104 performs error processing (S109). The error processing here is, for example, retry processing or forced synchronization processing (such as restoring the library information in the information processing apparatus 100). These processes are repeated.

このようにして、本実施形態においては、情報処理装置100において生成したメッセージキューファイルのファイル名に、操作履歴情報やアプリケーションの処理結果情報などの各種ステータス情報を記述することで、その読み出し等の処理を迅速に行うことができる。なお、本実施形態においては、その利用方法や、使用状況を特に限定するものではなく、汎用的な情報処理装置100において、ユーザにより入力された操作履歴や装置やアプリケーションに対する処理結果情報などのステータス情報をメッセージキューファイルのファイル名に記述するとしたものであり、その応用範囲は多岐に渡るものである。例えば、本実施形態における情報処理装置100は、メディアプレイヤー、電子書籍リーダ、非同期通信を行うネットワークゲームなどに応用することができる。
In this way, in this embodiment, various status information such as operation history information and application processing result information is described in the file name of the message queue file generated in the information processing apparatus 100, so that the reading and the like can be performed. Processing can be performed quickly. In the present embodiment, the usage method and usage status are not particularly limited. In the general-purpose information processing apparatus 100, the operation history input by the user, the status such as the processing result information for the apparatus or application, and the like. Information is described in the file name of the message queue file, and its application range is diverse. For example, the information processing apparatus 100 according to this embodiment can be applied to a media player, an electronic book reader, a network game that performs asynchronous communication, and the like.

[第2の実施形態]
つぎに、第2の実施形態について説明する。第1の実施形態は、汎用的な情報処理装置100において、操作履歴や処理結果などのステータス情報をメッセージキューファイルのファイル名に記述することを特徴としたものである。本実施形態においては、情報処理装置100を、楽曲データを再生したり、ダウンロードするメディアプレイヤーに応用した情報処理装置100xを説明する。
[Second Embodiment]
Next, a second embodiment will be described. The first embodiment is characterized in that status information such as operation history and processing results is described in the file name of the message queue file in the general-purpose information processing apparatus 100. In the present embodiment, an information processing apparatus 100x applied to a media player that reproduces or downloads music data will be described.

図7は、本実施形態の情報処理装置100xを利用した通信システムを示すシステム構成図である。この通信システムは、スマートフォン等の情報処理装置100xとメディアサーバ200xとを含んでいる音楽配信システムである。ここで、情報処理装置100xは、メディアプレイヤアプリケーションを備えており、ユーザは、この情報処理装置100xを操作することにより、メディアサーバ200xから楽曲データをダウンロードし、情報処理装置100xにおいて保持し、またその楽曲データを再生することができる。また、メディアサーバ200xは、インターネット上に構築されているものであり、情報処理装置100xからの要求に応じて楽曲データの配信処理や、情報処理装置100xにおける楽曲データのステータスの管理を行う。   FIG. 7 is a system configuration diagram showing a communication system using the information processing apparatus 100x of the present embodiment. This communication system is a music distribution system including an information processing apparatus 100x such as a smartphone and a media server 200x. Here, the information processing apparatus 100x is provided with a media player application, and the user operates the information processing apparatus 100x to download music data from the media server 200x and hold it in the information processing apparatus 100x. The music data can be reproduced. The media server 200x is constructed on the Internet, and performs music data distribution processing and management of music data status in the information processing apparatus 100x in response to a request from the information processing apparatus 100x.

なお、この情報処理装置100xは、メッセージキューイングシステムを備えており、情報処理装置100xにおいてユーザにより操作された操作履歴や、当該操作により処理された処理結果を示す文字列を生成し、生成した文字列をファイル名としたメッセージキューファイルを生成し、キューとして記憶する。   The information processing apparatus 100x includes a message queuing system, and generates and generates a character string indicating an operation history operated by the user in the information processing apparatus 100x and a processing result processed by the operation. A message queue file with a character string as a file name is generated and stored as a queue.

図8は、本実施形態の情報処理装置100xの機能構成を示すブロック図である。図8に示されるように、情報処理装置100xは、通信部101x(出力手段)、ユーザインタフェース102x(入力手段)、再生部103x(処理手段)、メッセージキュー生成部104x(文字列生成手段、ファイル生成手段)、メッセージキュー管理部104y(集約手段、ファイル数管理手段)、メッセージキュー記憶部105x(処理結果記憶手段)、データ管理部106x、ライブラリ情報記憶部107xおよび楽曲データ記憶部108xを含んで構成されている。この情報処理装置100xは、第1の実施形態における情報処理装置100と同様のハードウェア構成をとるものである。   FIG. 8 is a block diagram illustrating a functional configuration of the information processing apparatus 100x according to the present embodiment. As shown in FIG. 8, the information processing apparatus 100x includes a communication unit 101x (output unit), a user interface 102x (input unit), a playback unit 103x (processing unit), and a message queue generation unit 104x (character string generation unit, file). Generating means), message queue management unit 104y (aggregation means, file number management means), message queue storage unit 105x (processing result storage unit), data management unit 106x, library information storage unit 107x, and music data storage unit 108x. It is configured. The information processing apparatus 100x has the same hardware configuration as that of the information processing apparatus 100 in the first embodiment.

通信部101xは、メディアサーバ200xと通信を行う部分であり、メディアサーバ200xから楽曲データをダウンロードし、またメッセージキューファイルのファイル名に記述されているメッセージキューをメディアサーバ200xに送信し、または同期処理する部分である。   The communication unit 101x is a part that communicates with the media server 200x, downloads music data from the media server 200x, transmits a message queue described in the file name of the message queue file to the media server 200x, or synchronizes. This is the part to be processed.

ユーザインタフェース102xは、ユーザからの操作を受け付ける部分であり、例えば、楽曲データのダウンロード指示や、楽曲データの再生指示などの操作を受け付けることができる。   The user interface 102x is a part that accepts an operation from the user, and can accept an operation such as an instruction to download music data or an instruction to reproduce music data.

再生部103xは、ユーザからの指示に応じて、楽曲データ記憶部108xに記憶されている楽曲データの再生処理を行う部分である。   The reproduction unit 103x is a part that performs reproduction processing of music data stored in the music data storage unit 108x in accordance with an instruction from the user.

メッセージキュー生成部104xは、データ管理部106xにより実行された処理結果に基づいた文字列を生成し、当該文字列をファイル名とするメッセージキューファイルを生成する部分である。生成したメッセージキューファイルは、メッセージキュー記憶部105xに記憶される。   The message queue generation unit 104x is a part that generates a character string based on the processing result executed by the data management unit 106x and generates a message queue file having the character string as a file name. The generated message queue file is stored in the message queue storage unit 105x.

図9に、メッセージキューファイルのファイル名の具体例を示す。第1の実施形態と異なり、本実施形態においては、楽曲データのステータスを変更するものであることから、楽曲データ特有の項目がそのファイル名(文字列)に必要となる。図9(a)は、楽曲データの管理情報を変更する場合における文字列を示している。すなわち、メッセージキューとして、メッセージキューID、楽曲データID、処理内容として“status”、変更前ステータス、および変更後ステータスとから構成されている。ここで変更前ステータス、変更後ステータスは、楽曲のジャンル、再生回数、およびレーティングが挙げられるが、これに限るものではなく、楽曲に関するステータスであればよい。   FIG. 9 shows a specific example of the file name of the message queue file. Unlike the first embodiment, in this embodiment, since the status of the music data is changed, an item specific to the music data is required for the file name (character string). FIG. 9A shows a character string when the music data management information is changed. That is, the message queue includes a message queue ID, music data ID, “status” as processing contents, a status before change, and a status after change. Here, the status before change and the status after change include the genre of music, the number of times of reproduction, and the rating. However, the status is not limited to this, and may be a status related to music.

また、図9(b)においては、リネーム(名称変更)の場合のメッセージキューを示している。ここでは、メッセージキューとして、メッセージキューID、楽曲データID、処理内容として“rename”、変更前ステータス、および変更後ステータスとから構成されている。ここで変更前ステータス、変更後ステータスは、曲名、アーティスト名、およびアルバム名が挙げられる。そのほか、名称変更の対象となる項目であればこれらに限るものではない。   FIG. 9B shows a message queue in the case of renaming (name change). Here, the message queue includes a message queue ID, music data ID, “rename” as the processing content, a pre-change status, and a post-change status. Here, the status before change and the status after change include a song name, an artist name, and an album name. In addition, the items are not limited to these as long as they are subject to name change.

図9(a)および(b)に示されるように、変更前と変更後とにおける各ステータス(管理情報または名前)が文字列として生成され、これがメッセージキューファイルのファイル名として記述される。   As shown in FIGS. 9A and 9B, each status (management information or name) before and after the change is generated as a character string, which is described as the file name of the message queue file.

メッセージキュー管理部104yは、生成したメッセージキューファイルをメッセージキュー記憶部105xに記憶する。   The message queue management unit 104y stores the generated message queue file in the message queue storage unit 105x.

さらに、メッセージキュー管理部104yは、メッセージキュー管理ファイルを生成する。このメッセージキュー管理ファイルは、管理ファイルを示す識別子である識別ラベルと、メッセージキューファイルのファイル数を示す数値情報とからなるファイル名が付与されており、メッセージキューファイルが生成される毎に、この管理ファイルにおけるファイル名におけるファイル数を示す数値情報が更新される。   Further, the message queue management unit 104y generates a message queue management file. This message queue management file is given a file name consisting of an identification label that is an identifier indicating the management file and numerical information indicating the number of files in the message queue file. Numerical information indicating the number of files in the file name in the management file is updated.

図10は、管理ファイルのファイル名の構成を示す説明図である。図10に示される通り、管理ファイルのファイル名は、管理ファイルであることを示す識別ラベルと、ファイル数とから構成されている。この管理ファイルも、メッセージキューファイルと同様に、iノードの構成におけるディレクトリエントリのファイル名領域に記述される(図4参照)。   FIG. 10 is an explanatory diagram showing the structure of the file name of the management file. As shown in FIG. 10, the file name of the management file is composed of an identification label indicating the management file and the number of files. Similar to the message queue file, this management file is also described in the file name area of the directory entry in the i-node configuration (see FIG. 4).

メッセージキュー管理部104yは、この管理ファイルのファイル名に記述されているファイル数が所定数に達すると、通信部101xを介してメディアサーバ200xに対してメッセージキューファイルのファイル名として記述されている処理をメディアサーバ200xに対して要求する。メディアサーバ200xにおいては、当該要求に基づいた処理に成功すると、メッセージキュー管理部104yは、メッセージキュー記憶部105xから、処理が成功したメッセージキューファイルを削除する。メディアサーバ200xにおいて、処理成功の旨の通知がない場合には、所定時間後にリトライ処理を行う。なお、強制的に同期をとるなどして、メディアサーバ200xにおけるライブラリ情報を書き換えるか、または情報処理装置100xにおけるライブラリ情報を元に戻す処理を行ってもよい。   When the number of files described in the file name of the management file reaches a predetermined number, the message queue management unit 104y is described as the file name of the message queue file to the media server 200x via the communication unit 101x. Request processing to the media server 200x. In the media server 200x, when the processing based on the request is successful, the message queue management unit 104y deletes the message queue file that has been successfully processed from the message queue storage unit 105x. In the media server 200x, when there is no notification that the process is successful, a retry process is performed after a predetermined time. Note that the library information in the media server 200x may be rewritten or the library information in the information processing apparatus 100x may be restored by forcibly synchronizing.

なお、メッセージキュー管理部104yは、上記のほかに、ユーザによる明示的な同期操作がなされた場合、メディアサーバ200xと通信接続した場合、または、同期してから所定時間経過した場合、を判断しており、それら条件のうち少なくとも一つを満たした場合に、同期処理を行うよう通信部101xに指示を出力する。   In addition to the above, the message queue management unit 104y determines when an explicit synchronization operation is performed by the user, when communication connection with the media server 200x is performed, or when a predetermined time has elapsed after synchronization. When at least one of these conditions is satisfied, an instruction is output to the communication unit 101x to perform the synchronization process.

また、メッセージキュー管理部104yは、メッセージキューファイルまたはそのファイル名に記述されている処理結果をメディアサーバ200xに送信する際、その内容を集約して送ることもできる。図11に、メッセージキューの集約例を示す。   In addition, when the message queue management unit 104y transmits the message queue file or the processing result described in the file name to the media server 200x, the message queue management unit 104y can also collect and transmit the contents. FIG. 11 shows an example of aggregation of message queues.

図11(a)および(b)は、集約前メッセージキューを示し、図11(c)は、集約後メッセージキューを示す。ここでは、各ステータスは、楽曲ジャンル+再生回数+レーティングを意味しており、図11(a)においては、変更前ステータスとして“pops+00+00”、変更後ステータスとして“pops+01+00”が記述されている。すなわち、変更後ステータスとしては、再生回数が、1つインクリメントされていることを示す。   11A and 11B show the message queue before aggregation, and FIG. 11C shows the message queue after aggregation. Here, each status means music genre + number of times of reproduction + rating. In FIG. 11A, “pops + 00 + 00” is described as the status before change, and “pops + 01 + 00” is described as the status after change. . That is, the post-change status indicates that the number of reproductions is incremented by one.

同様に図11(b)においては、変更前ステータスとして、“pops+01+00”、変更後ステータスとして“pops+01+03”が記述されている。すなわち、変更後ステータスとして、レーティングが03に変更されたことを示す。   Similarly, in FIG. 11B, “pops + 01 + 00” is described as the status before change, and “pops + 01 + 03” is described as the status after change. That is, the rating is changed to 03 as the status after change.

本実施形態においては、同じ楽曲IDに対して、メッセージキューファイルを2回送ることになり、処理に時間がかかる。このためこれを集約すると、その処理時間を軽減することができる。すなわち、図11(c)に記載されているように、集約後メッセージキューは、変更前ステータスとして“pops+00+00”、変更後ステータスとして“pops+01+03”を記述するように集約処理を行い、これらステータスに変更されたファイル名が付されたメッセージキューを作成することができる。   In this embodiment, the message queue file is sent twice for the same music ID, and processing takes time. For this reason, when this is integrated, the processing time can be reduced. That is, as described in FIG. 11C, the post-consolidation message queue performs an aggregation process so that “pops + 00 + 00” is described as the status before change and “pops + 01 + 03” is described as the post-change status. It is possible to create a message queue with the changed file name.

より具体的には、メッセージキュー管理部104yは、メッセージキューファイルのファイル名に記述されている、楽曲データIDおよび処理内容が一致するメッセージキューを抽出し、その抽出したメッセージキューのうち、メッセージキューIDが小さい変更前ステータス(すなわち時系列的に一番古い)と、メッセージキューIDが大きい変更後ステータス(すなわち時系列的に一番新しい)と、を抽出する。そして、これら抽出したステータスをそれぞれ変更前、変更後のステータスとした文字列からなるファイル名を生成して、新たなメッセージキューファイルとすることで、メッセージキューの集約処理を行うことができる。なお、新たな集約後メッセージキューファイルのIDは、集約対象となったファイルのうち、一番古いものにしている。   More specifically, the message queue management unit 104y extracts a message queue having the same music data ID and processing content described in the file name of the message queue file, and out of the extracted message queues, the message queue The status before change with a small ID (that is, the oldest in time series) and the status after change with a large message queue ID (that is, the newest in time series) are extracted. Then, by generating a file name composed of character strings with the extracted statuses as the status before and after the change, and creating a new message queue file, the message queue aggregation processing can be performed. Note that the ID of the new post-consolidation message queue file is the oldest among the files to be aggregated.

メッセージキュー記憶部105xは、メッセージキューファイルを記憶する部分である。   The message queue storage unit 105x is a part that stores a message queue file.

ライブラリ情報記憶部107xは、ライブラリ情報を記憶する部分である。ライブラリ情報とは、楽曲データのメタデータである。図12に、その具体的構成を示す。図12に示される通り、ライブラリ情報は、楽曲のID、曲名、アーティスト名、アルバム名、トラック番号、演奏時間、ジャンル、再生回数、およびレーティングからなるものである。これらライブラリ情報は、ユーザインタフェース102xを介したユーザ操作により、または装置における処理(例えば再生)に従って、変更される。このライブラリ情報は一例であり、そのほか、楽曲に関する管理情報であればこれらに限るものではない。   The library information storage unit 107x is a part that stores library information. Library information is metadata of music data. FIG. 12 shows a specific configuration thereof. As shown in FIG. 12, the library information includes a song ID, a song name, an artist name, an album name, a track number, a performance time, a genre, the number of times of reproduction, and a rating. The library information is changed by a user operation via the user interface 102x or according to processing (for example, reproduction) in the apparatus. This library information is only an example, and any other management information related to music is not limited thereto.

楽曲データ記憶部108は、楽曲データを記憶する部分である。この楽曲データは、一般的は圧縮ファイル(MP3等)で構成されており、楽曲IDと対応付けられている。   The music data storage unit 108 is a part that stores music data. This music data is generally composed of a compressed file (MP3 or the like) and is associated with a music ID.

つぎに、メディアサーバ200xについて説明する。図13は、メディアサーバ200xの機能構成を示すブロック図である。このメディアサーバ200xも、図3に示されるようなハードウェア構成からなるものであり、RAM、ROM、および補助記憶装置に記憶されたプログラムに基づいて処理を実行するものである。   Next, the media server 200x will be described. FIG. 13 is a block diagram illustrating a functional configuration of the media server 200x. The media server 200x also has a hardware configuration as shown in FIG. 3, and executes processing based on programs stored in the RAM, ROM, and auxiliary storage device.

通信部201xは、情報処理装置100xと通信する部分であり、本実施形態においては、メッセージキューファイルまたはメッセージキューファイルに基づいた処理結果内容を情報処理装置100xから受信する部分である。   The communication unit 201x is a part that communicates with the information processing apparatus 100x. In the present embodiment, the communication unit 201x is a part that receives a message queue file or processing result contents based on the message queue file from the information processing apparatus 100x.

メッセージキュー処理部202xは、情報処理装置100xから受信したメッセージキューファイルまたは受信された処理結果内容に基づいた処理をデータ管理部203xに指示する部分である。   The message queue processing unit 202x is a part that instructs the data management unit 203x to perform processing based on the message queue file received from the information processing apparatus 100x or the received processing result content.

データ管理部203xは、メッセージキュー処理部202xからの指示に応じてライブラリ情報記憶部204xに記憶されているライブラリ情報を更新する部分である。そして、更新の成功または失敗をメッセージキュー処理部202xに通知する。メッセージキュー処理部202xにおいては、その成否の情報を、通信部201xを介して情報処理装置100xに通知する。情報処理装置100では、その結果に基づいた処理(リトライまたは強制同期処理)を行う。   The data management unit 203x is a part that updates the library information stored in the library information storage unit 204x in response to an instruction from the message queue processing unit 202x. Then, the success or failure of the update is notified to the message queue processing unit 202x. The message queue processing unit 202x notifies the information processing apparatus 100x of the success / failure information via the communication unit 201x. The information processing apparatus 100 performs processing (retry or forced synchronization processing) based on the result.

ライブラリ情報記憶部204xは、情報処理装置100xに記憶されている楽曲データのライブラリ情報を記憶する部分である。また、楽曲データ記憶部205xは、楽曲データを記憶する分であり、情報処理装置100xからの要求により、通信部201xを介してダウンロードされる。   The library information storage unit 204x is a part that stores library information of music data stored in the information processing apparatus 100x. The music data storage unit 205x stores music data and is downloaded via the communication unit 201x in response to a request from the information processing apparatus 100x.

このように構成された情報処理装置100xにおいて、その処理動作について説明する。図14は、情報処理装置100xの処理を示すフローチャートである。まず、情報処理装置100xにおいて、ユーザインタフェース102xを介したユーザ操作によりメディアプレイヤーが起動される(S101)。そして、メディアプレイヤーに対するユーザ入力操作がユーザインタフェース102xにより受け付けられ(S102)、再生部103xにおいて、再生処理が行われるとともに、データ管理部106xにおいて、その再生処理に対するライブラリ情報(再生回数)が更新される(S103)。なお、そのほかメディアプレイヤーにおける編集機能を用いてアーティスト名等を変更したり、そのほかのステータスを変更することもでき、そのような変更が行われた場合もライブラリ情報が更新される。   The processing operation of the information processing apparatus 100x configured as described above will be described. FIG. 14 is a flowchart illustrating processing of the information processing apparatus 100x. First, in the information processing apparatus 100x, a media player is activated by a user operation via the user interface 102x (S101). Then, a user input operation to the media player is accepted by the user interface 102x (S102), the reproduction unit 103x performs reproduction processing, and the data management unit 106x updates library information (number of reproductions) for the reproduction processing. (S103). In addition, the artist name or the like can be changed by using the editing function in the media player, and other statuses can be changed. When such a change is made, the library information is updated.

そして、メッセージキュー生成部104xにおいて再生処理や入力操作に基づいた文字列が生成され、当該文字列をファイル名としたメッセージキューを示すメッセージキューファイルが生成される。生成されたメッセージキューファイルは、メッセージキュー記憶部105xに記憶される(S104)。そして、メッセージキューファイルが生成されると、新たな管理ファイルが生成される(S104a)。すなわち、管理ファイルのファイル名に記述されているファイル数部分が一つインクリメントされた管理ファイルが生成される。なお、新たな管理ファイルが作成された場合、古い管理ファイルは削除されることが好ましい。   Then, the message queue generation unit 104x generates a character string based on the reproduction process and the input operation, and a message queue file indicating a message queue having the character string as a file name is generated. The generated message queue file is stored in the message queue storage unit 105x (S104). When the message queue file is generated, a new management file is generated (S104a). That is, a management file is generated in which the file number portion described in the file name of the management file is incremented by one. When a new management file is created, the old management file is preferably deleted.

そして、情報処理装置100xにおいて、所定条件が満たしたか否かが、メッセージキュー管理部104yにおいて判断される(S105)。ここでは、例えば、メッセージキューファイルが所定数を超えたか否か(つまり管理ファイルのファイル数が所定数を超えたか)、明示的な操作が行われたな否か、ユーザ操作などによりメディアサーバ200xに接続されたか否か、前回メディアサーバ200xに対して接続してから一定時間経過したか否か、が判断される。ここで、所定条件を満たしたと判断されると、メッセージキュー管理部104yにより、楽曲データIDおよび処理内容をキーとして、メッセージキューの集約処理が行われる(S105a)。そして、最もCUE番号の若いメッセージキューファイルのファイル名に応じた処理を通信部101からメディアサーバ200xに対して要求を行う(S106)。   Then, in the information processing apparatus 100x, the message queue management unit 104y determines whether or not a predetermined condition is satisfied (S105). Here, for example, the media server 200x is determined by whether or not the message queue file exceeds a predetermined number (that is, whether or not the number of management files exceeds a predetermined number), whether an explicit operation is performed, a user operation, or the like. It is determined whether or not a certain time has elapsed since the previous connection to the media server 200x. Here, if it is determined that the predetermined condition is satisfied, the message queue management unit 104y performs message queue aggregation processing using the music data ID and the processing content as a key (S105a). Then, a request corresponding to the file name of the message queue file with the smallest CUE number is sent from the communication unit 101 to the media server 200x (S106).

ここで、メディアサーバ200xにおいて、要求に対する処理が成功したか否かが判断され(S107)、成功したと判断された場合には、メッセージキュー管理部104yは、メディアサーバ200xに反映された処理を示すメッセージキューファイルを削除する(S108)。そして、メッセージキューファイルが残っているか否かが判断され(S110)、残っている場合には、S106に戻り、次のメッセージキューファイルに対する処理が行われる(S106)。   Here, in the media server 200x, it is determined whether or not the processing for the request is successful (S107). If it is determined that the processing is successful, the message queue management unit 104y performs the processing reflected in the media server 200x. The message queue file shown is deleted (S108). Then, it is determined whether or not a message queue file remains (S110). If it remains, the process returns to S106, and processing for the next message queue file is performed (S106).

また、メディアサーバ200xが処理に成功しなかった場合には、メッセージキュー管理部104yによりエラー処理が行われる(S109)。ここでのエラー処理は、例えば、リトライ処理や、強制同期処理(情報処理装置100xにおけるライブラリ情報を元に戻すなど)である。そして、これら処理が繰り返し行われる。   If the media server 200x has not succeeded in processing, the message queue management unit 104y performs error processing (S109). The error processing here is, for example, retry processing or forced synchronization processing (such as restoring the library information in the information processing apparatus 100x). These processes are repeated.

つぎに、本実施形態における情報処理装置100xにおける作用効果について説明する。本実施形態の情報処理装置100xにおいて、メッセージキュー生成部104xは、ユーザインタフェース102xにより受け付けられた処理の結果に基づいた文字列を生成し、生成された文字列をファイル名とした処理結果ファイルであるメッセージキューファイルを生成する。そして、メッセージキュー管理部104yは、生成されたメッセージキューファイルを、メッセージキュー記憶部105xに記憶する。これにより、操作履歴や処理結果等のステータスを記憶するに際して、メモリ消費量を少なくするとともに、その読み出し処理を迅速に行うことができる。ここで、メッセージキューファイルは、実体データを有さない場合、メモリの利用効率をさらに向上させることができる。   Next, operational effects of the information processing apparatus 100x in the present embodiment will be described. In the information processing apparatus 100x of this embodiment, the message queue generation unit 104x generates a character string based on the processing result accepted by the user interface 102x, and uses a processing result file with the generated character string as a file name. Create a message queue file. The message queue management unit 104y stores the generated message queue file in the message queue storage unit 105x. Thereby, when storing the status such as the operation history and the processing result, the memory consumption can be reduced and the reading process can be quickly performed. Here, when the message queue file does not have entity data, the memory utilization efficiency can be further improved.

また、メッセージキュー管理部104yが、あらかじめ定めた条件に従って、複数のメッセージキューファイルを1つのメッセージキューファイルに集約することで、メモリ消費量および読み出し処理を効率的に行うことができる。さらに、メディアサーバ200x等に処理結果等を通知する際において、複数の状態を通知する必要がなく、効率的な処理を実現できる。   Further, the message queue management unit 104y aggregates a plurality of message queue files into one message queue file according to a predetermined condition, so that memory consumption and read processing can be performed efficiently. Furthermore, when the processing result or the like is notified to the media server 200x or the like, it is not necessary to notify a plurality of states, and efficient processing can be realized.

さらに、本実施形態においては、通信部101xは、メッセージキューファイルのファイル名に基づいた処理を外部にあるメディアサーバ200xに出力することで、メディアサーバ200xは処理結果を把握することができる。本実施形態においては、情報処理装置100xとメディアサーバ200xにおけるライブラリ情報の整合性をとることができる。   Furthermore, in the present embodiment, the communication unit 101x outputs a process based on the file name of the message queue file to the external media server 200x, so that the media server 200x can grasp the processing result. In the present embodiment, the consistency of library information in the information processing apparatus 100x and the media server 200x can be achieved.

また、本実施形態においては、メッセージキュー管理部104yがメッセージキューファイルの数をファイル名に含めた管理ファイルを作成しておき、メッセージキューファイルが生成されるごとに、そのファイルの数を更新した管理ファイルを作成する。そして、メッセージキュー管理部104yは、そのファイル名に基づいてメッセージキューファイル数を判断することができ、ファイル数管理を迅速かつ簡易にすることができる。   In the present embodiment, the message queue management unit 104y creates a management file including the number of message queue files in the file name, and updates the number of files each time a message queue file is generated. Create a management file. Then, the message queue management unit 104y can determine the number of message queue files based on the file name, and can quickly and easily manage the number of files.

なお、上述のメディアプレイヤーに対する応用は一例であり、これに限るものではない。また、ファイル数をファイル名に含んだ管理ファイルを作成することや、複数のメッセージキューファイルを集約することについても、第1の実施形態に適用することもできる。   The application to the media player described above is an example, and the present invention is not limited to this. Also, the creation of a management file including the number of files in the file name and the aggregation of a plurality of message queue files can also be applied to the first embodiment.

100、100x…情報処理装置、101、101x…通信部、102、102x…ユーザインタフェース、103…データ処理部、103x…再生部、104…メッセージキュー管理部、104x…メッセージキュー生成部、104y…メッセージキュー管理部、105、105x…メッセージキュー記憶部、106、106x…データ管理部、107、107x…ライブラリ情報記憶部、108…データ記憶部、108、108x…楽曲データ記憶部、200…サーバ、200x…メディアサーバ、201、201x…通信部、202、202x…メッセージキュー処理部、203、203x…データ管理部、204、204x…ライブラリ情報記憶部、205…データ記憶部、205x…楽曲データ記憶部。


DESCRIPTION OF SYMBOLS 100, 100x ... Information processing apparatus 101, 101x ... Communication part, 102, 102x ... User interface, 103 ... Data processing part, 103x ... Reproduction part, 104 ... Message queue management part, 104x ... Message queue production | generation part, 104y ... Message Queue management unit 105, 105x ... message queue storage unit 106, 106x ... data management unit 107, 107x ... library information storage unit 108 ... data storage unit 108, 108x ... song data storage unit 200 ... server 200x ... Media server, 201, 201x ... Communication unit, 202, 202x ... Message queue processing unit, 203, 203x ... Data management unit, 204, 204x ... Library information storage unit, 205 ... Data storage unit, 205x ... Music data storage unit.


上述の課題を解決するために本発明の情報処理装置は、入力を受け付ける入力手段と、前記入力手段が受け付けた入力に応じた処理を行う処理手段と、前記処理手段が行った処理の結果に基づき、当該処理の内容を示す文字列を生成する文字列生成手段と、前記文字列生成手段により生成された文字列をファイル名とした処理結果ファイルを生成するファイル生成手段と、前記ファイル生成手段により生成された処理結果ファイルを記憶する処理結果記憶手段と、を備える。 In order to solve the above-described problem, an information processing apparatus according to the present invention includes an input unit that receives an input, a processing unit that performs a process according to the input received by the input unit, and a result of the process performed by the processing unit. A character string generating unit that generates a character string indicating the content of the processing, a file generating unit that generates a processing result file with the character string generated by the character string generating unit as a file name, and the file generating unit Processing result storage means for storing the processing result file generated by the above.

また、本発明のキュー記憶方法は、入力を受け付ける入力ステップと、前記入力ステップが受け付けた入力に応じた処理を行う処理ステップと、前記処理ステップが行った処理の結果に基づき、当該処理の内容を示す文字列を生成する文字列生成ステップと、前記文字列生成ステップにより生成された文字列をファイル名とした処理結果ファイルを生成するファイル生成ステップと、前記ファイル生成ステップにより生成された処理結果ファイルを処理結果記憶手段に記憶する記憶ステップと、を備える。
また、本発明の情報処理システムは、第1の情報処理装置及び第2の情報処理装置を含む情報処理システムであって、前記第1の情報処理装置は、入力を受け付ける入力手段と、前記入力手段が受け付けた入力に応じた処理を行う処理手段と、前記処理手段が行った処理の結果に基づき、当該処理の内容を示す文字列を生成する文字列生成手段と、前記文字列生成手段により生成された文字列をファイル名とした処理結果ファイルを生成するファイル生成手段と、前記ファイル生成手段により生成された処理結果ファイルを記憶する処理結果記憶手段と、前記処理結果ファイルのファイル名に基づいて、前記処理手段が行った処理の結果を前記第2の情報処理装置に送信する送信手段と、を備え、前記第2の情報処理装置は、前記送信手段により送信された処理の結果に応じた処理を実行する処理手段とを備える。
Further, the queue storage method of the present invention includes an input step for receiving an input, a processing step for performing a process according to the input received by the input step, and a content of the process based on a result of the process performed by the processing step. A character string generation step for generating a character string indicating a file name, a file generation step for generating a processing result file with the character string generated by the character string generation step as a file name, and a processing result generated by the file generation step Storing a file in the processing result storage means.
The information processing system of the present invention is an information processing system including a first information processing apparatus and a second information processing apparatus, wherein the first information processing apparatus includes an input unit that receives an input, and the input A processing unit that performs processing according to an input received by the unit, a character string generation unit that generates a character string indicating the content of the processing based on a result of the processing performed by the processing unit, and the character string generation unit. Based on a file generation unit that generates a processing result file with the generated character string as a file name, a processing result storage unit that stores the processing result file generated by the file generation unit, and a file name of the processing result file And transmitting means for transmitting the result of the processing performed by the processing means to the second information processing apparatus, wherein the second information processing apparatus Ri and processing means for executing processing corresponding to the result of the transmitted processed.

Claims (6)

入力を受け付ける入力手段と、
前記入力手段が受け付けた入力に応じた処理を行う処理手段と、
前記処理手段が行った処理の結果に基づいた文字列を生成する文字列生成手段と、
前記文字列生成手段により生成された文字列をファイル名とした処理結果ファイルを生成するファイル生成手段と、
前記ファイル生成手段により生成された処理結果ファイルを記憶する処理結果記憶手段と、
を備える情報処理装置。
Input means for accepting input;
Processing means for performing processing according to the input received by the input means;
A character string generating means for generating a character string based on the result of the processing performed by the processing means;
File generation means for generating a processing result file with the character string generated by the character string generation means as a file name;
Processing result storage means for storing the processing result file generated by the file generation means;
An information processing apparatus comprising:
前記ファイル生成手段は、実体データを有さない処理結果ファイルを生成することを特徴とする請求項1に記載の情報処理装置。   The information processing apparatus according to claim 1, wherein the file generation unit generates a processing result file having no actual data. 前記処理結果記憶手段に記憶された複数の処理結果ファイルを、あらかじめ定めた条件に従って、1つの処理結果ファイルに集約する集約手段をさらに備えることを特徴とする請求項1または請求項2に記載の情報処理装置。   The aggregation unit according to claim 1, further comprising an aggregation unit that aggregates the plurality of processing result files stored in the processing result storage unit into one processing result file according to a predetermined condition. Information processing device. 前記処理結果記憶手段に記憶された処理結果ファイルのファイル名に基づいて、前記処理手段が行った処理の結果を外部へ出力する出力手段をさらに備えることを特徴とする請求項1から3のいずれか一項に記載の情報処理装置。   4. The apparatus according to claim 1, further comprising an output unit that outputs a result of the processing performed by the processing unit to the outside based on a file name of the processing result file stored in the processing result storage unit. The information processing apparatus according to claim 1. 前記処理結果記憶手段は、処理結果ファイルの数をファイル名に含む管理ファイルをさらに記憶し、
前記ファイル生成手段が処理結果ファイルを生成するごとに、前記管理ファイルのファイル名に含まれるファイル数の情報をインクリメントするとともに、当該ファイル数の情報が所定数に達すると前記出力手段に前記処理手段が行った処理の結果を外部へ出力させるファイル数管理手段を備えることを特徴とする請求項4に記載の情報処理装置。
The processing result storage means further stores a management file including the number of processing result files in the file name,
Each time the file generation unit generates a processing result file, the information on the number of files included in the file name of the management file is incremented, and when the information on the number of files reaches a predetermined number, the processing unit The information processing apparatus according to claim 4, further comprising a file number management unit that outputs a result of the processing performed by.
入力を受け付ける入力ステップと、
前記入力ステップが受け付けた入力に応じた処理を行う処理ステップと、
前記処理ステップが行った処理の結果に基づいた文字列を生成する文字列生成ステップと、
前記文字列生成ステップにより生成された文字列をファイル名とした処理結果ファイルを生成するファイル生成ステップと、
前記ファイル生成ステップにより生成された処理結果ファイルを処理結果記憶手段に記憶する記憶ステップと、
を備えるキュー記憶方法。





An input step for accepting input;
A processing step for performing processing according to the input accepted by the input step;
A character string generation step for generating a character string based on the result of the processing performed by the processing step;
A file generation step of generating a processing result file with the character string generated by the character string generation step as a file name;
A storage step of storing the processing result file generated by the file generation step in a processing result storage unit;
A queue storage method comprising:





JP2013001165A 2013-01-08 2013-01-08 Information processing apparatus and queue storage method Expired - Fee Related JP5718953B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013001165A JP5718953B2 (en) 2013-01-08 2013-01-08 Information processing apparatus and queue storage method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013001165A JP5718953B2 (en) 2013-01-08 2013-01-08 Information processing apparatus and queue storage method

Publications (2)

Publication Number Publication Date
JP2014134877A true JP2014134877A (en) 2014-07-24
JP5718953B2 JP5718953B2 (en) 2015-05-13

Family

ID=51413109

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013001165A Expired - Fee Related JP5718953B2 (en) 2013-01-08 2013-01-08 Information processing apparatus and queue storage method

Country Status (1)

Country Link
JP (1) JP5718953B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019155551A1 (en) * 2018-02-07 2019-08-15 株式会社Fuji File management device and substrate processing system
KR20220125895A (en) * 2021-03-05 2022-09-15 동국대학교 산학협력단 Method of stream partitioning for ssd multi-stream management

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001142757A (en) * 1999-11-16 2001-05-25 Osaka Gas Co Ltd Method for naming file to be processed
JP2002132621A (en) * 2000-10-20 2002-05-10 Oki Electric Ind Co Ltd File transferring device and file receiving device
JP2005174063A (en) * 2003-12-12 2005-06-30 Nippon Telegr & Teleph Corp <Ntt> File management apparatus, dynamic name space generation method and dynamic name space generation program
WO2007072566A1 (en) * 2005-12-22 2007-06-28 Japan Agency For Marine-Earth Science And Technology Metadata retriever
JP2008178067A (en) * 2006-12-20 2008-07-31 Brother Ind Ltd Image scanning device
JP2010191848A (en) * 2009-02-20 2010-09-02 Toyota Motor Corp Communication system, transmitting device, receiving device, and program

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001142757A (en) * 1999-11-16 2001-05-25 Osaka Gas Co Ltd Method for naming file to be processed
JP2002132621A (en) * 2000-10-20 2002-05-10 Oki Electric Ind Co Ltd File transferring device and file receiving device
JP2005174063A (en) * 2003-12-12 2005-06-30 Nippon Telegr & Teleph Corp <Ntt> File management apparatus, dynamic name space generation method and dynamic name space generation program
WO2007072566A1 (en) * 2005-12-22 2007-06-28 Japan Agency For Marine-Earth Science And Technology Metadata retriever
JP2008178067A (en) * 2006-12-20 2008-07-31 Brother Ind Ltd Image scanning device
JP2010191848A (en) * 2009-02-20 2010-09-02 Toyota Motor Corp Communication system, transmitting device, receiving device, and program

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019155551A1 (en) * 2018-02-07 2019-08-15 株式会社Fuji File management device and substrate processing system
JPWO2019155551A1 (en) * 2018-02-07 2020-12-03 株式会社Fuji File management device and board work system
JP7220679B2 (en) 2018-02-07 2023-02-10 株式会社Fuji board working system
KR20220125895A (en) * 2021-03-05 2022-09-15 동국대학교 산학협력단 Method of stream partitioning for ssd multi-stream management
KR102491809B1 (en) 2021-03-05 2023-01-27 동국대학교 산학협력단 Method of stream partitioning for ssd multi-stream management

Also Published As

Publication number Publication date
JP5718953B2 (en) 2015-05-13

Similar Documents

Publication Publication Date Title
US10491552B2 (en) Inserting content into an application from an online synchronized content management system
CN1828599B (en) Ghosted synchronization system and method
EP2266048B1 (en) Web-based multi-user collaboration for editing a document
US9367530B2 (en) Distributed document co-authoring and processing
US20120192064A1 (en) Distributed document processing and management
US8239345B2 (en) Asynchronous replication
JP2016529599A (en) Content clipboard synchronization
CN104133828A (en) Drag-and-drop clipboard for HTML documents
CN102349062A (en) Programming model for synchronizing browser caches across devices and web services
CN107408242B (en) Providing interactive previews of content within communications
KR20140038991A (en) Automatic synchronization of most recently used document lists
EP3552376B1 (en) Card-based information management method and system
CN111602120B (en) Displaying an indication of changes made to content at a source
WO2014070805A2 (en) System and method for providing linked note-taking
CN107111649B (en) Uploading user and system data from a source location to a destination location
WO2023151597A1 (en) Task processing method and apparatus, electronic device, and computer-readable storage medium
US11210212B2 (en) Conflict resolution and garbage collection in distributed databases
US8959248B2 (en) Personal computing environment with virtual computing device
JP5718953B2 (en) Information processing apparatus and queue storage method
US8645377B2 (en) Aggregating data from a work queue
CA2722511C (en) Efficient change tracking of transcoded copies
JP5659248B2 (en) Communication terminal and synchronization method
CN112073395B (en) File distribution method and device
CN110874302A (en) Method and device for determining buried point configuration information
US11861139B1 (en) Deferring and accessing deferred content from multiple applications

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140812

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20141014

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150319

R150 Certificate of patent or registration of utility model

Ref document number: 5718953

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees