JP2020008970A - Information processing apparatus, information processing system and program - Google Patents
Information processing apparatus, information processing system and program Download PDFInfo
- Publication number
- JP2020008970A JP2020008970A JP2018127225A JP2018127225A JP2020008970A JP 2020008970 A JP2020008970 A JP 2020008970A JP 2018127225 A JP2018127225 A JP 2018127225A JP 2018127225 A JP2018127225 A JP 2018127225A JP 2020008970 A JP2020008970 A JP 2020008970A
- Authority
- JP
- Japan
- Prior art keywords
- processing
- unit
- server
- order
- instruction
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Abstract
Description
本発明は、情報処理装置、情報処理システム及びプログラムに関する。 The present invention relates to an information processing device, an information processing system, and a program.
従来から、プログラムが入力データを処理した結果を後段のプログラムに送り、後段のプログラムが前段のプログラムの処理結果を入力データとして処理することで、最終的に一連のプログラムの処理結果としてデータを出力するシステムがある。このシステムにおいて、いずれかのプログラムに障害が発生すると、障害が発生したプログラムの代替プログラムに処理させることによって出力データを出力させる技術が提案されている(例えば、特許文献1)。 Conventionally, the result of processing the input data by the program is sent to the subsequent program, and the latter program processes the processing result of the preceding program as input data, finally outputting data as the processing result of a series of programs There is a system to do. In this system, a technique has been proposed in which, when a failure occurs in any of the programs, output data is output by causing a substitute program of the failed program to process the program (for example, Patent Document 1).
プログラムが障害から復旧すると、プログラムは処理を再開する。これにより、再開したプログラムは、障害発生時に処理していなかったデータを処理し、後段のプログラムにデータを出力することで処理を指示する。 When the program recovers from the failure, the program resumes processing. As a result, the restarted program processes the data that has not been processed at the time of occurrence of the failure, and instructs the processing by outputting the data to a subsequent program.
ところで、代替処理手段が正規の処理手段と同等の機能を提供できない場合、正規の処理手段による処理結果と代替処理手段による処理結果とが一致しない場合があった。 By the way, when the substitute processing unit cannot provide the same function as the regular processing unit, the processing result by the regular processing unit and the processing result by the substitute processing unit may not match.
本発明は、正規の処理手段の代わりに代替処理手段による処理結果を用いて後段の処理手段に指示を行った場合に、正規の処理手段とは異なる処理が実施されてしまうことを低減することを目的とする。 The present invention is to reduce the possibility that a process different from the legitimate processing unit is performed when an instruction is given to a subsequent processing unit using the processing result of the substitute processing unit instead of the legitimate processing unit. With the goal.
本発明に係る情報処理装置は、入力データに対して所定の処理を行う正規の処理手段が前記所定の処理を実施できない場合に代替処理手段が前記入力データに対して前記所定の処理を実施したときの処理結果を取得する第1取得手段と、前記第1取得手段が取得した処理結果に基づく処理の実施を前記正規の処理手段の後段の処理手段に指示する処理指示手段と、前記所定の処理を実施できるようになった前記正規の処理手段が前記入力データに対して前記所定の処理を実施したときの処理結果を取得する第2取得手段と、前記第1取得手段が取得した処理結果と前記第2取得手段が取得した処理結果との比較結果に応じて、前記処理指示手段が前記後段の処理手段に対して既にした処理指示の修正を前記後段の処理手段に指示する修正指示手段と、を有することを特徴とする。 In the information processing apparatus according to the present invention, when a regular processing unit that performs a predetermined process on input data cannot perform the predetermined process, an alternative processing unit performs the predetermined process on the input data. First obtaining means for obtaining a processing result at the time, processing instructing means for instructing a processing means subsequent to the formal processing means to execute processing based on the processing result obtained by the first obtaining means; A second acquisition unit for acquiring a processing result when the regular processing unit capable of executing the processing performs the predetermined processing on the input data, and a processing result acquired by the first acquisition unit And a correction instruction for instructing the subsequent processing unit to correct the processing instruction already performed by the processing instruction unit to the subsequent processing unit in accordance with a comparison result between the processing instruction acquired by the second acquisition unit and the processing result acquired by the second acquisition unit. And having a stage, a.
また、前記修正指示手段が指示する修正は、前記処理指示手段が前記後段の処理手段に対して既にした処理指示の取り消し若しくは変更、又は前記後段の処理手段に対する処理指示の追加のうち少なくとも1つであることを特徴とする。 The correction instructed by the correction instructing means may be at least one of cancellation or change of a processing instruction already performed by the processing instructing means on the subsequent processing means, or addition of a processing instruction to the subsequent processing means. It is characterized by being.
また、前記修正指示手段は、前記第1取得手段が取得した処理結果にあって前記第2取得手段が取得した処理結果にない処理結果に基づく処理指示を取り消すよう指示することを特徴とする。 Further, the correction instructing means instructs to cancel a processing instruction based on a processing result obtained by the first obtaining means but not in the processing result obtained by the second obtaining means.
また、前記修正指示手段は、前記第1取得手段が取得した処理結果になく前記第2取得手段が取得した処理結果にある処理結果に基づく処理指示を追加するよう指示することを特徴とする。 The correction instructing means may instruct to add a processing instruction based on a processing result in the processing result obtained by the second obtaining means, not in the processing result obtained by the first obtaining means.
また、前記修正指示手段は、前記第1取得手段が取得した処理結果と前記第2取得手段が取得した処理結果の内容が異なる処理結果に基づく処理指示を変更するよう指示することを特徴とする。 Further, the correction instruction means instructs to change a processing instruction based on a processing result in which the processing result obtained by the first obtaining means and the processing result obtained by the second obtaining means are different. .
本発明に係る情報処理システムは、入力データに対して所定の処理を行う正規の処理手段と、前記正規の処理手段が前記所定の処理を実施できない場合に前記入力データに対して前記所定の処理を実施する代替処理手段と、前記正規の処理手段が前記所定の処理を実施できない場合に前記代替処理手段が前記入力データに対して前記所定の処理を実施したときの処理結果を取得する第1取得手段と、前記第1取得手段が取得した処理結果に基づく処理の実施を前記正規の処理手段の後段の処理手段に指示する処理指示手段と、前記所定の処理を実施できるようになった前記正規の処理手段が前記入力データに対して前記所定の処理を実施したときの処理結果を取得する第2取得手段と、前記第1取得手段が取得した処理結果と前記第2取得手段が取得した処理結果との比較結果に応じて、前記処理指示手段が前記後段の処理手段に対して既にした処理指示の修正を前記後段の処理手段に指示する修正指示手段と、を有することを特徴とする。 An information processing system according to the present invention includes: a regular processing unit that performs a predetermined process on input data; and the predetermined process on the input data when the regular processing unit cannot perform the predetermined process. A first processing unit that obtains a processing result when the substitute processing unit performs the predetermined process on the input data when the regular processing unit cannot perform the predetermined process. Acquiring means, processing instructing means for instructing a processing means subsequent to the formal processing means to perform processing based on the processing result acquired by the first acquiring means, and wherein the predetermined processing can be performed. A second acquisition unit for acquiring a processing result when the regular processing unit performs the predetermined processing on the input data; a processing result acquired by the first acquisition unit; Correction instruction means for instructing the subsequent processing means to modify the processing instruction already performed by the processing instruction means for the subsequent processing means in accordance with a comparison result with the acquired processing result. Features.
また、前記正規の処理手段の状態を監視する監視手段を有し、前記監視手段は、前記正規の処理手段が前記所定の処理を実施できない場合に前記入力データに対する前記所定の処理の実施を前記代替処理手段に指示することを特徴とする。 A monitoring unit that monitors a state of the legitimate processing unit, wherein the monitoring unit performs the predetermined process on the input data when the legitimate processing unit cannot perform the predetermined process; It is characterized by instructing the alternative processing means.
また、前記監視手段は、前記正規の処理手段が前記所定の処理を実施できるようになった場合に前記所定の処理の実施の停止を前記代替処理手段に指示することを特徴とする。 Further, the monitoring means instructs the alternative processing means to stop the execution of the predetermined processing when the legitimate processing means can execute the predetermined processing.
本発明に係るプログラムは、コンピュータを、入力データに対して所定の処理を行う正規の処理手段が前記所定の処理を実施できない場合に代替処理手段が前記入力データに対して前記所定の処理を実施したときの処理結果を取得する第1取得手段、前記第1取得手段が取得した処理結果に基づく処理の実施を前記正規の処理手段の後段の処理手段に指示する処理指示手段、前記所定の処理を実施できるようになった前記正規の処理手段が前記入力データに対して前記所定の処理を実施したときの処理結果を取得する第2取得手段、前記第1取得手段が取得した処理結果と前記第2取得手段が取得した処理結果との比較結果に応じて、前記処理指示手段が前記後段の処理手段に対して既にした処理指示の修正を前記後段の処理手段に指示する修正指示手段、として機能させる。 The program according to the present invention causes the computer to execute the predetermined processing on the input data when the regular processing means for performing the predetermined processing on the input data cannot execute the predetermined processing. First obtaining means for obtaining a processing result when the processing is performed, processing instructing means for instructing a processing means subsequent to the normal processing means to execute processing based on the processing result obtained by the first obtaining means, and the predetermined processing A second obtaining unit that obtains a processing result when the normal processing unit is capable of performing the predetermined processing on the input data; a processing result obtained by the first obtaining unit; According to a comparison result with the processing result acquired by the second acquiring means, the processing instruction means instructs the subsequent processing means to correct the processing instruction already given to the subsequent processing means. Positive indication means, to function as a.
請求項1に記載の発明によれば、正規の処理手段の代わりに代替処理手段による処理結果を用いて後段の処理手段に指示を行った場合に、正規の処理手段とは異なる処理が実施されてしまうことを低減することができる。 According to the first aspect of the present invention, when an instruction is given to the subsequent processing unit using the processing result of the substitute processing unit instead of the normal processing unit, processing different from the normal processing unit is performed. Can be reduced.
請求項2に記載の発明によれば、後段の処理手段に対して処理の追加、変更、又は取り消しを指示することができる。 According to the second aspect of the present invention, it is possible to instruct the subsequent processing means to add, change, or cancel processing.
請求項3に記載の発明によれば、後段の処理手段に対して処理の取り消しを指示することができる。 According to the third aspect of the invention, it is possible to instruct the subsequent processing means to cancel the processing.
請求項4に記載の発明によれば、後段の処理手段に対して処理の追加を指示することができる。 According to the fourth aspect of the present invention, it is possible to instruct the subsequent processing means to add processing.
請求項5に記載の発明によれば、後段の処理手段に対して処理の変更を指示することができる。 According to the fifth aspect of the invention, it is possible to instruct the subsequent processing means to change the processing.
請求項6に記載の発明によれば、正規の処理手段の代わりに代替処理手段による処理結果を用いて後段の処理手段に指示を行った場合に、正規の処理手段とは異なる処理が実施されてしまうことを低減することができる。 According to the sixth aspect of the present invention, when an instruction is given to the subsequent processing unit using the processing result of the substitute processing unit instead of the normal processing unit, a process different from the normal processing unit is performed. Can be reduced.
請求項7に記載の発明によれば、入力データに対する所定の処理を代替処理手段に代行させることができる。 According to the seventh aspect of the invention, the predetermined processing for the input data can be performed by the alternative processing means.
請求項8に記載の発明によれば、正規の処理手段による所定の処理の実施に戻すことができる。 According to the invention described in claim 8, it is possible to return to the execution of the predetermined processing by the regular processing means.
請求項9に記載の発明によれば、正規の処理手段の代わりに代替処理手段による処理結果を用いて後段の処理手段に指示を行った場合に、正規の処理手段とは異なる処理が実施されてしまうことを低減することができる。 According to the ninth aspect of the present invention, when an instruction is given to the subsequent processing unit using the processing result of the substitute processing unit instead of the normal processing unit, a process different from the normal processing unit is performed. Can be reduced.
以下、図面に基づいて、本発明の好適な実施の形態について説明する。 Hereinafter, a preferred embodiment of the present invention will be described with reference to the drawings.
図1は、本発明に係る情報処理システムの一形態である配送システムの全体構成の一例を示す図である。本実施の形態における配送システムは、顧客のビルや店舗等の施設からの通知に応じて物品の配送を依頼する。図1には、配送指示システム1、発注サーバー2、代替処理サーバー3及びリカバリ支援サーバー4が示されている。
FIG. 1 is a diagram showing an example of the entire configuration of a delivery system, which is an embodiment of the information processing system according to the present invention. The delivery system according to the present embodiment requests delivery of an article in response to a notification from a facility such as a building or a store of a customer. FIG. 1 shows a
配送指示システム1は、顧客側からの通知を受けたことに応じて物品の配送が必要となる場合、発注依頼を発注サーバー2に対して行う。配送指示システム1は、窓口サーバー11、振分サーバー12、物流業務サーバー13、保守業務サーバー14及び管理サーバー15を有している。このうち、窓口サーバー11、振分サーバー12、物流業務サーバー13及び保守業務サーバー14はそれぞれ、正規のプログラムを実行することで正規の処理手段として機能する。そして、顧客側からの通知に応じて必要により発注サーバー2に発注を依頼する。
The
窓口サーバー11は、顧客側からの通知を受ける窓口となるサーバーコンピュータである。本実施の形態では、顧客の施設に設置の複合機に何らかの事象が発生したことに応じて複合機若しくは顧客から何らかの通知がされてくることを想定して説明するが、窓口サーバー11は、これらの顧客側からの通知を入力データとする窓口処理プログラムを正規のプログラムとして実行する。通知には、例えば、部品の破損、消耗品切れ等何らかの物品が必要となる事象に関する通知や、消耗品切れの発生予告等現時点では物品が必要とならない事象に関する通知等が含まれる。窓口サーバー11は、顧客側からの通知を受信すると、受信した通知の内容を通信ログ(図示せず)に記録する。
The
振分サーバー12は、窓口サーバー11が受信した通知を振り分けるサーバーコンピュータである。振分サーバー12は、窓口サーバー11からの通知を入力データとし、通知の内容に従って通知を振り分ける振分処理プログラムを正規のプログラムとして実行する。例えば、振分サーバー12は、エンジニアに知らせるべき通知を後段の物流業務サーバー13に振り分け、他の種類の通知を他のサーバーに振り分ける。
The
物流業務サーバー13は、顧客側からの通知に応じて発注を依頼するかどうかを判断するために用いられるサーバーコンピュータである。物流業務サーバー13は、振分サーバー12からの通知を入力データとし、発注の要否の判断処理プログラムを正規のプログラムとして実行する。
The
保守業務サーバー14は、発注サーバー2に発注を依頼するために用いられるサーバーコンピュータである。保守業務サーバー14は、物流業務サーバー13が発注要と判断したときに送られてくる通知(発注依頼指示)に応じて発注依頼情報を生成し、発注サーバー2に送る発注処理プログラムを正規のプログラムとして実行する。発注依頼情報には、発注日時、物品の種別、数量、配送依頼先、配送予定日等が含まれている。発注依頼情報自体は、従前と同じでよい。
The
管理サーバー15は、配送指示システム1に含まれている各サーバー11〜14の管理を行う。管理サーバー15は、各サーバー11〜14の状態を監視する監視手段として機能し、例えば、発生した障害の管理、障害ログの管理、障害の発生に伴う各サーバー11〜14への通知等を行う。また、管理サーバー15は、いずれかのサーバー11〜14が正規のプログラムによる所定の処理を実施できない場合に代替処理の実施を代替処理サーバー3に指示する。更に、管理サーバー15は、所定の処理を実施できなかったサーバー11〜14が所定の処理を実施できるようになった場合に代替処理の実施の停止を代替処理サーバー3に指示する。
The
発注サーバー2は、発注依頼を受けると、発注依頼により指示された依頼先に物品の配送を依頼する。発注サーバー2は、配送指示システム1の保守業務サーバー14からの発注依頼を入力データとし、指示された依頼先に物品の配送を依頼する配送依頼プログラムを実行する。発注サーバー2が実行する配送依頼プログラムも正規のプログラムであり、発注サーバー2は正規の処理手段として機能する。また、配送指示システム1において障害が発生しているときには、リカバリ支援サーバー4からの発注依頼を入力データとして配送依頼プログラムを実行する。
When receiving the order request, the
本実施の形態では、正規の処理手段として複数のサーバー11〜14を配送指示システム1に設けている。ただ、発注サーバー2は、配送指示システム1から入力データを受け取るので、発注サーバー2からしてみれば、配送指示システム1全体が前段に位置する1つの正規の処理手段に相当するともいえる。換言すると、配送指示システム1からしてみれば、発注サーバー2は、後段に位置する正規の処理手段となる。
In the present embodiment, a plurality of
なお、発注サーバー2の所定の配送依頼先として、部品の配送業務を行う物流センターや客先にて部品交換等の作業を行うエンジニアが所在する事業所等が該当する。
Note that the predetermined delivery request destination of the ordering
代替処理サーバー3は、配送指示システム1において正規の処理手段が機能せず所定の処理を実施できない場合に配送指示システム1に代わって所定の処理を実施し、発注サーバー2に発注を依頼するサーバーコンピュータである。例えば、代替処理サーバー3は、配送指示システム1における正規の処理手段(サーバー11〜14)に代わって所定の代替プログラムを実行することで所定の処理を実施する代替処理手段として機能する。仮に振分サーバー12において障害が発生すると、代替処理サーバー3は、振分サーバー12、更に振分サーバー12の後段の物流業務サーバー13及び保守業務サーバー14に代わって所定の処理を実施する。また、物流業務サーバー13において障害が発生すると、代替処理サーバー3は、物流業務サーバー13、更に物流業務サーバー13の後段の保守業務サーバー14に代わって所定の処理を実施する。
The
代替処理サーバー3は、前述した窓口処理プログラム、振分処理プログラム、判断処理プログラム及び発注処理プログラムの各代替プログラムを搭載しているので、各サーバー11〜14に代わって所定の処理を実施できる。ただ、詳細は後述するが、代替プログラムを実行することで行われる代替処理は、正規のプログラムと完全同一な機能を提供できるとは限らず、正規のプログラムが提供する機能の一部を有するに留まる。
The
前述した「所定の処理を実施できない場合」には、いずれかのサーバー11〜14に障害が発生して稼働不能な状態である場合に限らず、メンテナンス等障害以外の理由で稼働できない場合、あるいは高負荷等により正常な稼働が困難な状態である場合などを含む。
The above-mentioned “when the predetermined processing cannot be performed” is not limited to the case where any one of the
リカバリ支援サーバー4は、配送指示システム1において正規の処理手段として機能するいずれかのサーバー11〜14が所定の処理を実施できない場合に配送指示システム1のリカバリを支援するために用いられるサーバーコンピュータである。
The recovery support server 4 is a server computer used to support recovery of the
本実施の形態におけるリカバリ支援サーバー4は、前述した各サーバー11〜15,2,3と同様、従前から存在する汎用的なハードウェア構成で実現できる。すなわち、リカバリ支援サーバー4は、CPU、ROM、記憶手段としてのRAM及びハードディスクドライブ(HDD)、ユーザインタフェース、他のサーバーコンピュータと通信を行う通信手段としてのネットワークインタフェースを内部バスに接続して構成される。ユーザインタフェースは、マウスやキーボード等の入力手段及びディスプレイ等の表示手段を有する。あるいは、入力手段及び表示手段を兼用するタッチパネル等により形成してもよい。
The recovery support server 4 according to the present embodiment can be realized with a general-purpose hardware configuration that has existed similarly to the
図2は、本実施の形態におけるリカバリ支援サーバー4を示すブロック構成図である。本実施の形態におけるリカバリ支援サーバー4は、代替データ取得部41、処理指示部42、正規データ取得部43、修正指示部44及び代替データ記憶部45を有している。なお、本実施の形態の説明に用いない構成要素については図から省略している。
FIG. 2 is a block diagram illustrating the recovery support server 4 according to the present embodiment. The recovery support server 4 in the present embodiment has an alternative
代替データ取得部41は、第1取得手段として機能し、代替処理サーバー3における処理結果を取得する。前述したように、代替処理サーバー3は、配送指示システム1におけるいずれかのサーバー11〜14が所定の処理を実施できない場合に所定の処理を代行するので、本実施の形態の場合、処理結果として発注依頼情報を取得する。
The substitute
処理指示部42は、処理指示手段として機能し、代替データ取得部41が取得した処理結果(発注依頼情報)を受け取ると、代替データ記憶部45に保存し、その処理結果に基づき発注依頼を発注サーバー2に行うことで配送を指示する。代替データ記憶部45に保存される発注依頼情報のデータ構成は、保守業務サーバー14が生成する発注依頼情報と同じでよい。
The
正規データ取得部43は、第2取得手段として機能し、所定の処理を実施できなかった配送指示システム1が所定の処理を実施できるようになった場合、配送指示システム1が処理できなかった入力データに対して所定の処理を実施したときの処理結果、すなわち配送指示システム1の保守業務サーバー14が生成する発注依頼情報を取得する。
The regular
修正指示部44は、修正指示手段として機能し、代替データ記憶部45に保存されている発注依頼情報と、正規データ取得部43が取得した発注依頼情報との比較結果に応じて、処理指示部42が発注サーバー2に対して既にした処理指示の修正、すなわち発注依頼の修正を発注サーバー2に指示する。
The
代替データ記憶部45には、代替データ取得部41が取得し、処理指示部42により発注サーバー2に送られた発注依頼情報が記憶される。
The substitute
リカバリ支援サーバー4における各構成要素41〜44は、リカバリ支援サーバー4を形成するコンピュータと、コンピュータに搭載されたCPUで動作するプログラムとの協調動作により実現される。また、代替データ記憶部45は、リカバリ支援サーバー4に搭載されたHDDにて実現される。あるいは、RAM又は外部にある記憶手段をネットワーク経由で利用してもよい。
Each of the
また、本実施の形態で用いるプログラムは、通信手段により提供することはもちろん、CD−ROMやUSBメモリ等のコンピュータ読み取り可能な記録媒体に格納して提供することも可能である。通信手段や記録媒体から提供されたプログラムはコンピュータにインストールされ、コンピュータのCPUがプログラムを順次実行することで各種処理が実現される。 In addition, the program used in the present embodiment can be provided not only by communication means but also stored in a computer-readable recording medium such as a CD-ROM or a USB memory. The program provided from the communication unit or the recording medium is installed in the computer, and various processes are realized by the CPU of the computer sequentially executing the program.
ここで、物流業務サーバー13における発注の要否の判断方法について図3に示すテーブルを用いて説明する。
Here, a method of determining whether or not an order is necessary in the
図3には、発注の要否の結果(発注する、発注しない)と当該結果を得るための条件が示されている。組合せパターンは、条件の組合せであり、例えば組合せパターンNo.1に示すように、判断対象とする通知が全ての条件1〜7のうち条件1と条件5のみを満たす場合(図3において、条件を満たす場合を“○”で示す)、判断処理プログラムは、当該通知に対して発注要と判断する。なお、判断結果は「発注する」若しくは「発注しない」のいずれかであって、図3では、該当する方に“○”と記している。また、例えば組合せパターンNo.7に示すように、判断対象とする通知が全ての条件1〜7のいずれも満たさない場合(図3において、条件を満たさない場合を“×”で示す)、判断処理プログラムは、当該通知に対して発注しないと判断する。
FIG. 3 shows a result of the necessity of ordering (ordering, no ordering) and conditions for obtaining the result. The combination pattern is a combination of conditions, for example, a combination pattern No. As shown in FIG. 1, when the notification to be determined satisfies only
ところで、発注の要否を判断するための条件は、図3に示すように公開されている情報に基づく条件1〜4と、配送指示システム1内の情報に基づく条件5〜7とがある。前者の条件は、公開されている情報のみを参照すれば当該条件を満たすかどうかを判断できる条件である。つまり、前者の条件の判定に参照される情報は、配送指示システム1にとって秘匿性(セキュリティ性)のない情報であって配送指示システム1の外部に位置する代替処理サーバー3でも参照可能な情報である。これに対し、後者の条件は、配送指示システム1の内部のサーバー11〜15のみが参照可能な情報(少なくとも物流業務サーバー13が参照可能な情報)を参照してはじめて当該条件を満たすかどうかを判断できる条件である。つまり、後者の条件の判定に参照される情報の少なくとも1つは、配送指示システム1にとって秘匿性(セキュリティ性)のある情報であり、配送指示システム1の外部に位置する代替処理サーバー3が参照できない情報である。
As shown in FIG. 3, conditions for determining whether or not an order is necessary include
なお、図3に示した条件の数、組合せパターン及びその数は一例であって、この数やパターンに制限されるものではない。また、本実施の形態では、説明の便宜上、条件をテーブル形式にて示したが、判断処理プログラムを、必ずしもテーブルを参照せずに発注の要否を判断できるように作成してもよい。 Note that the number of conditions, combination patterns, and the number of conditions shown in FIG. 3 are merely examples, and the present invention is not limited to these numbers and patterns. Further, in the present embodiment, the conditions are shown in a table format for convenience of explanation, but the determination processing program may be created so that it is possible to determine the necessity of ordering without necessarily referring to the table.
次に、本実施の形態における動作について説明する。まず、正規の処理手段が所定の処理を実施できる通常状態の動作について図1及び図4A、図4Bを用いて説明する。 Next, the operation in the present embodiment will be described. First, an operation in a normal state in which the normal processing means can execute a predetermined process will be described with reference to FIGS. 1 and 4A and 4B.
図1では、通常状態におけるデータの流れを矢印にて示している。すなわち、窓口サーバー11は、顧客側からの通知を受信すると(ステップ101)、その通知の内容を通信ログに保存する窓口処理を行う(ステップ102)。そして、窓口サーバー11は、受信した通知を振分サーバー12に送る(ステップ103)。
In FIG. 1, the flow of data in the normal state is indicated by arrows. That is, upon receiving the notification from the customer side (step 101), the
なお、配送指示システム1において後段のサーバーに送られる通知は、通信ログに保存された通知そのものでもよいし、窓口サーバー11が通信ログに保存する際に割り振った通知の識別情報(通知ID)でもよい。後段のサーバーに通知を送る際には通知IDが付加される。配送指示システム1における各サーバー11〜15は、通信ログを参照でき、通知IDによって所望の通知を取得できる。
Note that the notification sent to the subsequent server in the
振分サーバー12は、窓口サーバー11から送られてきた通知の振分処理を行う(ステップ104)。その通知が複合機のエンジニアに知らせるべき通知であれば、物流業務サーバー13に送る(ステップ105)。
The
物流業務サーバー13は、振分サーバー12から送られてきた通知に基づき当該通知に応じて図3に示すテーブルの設定内容に従って発注の要否の判定処理を行う(ステップ106)。発注要と判断した場合は、振分サーバー12から送られてきた通知を送ることによって発注依頼を保守業務サーバー14に指示する(ステップ107)。発注不要と判断した場合は、発注依頼指示をしない。発注の要不要の判定結果を管理サーバー15に通知して管理させるようにしてもよい。
Based on the notification sent from the
保守業務サーバー14は、物流業務サーバー13から送られてきた通知(発注依頼指示)の内容に従って配送依頼先を特定するなどして発注依頼情報を生成する処理を行う(ステップ108)。そして、生成した発注依頼情報を発注サーバー2に送る(ステップ109)。発注依頼情報には、情報生成の元になる通知の通知IDが含まれている。
The
発注サーバー2は、保守業務サーバー14から送られてきた発注依頼情報に従って、指定された依頼先に配送を依頼する(ステップ110)。
The
通常時は、上記説明した処理(ステップ101〜110)が繰り返し実施される。ここで、配送指示システム1の振分サーバー12において障害が発生したとする(ステップ120)。振分サーバー12に障害が発生することで、後段の物流業務サーバー13及び保守業務サーバー14には、前段から通知が送られてこなくなる。このときのデータの流れを図5に示す。
At normal times, the above-described processing (steps 101 to 110) is repeatedly performed. Here, it is assumed that a failure has occurred in the
管理サーバー15は、配送指示システム1のエラーログを監視するなどして振分サーバー12において障害が発生したことを検知すると、その旨を少なくとも窓口サーバー11に通知する。
When the
窓口サーバー11は、顧客側からの通知を受信すると(ステップ121)、その通知の内容を通信ログに保存する窓口処理を行う(ステップ122)。そして、窓口サーバー11は、受信した通知を障害発生中の振分サーバー12の代わりに代替処理サーバー3に送る(ステップ123)。なお、管理サーバー15は、代替処理の実施を代替処理サーバー3に直接指示してもよいし、上記のように窓口サーバー11が受信した通知を代替処理サーバー3に送らせることで、これを代替処理の実施の指示としてもよい。
Upon receiving the notification from the customer side (step 121), the
代替処理サーバー3は、窓口サーバー11から送られてきた通知を受けると代替処理を実施する(ステップ124)。ここでは、代替処理サーバー3は、窓口サーバー11から通知を受けているので、振分サーバー12にて障害が発生したことと、振分サーバー12に加えて振分サーバー12の後段の物流業務サーバー13及び保守業務サーバー14で実施されるべき処理をも合わせて代行する必要があることを認識する。すなわち、代替処理サーバー3は、振分処理プログラム、判断処理プログラム及び発注処理プログラムの各代替プログラムを実行することで代替処理を実施することになる。代替処理の内容は、正規のプログラムの実行内容と同じなので説明を省略する。ただ、判断処理プログラムの代替プログラムは、図3に示すテーブルを参照できたとしても、配送指示システム1内の情報に基づく条件5〜7の検証に参照すべき情報は参照することができず、公開されている情報に基づく条件1〜4のみで発注の要否を判断することになる。従って、図3に示す設定例によると、組合せパターンNo.3とNo.4に該当する通知を受けた場合、代替処理サーバー3は、発注要と判断すべきところを発注不要と誤った判断をしてしまうことになる。
Upon receiving the notification sent from the
代替処理サーバー3は、これ以外にも発注不要と判断すべきところを発注要と誤って判断したり、あるいは発注処理プログラムの代替プログラムが発注数量を誤って算出したりするなど、代替処理サーバー3における代替プログラムは、機能が制限されていることから、正規のプログラムとは異なる処理を実施することで異なる処理結果を得る場合がある。
The
代替処理サーバー3は、以上のように代替処理を実施すると、その処理結果、すなわち発注要の場合に生成される発注依頼情報をリカバリ支援サーバー4に送る(ステップ125)。
When the
リカバリ支援サーバー4は、代替処理サーバー3から送られてくる発注依頼情報を受け取ると、代替データ記憶部45に保存する(ステップ126)。なお、代替処理サーバー3から送られてくる発注依頼情報には、通知IDが含まれている。そして、発注依頼情報を発注サーバー2に送る発注処理を行うことで発注サーバー2に配送を依頼する(ステップ127)。
Upon receiving the order request information sent from the
発注サーバー2は、リカバリ支援サーバー4から発注依頼情報が送られてくると、配送指示システム1から送られてくる場合と同様に受け取った発注依頼情報に従って、指定された依頼先に配送を依頼する(ステップ129)。
Upon receiving the order request information from the recovery support server 4, the
配送指示システム1において障害が発生している間は、上記説明した処理(ステップ121〜129)が繰り返し実施される。ここで、配送指示システム1の振分サーバー12において発生した障害が復旧したとする(ステップ130)。振分サーバー12が障害から復旧した後のデータの流れを図6に示す。
While a failure has occurred in the
管理サーバー15は、システムログ(エラーログ)等を監視するなどして振分サーバー12が障害から復旧したことを検知すると、その旨を少なくとも窓口サーバー11及び保守業務サーバー14に通知する。
When the
窓口サーバー11は、顧客側からの通知を受信すると(ステップ131)、その通知の内容を通信ログに保存する窓口処理を行う(ステップ132)。そして、振分サーバー12が障害から復旧したことを知らされているので、窓口サーバー11は、受信した通知を振分サーバー12に送る(ステップ133)。代替処理サーバー3では、窓口サーバー11から通知が送られてこないため代替処理が実施されなくなる。このように、代替処理サーバー3に通知を送らないようにすることで、管理サーバー15は、代替処理の実施の停止を暗に指示するようにしてもよいし、代替処理サーバー3に対して明示的に指示するようにしてもよい。
Upon receiving the notification from the customer side (step 131), the
その後、振分サーバー12は、窓口サーバー11から通知を受けて振分処理を実施してから保守業務サーバー14が実施する発注依頼情報の生成処理までの処理(ステップ133〜138)は、前述した通常時における処理(ステップ103〜108)と同じなので説明を省略する。
After that, the
ところで、窓口サーバー11が通信ログに保存して管理する通知にはそれぞれ、通知IDが付加されて管理される。通知IDは、窓口サーバー11における窓口処理プログラムが処理した順番がわかるように各通知に対して付与するのが好適である。管理サーバー15は、振分サーバー12の障害発生時に代替処理サーバー3に送った通知の通知IDのリストを窓口サーバー11から取得している。あるいは、障害の発生から復旧するまでの間に窓口サーバー11が取得した通知の通知IDのリストを自ら得るようにしてもよい。また、通知IDのリストではなく、代替処理サーバー3に送った先頭の通知IDと最後の通知ID等代替処理サーバー3に代替処理させた通知の範囲がわかる情報を取得してもよい。そして、管理サーバー15は、保守業務サーバー14に送る振分サーバー12の復旧通知には、代替処理サーバー3に送った通知の通知IDのリストを含めている。
By the way, each notification stored and managed in the communication log by the
保守業務サーバー14は、上記の通り発注依頼情報を生成するが、管理サーバー15からの振分サーバー12の復旧通知に含まれている全ての通知ID(代替処理サーバー3に送られた通知の通知ID)に対応する発注依頼情報を生成した後にまとめて発注サーバー2ではなくリカバリ支援サーバー4に送る(ステップ139)。
The
前述した配送指示システム1における障害の発生から復旧までの間に生成された発注処理が終了すると、保守業務サーバー14は、通常処理の状態に戻り、物流業務サーバー13から送られてくる通知に応じて生成した発注依頼情報を発注サーバー2に送る。
When the order processing generated between the occurrence of the failure and the recovery in the
リカバリ支援サーバー4における正規データ取得部43が、配送指示システム1の保守業務サーバー14から送られてくる発注依頼情報を受け取ると、修正指示部44は、その受け取った発注依頼情報に含まれているのと同じ通知IDを含む発注依頼情報を代替データ記憶部45から読み出し、比較する(ステップ140)。
When the regular
ところで、前述したように、代替プログラムは、正規のプログラムが提供する機能の一部を有するに留まることからそれぞれの処理結果が異なる場合がある。すなわち、代替処理サーバー3は、物流業務サーバー13と同じ内容の発注依頼情報が生成されている保証はない。
By the way, as described above, since the alternative program has only a part of the functions provided by the regular program, the processing results may be different from each other. In other words, there is no guarantee that the
内容の異なる発注依頼情報としては、前述したように発注数量が異なっていたり、発注対象の物品が異なったりする場合が考えられる。その他にも、図3に示すテーブルを用いて説明したように、物流業務サーバー13における正規のプログラムと代替処理サーバー3における代替プログラムとの機能(アクセス権限)の差から、代替プログラムが発注要のところを発注不要と判断をしたり、発注不要のところを発注要と判断したりする場合がある。前者の場合は発注漏れに該当する。後者の場合は無用な発注となる。
As the order request information having different contents, it is conceivable that the order quantity is different or the order target article is different as described above. In addition, as described with reference to the table shown in FIG. 3, due to the difference in function (access authority) between the regular program in the physical
従って、リカバリ支援サーバー4における修正指示部44は、同じ通知IDの発注依頼情報の内容が不一致の場合、発注サーバー2に修正を指示する(ステップ141,142)。
Therefore, when the contents of the order request information of the same notification ID do not match, the
具体的には、修正指示部44は、同じ通知IDの発注依頼情報が存在し、それらの内容が異なっている場合、配送指示システム1から受け取った発注依頼情報で既に送った発注依頼情報(代替処理サーバー3が生成した発注依頼情報)を変更するよう発注サーバー2に指示する。
More specifically, if the order request information with the same notification ID exists and the contents are different, the
また、配送指示システム1が生成した発注依頼情報と同じ通知IDの発注依頼情報が代替データ記憶部45に保存されていない場合、この場合は発注漏れに該当することになるので、修正指示部44は、配送指示システム1が生成した発注依頼情報を送ることで発注サーバー2に配送依頼を新規に指示する。一方、代替データ記憶部45に保存されている発注依頼情報と同じ通知IDの発注依頼情報が配送指示システム1から送られてこなかった場合、この場合は無用な発注に該当することになるので、修正指示部44は、既に送った当該発注依頼情報の取り消し、すなわち配送依頼のキャンセルを発注サーバー2に指示する。なお、リカバリ支援サーバー4における処理指示部42が当該発注依頼情報を送信していなければ、送信しないように処理すればよく、配送依頼のキャンセルを発注サーバー2に指示する必要はない。
Further, if the order request information with the same notification ID as the order request information generated by the
配送指示システム1が生成した発注依頼情報と代替処理サーバー3が生成した同じ通知IDの発注依頼情報が一致している場合、代替処理サーバー3は、正しい発注依頼情報を生成していることになるので、当該発注依頼情報を修正指示の対象とする必要はない。
If the order request information generated by the
配送指示システム1における障害の発生から復旧までの間に生成された発注依頼情報に対する処理が終了すると、リカバリ支援サーバー4は、代替データ記憶部45に保存されていた発注依頼情報を削除する。
When the processing for the order request information generated from the occurrence of the failure to the recovery in the
そして、発注サーバー2は、リカバリ支援サーバー4からの修正指示を反映させて配送を依頼する(ステップ143)。
Then, the ordering
前述したように、代替プログラムにより生成される発注依頼情報は、正規のプログラムにより生成される発注依頼情報と一致するとは限らない。つまり、代替処理サーバー3における処理結果は、確度の低い処理結果となり得る。しかしながら、配送指示システム1が提供する業務を長時間停止させる訳にはいかない場合がある。配送指示システム1が提供する業務を停止させないために、システムを多重化して構築することも考えられるが,冗長化によりコストが増大する。また、本実施の形態のように、秘匿性のある情報を外部のサーバー(本実施の形態の場合、代替処理サーバー3)に提供できない場合もある。
As described above, the order request information generated by the substitute program does not always match the order request information generated by the regular program. That is, the processing result in the
そこで、本実施の形態においては、配送指示システム1において障害が発生したときには、業務の停止を回避するために確度は低くなるかもしれないが、代替処理サーバー3に代替処理を実施させるようにした。そして、障害復旧後に確度の低い処理結果(発注依頼情報)を保証するために、リカバリ支援サーバー4に発注依頼情報の正当性を検証させ、正しくない発注依頼を修正するようにした。なお、発注サーバー2が配送依頼先に配送依頼をした後でも配送依頼先で配送を実際に行っていない場合もあるので、配送の修正を電話等にて行うことも可能である。
Therefore, in the present embodiment, when a failure occurs in the
上記説明では、振分サーバー12にて障害が発生した場合を例にして説明したが、他のサーバー、すなわち物流業務サーバー13又は保守業務サーバー14で障害が発生した場合でも同様に処理すればよい。また、本実施の形態では、代替処理手段として代替処理サーバー3を設けて配送指示システム1における代替処理を一括して実施させるようにしたが、各サーバー12〜14に対応させて代替処理手段を設けてもよい。
In the above description, the case where a failure has occurred in the
1 配送指示システム、2 発注サーバー、3 代替処理サーバー、4 リカバリ支援サーバー、11 窓口サーバー、12 振分サーバー、13 物流業務サーバー、14 保守業務サーバー、15 管理サーバー、41 代替データ取得部、42 処理指示部、43 正規データ取得部、44 修正指示部、45 代替データ記憶部。
1 delivery instruction system, 2 order server, 3 alternative processing server, 4 recovery support server, 11 window server, 12 distribution server, 13 logistics business server, 14 maintenance business server, 15 management server, 41 alternative data acquisition unit, 42 processing Instruction unit, 43 regular data acquisition unit, 44 correction instruction unit, 45 alternative data storage unit.
Claims (9)
前記第1取得手段が取得した処理結果に基づく処理の実施を前記正規の処理手段の後段の処理手段に指示する処理指示手段と、
前記所定の処理を実施できるようになった前記正規の処理手段が前記入力データに対して前記所定の処理を実施したときの処理結果を取得する第2取得手段と、
前記第1取得手段が取得した処理結果と前記第2取得手段が取得した処理結果との比較結果に応じて、前記処理指示手段が前記後段の処理手段に対して既にした処理指示の修正を前記後段の処理手段に指示する修正指示手段と、
を有することを特徴とする情報処理装置。 A first processing unit that obtains a processing result when the normal processing unit that performs predetermined processing on the input data cannot perform the predetermined processing and the substitute processing unit performs the predetermined processing on the input data; Acquisition means;
Processing instructing means for instructing a processing means subsequent to the formal processing means to perform processing based on the processing result obtained by the first obtaining means;
A second acquisition unit that acquires a processing result when the regular processing unit that can perform the predetermined process performs the predetermined process on the input data;
According to a comparison result between the processing result obtained by the first obtaining unit and the processing result obtained by the second obtaining unit, the processing instruction unit corrects the processing instruction already performed on the subsequent processing unit by the processing unit. Correction instructing means for instructing the subsequent processing means,
An information processing apparatus comprising:
前記正規の処理手段が前記所定の処理を実施できない場合に前記入力データに対して前記所定の処理を実施する代替処理手段と、
前記正規の処理手段が前記所定の処理を実施できない場合に前記代替処理手段が前記入力データに対して前記所定の処理を実施したときの処理結果を取得する第1取得手段と、
前記第1取得手段が取得した処理結果に基づく処理の実施を前記正規の処理手段の後段の処理手段に指示する処理指示手段と、
前記所定の処理を実施できるようになった前記正規の処理手段が前記入力データに対して前記所定の処理を実施したときの処理結果を取得する第2取得手段と、
前記第1取得手段が取得した処理結果と前記第2取得手段が取得した処理結果との比較結果に応じて、前記処理指示手段が前記後段の処理手段に対して既にした処理指示の修正を前記後段の処理手段に指示する修正指示手段と、
を有することを特徴とする情報処理システム。 Regular processing means for performing predetermined processing on the input data;
An alternative processing unit that performs the predetermined process on the input data when the legitimate processing unit cannot perform the predetermined process,
A first obtaining unit that obtains a processing result when the substitute processing unit performs the predetermined process on the input data when the legitimate processing unit cannot perform the predetermined process;
Processing instructing means for instructing a processing means subsequent to the formal processing means to perform processing based on the processing result obtained by the first obtaining means;
A second acquisition unit that acquires a processing result when the regular processing unit that can perform the predetermined process performs the predetermined process on the input data;
According to a comparison result between the processing result obtained by the first obtaining unit and the processing result obtained by the second obtaining unit, the processing instruction unit corrects the processing instruction already given to the subsequent processing unit by the processing unit. Correction instructing means for instructing the subsequent processing means,
An information processing system comprising:
前記監視手段は、前記正規の処理手段が前記所定の処理を実施できない場合に前記入力データに対する前記所定の処理の実施を前記代替処理手段に指示することを特徴とする請求項6に記載の情報処理システム。 Monitoring means for monitoring the state of the legitimate processing means,
7. The information according to claim 6, wherein the monitoring unit instructs the alternative processing unit to execute the predetermined process on the input data when the legitimate processing unit cannot execute the predetermined process. Processing system.
入力データに対して所定の処理を行う正規の処理手段が前記所定の処理を実施できない場合に代替処理手段が前記入力データに対して前記所定の処理を実施したときの処理結果を取得する第1取得手段、
前記第1取得手段が取得した処理結果に基づく処理の実施を前記正規の処理手段の後段の処理手段に指示する処理指示手段、
前記所定の処理を実施できるようになった前記正規の処理手段が前記入力データに対して前記所定の処理を実施したときの処理結果を取得する第2取得手段、
前記第1取得手段が取得した処理結果と前記第2取得手段が取得した処理結果との比較結果に応じて、前記処理指示手段が前記後段の処理手段に対して既にした処理指示の修正を前記後段の処理手段に指示する修正指示手段、
として機能させるためのプログラム。
Computer
A first processing unit that obtains a processing result when the normal processing unit that performs predetermined processing on the input data cannot perform the predetermined processing and the substitute processing unit performs the predetermined processing on the input data; Acquisition means,
Processing instructing means for instructing a processing means subsequent to the formal processing means to perform processing based on the processing result obtained by the first obtaining means;
A second acquisition unit that acquires a processing result when the regular processing unit that can perform the predetermined process performs the predetermined process on the input data;
According to a comparison result between the processing result obtained by the first obtaining unit and the processing result obtained by the second obtaining unit, the processing instruction unit corrects the processing instruction already performed on the subsequent processing unit by the processing unit. Correction instruction means for instructing subsequent processing means,
Program to function as.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2018127225A JP2020008970A (en) | 2018-07-04 | 2018-07-04 | Information processing apparatus, information processing system and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2018127225A JP2020008970A (en) | 2018-07-04 | 2018-07-04 | Information processing apparatus, information processing system and program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2020008970A true JP2020008970A (en) | 2020-01-16 |
Family
ID=69151792
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2018127225A Pending JP2020008970A (en) | 2018-07-04 | 2018-07-04 | Information processing apparatus, information processing system and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2020008970A (en) |
-
2018
- 2018-07-04 JP JP2018127225A patent/JP2020008970A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10496499B2 (en) | System and method for datacenter recovery | |
US7266734B2 (en) | Generation of problem tickets for a computer system | |
JP5075736B2 (en) | System failure recovery method and system for virtual server | |
US7941704B2 (en) | Maintenance management system, database server, maintenance management program, and maintenance management method | |
US20150293800A1 (en) | Robust hardware fault management system, method and framework for enterprise devices | |
KR20100031574A (en) | Automatically managing system downtime in a computer network | |
US8533525B2 (en) | Data management apparatus, monitoring apparatus, replica apparatus, cluster system, control method and computer-readable medium | |
JPWO2014076838A1 (en) | Virtual machine synchronization system | |
US20180089055A1 (en) | Method and apparatus for monitoring logs | |
CN110163003B (en) | Password management method and device | |
JP5446405B2 (en) | Event detection control method and system | |
CN110998535A (en) | Restoring application functionality via analysis of application operation requests | |
JP5537599B2 (en) | Version upgrade management method in business system | |
JP2020008970A (en) | Information processing apparatus, information processing system and program | |
JP2017004502A (en) | Information system and update method | |
JP2007264904A (en) | Automatic program update system | |
US20150301770A1 (en) | Print server, control method of print server, and storage medium | |
US20210250226A1 (en) | Information processing apparatus, information processing method, and storage medium | |
CN110489208B (en) | Virtual machine configuration parameter checking method, system, computer equipment and storage medium | |
JP5061001B2 (en) | Configuration check system | |
JP5466740B2 (en) | System failure recovery method and system for virtual server | |
JP2009098715A (en) | Redundant system device, job execution method in redundant system device, and execution program | |
US11762643B2 (en) | System using blockchain | |
US11606260B1 (en) | Consensus-based node retirement process in a mesh | |
CN109639509B (en) | Network equipment configuration method and device |