Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP6055401B2 - Information communication program, information communication apparatus, and information communication method - Google Patents
[go: Go Back, main page]

JP6055401B2 - Information communication program, information communication apparatus, and information communication method - Google Patents

Information communication program, information communication apparatus, and information communication method Download PDF

Info

Publication number
JP6055401B2
JP6055401B2 JP2013271469A JP2013271469A JP6055401B2 JP 6055401 B2 JP6055401 B2 JP 6055401B2 JP 2013271469 A JP2013271469 A JP 2013271469A JP 2013271469 A JP2013271469 A JP 2013271469A JP 6055401 B2 JP6055401 B2 JP 6055401B2
Authority
JP
Japan
Prior art keywords
server
search
transaction information
information
unconnected
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.)
Active
Application number
JP2013271469A
Other languages
Japanese (ja)
Other versions
JP2015125700A (en
Inventor
一朗 樺澤
一朗 樺澤
勉 八木
勉 八木
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.)
Fujitsu Frontech Ltd
Original Assignee
Fujitsu Frontech Ltd
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 Fujitsu Frontech Ltd filed Critical Fujitsu Frontech Ltd
Priority to JP2013271469A priority Critical patent/JP6055401B2/en
Publication of JP2015125700A publication Critical patent/JP2015125700A/en
Application granted granted Critical
Publication of JP6055401B2 publication Critical patent/JP6055401B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Description

本発明は、金融機関における取引情報を拠店毎に分散して記憶および管理している複数のサーバに対して検索依頼をするときの情報通信プログラム、情報通信装置および情報通信方法に関する。   The present invention relates to an information communication program, an information communication apparatus, and an information communication method for making a search request to a plurality of servers that store and manage transaction information in a financial institution distributed for each store.

都市銀行のように国内全域に展開している金融機関では、顧客の数が多いので、すべての取引情報を1箇所のサーバにて集中管理しているのではなく、全国を複数のブロックに分割し、ブロック単位で取引情報を分散して記憶および管理している。顧客が自分の取引情報が管理されているサーバの配下にある営業店舗において取引を行う場合には、その営業店舗の端末からオペレータが検索依頼をすることでサーバ内の取引情報を参照することができる。   Financial institutions that operate throughout the country, such as city banks, have a large number of customers. Instead of centrally managing all transaction information on a single server, the country is divided into multiple blocks. In addition, transaction information is distributed and stored in block units. When a customer conducts a transaction at a sales store under the server where his / her transaction information is managed, the operator may refer to the transaction information in the server by making a search request from the terminal of the business store. it can.

また、取引を行おうとしている顧客の情報が他の営業拠店のサーバで管理されていることがある。このような場合、受け付けを行った営業店舗の端末は、他のすべての営業拠店にあるサーバに対して検索依頼をすることになる。そのとき、他のすべての営業拠店にあるサーバから直ちに依頼に対する応答が返ってくれば問題はないが、一部のサーバが接続することのできない状況に陥っている場合には、当該サーバとは通信することができないと分かるのに時間がかかることがある。端末は、通信できないサーバに対して、再接続を試みる(たとえば、特許文献1参照)が、その再接続の間隔および回数があらかじめ決められていて、再接続の回数が所定の回数に達した場合に初めて、通信することができないと判断されるからである。   In addition, information on customers who are going to do business may be managed by servers of other sales offices. In such a case, the terminal of the sales store that has received the request makes a search request to the servers in all other sales offices. At that time, there is no problem if the response to the request is immediately returned from the server at all other sales offices. However, if some servers cannot be connected, May take time to know that they can't communicate. The terminal tries to reconnect to a server that cannot communicate (for example, see Patent Document 1), but the reconnection interval and number of times are determined in advance, and the number of times of reconnection reaches a predetermined number This is because it is determined that communication cannot be performed for the first time.

サーバが接続できなくなる要因としては、サーバがダウンしたり、通信回線に異常が発生したりすることが考えられる。サーバは、現用機および待機機が用意されていて、現用機がダウンしたときに待機機が起動して業務を継続できるようにクラスタ構成になっている。待機機は、特に、コールドスタンバイの状態から起動する場合においては、クラスタ切り替えが行われてサーバが復旧するまでに相当の時間がかかり、サーバの停止時間が長くなってしまう。また、通信回線に異常が発生した場合にも、回線が復旧するまでに時間がかかることが多く、結果として、サーバと接続できない時間が長くなることがある。   Possible causes for the server being unable to connect are that the server is down or an abnormality has occurred in the communication line. The server has a working machine and a standby machine, and has a cluster configuration so that when the active machine goes down, the standby machine is started and business can be continued. In particular, when the standby machine is started from the cold standby state, it takes a considerable time until the server is restored after the cluster is switched, and the server stop time becomes long. Also, when an abnormality occurs in a communication line, it often takes time until the line is restored, and as a result, the time during which the connection with the server cannot be made may become long.

特開平6−89239号公報JP-A-6-89239

従来の技術では、端末とサーバとが接続状態にない場合、端末は、再接続の試行を繰り返してみてそれでも成功しないときに接続できないと判断されるので、その間、端末のオペレータは待たされ、業務が中断してしまうという問題点があった。   In the conventional technology, when the terminal and the server are not connected, it is determined that the terminal cannot connect when the reconnection attempt is not successful, and the operator of the terminal is kept waiting during that time. There was a problem that was interrupted.

本発明はこのような点に鑑みてなされたものであり、複数のサーバの中に接続することができないサーバがあっても、オペレータを待たせることがないようにする情報通信プログラム、情報通信装置および情報通信方法を提供することを目的とする。   The present invention has been made in view of the above points, and an information communication program and an information communication apparatus for preventing an operator from waiting even if there is a server that cannot be connected among a plurality of servers. And an information communication method.

本発明では、上記の課題を解決するために、コンピュータに、すべてのサーバとの接続状態を定期的にチェックして記憶し、状態が未接続のサーバに対し再接続を試行して記憶した前記接続状態を更新し、取引情報の検索を受け付けたときに、前記接続状態を参照して接続中のサーバに対して検索を依頼し、接続中のサーバからの応答に該当する取引情報があるとき、当該取引情報を表示し、該当する取引情報がなく、かつ、未接続のサーバがないとき、該当データなしの情報を表示し、または、該当する取引情報がなく、かつ、未接続のサーバがあるとき、接続処理中を表す情報を表示する、処理を実行させることを特徴とする情報通信プログラムが提供される。   In the present invention, in order to solve the above-mentioned problem, the computer periodically checks and stores the connection status with all servers, and stores the status after trying to reconnect to an unconnected server. When the connection status is updated and when a search for transaction information is accepted, a search is made to the connected server with reference to the connection status, and there is transaction information corresponding to the response from the connected server When the relevant transaction information is displayed and there is no relevant transaction information and there is no unconnected server, information without relevant data is displayed, or there is no relevant transaction information and an unconnected server In some cases, an information communication program is provided that displays information indicating that the connection process is in progress and causes the process to be executed.

また、本発明では、拠店毎に取引情報を分散して記憶および管理している複数のサーバに対して検索を依頼する情報通信装置において、すべてのサーバとの接続状態を定期的にチェックするサーバ接続状態監視部と、前記サーバ接続状態監視部による監視結果を記憶するサーバ接続状態記憶部と、前記サーバ接続状態記憶部を参照して未接続のサーバについて再接続を試行する再接続処理部と、前記取引情報の検索を受け付ける検索受付処理部と、前記検索受付処理部が前記取引情報の検索を受け付けたときに、前記サーバ接続状態記憶部を参照して接続中のサーバに対して検索を依頼し、接続中のサーバからの応答に対し、該当する取引情報があるとき、当該取引情報を表示させ、該当する取引情報がなく、かつ、未接続のサーバがないとき、該当データなしの情報を表示させ、または、該当する取引情報がなく、かつ、未接続のサーバがあるとき、接続処理中を表すメッセージを表示させる検索依頼処理部と、を備えていることを特徴とする情報通信装置が提供される。   Further, in the present invention, in an information communication device that requests a search to a plurality of servers that store and manage transaction information in a distributed manner for each store, the connection status with all servers is periodically checked. A server connection state monitoring unit, a server connection state storage unit for storing a monitoring result by the server connection state monitoring unit, and a reconnection processing unit for trying to reconnect an unconnected server with reference to the server connection state storage unit A search acceptance processing unit that accepts a search for the transaction information, and when the search acceptance processing unit accepts a search for the transaction information, the server connection state storage unit is referred to search for a connected server. If there is corresponding transaction information for the response from the connected server, the transaction information is displayed, there is no corresponding transaction information, and there is no unconnected server A search request processing unit that displays information without corresponding data or displays a message indicating that connection processing is in progress when there is no corresponding transaction information and there is an unconnected server. A featured information communication device is provided.

さらに、本発明では、コンピュータが、すべてのサーバとの接続状態をチェックし、状態が未接続のサーバに対して再接続を試行することを繰り返して前記接続状態を定期的に更新し、取引情報の検索を受け付けたときに、前記接続状態を参照して接続中のサーバに対して検索を依頼し、接続中のサーバからの応答に該当する取引情報があるとき、当該取引情報を表示し、該当する取引情報がなく、かつ、未接続のサーバがないとき、該当データなしの情報を表示させ、または、該当する取引情報がなく、かつ、未接続のサーバがあるとき、接続処理中を表すメッセージを表示する、ことを特徴とする情報通信方法が提供される。   Furthermore, in the present invention, the computer checks the connection status with all servers, and repeatedly tries to reconnect to a server that is not connected to update the connection status periodically. When a search is received, a request is made to the connected server with reference to the connection state, and when there is transaction information corresponding to a response from the connected server, the transaction information is displayed. When there is no corresponding transaction information and there is no unconnected server, information without corresponding data is displayed, or when there is no corresponding transaction information and there is an unconnected server, this means that connection processing is in progress. An information communication method characterized by displaying a message is provided.

上記構成の情報通信プログラム、情報通信装置および情報通信方法は、検索依頼に対するサーバの応答で該当する取引情報がなく、かつ、未接続のサーバがあるときに、接続処理中を通知するので、現時点での検索結果が即時に分かるという利点がある。検索依頼実行時に、未接続のサーバに対する再接続の試行等を一切行わないため、その分、オペレータは、長時間待たされることなく現状の検索結果を即時に確認することができるようになる。   Since the information communication program, information communication apparatus, and information communication method configured as described above notify the connection processing in progress when there is no corresponding transaction information in the server response to the search request and there is an unconnected server, There is an advantage that the search result in can be immediately known. Since no attempt is made to reconnect to an unconnected server at the time of executing a search request, the operator can immediately check the current search result without waiting for a long time.

第1の実施の形態に係る情報通信装置を含む情報通信システムの構成例を示す図である。It is a figure which shows the structural example of the information communication system containing the information communication apparatus which concerns on 1st Embodiment. 情報通信制御処理の流れを示すフローチャートである。It is a flowchart which shows the flow of an information communication control process. 第1の実施の形態に用いるコンピュータの一構成例を示す図である。It is a figure which shows the example of 1 structure of the computer used for 1st Embodiment. 第2の実施の形態に係る端末とサーバとの関係を示す図である。It is a figure which shows the relationship between the terminal and server which concern on 2nd Embodiment. 伝票イメージデータの例を示す図である。It is a figure which shows the example of slip image data. 端末制御プログラムの処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a process of a terminal control program. 通信プログラムの処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a process of a communication program. 通信処理に使われるテーブルを示す図であって、(A)はサーバ管理テーブル、(B)および(C)は作業テーブルを示している。It is a figure which shows the table used for a communication process, Comprising: (A) has shown the server management table, (B) and (C) have shown the work table. サーバ接続状態更新処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a server connection state update process. サーバ処理プログラムの処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a process of a server processing program.

以下、本発明の実施の形態について、都市銀行のように、複数の営業拠店を持ち、営業拠店毎にサーバが設置されている情報通信システムにおいて、すべてのサーバに検索依頼を行うことができる端末に適用した場合を例に図面を参照して詳細に説明する。なお、各実施の形態は、矛盾のない範囲で複数の実施の形態を組み合わせて実施することができる。   Hereinafter, with respect to the embodiment of the present invention, a search request may be made to all servers in an information communication system having a plurality of sales offices and a server installed for each sales office like a city bank. A case where the present invention is applied to a terminal that can be used will be described in detail with reference to the drawings. Each embodiment can be implemented by combining a plurality of embodiments within a consistent range.

図1は第1の実施の形態に係る情報通信装置を含む情報通信システムの構成例を示す図、図2は情報通信制御処理の流れを示すフローチャートである。
情報通信システムは、営業拠店毎に設置された複数のサーバ10,20,30を備えており、それぞれのサーバ10,20,30は、ネットワーク40を介して相互に通信できるように接続されている。サーバ10,20,30は、それぞれデータベース12,22,32が接続されている。データベース12,22,32は、ブロック毎の取引情報がそれぞれ保存管理されている。また、それぞれの営業拠店、たとえば、サーバ10を有する営業拠店およびその配下の営業店舗には、複数の端末50を有しており、それぞれサーバ10とLAN(Local Area Network)42等によって接続されている。なお、図示はしないが、他のサーバ20,30においても同様に、複数の端末が接続されている。
FIG. 1 is a diagram showing a configuration example of an information communication system including the information communication apparatus according to the first embodiment, and FIG. 2 is a flowchart showing a flow of information communication control processing.
The information communication system includes a plurality of servers 10, 20, 30 installed for each sales office, and the servers 10, 20, 30 are connected to each other via a network 40 so as to communicate with each other. Yes. Servers 10, 20, and 30 are connected to databases 12, 22, and 32, respectively. In the databases 12, 22, and 32, transaction information for each block is stored and managed. In addition, each sales office, for example, a sales office having the server 10 and a sales shop under its control, have a plurality of terminals 50 and are connected to the server 10 by a LAN (Local Area Network) 42 or the like. Has been. Although not shown, a plurality of terminals are connected to the other servers 20 and 30 in the same manner.

端末50は、情報通信装置として機能するものであり、検索受付処理部51、検索依頼処理部52、サーバ接続状態監視部53、サーバ接続状態記憶部54および再接続処理部55を備えている。検索受付処理部51は、オペレータによる取引情報照会の操作入力があった場合に検索条件の入力を受けて検索受付の処理を行う。検索依頼処理部52は、検索受付処理部51が受け付けた操作入力を基にサーバ10,20,30に対して検索を依頼し、サーバ10,20,30から検索結果を取得する。サーバ接続状態監視部53は、サーバ10,20,30との接続状態を定期的に実施される死活確認により監視している。サーバ接続状態記憶部54は、サーバ接続状態監視部53による監視結果を記憶する。再接続処理部55は、サーバ接続状態監視部53による監視の結果、サーバ10,20,30との接続状態が未接続である場合に、未接続のサーバに対して再接続を試みる。再接続処理部55は、端末50の起動時にすべてのサーバと接続を試みており、したがって、以下に述べる端末50の動作は、サーバと接続実績があることを前提としている。   The terminal 50 functions as an information communication device, and includes a search reception processing unit 51, a search request processing unit 52, a server connection state monitoring unit 53, a server connection state storage unit 54, and a reconnection processing unit 55. The search reception processing unit 51 performs a search reception process in response to an input of a search condition when an operator inputs a transaction information inquiry. The search request processing unit 52 requests the servers 10, 20, and 30 to search based on the operation input received by the search reception processing unit 51, and acquires the search results from the servers 10, 20, and 30. The server connection state monitoring unit 53 monitors the connection state with the servers 10, 20, and 30 by life and death confirmation that is periodically performed. The server connection state storage unit 54 stores the monitoring result from the server connection state monitoring unit 53. As a result of monitoring by the server connection state monitoring unit 53, the reconnection processing unit 55 tries to reconnect to an unconnected server when the connection state with the servers 10, 20, and 30 is not connected. The reconnection processing unit 55 attempts to connect to all the servers when the terminal 50 is activated. Therefore, the operation of the terminal 50 described below is based on the assumption that there is a connection record with the server.

以上の構成の端末50において、サーバ接続状態監視部53は、すべてのサーバ10,20,30との接続状態を定期的に監視していて、その監視結果をサーバ接続状態記憶部54に記憶している。また、再接続処理部55は、サーバ接続状態記憶部54を参照して、接続状態が未接続のサーバがあれば、そのサーバに対して再接続を実施している。これにより、端末50は、その起動直後からすべてのサーバ10,20,30との接続状態を常に把握していて、サーバまたは通信回線に障害等が発生して未接続になったサーバについては、接続されるまで再接続を繰り返し実施するようにしている。   In the terminal 50 having the above configuration, the server connection state monitoring unit 53 regularly monitors the connection state with all the servers 10, 20, and 30, and stores the monitoring result in the server connection state storage unit 54. ing. In addition, the reconnection processing unit 55 refers to the server connection state storage unit 54, and if there is a server whose connection state is not connected, the reconnection processing unit 55 performs reconnection to the server. Thereby, the terminal 50 always keeps track of the connection status with all the servers 10, 20, and 30 immediately after the startup, and the server or the communication line that has become unconnected due to a failure or the like, Reconnection is repeated until it is connected.

ここで、端末50が取引情報の検索を受け付けたときの処理動作について図2を参照して説明する。なお、サーバ接続状態監視部53、サーバ接続状態記憶部54および再接続処理部55は、端末50の起動時から動作していて、サーバ接続状態が常に最新の状態に更新されているものとする。   Here, the processing operation when the terminal 50 receives a search for transaction information will be described with reference to FIG. Note that the server connection state monitoring unit 53, the server connection state storage unit 54, and the reconnection processing unit 55 have been operating since the start of the terminal 50, and the server connection state is always updated to the latest state. .

まず、端末50は、取引情報の検索受付を待っている(ステップS1)。検索受付処理部51が検索条件の入力を受けて取引情報の検索を受け付けると、検索依頼処理部52は、サーバ接続状態記憶部54を参照し、端末50のある営業店舗が属する営業拠店のサーバ10の接続状態が接続中であるかどうかを確認する(ステップS2)。検索依頼処理部52は、サーバ10が接続中かどうかを判断し(ステップS3)、接続中であれば、検索依頼処理部52は、サーバ10に対して検索条件とともに検索依頼を送信し、サーバ10から検索結果の応答を待つ(ステップS4)。   First, the terminal 50 waits for a transaction information search (step S1). When the search reception processing unit 51 receives a search condition and receives a search for transaction information, the search request processing unit 52 refers to the server connection state storage unit 54 and refers to the sales office to which the business store with the terminal 50 belongs. It is confirmed whether or not the connection state of the server 10 is being connected (step S2). The search request processing unit 52 determines whether or not the server 10 is connected (step S3). If the server 10 is connected, the search request processing unit 52 transmits a search request together with the search condition to the server 10, and the server 10 10 waits for a response of the search result (step S4).

検索依頼を受けたサーバ10は、端末50から通知された検索条件をキーにしてデータベース12を検索し、検索条件に該当する取引情報があれば、その取引情報を取得して端末50に送信する。   Upon receiving the search request, the server 10 searches the database 12 using the search condition notified from the terminal 50 as a key, and if there is transaction information corresponding to the search condition, acquires the transaction information and transmits it to the terminal 50. .

端末50では、検索依頼処理部52がサーバ10からの応答の中に該当する取引情報があったかどうかを判断する(ステップS5)。取引情報があった場合、検索依頼処理部52は、その取引情報を図示しないモニタに表示する(ステップS6)。   In the terminal 50, the search request processing unit 52 determines whether or not there is corresponding transaction information in the response from the server 10 (step S5). If there is transaction information, the search request processing unit 52 displays the transaction information on a monitor (not shown) (step S6).

次に、サーバ10に該当する取引情報がない場合、または、サーバ10が未接続の場合には、サーバ接続状態記憶部54に記憶されている、サーバ10を除く他のサーバ20,30の接続状態を確認する(ステップS7)。検索依頼処理部52は、他のサーバ20,30の中で、接続中のサーバがあるかどうかを判断し(ステップS8)、接続中のサーバに対して一斉に検索条件とともに検索依頼を送信し、サーバから検索結果の応答を待つ(ステップS9)。   Next, when there is no transaction information corresponding to the server 10 or when the server 10 is not connected, the connection of the other servers 20 and 30 except for the server 10 stored in the server connection state storage unit 54 The state is confirmed (step S7). The search request processing unit 52 determines whether there is a connected server among the other servers 20 and 30 (step S8), and transmits the search request together with the search conditions to the connected servers. The server waits for a search result response from the server (step S9).

検索依頼を受けたサーバは、端末50から通知された検索条件をキーにデータベースを検索し、検索条件に該当する取引情報があれば、その取引情報を取得して端末50に送信する。   The server that has received the search request searches the database using the search condition notified from the terminal 50 as a key, and if there is transaction information corresponding to the search condition, acquires the transaction information and transmits it to the terminal 50.

端末50では、検索依頼処理部52がサーバからの応答の中に該当する取引情報があったかどうかを判断する(ステップS10)。ここで、検索依頼を受けたサーバの中に検索条件に該当する取引情報が見つかった場合には、その取引情報を取得して図示しないモニタに表示する(ステップS6)。   In the terminal 50, the search request processing unit 52 determines whether or not there is corresponding transaction information in the response from the server (step S10). If transaction information corresponding to the search condition is found in the server that has received the search request, the transaction information is acquired and displayed on a monitor (not shown) (step S6).

なお、サーバ接続状態記憶部54に接続中のサーバがない場合、または接続中のサーバに検索条件に該当する取引情報がない場合には、未接続のサーバに検索条件に該当する取引情報が存在する可能性がある。このような場合、サーバ接続状態記憶部54に未接続と設定されていた接続処理中のサーバのリストを図示しないモニタに表示する(ステップS11)。   If there is no connected server in the server connection state storage unit 54 or there is no transaction information corresponding to the search condition in the connected server, transaction information corresponding to the search condition exists in the unconnected server. there's a possibility that. In such a case, a list of servers in connection processing that have been set as unconnected in the server connection state storage unit 54 is displayed on a monitor (not shown) (step S11).

以上のように、端末50は、その起動時から常にサーバの最新の接続状態を記憶していて、検索を依頼するときには通信できない未接続のサーバを直ちに認識することができ、かつ、未接続のサーバについては検索の依頼をしないようにしている。このため、接続中のサーバに検索条件に該当する取引情報が見つからない場合であって、未接続のサーバがある場合でも、その結果が即座にモニタに表示されるので、オペレータは、待たされることなく、検索結果をすぐに確認することが可能になる。   As described above, the terminal 50 always stores the latest connection state of the server from the time of activation, can immediately recognize an unconnected server that cannot communicate when requesting a search, and is not connected. The server is not requested to search. For this reason, even if there is no transaction information that matches the search conditions on the connected server, and there is an unconnected server, the result is immediately displayed on the monitor, so the operator must wait. It is possible to check the search result immediately.

未接続で接続処理中のサーバのリストが表示された場合、オペレータは、時間をおいて、再検索を依頼すればよい。この場合、好ましくは、端末50が未接続であったサーバを保持しておいて、その未接続サーバに対してのみ、再検索を依頼することができるようにするとよい。または、検索依頼処理部52がサーバ接続状態記憶部54における未接続状態から接続状態への状態遷移を監視していて、状態遷移のあったタイミングで状態遷移のあったサーバに対して順次検索依頼を行うようにしてもよい。ここで、検索条件に該当する取引情報が見つかるか、または、すべてのサーバに検索条件に該当する取引情報が見つからなかった場合に、その旨のメッセージを、現在処理中の業務があればその業務が終了するのを待って、モニタに表示するとよい。   When a list of servers that are not connected and are being connected is displayed, the operator may request a re-search after a while. In this case, it is preferable that the terminal 50 holds a server that has not been connected, and the re-search can be requested only to the unconnected server. Alternatively, the search request processing unit 52 monitors the state transition from the unconnected state to the connected state in the server connection state storage unit 54, and sequentially requests the servers having the state transition at the timing of the state transition. May be performed. Here, if transaction information that matches the search conditions is found, or if transaction information that matches the search conditions is not found on all servers, a message to that effect is displayed if there is a job currently being processed. Wait until it finishes and display it on the monitor.

図3は第1の実施の形態に用いるコンピュータの一構成例を示す図である。
コンピュータ100は、CPU(Central Processing Unit)101によって装置全体が制御されている。CPU101には、バス108を介してRAM(Random Access Memory)102と複数の周辺機器が接続されている。
FIG. 3 is a diagram illustrating a configuration example of a computer used in the first embodiment.
The computer 100 is entirely controlled by a CPU (Central Processing Unit) 101. A RAM (Random Access Memory) 102 and a plurality of peripheral devices are connected to the CPU 101 via a bus 108.

RAM102は、コンピュータ100の主記憶装置として使用される。RAM102には、CPU101に実行させるOS(Operating System)のプログラムやアプリケーションプログラムの少なくとも一部が一時的に格納される。また、RAM102には、CPU101による処理に必要な各種データが格納される。   The RAM 102 is used as a main storage device of the computer 100. The RAM 102 temporarily stores at least part of an OS (Operating System) program and application programs to be executed by the CPU 101. The RAM 102 stores various data necessary for processing by the CPU 101.

バス108に接続されている周辺機器としては、HDD(Hard Disk Drive)103、グラフィック処理装置104、入力インタフェース105、光学ドライブ装置106、および通信インタフェース107がある。なお、バス108に接続される周辺機器には、図示はしないが、USB(Universal Serial Bus)等の入出力インタフェースが装備されることもある。   Peripheral devices connected to the bus 108 include an HDD (Hard Disk Drive) 103, a graphic processing device 104, an input interface 105, an optical drive device 106, and a communication interface 107. The peripheral device connected to the bus 108 may be equipped with an input / output interface such as a USB (Universal Serial Bus), although not shown.

HDD103は、内蔵したディスクに対して、磁気的にデータの書き込みおよび読み出しを行う。HDD103は、コンピュータ100の二次記憶装置として使用される。HDD103には、OSのプログラム、アプリケーションプログラム、各種データおよび図2に示した情報通信制御処理のアプリケーションプログラムが格納される。なお、二次記憶装置としては、SSD(Solid State Drive)等の半導体記憶装置を使用することもできる。HDD103は、さらに、内蔵の二次記憶装置以外に外付けの二次記憶装置として、データベースのデータ記憶用に使用することもできる。   The HDD 103 magnetically writes and reads data to and from the built-in disk. The HDD 103 is used as a secondary storage device of the computer 100. The HDD 103 stores an OS program, application programs, various data, and an application program for information communication control processing shown in FIG. As the secondary storage device, a semiconductor storage device such as an SSD (Solid State Drive) can also be used. In addition to the built-in secondary storage device, the HDD 103 can also be used as an external secondary storage device for storing database data.

グラフィック処理装置104には、モニタ109が接続されている。グラフィック処理装置104は、CPU101からの命令に従って、画像をモニタ109の画面に表示させる。モニタ109としては、液晶表示装置等がある。   A monitor 109 is connected to the graphic processing device 104. The graphic processing device 104 displays an image on the screen of the monitor 109 in accordance with a command from the CPU 101. Examples of the monitor 109 include a liquid crystal display device.

入力インタフェース105には、キーボード110とマウス111とが接続されている。入力インタフェース105は、キーボード110やマウス111から送られてくる信号をCPU101に送信する。なお、マウス111は、ポインティングデバイスの一例であり、他のポインティングデバイスを使用することもできる。他のポインティングデバイスとしては、タッチパネル、タブレット、タッチパッド、トラックボール等がある。   A keyboard 110 and a mouse 111 are connected to the input interface 105. The input interface 105 transmits signals sent from the keyboard 110 and the mouse 111 to the CPU 101. Note that the mouse 111 is an example of a pointing device, and other pointing devices can also be used. Examples of other pointing devices include a touch panel, a tablet, a touch pad, and a trackball.

光学ドライブ装置106は、レーザ光等を利用して、光ディスク112に記録されたOSのプログラム、アプリケーションプログラムまたはデータの読み取りを行う。光ディスク112は、光の反射によって読み取り可能なようにデータが記録された可搬型の記録媒体であり、DVD(Digital Versatile Disc)、CD−ROM(Compact Disc Read Only Memory)等がある。   The optical drive device 106 reads an OS program, an application program, or data recorded on the optical disc 112 using a laser beam or the like. The optical disc 112 is a portable recording medium on which data is recorded so as to be readable by reflection of light, and includes a DVD (Digital Versatile Disc), a CD-ROM (Compact Disc Read Only Memory), and the like.

通信インタフェース107は、ネットワーク40に接続されている。通信インタフェース107は、ネットワーク40を介して、他のコンピュータまたは通信機器との間でデータの送受信を行う。   The communication interface 107 is connected to the network 40. The communication interface 107 transmits / receives data to / from other computers or communication devices via the network 40.

以上のようなハードウェア構成によって、第1の実施の形態の端末50の処理機能を実現することができる。なお、図1に示したサーバ10,20,30も、図3と同様のハードウェアで実現することができる。   With the hardware configuration described above, the processing functions of the terminal 50 according to the first embodiment can be realized. Note that the servers 10, 20, and 30 shown in FIG. 1 can also be realized by the same hardware as in FIG.

図4は第2の実施の形態に係る端末とサーバとの関係を示す図、図5は伝票イメージデータの例を示す図である。
端末50は、端末制御プログラム56と通信プログラム57とを備え、情報通信プログラムを構成している。端末制御プログラム56は、オペレータの操作入力に対する処理を行い、処理結果を表示させるよう機能するユーザプログラムである。一方、通信プログラム57は、サーバの接続状態の監視機能と、サーバとの通信制御機能とを有している。サーバの接続状態の監視機能は、定期的に、サーバとの接続状態をチェックし、未接続になっているサーバがあれば、そのサーバに対して再接続を実施し、検索依頼をいつでも実施できるようにしている。通信制御機能は、端末制御プログラム56からの要求に対してこの端末50に繋がっているすべてのサーバと通信して検索処理を依頼し、サーバから応答があれば、その応答を端末制御プログラム56に返すようにしている。
FIG. 4 is a diagram showing a relationship between a terminal and a server according to the second embodiment, and FIG. 5 is a diagram showing an example of slip image data.
The terminal 50 includes a terminal control program 56 and a communication program 57, and constitutes an information communication program. The terminal control program 56 is a user program that functions to perform processing for operator input and to display processing results. On the other hand, the communication program 57 has a server connection state monitoring function and a server communication control function. The server connection status monitoring function periodically checks the connection status with the server, and if there is an unconnected server, it can reconnect to that server and perform a search request at any time. I am doing so. The communication control function communicates with all servers connected to the terminal 50 in response to a request from the terminal control program 56 and requests a search process. If there is a response from the server, the response is sent to the terminal control program 56. I am trying to return it.

端末50に繋がっているサーバとしては、図示の例では、伝票データベース13,23,33を管理しているサーバとすることができる。たとえば、伝票データベース13のサーバは、図1におけるサーバ10、伝票データベース23,33のサーバは、他の拠店のサーバ20,30とすることができる。伝票データベース13,23,33は、それぞれ伝票番号と伝票イメージデータとの対応表であるデータテーブル14,24,34と、伝票イメージデータの実体とを格納している。第2の実施の形態では、各サーバの伝票番号は、この情報通信システムの中でそれぞれユニークな番号である。   The server connected to the terminal 50 can be a server that manages the slip databases 13, 23, and 33 in the illustrated example. For example, the server of the slip database 13 can be the server 10 in FIG. 1, and the servers of the slip databases 23 and 33 can be the servers 20 and 30 of other stores. The slip databases 13, 23, and 33 store data tables 14, 24, and 34, which are correspondence tables of slip numbers and slip image data, respectively, and the entity of the slip image data. In the second embodiment, the slip number of each server is a unique number in the information communication system.

端末50では、たとえばキーボード110から伝票番号が入力されると、端末制御プログラム56は、検索処理を通信プログラム57に依頼し、通信プログラム57は、その伝票番号の検索処理をすべてのサーバに一斉に依頼する。すべてのサーバは、通知された検索条件である伝票番号をキーに伝票データベース13,23,33を検索し、該当する伝票番号があれば、それに対応する伝票イメージデータを端末50に送信する。該当する伝票番号がなければ、たとえば「該当データなし」のメッセージデータを端末50に送信する。   In the terminal 50, for example, when a slip number is input from the keyboard 110, the terminal control program 56 requests the communication program 57 to perform a search process, and the communication program 57 performs the search process for the slip number all at once. Ask. All the servers search the slip databases 13, 23, 33 using the notified slip number as a search condition as a key, and if there is a corresponding slip number, sends the corresponding slip image data to the terminal 50. If there is no corresponding slip number, for example, message data “No corresponding data” is transmitted to the terminal 50.

端末50がサーバからの応答を受信すると、通信プログラム57は、受けた伝票イメージデータを端末制御プログラム56に渡し、端末制御プログラム56は、その伝票イメージデータをモニタ109に表示する。サーバからの応答に伝票イメージデータがなければ、「該当データなし」のメッセージをモニタ109に表示する。伝票イメージデータは、たとえば図5に示したように、伝票に記入および署名捺印した取引情報をイメージデータ化したものである。   When the terminal 50 receives a response from the server, the communication program 57 passes the received slip image data to the terminal control program 56, and the terminal control program 56 displays the slip image data on the monitor 109. If there is no slip image data in the response from the server, a message of “no corresponding data” is displayed on the monitor 109. For example, as shown in FIG. 5, the slip image data is obtained by converting the transaction information entered and signed and signed into the slip into image data.

図6は端末制御プログラムの処理の流れを示すフローチャートである。なお、第2の実施の形態に係る端末50においても、図3に示したハードウェアと同じハードウェアで構成されており、したがって、以下のそれぞれの処理は、CPU101が処理している。   FIG. 6 is a flowchart showing the flow of processing of the terminal control program. Note that the terminal 50 according to the second embodiment is also configured with the same hardware as the hardware illustrated in FIG. 3, and therefore the following processing is performed by the CPU 101.

端末制御プログラム56では、まず、CPU101がオペレータから伝票番号等の入力があるかないかを判断し、入力があるまで待つ(ステップS21)。伝票番号等の入力があると、CPU101は、伝票番号を検索条件とした検索処理を通信プログラム57に依頼する(ステップS22)。   In the terminal control program 56, first, the CPU 101 determines whether or not there is an input such as a slip number from the operator, and waits until there is an input (step S21). When a slip number or the like is input, the CPU 101 requests the communication program 57 to perform a search process using the slip number as a search condition (step S22).

次に、CPU101は、応答があったかどうかを判断し、応答がなければ、応答があるまで待つ(ステップS23)。応答があれば、CPU101は、その応答にサーバからの受信データである伝票イメージデータが含まれているかどうかを判断する(ステップS24)。応答に伝票イメージデータが含まれていれば、CPU101は、その伝票イメージデータをモニタ109に表示する(ステップS25)。   Next, the CPU 101 determines whether or not there is a response. If there is no response, the CPU 101 waits until there is a response (step S23). If there is a response, the CPU 101 determines whether the response includes slip image data that is received data from the server (step S24). If slip image data is included in the response, the CPU 101 displays the slip image data on the monitor 109 (step S25).

受信データのない応答があった場合、CPU101は、通信プログラム57から未接続サーバの通知の有無を判断し(ステップS26)、未接続サーバがなければ、たとえば「該当データなし」のメッセージをモニタ109に表示する(ステップS27)。もし、未接続サーバの通知があれば、CPU101は、たとえば接続処理中のサーバのリストをモニタ109に表示する(ステップS28)。ステップS25,S27,S28において、画面表示が終わったら、それぞれステップS21の処理に戻る。   If there is a response with no received data, the CPU 101 determines whether there is a notification of an unconnected server from the communication program 57 (step S26). If there is no unconnected server, for example, a message “No corresponding data” is displayed on the monitor 109. (Step S27). If there is a notification of an unconnected server, the CPU 101 displays, for example, a list of servers being connected on the monitor 109 (step S28). When the screen display is finished in steps S25, S27, and S28, the process returns to step S21.

以上のように、この通信プログラムでは、通信プログラム57に対して検索処理の依頼をした後に、応答のあったサーバの中に検索データがあれば、優先的にそのデータを画面表示する。検索できたサーバの中に検索データがなく未接続サーバの通知がなければ、該当データなしを画面表示する。もし、未接続サーバがあれば、そのサーバに対する再接続の試行を待たずに即時に通知された未接続サーバのリストを表示する。これにより、オペレータは、待たされることなく、検索結果を知ることができる。   As described above, in this communication program, if there is search data in the server that responds after requesting the communication program 57 for search processing, the data is preferentially displayed on the screen. If there is no search data among the servers that can be searched and there is no notification of an unconnected server, the screen displays that there is no corresponding data. If there is an unconnected server, a list of unconnected servers notified immediately is displayed without waiting for a reconnection attempt to the server. Thereby, the operator can know the search result without waiting.

図7は通信プログラムの処理の流れを示すフローチャート、図8は通信処理に使われるテーブルを示す図であって、(A)はサーバ管理テーブル、(B)および(C)は作業テーブルを示している。図9はサーバ接続状態更新処理の流れを示すフローチャートである。   FIG. 7 is a flowchart showing the processing flow of the communication program, FIG. 8 is a diagram showing a table used for the communication processing, (A) is a server management table, (B) and (C) are work tables. Yes. FIG. 9 is a flowchart showing the flow of the server connection state update process.

通信プログラム57は、まず、起動時にサーバ管理テーブルの状態を未接続にする(ステップS31)。サーバ管理テーブルは、図8の(A)に示したように、「サーバ名」、「ホスト名」、「IPアドレス」および「状態」の欄を有しており、通信プログラム57の起動時にCPU101が「状態」の欄を「未接続」に初期設定する。次に、CPU101は、接続処理中番号を表す変数nを「0」に設定しておく(ステップS32)。次に、CPU101は、サーバ接続状態更新処理を実行する(ステップS33)。   First, the communication program 57 makes the state of the server management table unconnected at the time of activation (step S31). As shown in FIG. 8A, the server management table has columns of “server name”, “host name”, “IP address”, and “status”. When the communication program 57 is activated, the CPU 101 Initialize the “Status” column to “Not connected”. Next, the CPU 101 sets a variable n representing the connection processing in progress number to “0” (step S32). Next, the CPU 101 executes server connection state update processing (step S33).

サーバ接続状態更新処理は、図9に示したように、CPU101が全サーバの接続確認(死活確認)をし、未接続のサーバについては、接続処理を試行する(ステップS71)。次に、CPU101は、接続監視タイマをセットし(ステップS72)、サーバより接続通知があったかどうかを判断する(ステップS73)。接続通知があれば、CPU101は、応答ありのサーバに対してサーバ管理テーブルの「状態」を「接続」に更新する(ステップS74)。ステップS73において、サーバより接続通知がなければ、ステップS74の処理はパスされる。次に、CPU101は、セットされた接続監視タイマがタイムアウトしたかどうかを判断する(ステップS75)。接続監視タイマがタイムアウトしていない場合、処理は、ステップS73に戻り、タイムアウトしている場合は、定期チェックタイマをセットする(ステップS76)。   In the server connection status update process, as shown in FIG. 9, the CPU 101 performs connection confirmation (life check) for all servers, and tries connection processes for unconnected servers (step S71). Next, the CPU 101 sets a connection monitoring timer (step S72), and determines whether there is a connection notification from the server (step S73). If there is a connection notification, the CPU 101 updates the “status” of the server management table to “connected” for the server with a response (step S74). If there is no connection notification from the server in step S73, the process in step S74 is passed. Next, the CPU 101 determines whether or not the set connection monitoring timer has timed out (step S75). If the connection monitoring timer has not timed out, the process returns to step S73, and if it has timed out, the periodic check timer is set (step S76).

ここで、図7に戻って、CPU101は、端末制御プログラム56からの検索依頼があるかどうかを判断し(ステップS34)、検索依頼があれば、作業テーブルWORK1にサーバ管理テーブルの各サーバの状態を設定する(ステップS35)。次に、CPU101は、作業テーブルWORK1を参照して、接続中の全サーバに対して検索条件の伝票番号とともに検索依頼を送信して応答を待つ(ステップS36)。まず、CPU101は、全依頼サーバより応答が完了したかどうかを判断し(ステップS37)、完了していなければ、サーバより応答があるかどうかを判断し(ステップS38)、応答がなければ、ステップS37の処理に戻る。ステップS38において、サーバより応答があれば、CPU101は、データ(伝票イメージデータ)があるかどうかを判断し(ステップS39)、データがあれば、その受信データを端末制御プログラム56に通知して(ステップS40)、ステップS34の処理に戻る。ステップS39において、データがなければ、CPU101は、ステップS37の処理に戻る。   Here, returning to FIG. 7, the CPU 101 determines whether or not there is a search request from the terminal control program 56 (step S34), and if there is a search request, the status of each server in the server management table in the work table WORK1. Is set (step S35). Next, the CPU 101 refers to the work table WORK1 and transmits a search request together with the slip number of the search condition to all connected servers and waits for a response (step S36). First, the CPU 101 determines whether or not responses have been completed from all the requested servers (step S37). If not completed, the CPU 101 determines whether or not there is a response from the servers (step S38). The process returns to S37. In step S38, if there is a response from the server, the CPU 101 determines whether there is data (slip image data) (step S39), and if there is data, notifies the terminal control program 56 of the received data ( Step S40) and the process returns to step S34. If there is no data in step S39, the CPU 101 returns to the process of step S37.

ステップS37において、全依頼サーバからの応答が完了した場合、作業テーブルWORK1を参照して、未接続になっているサーバがあるかどうかを判断する(ステップS41)。未接続のサーバがなければ、CPU101は、端末制御プログラム56に「データなし」を通知して(ステップS42)、ステップS34の処理に戻る。未接続のサーバがあれば、CPU101は、作業テーブルWORK1を参照して「未接続」のサーバが接続処理中である旨の情報を端末制御プログラム56に通知する(ステップS43)。   In step S37, when responses from all the requested servers are completed, it is determined whether there is an unconnected server with reference to the work table WORK1 (step S41). If there is no unconnected server, the CPU 101 notifies the terminal control program 56 of “no data” (step S42), and returns to the process of step S34. If there is an unconnected server, the CPU 101 refers to the work table WORK1 and notifies the terminal control program 56 of information indicating that the “unconnected” server is being connected (step S43).

次に、CPU101は、接続処理中番号の変数nをインクリメントし(ステップS44)、別の作業テーブルWORK2に検索条件の伝票番号とともに作業テーブルWORK1のデータを待避して(ステップS45)、ステップS34の処理に戻る。なお、作業テーブルWORK2[n]は、検索依頼があって、接続中のサーバにデータがなく、かつ、未接続のサーバがある場合に、順次、作業テーブルWORK1のデータが追加して待避される。   Next, the CPU 101 increments the variable n of the connection processing number (step S44), saves the data of the work table WORK1 together with the slip number of the search condition in another work table WORK2 (step S45), and then proceeds to step S34. Return to processing. Note that the work table WORK2 [n] is saved by sequentially adding the data of the work table WORK1 when there is a search request and there is no data in the connected server and there is an unconnected server. .

次に、ステップS34において、検索依頼がない場合、CPU101は、サーバ接続状態更新処理の最後に設定された定期チェックタイマがタイムアウトしたかどうかが判断され(ステップS46)、タイムアウトしていなければ、ステップS34の処理に戻る。定期チェックタイマがタイムアウトしていれば、CPU101は、サーバ接続状態更新処理を実行し(ステップS47)、作業テーブルWORK2に待避データがあるかどうかを判断する(ステップS48)。作業テーブルWORK2に待避データがなければ、CPU101は、ステップS34の処理に戻り、検索依頼に関する一連の処理は終了し、次の検索依頼を待つことになる。その間、CPU101は、ステップS47において、サーバの接続状態を常に監視していて、未接続のサーバが検出されれば、その未接続になったサーバに対して再接続の処理を実行する。   Next, when there is no search request in step S34, the CPU 101 determines whether or not the periodic check timer set at the end of the server connection state update process has timed out (step S46). The process returns to S34. If the periodic check timer has timed out, the CPU 101 executes server connection status update processing (step S47), and determines whether there is any save data in the work table WORK2 (step S48). If there is no save data in the work table WORK2, the CPU 101 returns to the process of step S34, and a series of processes related to the search request ends, and the next search request is awaited. Meanwhile, in step S47, the CPU 101 constantly monitors the connection state of the server, and if an unconnected server is detected, the CPU 101 executes reconnection processing on the unconnected server.

ステップS48にて作業テーブルWORK2に待避データがあると判断された場合は、未接続のサーバに検索依頼を行っていないので、その未接続のサーバに対して、処理を続行することになる。まず、CPU101は、1番目の待避データを処理するために、作業番号の変数mに初期値の1を代入し(ステップS49)、次に、そのmがnより大きいかどうかを判断する(ステップS50)。   If it is determined in step S48 that there is saved data in the work table WORK2, the search request is not made to the unconnected server, and the process is continued for the unconnected server. First, in order to process the first saved data, the CPU 101 assigns an initial value 1 to the variable m of the work number (step S49), and then determines whether the m is greater than n (step S49). S50).

ステップS50の判断にて、mがnより小さい場合、CPU101は、作業テーブルWORK2[m]の待避データに「未接続」のサーバがあり、サーバ管理テーブルの「状態」が「接続」に変更になったサーバであるかどうかを判断する(ステップS51)。接続中になったサーバであれば、CPU101は、作業テーブルWORK2[m]の待避データを「接続」に変更する(ステップS52)。これにより、作業テーブルWORK2[m]から、「未接続」のサーバをなくしていき、未だ、一度も検索が実行されていない「未接続」のサーバのみに絞り込むようにしている。   If it is determined in step S50 that m is smaller than n, the CPU 101 changes the saved data of the work table WORK2 [m] to “not connected” and changes the “status” in the server management table to “connected”. It is determined whether or not the server is a failed server (step S51). If the server is in the connected state, the CPU 101 changes the saved data in the work table WORK2 [m] to “connected” (step S52). As a result, the “unconnected” servers are eliminated from the work table WORK2 [m], and only the “unconnected” servers that have not been searched yet are narrowed down.

次に、CPU101は、接続中になった全サーバに対して伝票番号とともに検索依頼を送信して応答を待つ(ステップS53)。まず、CPU101は、検索依頼をした全サーバより応答があったかどうかを判断し(ステップS54)、接続中になった全サーバの応答がなければ、サーバより応答があるかどうかを判断し(ステップS55)、応答がなければ、ステップS54の処理に戻る。ステップS55において、サーバより応答があれば、CPU101は、応答にデータ(伝票イメージデータ)があるかどうかを判断し(ステップS56)、データがあれば、WORK2[m]に待避された伝票番号とともに、その受信データを端末制御プログラム56に通知する(ステップS57)。ステップS56において、応答にデータがなければ、CPU101は、ステップS54の処理に戻る。   Next, the CPU 101 transmits a search request together with a slip number to all the connected servers and waits for a response (step S53). First, the CPU 101 determines whether or not there is a response from all the servers that requested the search (step S54). If there is no response from all the servers that are currently connected, the CPU 101 determines whether or not there is a response from the server (step S55). If there is no response, the process returns to step S54. In step S55, if there is a response from the server, the CPU 101 determines whether there is data (slip image data) in the response (step S56). If there is data, the CPU 101 stores the slip number saved in WORK2 [m]. The received data is notified to the terminal control program 56 (step S57). If there is no data in the response in step S56, the CPU 101 returns to the process of step S54.

ステップS54において、接続中になった全依頼サーバから応答があった場合、未接続のサーバがあるかどうかを判断する(ステップS58)。未接続のサーバがなくなっていれば、CPU101は、端末制御プログラム56に「データなし」を通知する(ステップS59)。なお、ステップS57,S59の処理に対する端末制御プログラム56の側での処理は、特に、図6には示していないが、受信した応答データ(伝票イメージデータ)または「データなし」の応答を保留している。この保留されている検索結果は、たとえばオペレータが別の業務に取り掛かっている場合、その業務が終了したタイミングで画面表示を行うようにするとよい。   In step S54, if there is a response from all the requesting servers that are connected, it is determined whether there is an unconnected server (step S58). If there is no unconnected server, the CPU 101 notifies the terminal control program 56 of “no data” (step S59). The processing on the terminal control program 56 side with respect to the processing in steps S57 and S59 is not particularly shown in FIG. 6, but the received response data (slip image data) or “no data” response is suspended. ing. For example, when the operator is engaged in another job, the search result that is put on hold may be displayed on the screen when the job is completed.

ステップS51において、接続中になったサーバがない場合、ステップS58において、未接続のサーバが残っている場合、CPU101は、変数mをインクリメントし(ステップS60)、ステップS50の処理に戻る。このとき、変数mはインクリメントされているため、ステップS50では、n<mの条件が成立すると、ステップS34の処理に戻ることになる。   In step S51, if there is no connected server, in step S58, if an unconnected server remains, the CPU 101 increments the variable m (step S60) and returns to the process of step S50. At this time, since the variable m is incremented, in step S50, when the condition of n <m is satisfied, the process returns to step S34.

以上のようにして、最初の検索で該当する検索データがなく、かつ、未接続のサーバがある場合、端末50は、接続処理中を表示して見かけ上は、処理を終了している。しかし、実際には、この検索依頼に対する処理は、バックグラウンドで最終的な検索結果が出るまで継続していて、その検索結果を保留するようにしている。すなわち、バックグラウンドの処理では、サーバ接続状態更新処理で未接続から接続中に更新となったサーバのみに検索依頼をし、そこで検索データが見つかれば、その受信データを端末制御プログラム56に通知する。もし、検索データが見つからなければ、未接続のサーバがなくなるまで接続中になったサーバに対して検索依頼をしていき、途中で検索データのあるサーバが見つかれば、そこからの受信データを端末制御プログラム56に通知する。最終的にすべてのサーバが接続状態になって、検索しても、検索データのあるサーバが見つからなければ、「データなし」を通知することになる。端末制御プログラム56に通知された受信データまたはデータなしの情報は、保留していて、必要なときに利用される。   As described above, when there is no corresponding search data in the first search and there is an unconnected server, the terminal 50 displays that the connection process is in progress and apparently ends the process. However, in practice, the processing for this search request continues until a final search result is obtained in the background, and the search result is put on hold. That is, in the background process, a search request is made only to the server that has been updated from the unconnected state during the server connection state update process, and if the search data is found there, the received data is notified to the terminal control program 56. . If the search data is not found, the search request is made to the connected server until there is no unconnected server. If a server with the search data is found on the way, the received data from there is sent to the terminal. The control program 56 is notified. Eventually, all servers are connected, and even if a search is made, if no server with search data is found, “no data” is notified. The received data or information without data notified to the terminal control program 56 is reserved and used when necessary.

図10はサーバ処理プログラムの処理の流れを示すフローチャートである。なお、サーバ10,20,30においても、図3に示したハードウェアと同じハードウェアで構成されており、したがって、以下のそれぞれの処理は、CPUが処理している。   FIG. 10 is a flowchart showing the flow of processing of the server processing program. Note that the servers 10, 20, and 30 are also configured with the same hardware as the hardware shown in FIG. 3, and therefore the following processes are performed by the CPU.

サーバでは、まず、CPUがクライアントである端末50から検索依頼があるかどうかを判断し、検索依頼がなければ、検索依頼があるまで待つ(ステップS81)。端末50から検索依頼を受信すると、CPUは、受信した伝票番号を検索キーとして伝票データベースを検索する(ステップS82)。   In the server, first, the CPU determines whether or not there is a search request from the terminal 50 as a client. If there is no search request, the CPU waits until there is a search request (step S81). When receiving the search request from the terminal 50, the CPU searches the slip database using the received slip number as a search key (step S82).

次に、CPUは、伝票データベースを検索した結果、検索データがあったかどうかを判断する(ステップS83)。検索データがあれば、CPUは、伝票データベースから、該当する伝票番号の伝票イメージデータを取り出し(ステップS84)、取り出したデータの伝票番号が検索を依頼した伝票番号と一致するかのデータチェックを行う(ステップS85)。その後、CPUは、検索依頼の応答としてデータチェック後の伝票イメージデータを端末50に送信するか、または、データなしのメッセージを端末50に送信し(ステップS86)、ステップS81の処理に戻る。   Next, the CPU determines whether there is search data as a result of searching the slip database (step S83). If there is search data, the CPU extracts the slip image data of the corresponding slip number from the slip database (step S84), and performs a data check to determine whether the slip number of the extracted data matches the slip number requested to be searched. (Step S85). Thereafter, the CPU transmits the slip image data after the data check to the terminal 50 as a response to the search request, or transmits a message with no data to the terminal 50 (step S86), and returns to the process of step S81.

なお、上記の第2の実施の形態では、端末制御プログラム56と通信プログラム57とを分けて構成した例を示したが、第1の実施の形態の場合のように、端末制御プログラム56と通信プログラム57とを一体で構成してもよい。   In the second embodiment, the terminal control program 56 and the communication program 57 are separately configured. However, as in the first embodiment, the terminal control program 56 and the communication program 57 communicate with each other. The program 57 may be integrated.

10,20,30 サーバ
12,22,32 データベース
13,23,33 伝票データベース
14,24,34 データテーブル
40 ネットワーク
50 端末
51 検索受付処理部
52 検索依頼処理部
53 サーバ接続状態監視部
54 サーバ接続状態記憶部
55 再接続処理部
56 端末制御プログラム
57 通信プログラム
100 コンピュータ
101 CPU
102 RAM
103 HDD
104 グラフィック処理装置
105 入力インタフェース
106 光学ドライブ装置
107 通信インタフェース
108 バス
109 モニタ
110 キーボード
111 マウス
112 光ディスク
10, 20, 30 Server 12, 22, 32 Database 13, 23, 33 Slip database 14, 24, 34 Data table 40 Network 50 Terminal 51 Search reception processing unit 52 Search request processing unit 53 Server connection status monitoring unit 54 Server connection status Storage unit 55 Reconnection processing unit 56 Terminal control program 57 Communication program 100 Computer 101 CPU
102 RAM
103 HDD
104 graphic processing device 105 input interface 106 optical drive device 107 communication interface 108 bus 109 monitor 110 keyboard 111 mouse 112 optical disk

Claims (6)

コンピュータに、
すべてのサーバとの接続状態を定期的にチェックして記憶し、
状態が未接続のサーバに対し再接続を試行して記憶した前記接続状態を更新し、
取引情報の検索を受け付けたときに、前記接続状態を参照して接続中のサーバに対して検索を依頼し、
接続中のサーバからの応答に該当する取引情報があるとき、当該取引情報を表示し、該当する取引情報がなく、かつ、未接続のサーバがないとき、該当データなしの情報を表示し、または、該当する取引情報がなく、かつ、未接続のサーバがあるとき、接続処理中を表す情報を表示する、
処理を実行させることを特徴とする情報通信プログラム。
On the computer,
Periodically check and remember the connection status with all servers,
Update the connection status stored by trying to reconnect to a server whose status is not connected,
When accepting a search for transaction information, refer to the connection status and request a search to the connected server,
When there is transaction information corresponding to the response from the connected server, the transaction information is displayed. When there is no corresponding transaction information and there is no unconnected server, information without corresponding data is displayed, or When there is no corresponding transaction information and there is an unconnected server, information indicating that the connection process is in progress is displayed.
An information communication program characterized by causing processing to be executed.
該当する取引情報がなく、かつ、未接続のサーバがあるとき、前記接続状態の定期的なチェックをした後、接続中になったサーバがあるか否かを判断し、
接続中になったサーバがある場合に、接続中になったサーバに対して検索を依頼し、
接続中になったサーバからの応答に該当する取引情報があるとき、当該取引情報を保留し、または、該当する取引情報がなく、かつ、未接続のサーバがないとき、該当データなしの情報を保留する、
処理をバックグラウンドで実行させることを特徴とする請求項1記載の情報通信プログラム。
When there is no corresponding transaction information and there is an unconnected server, after periodically checking the connection status, it is determined whether or not there is a connected server,
If there is a server that is connected, request a search for the server that is connected,
When there is transaction information corresponding to the response from the connected server, the transaction information is put on hold, or when there is no corresponding transaction information and there is no unconnected server, information with no corresponding data is displayed. Hold,
The information communication program according to claim 1, wherein the process is executed in the background.
保留された前記情報を任意のタイミングで表示させることを特徴とする請求項2記載の情報通信プログラム。   3. The information communication program according to claim 2, wherein the held information is displayed at an arbitrary timing. 取引情報の検索を受け付けたときに、最初に、検索を依頼するクライアントを配下においたサーバに対し接続確認後に検索を依頼し、当該サーバに該当データがない場合、または、当該サーバが未接続の場合に、他のすべてのサーバに対して検索を依頼する、処理を有していることを特徴とする請求項1記載の情報通信プログラム。   When accepting a search for transaction information, first request a search after confirming the connection to the server under which the client requesting the search is subordinate. If there is no corresponding data in the server, or the server is not connected The information communication program according to claim 1, further comprising a process for requesting a search to all other servers. 拠店毎に取引情報を分散して記憶および管理している複数のサーバに対して検索を依頼する情報通信装置において、
すべてのサーバとの接続状態を定期的にチェックするサーバ接続状態監視部と、
前記サーバ接続状態監視部による監視結果を記憶するサーバ接続状態記憶部と、
前記サーバ接続状態記憶部を参照して未接続のサーバについて再接続を試行する再接続処理部と、
前記取引情報の検索を受け付ける検索受付処理部と、
前記検索受付処理部が前記取引情報の検索を受け付けたときに、前記サーバ接続状態記憶部を参照して接続中のサーバに対して検索を依頼し、接続中のサーバからの応答に対し、該当する取引情報があるとき、当該取引情報を表示させ、該当する取引情報がなく、かつ、未接続のサーバがないとき、該当データなしの情報を表示させ、または、該当する取引情報がなく、かつ、未接続のサーバがあるとき、接続処理中を表すメッセージを表示させる検索依頼処理部と、
を備えていることを特徴とする情報通信装置。
In an information communication apparatus that requests a search to a plurality of servers that store and manage transaction information distributed for each base store,
A server connection status monitoring unit that periodically checks the connection status with all servers;
A server connection state storage unit for storing a monitoring result by the server connection state monitoring unit;
A reconnection processing unit that refers to the server connection state storage unit and tries to reconnect an unconnected server;
A search reception processing unit for receiving a search for the transaction information;
When the search acceptance processing unit accepts a search for the transaction information, the server connection status storage unit is referred to request a search for the connected server, and a response from the connected server is applicable. When there is transaction information to be displayed, the transaction information is displayed. When there is no corresponding transaction information and there is no unconnected server, information without corresponding data is displayed, or there is no corresponding transaction information. When there is an unconnected server, a search request processing unit that displays a message indicating that connection processing is in progress,
An information communication apparatus comprising:
コンピュータが、
すべてのサーバとの接続状態をチェックし、状態が未接続のサーバに対して再接続を試行することを繰り返して前記接続状態を定期的に更新し、
取引情報の検索を受け付けたときに、前記接続状態を参照して接続中のサーバに対して検索を依頼し、
接続中のサーバからの応答に該当する取引情報があるとき、当該取引情報を表示し、該当する取引情報がなく、かつ、未接続のサーバがないとき、該当データなしの情報を表示させ、または、該当する取引情報がなく、かつ、未接続のサーバがあるとき、接続処理中を表すメッセージを表示する、
ことを特徴とする情報通信方法。
Computer
Check the connection status with all servers, update the connection status periodically by repeatedly trying to reconnect to the unconnected server,
When accepting a search for transaction information, refer to the connection status and request a search to the connected server,
When there is transaction information corresponding to the response from the connected server, the transaction information is displayed. When there is no corresponding transaction information and there is no unconnected server, information without corresponding data is displayed, or When there is no applicable transaction information and there is an unconnected server, a message indicating that the connection process is in progress is displayed.
An information communication method characterized by the above.
JP2013271469A 2013-12-27 2013-12-27 Information communication program, information communication apparatus, and information communication method Active JP6055401B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013271469A JP6055401B2 (en) 2013-12-27 2013-12-27 Information communication program, information communication apparatus, and information communication method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013271469A JP6055401B2 (en) 2013-12-27 2013-12-27 Information communication program, information communication apparatus, and information communication method

Publications (2)

Publication Number Publication Date
JP2015125700A JP2015125700A (en) 2015-07-06
JP6055401B2 true JP6055401B2 (en) 2016-12-27

Family

ID=53536338

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013271469A Active JP6055401B2 (en) 2013-12-27 2013-12-27 Information communication program, information communication apparatus, and information communication method

Country Status (1)

Country Link
JP (1) JP6055401B2 (en)

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0773193A (en) * 1993-09-01 1995-03-17 Nippon Telegr & Teleph Corp <Ntt> Database search system
JP3759675B2 (en) * 1998-03-20 2006-03-29 富士通株式会社 Monitoring terminal backup method in area-specific network monitoring system
US6859830B1 (en) * 2000-06-23 2005-02-22 Microsoft Corporation Method and system for detecting a dead server
JP2002094429A (en) * 2000-09-14 2002-03-29 Hitachi Kokusai Electric Inc Data communication method
JP2002157195A (en) * 2000-11-22 2002-05-31 Seiko Epson Corp E-mail Efficient Receiving on Portable Mail Terminal
JP2004118399A (en) * 2002-09-25 2004-04-15 Matsushita Electric Ind Co Ltd Expert search system
JP2004113491A (en) * 2002-09-26 2004-04-15 Fuji Photo Film Co Ltd Medical image information management system and medical image processing apparatus
JP2005332176A (en) * 2004-05-19 2005-12-02 Sony Corp Content acquisition method
JP2008077475A (en) * 2006-09-22 2008-04-03 Oki Electric Ind Co Ltd Server client system and communication state delivery server
JP5042647B2 (en) * 2007-01-26 2012-10-03 ヒューレット−パッカード デベロップメント カンパニー エル.ピー. Search system and method
JP4582167B2 (en) * 2007-04-27 2010-11-17 ダイキン工業株式会社 Group management device and group management program

Also Published As

Publication number Publication date
JP2015125700A (en) 2015-07-06

Similar Documents

Publication Publication Date Title
US20210044662A1 (en) Server side data cache system
CN108121755B (en) Workload switching in database systems using hint-based routing
US8713046B2 (en) Snapshot isolation support for distributed query processing in a shared disk database cluster
US11687595B2 (en) System and method for searching backups
JP5686034B2 (en) Cluster system, synchronization control method, server device, and synchronization control program
CN103593266A (en) ot standby method based on arbitration disk mechanism
US9998544B2 (en) Synchronization testing of active clustered servers
JP2014044553A (en) Program, information processing device, and information processing system
US9461884B2 (en) Information management device and computer-readable medium recorded therein information management program
JP2018005299A (en) Database management device, database management method and database management program
KR20140047448A (en) Client and database server for resumable transaction and method thereof
EP2871576A1 (en) Data allocation method, data allocation program, and information processing system
CN106302667A (en) Code management system and method
JP2008203939A (en) Log management apparatus, log management method, program, and recording medium
JP2012155634A (en) Information processing program, information processing device and information processing method
JP6055401B2 (en) Information communication program, information communication apparatus, and information communication method
US10972302B2 (en) Scalable computing systems for generating notifications, and methods of operating thereof
CN110175179B (en) Data transmission method and system, service node and storage device
JP2012234462A (en) Data management device and data management method and program
JP6398786B2 (en) Database system, database server, database server program, database client, and database client program
US20260003855A1 (en) Apparatuses, methods, and computer program products for configuring a data partition based on a data ledger associated with a data migration event
CN110263098A (en) Distributed job method, system and device applied to distributed job engine
CN114372059B (en) Resource data acquisition method, device, electronic device, and storage medium
US10956838B2 (en) Retail store information technology incident tracking mobile application
JP2011043865A (en) Data processor, data processing method and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20151210

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20161124

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20161202

R150 Certificate of patent or registration of utility model

Ref document number: 6055401

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250