JP2018049308A - Server device, calculation method, and program - Google Patents
Server device, calculation method, and program Download PDFInfo
- Publication number
- JP2018049308A JP2018049308A JP2016182520A JP2016182520A JP2018049308A JP 2018049308 A JP2018049308 A JP 2018049308A JP 2016182520 A JP2016182520 A JP 2016182520A JP 2016182520 A JP2016182520 A JP 2016182520A JP 2018049308 A JP2018049308 A JP 2018049308A
- Authority
- JP
- Japan
- Prior art keywords
- data
- calculation
- target data
- calculation target
- received
- 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
Links
- 238000004364 calculation method Methods 0.000 title claims abstract description 314
- 238000012545 processing Methods 0.000 claims abstract description 29
- 230000005540 biological transmission Effects 0.000 claims abstract description 10
- 230000014509 gene expression Effects 0.000 claims description 59
- 238000000034 method Methods 0.000 claims description 44
- 239000000463 material Substances 0.000 claims description 30
- 238000010606 normalization Methods 0.000 claims description 23
- 230000004044 response Effects 0.000 abstract description 7
- 230000006870 function Effects 0.000 description 140
- 238000004891 communication Methods 0.000 description 10
- 238000004422 calculation algorithm Methods 0.000 description 4
- 230000001174 ascending effect Effects 0.000 description 3
- 238000012905 input function Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005194 fractionation Methods 0.000 description 1
- 239000011159 matrix material Substances 0.000 description 1
- 230000001131 transforming effect Effects 0.000 description 1
Images
Landscapes
- Electrically Operated Instructional Devices (AREA)
- Calculators And Similar Devices (AREA)
Abstract
Description
本発明は、サーバ装置、計算方法およびプログラムに係り、特に端末から送信されてきた計算対象データの計算を行うサーバ装置、計算方法およびプログラムに関する。 The present invention relates to a server device, a calculation method, and a program, and more particularly to a server device, a calculation method, and a program for calculating calculation target data transmitted from a terminal.
従来から、ブラウザ上で動作する関数電卓等の数学アプリケーションが知られている。そして、例えば、このような数学アプリケーションが関数式をグラフ表示するアプリケーションである場合、ユーザが、関数式や計算範囲、ステップ等を入力すると、ブラウザ上で、入力された計算範囲やステップから関数式に代入する各変数を割り出し、各変数をそれぞれ関数式に代入して計算を行い、計算結果をグラフ上にプロットすることで、入力された関数式のグラフ表示を行うように構成される。 Conventionally, mathematical applications such as a scientific calculator that operates on a browser are known. For example, when such a mathematical application is an application that displays a function expression in a graph, when a user inputs a function expression, a calculation range, a step, or the like, the function expression is calculated from the input calculation range or step on the browser. Each variable to be assigned to is determined, each variable is assigned to a function expression, calculation is performed, and the calculation result is plotted on a graph to display the graph of the input function expression.
しかし、この場合、ユーザがブラウザ上で操作することで、上記の計算を行うための計算アルゴリズムを見ることができる場合が多いが、このような計算アルゴリズムは、通常、計算アルゴリズムや数学アプリケーション等を開発する際のノウハウが盛り込まれているため、競業他社等に知られたくない場合も少なくない。 However, in this case, the user can often see the calculation algorithm for performing the above calculation by operating on the browser. However, such a calculation algorithm usually includes a calculation algorithm or a mathematical application. Since know-how for development is included, there are many cases where you do not want to be known by competitors.
そこで、例えば特許文献1に記載されているように、ユーザが端末に入力した関数式(計算範囲やステップ等を含む。)をサーバ装置に送信し、サーバ装置で上記のような計算を行い、一連の計算結果等を端末側に送信して、端末上にグラフ表示させるように構成することが可能である。このように構成すれば、ユーザ等が計算アルゴリズム等を見ることができないようにしながら、端末上では、関数式を的確にグラフ表示させることができる。
Therefore, for example, as described in
ところで、例えば、このような端末を生徒や児童に持たせ、授業中に数十人の生徒等がそれぞれ端末を操作して電子教科書を開き、関数式をグラフ表示させる問題を一斉に解くような状況では、端末上の電子教科書に載っている関数式が、各端末からそれぞれサーバ装置には送信される状態になる。 By the way, for example, such a terminal is held by students and students, and during the class, dozens of students each operate the terminal to open an electronic textbook and solve the problem of displaying the function expression in a graph all at once. In the situation, the function formulas in the electronic textbook on the terminal are transmitted from each terminal to the server device.
しかし、電子教科書に載っている関数式は同じであるのに、サーバ装置は、各端末から関数式データが送信されてくる毎に同じ計算を毎回行わなければならなくなるが、これではサーバ装置の計算処理の負荷が大きくなる。また、それとともに、生徒等(ユーザ)はすぐに答えが知りたいにもかかわらず、答え、すなわちこの場合は端末上でのグラフ表示が遅くなり、レスポンスタイムが長くなってしまうといった問題があった。 However, although the function formulas listed in the electronic textbook are the same, the server device must perform the same calculation every time the function formula data is transmitted from each terminal. The calculation processing load increases. In addition, students (users) want to know the answer immediately, but there is a problem that the answer, that is, in this case, the graph display on the terminal becomes slow and the response time becomes long. .
本発明は、上記の問題点を鑑みてなされたものであり、端末から送信されてきた計算対象データの計算を行うサーバ装置において、サーバ装置の計算処理の負荷を軽減し、迅速な処理が可能なサーバ装置、計算方法およびプログラムを提供することを目的とする。 The present invention has been made in view of the above problems, and in a server device that performs calculation of calculation target data transmitted from a terminal, the processing load of the server device can be reduced and rapid processing can be performed. An object of the present invention is to provide a server device, a calculation method, and a program.
以上の課題を解決するため、本発明のサーバ装置は、
計算対象データを受信する計算対象データ受信手段と、
前記計算対象データを計算する計算手段と、
前記計算結果データを送信する計算結果送信手段と、
前記計算対象データ受信手段により受信された計算対象データと同じ計算対象データを新たに受信したか否かを判断する受信データ判断手段と、
を備え、
前記計算手段は、前記受信データ判断手段により、同じ計算対象データを新たに受信したと判断された場合に、新たに受信した計算対象データの計算を行わない、
ことを特徴とする。
In order to solve the above problems, the server device of the present invention provides:
Calculation target data receiving means for receiving calculation target data;
A calculation means for calculating the calculation object data;
Calculation result transmission means for transmitting the calculation result data;
Received data judgment means for judging whether or not the same calculation target data as the calculation target data received by the calculation target data receiving means has been newly received;
With
The calculation means does not calculate the newly received calculation target data when the reception data determination means determines that the same calculation target data is newly received,
It is characterized by that.
本発明によれば、端末から送信されてきた計算対象データの計算を行うサーバ装置において、サーバ装置の計算処理の負荷を軽減し、迅速な処理が可能となる。 According to the present invention, in the server device that calculates the calculation target data transmitted from the terminal, the calculation processing load of the server device is reduced, and rapid processing becomes possible.
以下、本発明に係るサーバ装置、計算方法およびプログラムの実施の形態について、図面を参照して説明する。 Embodiments of a server device, a calculation method, and a program according to the present invention will be described below with reference to the drawings.
なお、本発明の範囲は、図示例に限定されない。特に、以下では、計算対象データが関数式データであり、サーバ装置が、複数の端末からそれぞれ送信されてきた関数式データや計算範囲、ステップ等に基づいて関数式データに対応するグラフを表示するための計算結果データを計算し、各計算結果データをそれぞれの端末に送信する場合について説明するが、本発明はこの場合に限定されず、例えば、それぞれの端末から送信されてきた計算対象データに基づいて統計的な計算等を行って計算結果データを端末に送信するような場合も含まれる。 The scope of the present invention is not limited to the illustrated example. In particular, in the following, the calculation target data is function formula data, and the server device displays a graph corresponding to the function formula data based on the function formula data, the calculation range, and the step transmitted from each of the plurality of terminals. However, the present invention is not limited to this case. For example, the calculation target data transmitted from each terminal is used as the calculation target data. A case where statistical calculation or the like is performed based on this and the calculation result data is transmitted to the terminal is also included.
図1は、本実施形態に係るサーバ装置と端末の内部構成等を示すブロック図である。図1ではサーバ装置1と1つの端末を例示するが、実際には複数の端末がネットワークを介して接続される。サーバ装置1は、CPU(Central Processing Unit)11と、表示部12と、入力部13と、記録媒体読取部14と、通信部15と、記憶部16と、フラッシュメモリ17等がバスに接続されて構成されている。
FIG. 1 is a block diagram illustrating an internal configuration of a server device and a terminal according to the present embodiment. Although FIG. 1 illustrates the
表示部12は、CPU11からの制御に従って、図示しないディスプレイ上に各種情報を表示するようになっている。なお、図1に示すように、表示部12のディスプレイ上にタッチパネル121を設け、ユーザがタッチパネル121にタッチする等して入力等の操作を行うことができるように構成することも可能である。
The
入力部13は、図示しないキーボードやテンキー、マウス等で構成されており、ユーザがキーボード等を操作して入力した内容をCPU11に出力するようになっている。記録媒体読取部14は、着脱自在に装着される記録媒体141から情報を読み取ることができるようになっている。
The
通信部15は、ネットワークを介して端末20から送信されてきたデータ(例えば後述する計算対象データ)等を受信し、また、CPU11の指示に従って、サーバ装置1からネットワークを介して端末20にデータ(例えば後述する計算結果データ)等を送信するようになっている。
The
記憶部16は、ROM(Read Only Memory)やRAM(Random Access Memory)等で構成されており、サーバ装置全体を制御する制御プログラム161や、本発明に係るプログラムである計算プログラム162等が記憶されている。また、記憶部16には、端末20から送信されてきた計算対象データや端末20等に関するデータを記憶する端末DB163も記憶されている。
The
フラッシュメモリ17には、計算結果データを一時的に記憶する計算結果DB171が記憶されている。なお、上記の端末DB163や計算結果DB171の具体的な構成等については後で説明する。
The
CPU11は、サーバ装置1の動作を制御するようになっている。具体的には、CPU11は、記憶部16に記憶されている制御プログラム161や各種アプリケーションプログラムの中から指定されたプログラムを読み出してRAMの作業領域に展開し、RAMに展開されたプログラムとの協働で、各種処理を実行するようになっている。また、CPU11は、通信部15を制御して、ネットワークを介して端末20にデータ(例えば後述する計算結果データ)等を送信させるようになっている。
The
一方、端末20も、CPU21と、表示部22と、入力部23と、記録媒体読取部24と、通信部25と、記憶部26等がバスに接続されて構成されている。
On the other hand, the
なお、端末20は、計算対象データ等をサーバ装置1に送信できるものであれば、パーソナルコンピュータ等のコンピュータやタブレット端末、スマートフォン等のどのような形態の端末でもよく、専用端末であってもよい。また、前述した特許文献1では、関数電卓上に表示されたQRコード(登録商標)等の2次元コードを撮影して送信する場合が示されており、本発明でも計算対象データから変換された2次元コードを撮影して送信するように構成してもよいが、必ずしもそのように構成する必要はない。
The
端末20においても、表示部22や表示部22、入力部23、記録媒体読取部24、通信部25はサーバ装置1の場合と同様に構成することが可能である。
Also in the
また、端末20の記憶部26には、サーバ装置1から送信されてきた計算結果データに基づいて表示部22上に関数式データをグラフ表示させるためのグラフ表示処理プログラム261等の各種プログラムや、端末20自体の識別情報である端末ID262のほか、電子教科書等の教材データ263等が記憶されている。
Further, in the
また、記憶部16には、端末20を使って、現在、生徒等が入力した関数式データを一時的に記憶する関数式記憶エリア264や、生徒等が解いている問題が掲載されている電子教科書等の教材の出版元や教材名、ページ、問題番号の情報(以下、教材情報という。)を一時的に記憶する教材情報記憶エリア265が設けられている。
In addition, the
そして、CPU21は、端末20の動作を制御するようになっており、CPU21は、記憶部26に記憶されている各種のプログラムを読み出してRAMの作業領域に展開し、RAMに展開されたプログラムとの協働で、各種処理を実行するようになっている。
The
[端末の動作]
まず、端末20側の動作について、図2に示すフローチャート等に基づいて説明する。ユーザが端末20を操作してサーバ装置1のホームページにアクセスする等すると、端末20のCPU21は、記憶部26からグラフ表示処理プログラム261(図1参照)を読み出してグラフ表示処理のアプリケーションを起動する。その際、CPU21は、図3(A)に示すような初期画面を表示部22に表示する。
[Terminal operation]
First, the operation on the terminal 20 side will be described based on the flowchart shown in FIG. When the user operates the terminal 20 to access the home page of the
そして、CPU21は、ユーザにより電子教科書等の教材(テキスト)を表示する旨の指示が入力されると(ステップS1:Yes)、ユーザの操作に応じて教材やページを指定して(ステップS2)、指定した教材に対応する教材データ263を記憶部26から読み出す。そして、図3(B)に示すように、画面上部に、指定された教材の指定されたページのデータを表示する(ステップS3)。
When the user inputs an instruction to display a learning material (text) such as an electronic textbook (step S1: Yes), the
続いて、ユーザが画面の関数式入力エリアA(図3(B)参照)をタッチしたりカーソルを移動させる等して関数式入力エリア指定が行われると(ステップS4:Yes)、図3(C)に示すように、ユーザの操作に応じて関数式データ(計算対象データ)を入力し、グラフ表示する対象となる関数式データを指定して(ステップS5)、入力された関数式データを関数式記憶エリア264に一時的に記憶する。また、CPU21は、その時点で画面上に表示されている教材データ263の教材情報(すなわち出版元や教材名(教科書名)、ページ、問題番号の情報)を教材情報記憶エリア265に一時的に記憶する。
Subsequently, when the function expression input area is specified by the user touching the function expression input area A (see FIG. 3B) on the screen or moving the cursor (step S4: Yes), FIG. C), function formula data (calculation target data) is input according to the user's operation, the function formula data to be displayed in a graph is designated (step S5), and the input function formula data is This is temporarily stored in the function
また、図3(C)等に示すように、デフォルトでは、例えば、関数式データをグラフ表示する範囲(サーバ装置1における計算範囲に対応。)は横(x方向)が−8〜+8、縦(y方向)が−5〜+5の範囲に設定され、ステップ(関数式に代入するxの間隔)は0.2に設定されているが、ユーザが表示範囲(計算範囲)やステップを変更した場合には、CPU21は、それらのデータも関数式記憶エリア264に一時的に記憶する。なお、ステップの代わりに、x方向の計算範囲を何分割するかを表す分割数データを設定するように構成することも可能である。
Further, as shown in FIG. 3C and the like, by default, for example, the range in which the function expression data is displayed in a graph (corresponding to the calculation range in the server apparatus 1) is −8 to +8 in the horizontal direction (x direction) (Y direction) is set in the range of -5 to +5, and the step (interval of x to be substituted into the function formula) is set to 0.2, but the user has changed the display range (calculation range) and step In such a case, the
続いて、ユーザによりグラフ表示を実行する操作が行われると(ステップS6;Yes)、CPU21は、関数式記憶エリア264に一時的に記憶させた関数式データや、x方向の計算範囲(デフォルトの場合は−8〜+8、変更された場合は変更された計算範囲)、ステップ(或いは分割数データ)のほか、教材情報(出版元、教材名、ページ、問題番号)や端末ID262を記憶部26から読み出して、サーバ装置1に送信する(ステップS7)。
Subsequently, when an operation for executing graph display is performed by the user (step S6; Yes), the
なお、端末20が、当該端末20が使用される国や地域を表す情報(以下、地域情報という。)を有している場合には、CPU21は、関数式データ等をサーバ装置1に送信する際に地域情報を送信するように構成することも可能である。また、CPU21が、インストールされているOS(Operating System)に設定されている国情報等を読み出し、それを地域情報として送信するように構成することも可能である。
When the terminal 20 has information (hereinafter referred to as regional information) indicating the country or region where the terminal 20 is used, the
そして、CPU21は、サーバ装置1から計算結果データを受信すると(ステップS8)、図3(D)に示すように、受信した計算結果データを画面のグラフ上にプロットして、入力された関数式データをグラフ表示するようになっている(ステップS9)。
When the
[サーバ装置の動作]
次に、サーバ装置1の動作について、図4に示すフローチャート等に基づいて説明する。また、本実施形態に係るサーバ装置1の作用についてもあわせて説明する。なお、以下で説明するサーバ装置1の計算処理は、前述した本発明に係る計算方法やプログラムに従って行われるため、以下の説明は、本発明に係る計算方法やプログラムについての説明にもなっている。
[Operation of server device]
Next, the operation of the
サーバ装置1の通信部15がいずれかの端末20から計算処理の依頼を受信すると(ステップS11:Yes)、関数式データ(計算対象データ)等を受信して、CPU11は、関数式データ等を記憶部16の端末DB163に登録する(ステップS12)。
When the
本実施形態では、端末DB163は、図5に示すような構成になっており、CPU11は、端末20から関数式データ等を受信すると、端末DB163に、登録した順に登録IDを付けて関数式データや教材情報、端末ID等を登録する。なお、端末DB163における「計算結果No.」については後で説明する。
In the present embodiment, the
また、本実施形態では、CPU11は、関数式データ等を送信した端末20が存在する地域を表す地域情報を取得するようになっている(ステップS13)。その際、上記のように、端末20から関数式データ等を送信する際に、端末20が自らの地域情報を送信するように構成されている場合は、サーバ装置1のCPU11は、端末20から送信された地域情報を取得し、図5に示すように、受信した関数式データに対応付けて端末DB163に登録する。
Moreover, in this embodiment, CPU11 acquires the area information showing the area where the terminal 20 which transmitted function type | formula data etc. exists (step S13). At that time, as described above, when the function data or the like is transmitted from the terminal 20, if the terminal 20 is configured to transmit its own area information, the
また、端末20が地域情報を送信するように構成されていない場合は、CPU11は、端末20自体の端末情報、すなわち例えば端末20のIP(Internet Protocol)アドレス等に基づいて地域情報を特定して取得するように構成することも可能である。さらに、CPU11は、上記のように関数式データとともに受信した教材情報(特に出版元)に基づいて地域情報を取得するように構成することも可能である。
If the terminal 20 is not configured to transmit regional information, the
続いて、CPU11は、受信した関数式データ(計算対象データ)と同じ関数式データ(計算対象データ)の計算結果である計算結果データが、キャッシュメモリ17の計算結果DB171に保存されていなければ(ステップS14〜S16:いずれもNo)、受信した関数式データ(計算対象データ)の計算を新規に実行する(ステップS17)。なお、ステップS14〜S16の各処理については後で説明する。
Subsequently, the
具体的には、CPU11は、ステップS17では、端末20から関数式データとともに受信した計算範囲やステップ(或いは分割数データ)に基づいて、関数式に代入する複数の変数値(すなわちxの値)を割り出す。そして、各変数値xをそれぞれ関数式に代入して計算値y(すなわちxに対応するyの値)をそれぞれ計算する。
Specifically, in step S17, the
そして、CPU11は、図6に示すように、計算した結果である計算結果データ(すなわちこの場合は変数値xと計算値y)を関数式データ(計算対象データ)にそれぞれ対応付けてキャッシュメモリ17の計算結果DB171に保存する(ステップS18)。
Then, as shown in FIG. 6, the
その際、例えば、CPU11は、図6に示すように、関数式データに変数値xを代入して計算して計算結果データ(変数値x、計算値y)を計算結果DB171に保存するごとに、計算結果No.を割り当てていき、図5に示すように、関数式データ(計算対象データ)に関する計算結果である計算結果データの計算結果No.が何番から何番までであるかを、記憶部16の端末DB163に登録した関数式データ(計算対象データ)に対応付けて登録するように構成することが可能である。
At that time, for example, as shown in FIG. 6, the
そして、CPU11は、計算処理の依頼(ステップS11参照)に対応する関数式データ(計算対象データ)に関する計算結果データをキャッシュメモリ17の計算結果DB171に保存すると(ステップS18)、これらの計算結果データ(この場合はx、yの行列データになる。)を、通信部15からネットワークを介して依頼元の端末20に送信させて(ステップS19)、一連の計算処理を終了して、次の計算処理の依頼を待つ状態に戻る(ステップS11)。
Then, the
一方、サーバ装置1のCPU11は、上記のようにいずれかの端末20から計算処理の依頼があり(ステップS11:Yes)、当該端末20から受信して記憶部16の端末DB163に登録(ステップS12)した関数式データ(計算対象データ)と同じ関数式データ(計算対象データ)が既にキャッシュメモリ17の計算結果DB171に保存されている場合(ステップS16:Yes)、すなわち、端末20から、保存された関数式データ(計算対象データ)と同じ関数式データ(計算対象データ)を受信した場合には、受信した関数式データ(計算対象データ)の計算(ステップS17)や計算結果データのキャッシュメモリ17への保存(ステップS18)を行わず、受信した関数式データ(計算対象データ)と同じ関数式データ(計算対象データ)の計算結果である計算結果データをキャッシュメモリ17の計算結果DB171から読み出して(ステップS20)、依頼元の端末20に送信させるようになっている。
On the other hand, the
すなわち、CPU11は、端末20から受信した関数式データ(計算対象データ)を記憶部16の端末DB163に登録すると(ステップS12)、キャッシュメモリ17の計算結果DB171を検索して、受信した関数式データ(計算対象データ)と同じ関数式データ(計算対象データ)がキャッシュメモリ17の計算結果DB171内にあるかどうかを検索する。
That is, when the
そして、CPU11は、受信した関数式データ(計算対象データ)と同じ関数式データ(計算対象データ)がキャッシュメモリ17の計算結果DB171に保存されている場合には(ステップS16:Yes)、受信した関数式データ(計算対象データ)の計算等は行わず、当該関数式データ(計算対象データ)の計算結果である計算結果データをキャッシュメモリ17の計算結果DB171から読み出して(ステップS20)、それらの計算結果データを、通信部15からネットワークを介して依頼元の端末20に送信させるようになっている(ステップS19)。
The
しかし、キャッシュメモリ17の計算結果DB171に保存されている計算結果データの量が膨大である場合には検索に時間がかかる。そこで、本実施形態では、検索時間を短縮してレスポンスタイム(すなわち端末20から計算処理の依頼があってから計算結果データを当該端末20に送信するまでの時間、或いは端末20上にグラフ表示がなされるまでの時間)をより短縮するために、まず、前述した地域情報や教材情報を利用して(地域情報や教材情報に基づいて検索範囲を狭めて)検索を行うようになっている。
However, when the amount of calculation result data stored in the
具体的には、CPU11は、上記のようにして端末20から受信した関数式データ(計算対象データ)を記憶部16の端末DB163(図5参照)に登録したり(ステップS12)、端末20の地域情報を取得して端末DB163に登録すると(ステップS13)、端末DB163内に、今回取得した地域情報と同じ又は近い地域を示す地域情報に対応付けられた、受信した関数式データ(計算対象データ)と同じ関数式データ(計算対象データ)が既に登録されているか否かを判断する(ステップS14)。
Specifically, the
また、今回取得した地域情報と同じ又は近い地域を示す地域情報に対応付けられた、受信した関数式データ(計算対象データ)とv関数式データ(計算対象データ)が端末DB163に登録されていない場合には(ステップS14:No)、CPU11は、続いて、端末DB163内に、関数式データ(計算対象データ)と同時に受信した教材情報(図5参照)と同じ教材情報(出版元、教材名、ページ、問題番号の何れか又は複数)に対応付けられた、受信した関数式データ(計算対象データ)と同じ関数式データ(計算対象データ)が既に登録されているか否かを判断する(ステップS15)。
Further, the received function formula data (calculation target data) and v function formula data (calculation target data) associated with the area information indicating the same or close area as the area information acquired this time are not registered in the
さらに、受信した教材情報と同じ教材情報(出版元、教材名、ページ、問題番号の何れか又は複数)に対応付けられた、受信した関数式データ(計算対象データ)と同じ関数式データ(計算対象データ)が端末DB163に登録されていない場合には(ステップS15:No)、CPU11は、受信した関数式データ(計算対象データ)と同じ関数式データ(計算対象データ)がキャッシュメモリ17の計算結果DB171に保存されているか否かを検索(全検索)して判断する(ステップS16)。
Furthermore, the same function formula data (calculation data) as the received function formula data (calculation target data) associated with the same teaching material information (publisher, teaching material name, page, question number or more) as the received teaching material information If the target data) is not registered in the terminal DB 163 (step S15: No), the
そして、ステップS14〜S16のいずれかの処理でYes判定の場合、CPU11は、前述したように受信した関数式データ(計算対象データ)の計算等は行わずに、端末DB163上で、既に登録されている同じ関数式データ(計算対象データ)に対応付けられている計算結果No.(図5参照)を基に、キャッシュメモリ17の計算結果DB171に保存されている、当該関数式データ(計算対象データ)の計算結果である計算結果データをキャッシュメモリ17の計算結果DB171から読み出して(ステップS20)、それらの計算結果データを、通信部15からネットワークを介して依頼元の端末20に送信させる(ステップS19)。
In the case of Yes determination in any of the processes in steps S14 to S16, the
[効果]
以上のように、本実施形態に係るサーバ装置1、計算方法およびプログラムによれば、サーバ装置1のCPU11は、受信した計算対象データ(本実施形態では関数式データ)がキャッシュメモリ17に保存されていない場合には当該計算対象データの計算を実行して計算結果データを端末20に送信するが、キャッシュメモリ17に保存された計算対象データと同じ計算対象データを受信した場合には、受信した計算対象データの計算を行わず、受信した計算対象データと同じ計算対象データの計算結果データをキャッシュメモリ17から読み出して端末20に送信する。
[effect]
As described above, according to the
そのため、キャッシュメモリ17に保存された計算対象データと同じ計算対象データを受信した場合には受信した計算対象データの計算を行わずに済むため、サーバ装置1の計算処理の負荷を軽減することが可能となるとともに、計算処理を行わない分だけレスポンスタイムを短縮することが可能となる。
Therefore, when the same calculation target data as the calculation target data stored in the
そのため、例えば、生徒等が関数式をグラフ表示させる問題を一斉に解くような状況では、サーバ装置1は、最初に受信した関数式データ(計算対象データ)の計算を行えば、その後送信されてくる同じ関数式データ(計算対象データ)の計算を行う必要がなくなりレスポンス良く計算結果データを送信することが可能となる。そのため、生徒側も、関数式データ(計算対象データ)を送信するとすぐに端末20上にグラフ表示されるようになり、効率良く学習を行うことが可能となる。
Therefore, for example, in a situation where students and the like solve the problem of displaying a function expression in a graph all at once, the
[正規化処理について]
ところで、前述した図3(C)では、生徒等が問題に記載された通りに関数式データを入力する場合を示したが、例えば、別の生徒等が別の端末20で、問題の上側の式を、
y=1.5x2+x−4
のように分数を小数化したり、問題では昇べきの順に記載されていた関数式を降べきの順に替えたりして関数式入力エリアAに入力する場合がある(後述する図8(A)参照)。また、例えば問題が、
y=(2x2+x−3)−(x2+4x+1)
のように記載されている場合に、生徒等が項ごとに計算して
y=x2−3x−4
と入力する場合もある。
[About normalization processing]
Incidentally, in FIG. 3C described above, a case is shown in which a student or the like inputs function data as described in the problem. For example, another student or the like is another terminal 20 and the upper side of the problem is input. The expression
y = 1.5x 2 + x-4
In some cases, the fraction is reduced to a decimal number, or the function expressions described in the ascending order in the problem are changed to the descending order and are input to the function expression input area A (see FIG. 8A described later). ). Also, for example, the problem
y = (2x 2 + x-3)-(x 2 + 4x + 1)
Y = x 2 -3x-4 when the students calculate for each term
May be entered.
そして、生徒等が問題に記載された通りに関数式データを入力したり、問題に記載された関数式を替えて入力したりすると、サーバ装置1のCPU11は、受信した関数式データの内容は同じ内容であるにもかかわらず、それらを異なる関数式データであると判断して、必要のない計算処理を行ってしまい、サーバ装置1の計算処理の負荷が増大したりレスポンスタイムが長くなったりする。
Then, when the student or the like inputs the function formula data as described in the problem, or changes and inputs the function formula described in the problem, the
そこで、計算対象データが上記のような関数式データである場合、サーバ装置1のCPU11は、受信した関数データを正規化し、正規化した正規化後の関数式データ(以下、正規化関数式データという。)と、キャッシュメモリ17の計算結果DB171に保存された正規化関数式データとが同じである場合には、受信した関数式データの計算を行わず、キャッシュメモリ17の計算結果DB171に保存されている、受信した正規化関数式データと同じ正規化関数式データの計算結果データを読み出して端末20に送信するように構成することが可能である。
Therefore, when the calculation target data is function formula data as described above, the
また、この場合も、受信した関数式データを正規化した正規化関数式データがキャッシュメモリ17の計算結果DB171に保存されていなければ、CPU11は、受信した関数式データの計算を行うとともに、受信した関数式データを正規化した正規化関数式データと計算結果である計算結果データとをキャッシュメモリ17の計算結果DB171に保存する。
Also in this case, if the normalized function formula data obtained by normalizing the received function formula data is not stored in the
なお、関数式データの正規化処理は、上記のように、端末20から受信した関数式データに対してサーバ装置1のCPU11が行うように構成してもよく、また、端末20が正規化処理を行い(すなわち端末20が正規化手段として機能するように構成し)、正規化関数式データをサーバ装置1に送信するように構成することも可能である。
It should be noted that the normalization processing of the function formula data may be performed by the
そして、正規化処理をサーバ装置1のCPU11が行う場合、正規化処理は、例えば図4に示したフローチャートのステップS13とステップS14の各処理の間で行われる。また、端末20で正規化処理を行う場合、正規化処理は、例えば図2に示したフローチャートのステップS6とステップS7の各処理の間で行われるように構成される。
When the normalization process is performed by the
ここで、正規化処理とは、関数式データを統一された形態に変換する処理のことであり、同じ内容の関数式データを同じ形の関数式データに変形する処理のことである。そして、正規化処理では、図7に示すフローチャートに従って、下記のような各処理が行われる。なお、以下では、関数式データの正規化処理を行う手段(サーバ装置1のCPU11或いは端末20のCPU21)を正規化手段として説明する。
Here, the normalization process is a process of converting function expression data into a unified form, and is a process of transforming function expression data having the same contents into function expression data having the same form. In the normalization process, the following processes are performed according to the flowchart shown in FIG. In the following description, the means for normalizing the function formula data (the
正規化手段は、まず、関数式データを項毎に計算して単純化し(単純化処理)、項毎に次数順に整列する(ステップS21)。すなわち、例えば、関数式データが、
y=(2x2+x−3)−(x2+4x+1)
のような関数式である場合、項毎に計算して単純化し、
y=x2−3x−4
の形にして正規化する。
The normalizing means first calculates and simplifies the function formula data for each term (simplification process), and arranges the terms for each term in order (step S21). That is, for example, functional data is
y = (2x 2 + x-3)-(x 2 + 4x + 1)
If it is a function expression like
y = x 2 -3x-4
Normalize in the form of
そして、予め設定された仕方(すなわち昇べきか降べきか)に従って関数式データを次数順に整列する。すなわち、例えば、設定された次数順が昇べきであれば、上記の関数式データを、
y=−4−3x+x2
の形に変更して正規化する。降べきの場合は上記の関数式データのままである。以下では、次数順が降べきに設定されている場合について説明するが、昇べきに設定されている場合も同様に説明される。
Then, the function formula data is arranged in the order of the order in accordance with a preset method (that is, whether to rise or fall). That is, for example, if the set order is to rise,
y = −4−3x + x 2
Change to the form and normalize. If it should descend, the above function data remains. In the following, the case where the order of orders is set to be descending will be described, but the case where the order of orders is set to be ascending is also described.
次に、正規化手段は、関数式データ中に小数がある場合には(ステップS22:Yes)、その小数を分数化する分数化処理を行う(ステップS23)。すなわち、例えば、関数式データが、
y=1.5x2+x−4
であれば、
y=3/2x2+x−4
に変更して正規化する。図8(A)では、関数式が、
y=1.5x2+x−4
小数化して入力されているが、分数化の正規化することにより、
y=3/2x2+x−4
となる。
Next, when there is a decimal number in the function formula data (step S22: Yes), the normalizing means performs a fractionation process for fractionating the decimal number (step S23). That is, for example, functional data is
y = 1.5x 2 + x-4
If,
y = 3 / 2x 2 + x-4
Change to and normalize. In FIG. 8A, the function formula is
y = 1.5x 2 + x-4
It is entered in decimals, but by normalizing fractions,
y = 3 / 2x 2 + x-4
It becomes.
図3(D)の関数式が、
y=−4+x+3/2x2
と昇べきの順に記載されているが、を降べきの順に正規化することにより、
y=3/2x2+x−4
となる。その結果、図8(A)では、図3(D)と同じ計算式と判断されて、新たに計算せずに、図3(D)の計算結果(各点の座標データ)を送信する。その結果、図3(D)の端末で表示されたものと、同じグラフ画像が図8(A)の端末で表示される。
The function formula in FIG.
y = -4 + x + 3 / 2x 2
Are listed in order of ascending powers, but by normalizing in order of descending powers,
y = 3 / 2x 2 + x-4
It becomes. As a result, in FIG. 8A, the calculation formula is determined to be the same as that in FIG. 3D, and the calculation result (coordinate data of each point) in FIG. 3D is transmitted without newly calculating. As a result, the same graph image as that displayed on the terminal shown in FIG. 3D is displayed on the terminal shown in FIG.
また、正規化手段は、関数式データが因数分解可能である場合には(ステップS24:Yes)、因数分解する因数分解処理を行う(ステップS25)。すなわち、例えば、関数式データが、
y=x2−3x−4
であれば、右辺を因数分解して、
y=(x+1)(x−4)
に変更して正規化する。
In addition, when the functional expression data can be factorized (step S24: Yes), the normalizing means performs factorization processing for factoring (step S25). That is, for example, functional data is
y = x 2 -3x-4
Then factorize the right-hand side and
y = (x + 1) (x-4)
Change to and normalize.
また、正規化手段は、関数式データ中に定数がある場合には(ステップS26:Yes)、関数式データ中の定数に数値を代入する処理を行う(ステップS27)。すなわち、例えば、関数式データが、
y=x2+ax+5
a=4
の形であれば、上側の関数式データ中の定数aに数値4を代入して、
y=x2+4x+5
に変更して正規化する。
Further, when there is a constant in the function formula data (step S26: Yes), the normalizing means performs a process of assigning a numerical value to the constant in the function formula data (step S27). That is, for example, functional data is
y = x 2 + ax + 5
a = 4
In the form of the above, the
y = x 2 + 4x + 5
Change to and normalize.
また、正規化手段は、関数式データが引用形式の場合には(ステップS28:Yes)、引用先の関数式データを引用元の関数式データに当てはめて1つの関数式データとする処理を行う(ステップS29)。すなわち、例えば、関数式データが、
y1=x2
y=2+y1
の形であれば(図8(B)参照)、引用先の関数式データ「y1=x2」を引用元の関数式データ「y=2+y1」に当てはめるとともに降べきの順に並べ替えて、
y=x2+2
に変更して正規化する。
Further, when the function expression data is in the citation format (step S28: Yes), the normalizing means applies the function expression data of the citation destination to the function expression data of the citation source to perform one function expression data. (Step S29). That is, for example, functional data is
y1 = x 2
y = 2 + y1
(Refer to FIG. 8B), the function expression data “y1 = x 2 ” of the citation destination is applied to the function expression data “y = 2 + y1” of the citation source and rearranged in the descending order,
y = x 2 +2
Change to and normalize.
一方、図8(C)では、
y=x2+2
のデータが
y=x2+2
に変更して正規化される。従って、図8(C)の計算式は、図8(B)と同じ計算式と判断されて、新たに計算せずに、図8(Bの計算結果(各点の座標データ)を送信する。その結果、図8(B)の端末で表示されたものと、同じグラフ画像が図8(C)の端末で表示される。
On the other hand, in FIG.
y = x 2 +2
Data is y = x 2 +2
To be normalized. Therefore, the calculation formula of FIG. 8C is determined to be the same calculation formula as FIG. 8B, and the calculation result of FIG. 8B (coordinate data of each point) is transmitted without newly calculating. As a result, the same graph image displayed on the terminal shown in FIG. 8B is displayed on the terminal shown in FIG.
以上のように関数式データを正規化することで、同じ内容の関数式データを同じ形の関数式データ(正規化関数式データ)で表すことが可能となる。そのため、サーバ装置1のCPU11がキャッシュメモリ17の計算結果DB171を検索する際に(ステップS14〜S16参照)、正規化した正規化関数式データの形と、キャッシュメモリ17の計算結果DB171に保存された正規化関数式データの形を比較して検索すれば、同じ内容の正規化関数式データが必ずヒットする。そのため、同じ内容の正規化関数式データを的確に検索することが可能となるとともに、検索のヒット率を的確に向上させることが可能となる。
By normalizing the function formula data as described above, the function formula data having the same content can be represented by the same form of function formula data (normalized function formula data). Therefore, when the
そして、内容は同じであるにもかかわらず関数式データの形が異なるために(例えば「y=(2x2+x−3)−(x2+4x+1)」と「y=x2−3x−4」や「y=x2−3x−4」と「y=−4−3x+x2」等)、検索してもヒットせず、サーバ装置1のCPU11が、関数式データの形が異なるために同じ内容の計算処理を何度も行ってしまい、サーバ装置1の計算処理の負荷が増大したりレスポンスタイムが長くなったりすることを的確に防止することが可能となる。
And although the contents are the same, the form of the functional expression data is different (for example, “y = (2x 2 + x−3) − (x 2 + 4x + 1)” and “y = x 2 −3x−4”). And “y = x 2 −3x−4” and “y = −4−3x + x 2 ”), the search does not hit and the
なお、上記のように関数式データが引用形式(図8(B)参照)の場合、別の生徒等が別の端末20で、問題の「y2=2+y1」のy1に「y1=x2」を予め代入して、図8(C)に示すように「y2=2+x2」と入力する場合もある。しかし、この場合も、正規化手段は、関数式データ「y=2+x2」を降べきの順に並べ替えて、
y=x2+2
に変更して正規化する。そして、この場合、図8(B)の場合に正規化した正規化関数式データ「y=x2+2」がキャッシュメモリ17の計算結果DB171に保存されているため、キャッシュメモリ17の計算結果DB171を検索すれば正規化関数式データ「y=x2+2」が必ずヒットすることになる。
As described above, when the functional expression data is in the citation format (see FIG. 8B), another student or the like is another terminal 20 and y1 of “y2 = 2 + y1” in question is “y1 = x 2 ”. May be substituted in advance and “y2 = 2 + x 2 ” may be input as shown in FIG. However, also in this case, the normalizing means rearranges the functional expression data “y = 2 + x 2 ” in the descending power order,
y = x 2 +2
Change to and normalize. In this case, since the normalized function expression data “y = x 2 +2” normalized in the case of FIG. 8B is stored in the
以上、本発明の実施形態を説明したが、本発明の範囲は、上述の実施形態等に限定するものではなく、特許請求の範囲に記載された発明の範囲とその均等の範囲を含む。 As mentioned above, although embodiment of this invention was described, the range of this invention is not limited to the above-mentioned embodiment etc., The range of the invention described in the claim, and its equivalent range are included.
以下に、この出願の願書に最初に添付した特許請求の範囲に記載した発明を付記する。付記に記載した請求項の項番は、この出願の願書に最初に添付した特許請求の範囲の通りである。
〔付記〕
<請求項1>
計算対象データを受信する計算対象データ受信手段と、
前記計算対象データを計算する計算手段と、
前記計算結果データを送信する計算結果送信手段と、
前記計算対象データ受信手段により受信された計算対象データと同じ計算対象データを新たに受信したか否かを判断する受信データ判断手段と、
を備え、
前記計算手段は、前記受信データ判断手段により、同じ計算対象データを新たに受信したと判断された場合に、新たに受信した計算対象データの計算を行わない、
ことを特徴とするサーバ装置。
<請求項2>
前記計算手段により計算された結果である計算結果データを前記計算対象データに対応付けて保存する計算結果保存手段を備え、
前記計算結果送信手段は、前記受信データ判断手段により同じ計算対象データを新たに受信したと判断された場合に、新たに受信した計算対象データと同じ前記計算対象データの計算結果である前記計算結果データを前記計算結果保存手段から読み出して送信することを特徴とする請求項1に記載のサーバ装置。
<請求項3>
前記計算対象データを送信した端末の地域情報を取得する地域情報取得手段を備え、
前記受信データ判断手段は、前記地域情報取得手段により取得された端末の地域情報を利用して、前記保存された前記計算対象データと同じ計算対象データを新たに受信したか否かを判断する地域情報利用判断手段を備える、ことを特徴とする請求項2に記載のサーバ装置。
<請求項4>
前記地域情報取得手段は、前記端末自体の端末情報に基づいて前記地域情報を特定して取得することを特徴とする請求項3に記載のサーバ装置。
<請求項5>
前記地域情報取得手段は、前記端末から送信された前記地域情報を取得することを特徴する請求項3に記載のサーバ装置。
<請求項6>
前記地域情報取得手段は、前記計算対象データとともに受信した、当該計算対象データが記載されている教材の教材情報に基づいて前記地域情報を取得することを特徴する請求項3に記載のサーバ装置。
<請求項7>
前記計算対象データは関数式データであり、
前記関数式データを正規化する正規化手段を備え、
前記受信データ判断手段は、前記正規化手段により前記新たに受信した関数式データが正規化された正規化後の関数式データと、前記計算結果保存手段に保存された前記正規化後の関数式データとが同じであるか否かを判断する正規化データ判断手段を備える、
ことを特徴とする請求項2から請求項6のいずれか一項に記載のサーバ装置。
<請求項8>
前記正規化手段が行う正規化処理は、前記関数式データ中の項毎に計算を行う単純化処理、前記関数式データ中に小数がある場合に当該小数を分数化する分数化処理、および前記関数式データが因数分解可能である場合に因数分解する因数分解処理を含むことを特徴とする請求項7に記載のサーバ装置。
<請求項9>
前記正規化手段が行う正規化処理は、前記関数式データ中の定数に数値を代入する代入処理を含むことを特徴とする請求項7または請求項8に記載のサーバ装置。
<請求項10>
前記正規化手段が行う正規化処理は、前記関数式データが引用形式の場合に引用先の関数式データを引用元の関数式データに当てはめて1つの関数式データとする処理を含むことを特徴とする請求項7から請求項9のいずれか一項に記載のサーバ装置。
<請求項11>
計算対象データを受信する計算対象データ受信処理と、
前記計算対象データを計算する計算処理と、
前記計算結果データを送信する計算結果送信処理と、
前記計算対象データ受信処理により受信された計算対象データと同じ計算対象データを新たに受信したか否かを判断する受信データ判断処理と、
を含み、
前記計算処理では、前記受信データ判断処理により、同じ計算対象データを新たに受信したと判断された場合に、新たに受信した計算対象データの計算を行わない、
ことを特徴とする計算方法。
<請求項12>
コンピュータを、
計算対象データを受信する計算対象データ受信手段と、
前記計算対象データを計算する計算手段と、
前記計算結果データを送信する計算結果送信手段と、
前記計算対象データ受信手段により受信された計算対象データと同じ計算対象データを新たに受信したか否かを判断する受信データ判断手段
として機能させるとともに、
前記計算手段は、前記受信データ判断手段により、同じ計算対象データを新たに受信したと判断された場合に、新たに受信した計算対象データの計算を行わないように機能させるためのプログラム。
The invention described in the scope of claims attached to the application of this application will be added below. The item numbers of the claims described in the appendix are as set forth in the claims attached to the application of this application.
[Appendix]
<Claim 1>
Calculation target data receiving means for receiving calculation target data;
A calculation means for calculating the calculation object data;
Calculation result transmission means for transmitting the calculation result data;
Received data judgment means for judging whether or not the same calculation target data as the calculation target data received by the calculation target data receiving means has been newly received;
With
The calculation means does not calculate the newly received calculation target data when the reception data determination means determines that the same calculation target data is newly received,
The server apparatus characterized by the above-mentioned.
<Claim 2>
Calculation result storage means for storing calculation result data, which is a result calculated by the calculation means, in association with the calculation target data,
The calculation result transmitting means is the calculation result of the same calculation target data as the newly received calculation target data when the reception data determination means determines that the same calculation target data is newly received. The server apparatus according to
<Claim 3>
Comprising area information acquisition means for acquiring area information of the terminal that has transmitted the calculation object data;
The received data determining means uses the area information of the terminal acquired by the area information acquiring means to determine whether or not the same calculation target data as the stored calculation target data has been newly received. The server apparatus according to
<Claim 4>
The server apparatus according to claim 3, wherein the area information acquisition unit specifies and acquires the area information based on terminal information of the terminal itself.
<Claim 5>
The server apparatus according to claim 3, wherein the area information acquisition unit acquires the area information transmitted from the terminal.
<Claim 6>
The server apparatus according to claim 3, wherein the area information acquisition unit acquires the area information based on teaching material information of a teaching material in which the calculation target data is described, received together with the calculation target data.
<Claim 7>
The calculation target data is functional formula data,
A normalizing means for normalizing the function formula data;
The received data determining means is a normalized function expression data obtained by normalizing the function expression data newly received by the normalizing means, and the normalized function expression stored in the calculation result storing means. A normalized data judging means for judging whether or not the data is the same,
The server device according to any one of
<Claim 8>
The normalization process performed by the normalization means includes a simplification process for performing calculation for each term in the functional expression data, a fractionalization process for fractionating the decimal when there is a decimal number in the functional expression data, and The server apparatus according to claim 7, further comprising a factorization process that performs factorization when the function formula data is factorizable.
<Claim 9>
The server apparatus according to claim 7 or 8, wherein the normalization process performed by the normalization unit includes an assignment process for assigning a numerical value to a constant in the functional expression data.
<Claim 10>
The normalization process performed by the normalizing means includes a process in which, when the function formula data is in the citation format, the function formula data of the citation destination is applied to the function formula data of the citation source to form one function formula data. The server device according to any one of claims 7 to 9.
<Claim 11>
Calculation target data reception processing for receiving calculation target data;
A calculation process for calculating the calculation object data;
A calculation result transmission process for transmitting the calculation result data;
Received data determination processing for determining whether or not the same calculation target data as the calculation target data received by the calculation target data reception processing has been newly received;
Including
In the calculation process, when it is determined by the reception data determination process that the same calculation target data is newly received, calculation of the newly received calculation target data is not performed.
A calculation method characterized by that.
<Claim 12>
Computer
Calculation target data receiving means for receiving calculation target data;
A calculation means for calculating the calculation object data;
Calculation result transmission means for transmitting the calculation result data;
While functioning as reception data determination means for determining whether or not the same calculation target data as the calculation target data received by the calculation target data reception means has been newly received,
A program for causing the calculation means to function so as not to calculate the newly received calculation target data when the reception data determination means determines that the same calculation target data has been newly received.
1 サーバ装置
11 CPU(計算手段、計算結果送信手段、受信データ判断手段、地域情報取得手段、正規化手段、正規化データ判断手段)
15 通信部(計算対象データ受信手段)
17 キャッシュメモリ(計算結果保存手段)
20 端末
21 端末のCPU(正規化手段)
1
15 Communication section (calculation target data receiving means)
17 Cache memory (calculation result storage means)
20 terminal 21 CPU of terminal (normalization means)
Claims (12)
前記計算対象データを計算する計算手段と、
前記計算結果データを送信する計算結果送信手段と、
前記計算対象データ受信手段により受信された計算対象データと同じ計算対象データを新たに受信したか否かを判断する受信データ判断手段と、
を備え、
前記計算手段は、前記受信データ判断手段により、同じ計算対象データを新たに受信したと判断された場合に、新たに受信した計算対象データの計算を行わない、
ことを特徴とするサーバ装置。 Calculation target data receiving means for receiving calculation target data;
A calculation means for calculating the calculation object data;
Calculation result transmission means for transmitting the calculation result data;
Received data judgment means for judging whether or not the same calculation target data as the calculation target data received by the calculation target data receiving means has been newly received;
With
The calculation means does not calculate the newly received calculation target data when the reception data determination means determines that the same calculation target data is newly received,
The server apparatus characterized by the above-mentioned.
前記計算結果送信手段は、前記受信データ判断手段により同じ計算対象データを新たに受信したと判断された場合に、新たに受信した計算対象データと同じ前記計算対象データの計算結果である前記計算結果データを前記計算結果保存手段から読み出して送信することを特徴とする請求項1に記載のサーバ装置。 Calculation result storage means for storing calculation result data, which is a result calculated by the calculation means, in association with the calculation target data,
The calculation result transmitting means is the calculation result of the same calculation target data as the newly received calculation target data when the reception data determination means determines that the same calculation target data is newly received. The server apparatus according to claim 1, wherein data is read from the calculation result storage unit and transmitted.
前記受信データ判断手段は、前記地域情報取得手段により取得された端末の地域情報を利用して、前記保存された前記計算対象データと同じ計算対象データを新たに受信したか否かを判断する地域情報利用判断手段を備える、ことを特徴とする請求項2に記載のサーバ装置。 Comprising area information acquisition means for acquiring area information of the terminal that has transmitted the calculation object data;
The received data determining means uses the area information of the terminal acquired by the area information acquiring means to determine whether or not the same calculation target data as the stored calculation target data has been newly received. The server apparatus according to claim 2, further comprising an information use determination unit.
前記関数式データを正規化する正規化手段を備え、
前記受信データ判断手段は、前記正規化手段により前記新たに受信した関数式データが正規化された正規化後の関数式データと、前記計算結果保存手段に保存された前記正規化後の関数式データとが同じであるか否かを判断する正規化データ判断手段を備える、
ことを特徴とする請求項2から請求項6のいずれか一項に記載のサーバ装置。 The calculation target data is functional formula data,
A normalizing means for normalizing the function formula data;
The received data determining means is a normalized function expression data obtained by normalizing the function expression data newly received by the normalizing means, and the normalized function expression stored in the calculation result storing means. A normalized data judging means for judging whether or not the data is the same,
The server device according to any one of claims 2 to 6, wherein
前記計算対象データを計算する計算処理と、
前記計算結果データを送信する計算結果送信処理と、
前記計算対象データ受信処理により受信された計算対象データと同じ計算対象データを新たに受信したか否かを判断する受信データ判断処理と、
を含み、
前記計算処理では、前記受信データ判断処理により、同じ計算対象データを新たに受信したと判断された場合に、新たに受信した計算対象データの計算を行わない、
ことを特徴とする計算方法。 Calculation target data reception processing for receiving calculation target data;
A calculation process for calculating the calculation object data;
A calculation result transmission process for transmitting the calculation result data;
Received data determination processing for determining whether or not the same calculation target data as the calculation target data received by the calculation target data reception processing has been newly received;
Including
In the calculation process, when it is determined by the reception data determination process that the same calculation target data is newly received, calculation of the newly received calculation target data is not performed.
A calculation method characterized by that.
計算対象データを受信する計算対象データ受信手段と、
前記計算対象データを計算する計算手段と、
前記計算結果データを送信する計算結果送信手段と、
前記計算対象データ受信手段により受信された計算対象データと同じ計算対象データを新たに受信したか否かを判断する受信データ判断手段
として機能させるとともに、
前記計算手段は、前記受信データ判断手段により、同じ計算対象データを新たに受信したと判断された場合に、新たに受信した計算対象データの計算を行わないように機能させるためのプログラム。 Computer
Calculation target data receiving means for receiving calculation target data;
A calculation means for calculating the calculation object data;
Calculation result transmission means for transmitting the calculation result data;
While functioning as reception data determination means for determining whether or not the same calculation target data as the calculation target data received by the calculation target data reception means has been newly received,
A program for causing the calculation means to function so as not to calculate the newly received calculation target data when the reception data determination means determines that the same calculation target data has been newly received.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2016182520A JP6627701B2 (en) | 2016-09-20 | 2016-09-20 | Server device, calculation method, program, terminal device and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2016182520A JP6627701B2 (en) | 2016-09-20 | 2016-09-20 | Server device, calculation method, program, terminal device and system |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2018049308A true JP2018049308A (en) | 2018-03-29 |
JP6627701B2 JP6627701B2 (en) | 2020-01-08 |
Family
ID=61766406
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2016182520A Active JP6627701B2 (en) | 2016-09-20 | 2016-09-20 | Server device, calculation method, program, terminal device and system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6627701B2 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2019185691A (en) * | 2018-04-17 | 2019-10-24 | カシオ計算機株式会社 | Program, information processing method and information terminal |
JP2021152833A (en) * | 2020-03-25 | 2021-09-30 | カシオ計算機株式会社 | Cache managing program, server, cache managing method and information processing device |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005339265A (en) * | 2004-05-27 | 2005-12-08 | Casio Comput Co Ltd | Electronic computer and computing display processing program |
JP2009301288A (en) * | 2008-06-12 | 2009-12-24 | Yahoo Japan Corp | Retrieval server, retrieval method, and program for preferentially displaying specific information |
JP2011141764A (en) * | 2010-01-07 | 2011-07-21 | Nomura Research Institute Ltd | Computing sharing system |
JP2011248645A (en) * | 2010-05-27 | 2011-12-08 | Konica Minolta Business Technologies Inc | Information processing system |
JP2014102383A (en) * | 2012-11-20 | 2014-06-05 | Sprix:Kk | Learning support system, learning support server, learning support method and learning support program |
JP2016071495A (en) * | 2014-09-29 | 2016-05-09 | シャープ株式会社 | Retrieval device, retrieval method, program, and recording medium |
-
2016
- 2016-09-20 JP JP2016182520A patent/JP6627701B2/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005339265A (en) * | 2004-05-27 | 2005-12-08 | Casio Comput Co Ltd | Electronic computer and computing display processing program |
JP2009301288A (en) * | 2008-06-12 | 2009-12-24 | Yahoo Japan Corp | Retrieval server, retrieval method, and program for preferentially displaying specific information |
JP2011141764A (en) * | 2010-01-07 | 2011-07-21 | Nomura Research Institute Ltd | Computing sharing system |
JP2011248645A (en) * | 2010-05-27 | 2011-12-08 | Konica Minolta Business Technologies Inc | Information processing system |
JP2014102383A (en) * | 2012-11-20 | 2014-06-05 | Sprix:Kk | Learning support system, learning support server, learning support method and learning support program |
JP2016071495A (en) * | 2014-09-29 | 2016-05-09 | シャープ株式会社 | Retrieval device, retrieval method, program, and recording medium |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2019185691A (en) * | 2018-04-17 | 2019-10-24 | カシオ計算機株式会社 | Program, information processing method and information terminal |
JP7047562B2 (en) | 2018-04-17 | 2022-04-05 | カシオ計算機株式会社 | Programs, information processing methods, information terminals and information processing systems |
JP2021152833A (en) * | 2020-03-25 | 2021-09-30 | カシオ計算機株式会社 | Cache managing program, server, cache managing method and information processing device |
JP7143866B2 (en) | 2020-03-25 | 2022-09-29 | カシオ計算機株式会社 | Cache management program, server, cache management method, and information processing device |
US11467958B2 (en) | 2020-03-25 | 2022-10-11 | Casio Computer Co., Ltd. | Cache management method, cache management system, and information processing apparatus |
Also Published As
Publication number | Publication date |
---|---|
JP6627701B2 (en) | 2020-01-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20150169710A1 (en) | Method and apparatus for providing search results | |
US20090006646A1 (en) | System and Method of Auto Populating Forms on Websites With Data From Central Database | |
US20150378586A1 (en) | System and method for dynamically displaying personalized home screens respective of user queries | |
WO2013154550A1 (en) | User interface content personalization system | |
US10044822B2 (en) | Communication apparatus, server, communication apparatus control method, server control method, recording medium containing communication apparatus control program and recording medium containing server control program | |
KR102087807B1 (en) | Character inputting method and apparatus | |
US7984379B2 (en) | Standard schema and user interface for website maps | |
WO2013180751A1 (en) | Method for dynamically displaying a personalized home screen on a device | |
CN105279569A (en) | Career path navigation | |
CN115454559A (en) | RPA flow generation method, device, server and medium | |
GB2365734A (en) | Allocation of labels to associated user input elements | |
JP6627701B2 (en) | Server device, calculation method, program, terminal device and system | |
JP2019061503A (en) | Server device, information processing device, and program | |
CN110677506A (en) | Network access method, device, computer equipment and storage medium | |
WO2015079527A1 (en) | Information processing device, information processing method, and information processing program | |
CN111444235A (en) | Django-based data serialization method and device, computer equipment and storage medium | |
JP7156463B2 (en) | ELECTRONIC DEVICE, ELECTRONIC DEVICE SYSTEM, COORDINATE SYSTEM SETTING METHOD, AND PROGRAM | |
US10885685B2 (en) | Electronic apparatus for drawing graphs of mathematical expressions | |
CN110992131B (en) | Form processing method, form processing device and storage medium | |
CN104503980B (en) | Determining comprehensive search information and determining candidate search sequences to be pushed according to comprehensive search information | |
JP2022029280A (en) | Information processing apparatus, system, information processing method, and program | |
US20150007181A1 (en) | Method and system for selecting task templates | |
JP5755824B1 (en) | Information processing apparatus, information processing method, and program | |
JP7101631B2 (en) | Identification ID assignment system and identification ID assignment method | |
CN107844453B (en) | Server device, calculation method, and recording medium containing program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20181031 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20190813 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20190820 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20191018 |
|
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: 20191105 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20191118 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6627701 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |