JP7708461B1 - SERVER, PROCESSING SYSTEM, PROCESSING METHOD, AND PROGRAM - Google Patents

SERVER, PROCESSING SYSTEM, PROCESSING METHOD, AND PROGRAM

Info

Publication number
JP7708461B1
JP7708461B1 JP2024039853A JP2024039853A JP7708461B1 JP 7708461 B1 JP7708461 B1 JP 7708461B1 JP 2024039853 A JP2024039853 A JP 2024039853A JP 2024039853 A JP2024039853 A JP 2024039853A JP 7708461 B1 JP7708461 B1 JP 7708461B1
Authority
JP
Japan
Prior art keywords
server
alive
frame
monitoring
dead
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
JP2024039853A
Other languages
Japanese (ja)
Other versions
JP2025140443A (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.)
NEC Platforms Ltd
Original Assignee
NEC Platforms 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 NEC Platforms Ltd filed Critical NEC Platforms Ltd
Priority to JP2024039853A priority Critical patent/JP7708461B1/en
Application granted granted Critical
Publication of JP7708461B1 publication Critical patent/JP7708461B1/en
Publication of JP2025140443A publication Critical patent/JP2025140443A/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

【課題】死活監視フレームの一部がロストしても、死活監視の開始までの時間を短くすることのできるサーバーを提供する。
【解決手段】サーバーは、死活監視において、自サーバーとは別のサーバーから送信された死活監視フレームである複数の第1死活監視フレームのうちの最初の第1死活監視フレームを受信する前に、死活監視フレームである第2死活監視フレームを前記別のサーバーに送信し、前記複数の第1死活監視フレームに基づいて、ネットワークがダウンしているか否かを判定する制御機構、を備える。
【選択図】図13

To provide a server capable of shortening the time until alive-or-dead monitoring begins even if some alive-or-dead monitoring frames are lost.
[Solution] In health monitoring, the server is provided with a control mechanism that transmits a second health monitoring frame, which is a health monitoring frame, to a server other than the server itself before receiving the first of a plurality of first health monitoring frames, which are health monitoring frames transmitted from the server other than the server itself, and determines whether the network is down or not based on the plurality of first health monitoring frames.
[Selection] Figure 13

Description

本開示は、サーバー、処理システム、処理方法、およびプログラムに関する。 The present disclosure relates to a server, a processing system, a processing method, and a program.

さまざまな分野でサーバーどうしが通信を行うシステムが用いられている。特許文献1には、関連する技術として、仮想化システムにおいて、動作に異常があるとき、アプリケーション又は仮想マシンの異常か、ネットワーク側の異常かの切り分けに関する技術が開示されている。 Systems in which servers communicate with each other are used in a variety of fields. Patent Document 1 discloses a related technology for determining whether an abnormality in the operation of a virtualization system is due to an abnormality in an application or virtual machine, or due to an abnormality on the network side.

特開2014-007609号公報JP 2014-007609 A

特許文献1に関連するシステムでは、死活監視用のUDP(User Datagram Protocol)パケットを受信するまで死活監視が開始されず、UDPパケットがロストしてしまうと、死活監視の開始まで時間を要してしまう。そのため、死活監視フレームの一部がロストしても、死活監視の開始までの時間を短くすることのできる技術が求められている。 In the system related to Patent Document 1, alive monitoring does not start until a User Datagram Protocol (UDP) packet for alive monitoring is received, and if the UDP packet is lost, it takes time for alive monitoring to start. Therefore, there is a demand for technology that can shorten the time until alive monitoring starts even if some of the alive monitoring frames are lost.

本開示の各態様は、上記の課題を解決することのできるサーバー、処理システム、処理方法、およびプログラムを提供することを目的の1つとしている。 Each aspect of the present disclosure has the objective of providing a server, processing system, processing method, and program that can solve the above problems.

上記目的を達成するために、本開示の一態様によれば、サーバーは、死活監視において、自サーバーとは別のサーバーから送信された死活監視フレームである複数の第1死活監視フレームのうちの最初の第1死活監視フレームを受信する前に、死活監視フレームである第2死活監視フレームを前記別のサーバーに送信し、前記複数の第1死活監視フレームに基づいて、ネットワークがダウンしているか否かを判定する制御機構、を備え、前記別のサーバーは、前記自サーバーから前記第2死活監視フレームを受信する前に、接続フレームを前記自サーバーに送信し、前記制御機構は、前記第2死活監視フレームおよび前記別のサーバーから送信された応答フレームに基づいて、前記ネットワークがダウンしているか否かを判定する In order to achieve the above-mentioned object, according to one aspect of the present disclosure, in a health/death monitoring, a server is provided with a control mechanism that transmits a second health/death monitoring frame to another server before receiving the first of a plurality of first health/death monitoring frames, which are health/death monitoring frames transmitted from a server other than the server itself, and determines whether or not the network is down based on the plurality of first health/death monitoring frames, and the other server transmits a connection frame to the server itself before receiving the second health/death monitoring frame from the server itself, and the control mechanism determines whether or not the network is down based on the second health/death monitoring frame and the response frame transmitted from the other server .

上記目的を達成するために、本開示の別の態様によれば、処理システムは、上記のサーバーと、前記別のサーバーと、を備える。 To achieve the above object, according to another aspect of the present disclosure, a processing system includes the above server and the other server .

上記目的を達成するために、本開示の別の態様によれば、処理方法は、死活監視において、自サーバーとは別のサーバーから送信された死活監視フレームである複数の第1死活監視フレームのうちの最初の第1死活監視フレームを受信する前に、死活監視フレームである第2死活監視フレームを前記別のサーバーに送信することと、前記複数の第1死活監視フレームに基づいて、ネットワークがダウンしているか否かを判定することと、前記別のサーバーが、前記自サーバーから前記第2死活監視フレームを受信する前に、接続フレームを前記自サーバーに送信した場合、前記第2死活監視フレームおよび前記別のサーバーから送信された応答フレームに基づいて、前記ネットワークがダウンしているか否かを判定することと、を含む In order to achieve the above object, according to another aspect of the present disclosure, a processing method includes, in health monitoring, sending a second health monitoring frame, which is a health monitoring frame, to a server other than the own server before receiving a first of a plurality of first health monitoring frames, which are health monitoring frames transmitted from the other server, determining whether or not the network is down based on the plurality of first health monitoring frames, and, if the other server sends a connection frame to the own server before receiving the second health monitoring frame from the own server, determining whether or not the network is down based on the second health monitoring frame and the response frame sent from the other server .

上記目的を達成するために、本開示の別の態様によれば、プログラムは、コンピュータに、死活監視において、自サーバーとは別のサーバーから送信された死活監視フレームである複数の第1死活監視フレームのうちの最初の第1死活監視フレームを受信する前に、死活監視フレームである第2死活監視フレームを前記別のサーバーに送信することと、前記複数の第1死活監視フレームに基づいて、ネットワークがダウンしているか否かを判定することと、前記別のサーバーが、前記自サーバーから前記第2死活監視フレームを受信する前に、接続フレームを前記自サーバーに送信した場合、前記第2死活監視フレームおよび前記別のサーバーから送信された応答フレームに基づいて、前記ネットワークがダウンしているか否かを判定することと、を実行させる In order to achieve the above object, according to another aspect of the present disclosure, a program causes a computer to perform the following operations in health/death monitoring: before receiving a first of a plurality of first health/death monitoring frames, which are health/death monitoring frames transmitted from a server other than the own server, send a second health/death monitoring frame to the other server; determine whether or not the network is down based on the plurality of first health/death monitoring frames; and, if the other server sends a connection frame to the own server before receiving the second health/death monitoring frame from the own server, determine whether or not the network is down based on the second health/death monitoring frame and the response frame sent from the other server .

本開示の各態様によれば、死活監視フレームの一部がロストしても、死活監視の開始までの時間を短くすることができる。 According to each aspect of the present disclosure, even if some of the alive monitoring frames are lost, the time until alive monitoring begins can be shortened.

本開示のいくつかの実施形態にかかる処理システムの構成の一例を示す図である。FIG. 1 illustrates an example of a configuration of a processing system according to some embodiments of the present disclosure. 本開示のいくつかの実施形態にかかる制御機構が有する機能の一例を示す図である。FIG. 13 is a diagram showing an example of functions of a control mechanism according to some embodiments of the present disclosure. 本開示のいくつかの実施形態にかかる処理システムの処理フローの一例を示す図である。FIG. 2 is a diagram illustrating an example of a processing flow of a processing system according to some embodiments of the present disclosure. 本開示のいくつかの実施形態にかかる処理システムが行う第1処理を説明するための図である。FIG. 2 is a diagram for explaining a first process performed by a processing system according to some embodiments of the present disclosure. 本開示のいくつかの実施形態にかかる処理システムが行う第2処理および第3処理を説明するための図である。11A to 11C are diagrams for explaining second and third processes performed by a processing system according to some embodiments of the present disclosure. 本開示のいくつかの実施形態にかかる死活監視フレームの送信を説明するための第1の図である。FIG. 1 is a first diagram for explaining transmission of a health check frame according to some embodiments of the present disclosure. 本開示のいくつかの実施形態にかかる死活監視フレームの送信を説明するための第2の図である。FIG. 2 is a second diagram for explaining transmission of health check frames according to some embodiments of the present disclosure. 本開示のいくつかの実施形態にかかる処理システムが行う第4処理を説明するための図である。FIG. 11 is a diagram for explaining a fourth process performed by a processing system according to some embodiments of the present disclosure. 本開示のいくつかの実施形態にかかる処理システムが行う第5処理を説明するための図である。FIG. 11 is a diagram for explaining a fifth process performed by a processing system according to some embodiments of the present disclosure. 本開示のいくつかの実施形態にかかる処理システムが行う第6処理を説明するための図である。FIG. 13 is a diagram for explaining a sixth process performed by a processing system according to some embodiments of the present disclosure. 本開示のいくつかの実施形態にかかる処理システムが行う判定の状態の一例を示す図である。FIG. 13 is a diagram illustrating an example of a state of a determination made by a processing system according to some embodiments of the present disclosure. 本開示のいくつかの実施形態にかかるサーバーが行う機能の停止の一例を示す図である。FIG. 13 is a diagram illustrating an example of a function suspension performed by a server in accordance with some embodiments of the present disclosure. 本開示のいくつかの実施形態にかかるサーバーの処理フローの一例を示す図である。FIG. 4 is a diagram illustrating an example of a processing flow of a server according to some embodiments of the present disclosure. 本開示のいくつかの実施形態にかかるサーバーの処理フローの一例を示す図である。FIG. 4 is a diagram illustrating an example of a processing flow of a server according to some embodiments of the present disclosure. 少なくとも1つの実施形態に係るコンピュータの構成を示す概略ブロック図である。FIG. 1 is a schematic block diagram illustrating a configuration of a computer according to at least one embodiment.

以下、図面を参照しながら実施形態について詳しく説明する。
<実施形態>
本開示の一実施形態にかかる処理システム1について図面を参照して説明する。処理システム1は、後述するサーバー装置10aおよび10b間のネットワークがダウンしていないことを監視し、ダウンした時には迅速に発見するシステムである。これにより、サーバー装置10aおよび10bを用いたユーザーによる通信への影響を抑制することが可能になる。また、処理システム1は、ユーザーの意思により、ネットワークがダウンしていないことの監視を利用しない、あるいは停止することを可能にする。
Hereinafter, the embodiments will be described in detail with reference to the drawings.
<Embodiment>
A processing system 1 according to an embodiment of the present disclosure will be described with reference to the drawings. The processing system 1 is a system that monitors whether a network between server devices 10a and 10b, which will be described later, is down and quickly detects when it is down. This makes it possible to suppress the impact on communication by users using the server devices 10a and 10b. In addition, the processing system 1 makes it possible for a user to not use or stop monitoring whether the network is down at their discretion.

(本開示の処理システムの構成)
図1は、本開示のいくつかの実施形態にかかる処理システム1の構成の一例を示す図である。本開示の一実施形態にかかる処理システム1は、図1に示すように、サーバー10a、10b、通信装置20、およびケーブル30a、30bを備える。サーバー10aは、図1に示すように、ケーブル30aを介して通信装置20に接続される。サーバー10bは、図1に示すように、ケーブル30bを介して通信装置20に接続される。サーバー10a、10bを総称してサーバー10と呼ぶことがある。また、ケーブル30a、30bを総称してケーブル30と呼ぶことがある。ケーブル30は、例えば、LAN(Local Area Network)ケーブルである。
(Configuration of the processing system of the present disclosure)
Fig. 1 is a diagram illustrating an example of a configuration of a processing system 1 according to some embodiments of the present disclosure. As shown in Fig. 1, the processing system 1 according to one embodiment of the present disclosure includes servers 10a and 10b, a communication device 20, and cables 30a and 30b. As shown in Fig. 1, the server 10a is connected to the communication device 20 via the cable 30a. As shown in Fig. 1, the server 10b is connected to the communication device 20 via the cable 30b. The servers 10a and 10b may be collectively referred to as servers 10. The cables 30a and 30b may be collectively referred to as cables 30. The cable 30 is, for example, a LAN (Local Area Network) cable.

サーバー10のそれぞれは、ネットワーク装置101を備える。ネットワーク装置101は、図1に示すように、NIC(Network Interface Card)1011、NICドライバ1012、および制御機構1013を備える。 Each of the servers 10 includes a network device 101. As shown in FIG. 1, the network device 101 includes a NIC (Network Interface Card) 1011, a NIC driver 1012, and a control mechanism 1013.

NIC1011は、そのNIC1011自身を備えるサーバー10を通信ネットワーク(例えば、Local Area Network)に接続するためのカード型の拡張装置である。 The NIC 1011 is a card-type expansion device for connecting the server 10 including the NIC 1011 to a communication network (e.g., a local area network).

NICドライバ1012は、NICドライバ1012自信を備えるネットワーク装置101におけるNIC1011とOS(Operating System)との間の通信を仲介するプログラムである。NICドライバ1012は、NICドライバ1012自信を備えるネットワーク装置101内で動作する。 The NIC driver 1012 is a program that mediates communication between the NIC 1011 and the OS (Operating System) in the network device 101 that includes the NIC driver 1012 itself. The NIC driver 1012 runs within the network device 101 that includes the NIC driver 1012 itself.

制御機構1013は、各サーバー10が備えるネットワーク装置101のファームウェアである。制御機構1013は、各ネットワーク装置101において、死活監視プログラムを動作させる。図2は、本開示のいくつかの実施形態にかかる制御機構1013が有する機能の一例を示す図である。制御機構1013は、図2に示すように、フレーム送受信機能1013a、カウンター機能1013b、タイマー機能1013c、および死活監視フラグ設定機能1013dを有する。 The control mechanism 1013 is firmware for the network device 101 provided in each server 10. The control mechanism 1013 runs a health monitoring program in each network device 101. FIG. 2 is a diagram showing an example of functions possessed by the control mechanism 1013 according to some embodiments of the present disclosure. As shown in FIG. 2, the control mechanism 1013 has a frame transmission/reception function 1013a, a counter function 1013b, a timer function 1013c, and a health monitoring flag setting function 1013d.

フレーム送受信機能1013aは、死活監視用のフレームである死活監視フレームの送受信を行うための機能である。死活監視フレームは、死活監視用のUDP(User Datagram Protocol)パケットを含む。カウンター機能1013bは、死活監視フレームの受信をカウントし、アップおよびカウント値のチェックを行うための機能である。タイマー機能1013cは、時間経過を計測するための機能である。死活監視フラグ設定機能1013dは、死活監視の有効/無効を制御するための設定を行う機能である。死活監視とは、サーバーなどの装置やその装置上で実行されているソフトウェアの稼働状況を継続的にチェックすることである。 The frame transmission/reception function 1013a is a function for transmitting and receiving alive monitoring frames, which are frames for alive monitoring. The alive monitoring frames include UDP (User Datagram Protocol) packets for alive monitoring. The counter function 1013b is a function for counting the reception of alive monitoring frames, and for incrementing and checking the count value. The timer function 1013c is a function for measuring the passage of time. The alive monitoring flag setting function 1013d is a function for setting the enable/disable of alive monitoring. Alive monitoring refers to continuously checking the operating status of devices such as servers and the software running on those devices.

制御機構1013は、フレーム送受信機能1013aにより、ソケットAPI(Application Programming Interface)1013a5を使用して、死活監視フレームの送受信を行う。ソケットAPI1013a5は、アプリケーションプログラム間で、様々な通信機能を実行できるようにするソケット・コールの集合である。例えば、ソケットAPI1013a5は、ネットワーク上の他のユーザー(プロセス)との接続のセットアップと確立を実行するためのソケット・コール、他のユーザー(プロセス)との間のデータの送受信を実行するためのソケット・コールなどを含む。 The control mechanism 1013 uses the frame transmission/reception function 1013a to send and receive alive monitoring frames using a socket API (Application Programming Interface) 1013a5. The socket API 1013a5 is a set of socket calls that enable various communication functions to be executed between application programs. For example, the socket API 1013a5 includes socket calls for setting up and establishing connections with other users (processes) on the network, and socket calls for sending and receiving data between other users (processes).

また、制御機構1013は、カウンター機能1013bにより、一定間隔Tでカウントアップおよびカウント値のチェックを行う。制御機構1013は、タイマー機能1013cにより、例えば、一定の時間経過Tを繰り返し計測する。制御機構1013は、死活監視フラグ設定機能1013dにより、OSや上位アプリケーションから設定される死活監視の有効/無効を制御するための設定を行う。 The control mechanism 1013 also uses a counter function 1013b to count up and check the count value at regular intervals T. The control mechanism 1013 uses a timer function 1013c to repeatedly measure, for example, the passage of a certain period of time T. The control mechanism 1013 uses a health check flag setting function 1013d to perform settings for controlling whether health checks are enabled or disabled, as set by the OS or a higher-level application.

通信装置20は、例えば、通信ネットワークに接続されたルーター、またはルーターに接続されたハブ(HUB)である。 The communication device 20 is, for example, a router connected to a communication network, or a hub connected to a router.

ケーブル30aは、サーバー10aと通信装置20とを接続する。この接続により、サーバー10aは、通信ネットワークに接続される。ケーブル30bは、サーバー10bと通信装置20とを接続する。この接続により、サーバー10bは、通信ネットワークに接続される。このように、サーバー10aと通信装置20とが接続され、サーバー10bと通信装置20とが接続されることにより、サーバー10aとサーバー10bとが通信ネットワークを介して通信可能な状態となる。 Cable 30a connects server 10a and communication device 20. Through this connection, server 10a is connected to the communication network. Cable 30b connects server 10b and communication device 20. Through this connection, server 10b is connected to the communication network. In this way, by connecting server 10a and communication device 20 and server 10b and communication device 20, server 10a and server 10b are able to communicate via the communication network.

なお、本開示の一実施形態にかかる処理システム1が行う上述の処理は、一例であって、上述の処理に限定されない。例えば、処理システム1は、以下で説明する処理を行うものであってもよい。 Note that the above-described processing performed by the processing system 1 according to an embodiment of the present disclosure is merely an example, and is not limited to the above-described processing. For example, the processing system 1 may perform the processing described below.

(本開示の処理システムが行う処理)
図3は、本開示のいくつかの実施形態にかかる処理システム1の処理フローの一例を示す図である。ここでは、図3に示す処理システム1が行う処理について説明する。なお、ここでは、サーバー10aの制御機構1013と、サーバー10bの制御機構1013との間で通信する場合の死活監視についての処理を説明する。
(Processing performed by the processing system of the present disclosure)
Fig. 3 is a diagram showing an example of a processing flow of the processing system 1 according to some embodiments of the present disclosure. Here, a process performed by the processing system 1 shown in Fig. 3 will be described. Note that here, a process of alive monitoring when communication is performed between the control mechanism 1013 of the server 10a and the control mechanism 1013 of the server 10b will be described.

サーバー10のネットワーク装置101において、制御機構1013は、死活監視プログラムを動作させる。図4は、本開示のいくつかの実施形態にかかる処理システム1が行う第1処理を説明するための図である。第1処理は、例えば、処理システム1が行うステップS1の処理である。サーバー10の制御機構1013は、死活監視フラグ設定機能1013dを有効にして、ネットワーク装置101が死活監視フラグ設定機能1013dを用いて死活監視フラグを有効にした状態でのハンドシェイクにより、他方のサーバー10の制御機構1013との接続を確立する(ステップS1)。 In the network device 101 of the server 10, the control mechanism 1013 runs a health monitoring program. FIG. 4 is a diagram for explaining a first process performed by the processing system 1 according to some embodiments of the present disclosure. The first process is, for example, the process of step S1 performed by the processing system 1. The control mechanism 1013 of the server 10 enables the health monitoring flag setting function 1013d, and establishes a connection with the control mechanism 1013 of the other server 10 by a handshake with the network device 101 enabling the health monitoring flag using the health monitoring flag setting function 1013d (step S1).

具体的には、例えば、処理システム1において、サーバー10aの制御機構1013は、死活監視フラグを有効化する。そして、サーバー10aの制御機構1013は、接続フレームをサーバー10bに送信する。接続フレームは、接続確立用のUDPパケットを含むフレームである。UDPパケットのデータ部分が制御機構にて接続要求と認識できるデータフォーマットとなっている。この送信は、サーバー10bの制御機構1013が、サーバー10aから死活監視フレームを受信する前に行われる。サーバー10bの制御機構1013は、サーバー10aから接続フレームを受信する。サーバー10bの制御機構1013は、接続フレームを受信すると、その受信に応じて、応答フレームをサーバー10aに送信する。サーバー10aの制御機構1013は、サーバー10bから応答フレームを受信する。サーバー10aの制御機構1013は、サーバー10bから応答フレームを受信すると、その受信に応じて接続を確立した状態に遷移させる。また、処理システム1において、サーバー10bの制御機構1013は、死活監視フラグを有効化する。そして、サーバー10bの制御機構1013は、死活監視フレームをサーバー10aに送信する。この送信は、サーバー10aの制御機構1013が、サーバー10bから死活監視フレームを受信する前に行われる。サーバー10aの制御機構1013は、サーバー10bから死活監視フレームを受信する。サーバー10aの制御機構1013は、受信した死活監視フレームを受信すると、その受信に応じて、応答フレームをサーバー10bに送信する。サーバー10bの制御機構1013は、サーバー10aから応答フレームを受信する。サーバー10bの制御機構1013は、サーバー10aから応答フレームを受信すると、その受信に応じて接続を確立した状態に遷移させる。 Specifically, for example, in the processing system 1, the control mechanism 1013 of the server 10a activates the alive monitoring flag. Then, the control mechanism 1013 of the server 10a transmits a connection frame to the server 10b. The connection frame is a frame including a UDP packet for establishing a connection. The data portion of the UDP packet is in a data format that allows the control mechanism to recognize it as a connection request. This transmission is performed before the control mechanism 1013 of the server 10b receives the alive monitoring frame from the server 10a. The control mechanism 1013 of the server 10b receives the connection frame from the server 10a. When the control mechanism 1013 of the server 10b receives the connection frame, it transmits a response frame to the server 10a in response to the reception. The control mechanism 1013 of the server 10a receives the response frame from the server 10b. When the control mechanism 1013 of the server 10a receives the response frame from the server 10b, it transitions to a state in which a connection is established in response to the reception. Furthermore, in the processing system 1, the control mechanism 1013 of the server 10b enables the alive/dead monitoring flag. Then, the control mechanism 1013 of the server 10b transmits an alive/dead monitoring frame to the server 10a. This transmission is performed before the control mechanism 1013 of the server 10a receives the alive/dead monitoring frame from the server 10b. The control mechanism 1013 of the server 10a receives the alive/dead monitoring frame from the server 10b. When the control mechanism 1013 of the server 10a receives the received alive/dead monitoring frame, it transmits a response frame to the server 10b in response to the reception. The control mechanism 1013 of the server 10b receives the response frame from the server 10a. When the control mechanism 1013 of the server 10b receives the response frame from the server 10a, it transitions to a state in which a connection is established in response to the reception.

図5は、本開示のいくつかの実施形態にかかる処理システム1が行う第2処理および第3処理を説明するための図である。第2処理は、例えば、処理システム1が行うステップS2の処理である。第3処理は、例えば、処理システム1が行うステップS3の処理である。サーバー10の制御機構1013は、カウンター機能1013b、およびタイマー機能1013cを有効にする(ステップS2)。そして、サーバー10の制御機構1013は、フレーム送受信機能1013aによる死活監視フレームの送受信において、UDPの死活監視フレームの送信チェックおよび受信チェックを開始する(ステップS3)。例えば、送信チェックは、フレームの送信処理が正常に完了したかどうかを確認することにより行われる。また、例えば、受信チェックは、受信したフレームのデータ部分を読み取り、死活監視フレームを受信したかどうかを確認することにより行われる。死活監視フレームの送信は、タイマー機能1013cを用いて一定間隔Tで周期的に行われる。 FIG. 5 is a diagram for explaining the second process and the third process performed by the processing system 1 according to some embodiments of the present disclosure. The second process is, for example, the process of step S2 performed by the processing system 1. The third process is, for example, the process of step S3 performed by the processing system 1. The control mechanism 1013 of the server 10 enables the counter function 1013b and the timer function 1013c (step S2). Then, the control mechanism 1013 of the server 10 starts a transmission check and a reception check of the UDP alive/dead monitoring frame in the transmission and reception of the alive/dead monitoring frame by the frame transmission/reception function 1013a (step S3). For example, the transmission check is performed by checking whether the transmission process of the frame is completed normally. Also, for example, the reception check is performed by reading the data portion of the received frame and checking whether the alive/dead monitoring frame has been received. The transmission of the alive/dead monitoring frame is performed periodically at a constant interval T using the timer function 1013c.

なお、死活監視フレームの送信は、一定間隔Tで周期的に行われなくてもよい。図6は、本開示のいくつかの実施形態にかかる死活監視フレームの送信を説明するための第1の図である。図7は、本開示のいくつかの実施形態にかかる死活監視フレームの送信を説明するための第2の図である。例えば、一定間隔Tは、図6に示すように、接続を確立する際(すなわち、ハンドシェイク時)の死活監視フレームの到達時間tから算出されるものであってもよい。一定間隔Tとしては、到達時間tにマージンを持たせた値を想定し、例えば、t×1.2倍の時間を設定することになる。また、例えば、死活監視フレームの2回目以降の送信間隔は、図7に示すように、死活監視フレームの送信間隔の統計情報や回線使用率に基づき変動させるものであってもよい。具体的には、図7の(a)、(b)の部分に示すように、死活監視フレームの送信間隔の統計情報および回線使用率を周知の技術を用いて取得する。そして、図7の(b)の部分に示すように、回線使用率が一定値を超える場合に死活監視フレームの送信間隔を長くすることによりトラフィックへの影響を減らし、回線使用率が一定値以下の場合に死活監視フレームの送信間隔を短くすることによりネットワークのダウンの発見時間を短くするものであってもよい。なお、図7の(b)の部分に示す具体例では、回線使用率が80%以上の場合、死活監視フレームの送信間隔を前回の死活監視フレームの送信間隔の2倍としている。また、回線使用率が40%以上80%未満の場合、死活監視フレームの送信間隔を前回の死活監視フレームの送信間隔としている。また、回線使用率が0%以上40%未満の場合、死活監視フレームの送信間隔を前回の死活監視フレームの送信間隔の2分の1としている。 Note that the transmission of the alive/dead monitoring frame does not have to be performed periodically at a fixed interval T. FIG. 6 is a first diagram for explaining the transmission of the alive/dead monitoring frame according to some embodiments of the present disclosure. FIG. 7 is a second diagram for explaining the transmission of the alive/dead monitoring frame according to some embodiments of the present disclosure. For example, the fixed interval T may be calculated from the arrival time t of the alive/dead monitoring frame when establishing a connection (i.e., at the time of handshake) as shown in FIG. 6. The fixed interval T is set to, for example, t×1.2 times the arrival time t, assuming a value with a margin. For example, the transmission interval of the alive/dead monitoring frame from the second time onwards may be changed based on statistical information on the transmission interval of the alive/dead monitoring frame and the line usage rate as shown in FIG. 7. Specifically, as shown in (a) and (b) of FIG. 7, statistical information on the transmission interval of the alive/dead monitoring frame and the line usage rate are obtained using a well-known technology. As shown in FIG. 7B, when the line usage rate exceeds a certain value, the transmission interval of the alive/dead monitoring frame may be lengthened to reduce the impact on traffic, and when the line usage rate is below a certain value, the transmission interval of the alive/dead monitoring frame may be shortened to shorten the time to detect a network down. In the specific example shown in FIG. 7B, when the line usage rate is 80% or more, the transmission interval of the alive/dead monitoring frame is set to twice the transmission interval of the previous alive/dead monitoring frame. When the line usage rate is 40% or more and less than 80%, the transmission interval of the alive/dead monitoring frame is set to the transmission interval of the previous alive/dead monitoring frame. When the line usage rate is 0% or more and less than 40%, the transmission interval of the alive/dead monitoring frame is set to half the transmission interval of the previous alive/dead monitoring frame.

なお、死活監視フレームの送信間隔の上限値を設定するものであってもよい。死活監視フレームの送信間隔の上限値を設定する場合、ネットワークのダウンの発見時間が過度に長くなるのを抑制する効果がある。 It is also possible to set an upper limit on the interval for sending alive check frames. Setting an upper limit on the interval for sending alive check frames has the effect of preventing the time it takes to discover a network downtime from becoming excessively long.

図8は、本開示のいくつかの実施形態にかかる処理システム1が行う第4処理を説明するための図である。第4処理は、例えば、処理システム1が行うステップS4の処理である。サーバー10の制御機構1013は、カウンター機能1013bを用いて、一定間隔Tごとにカウントアップおよびカウント値のチェックを行う(ステップS4)。 Figure 8 is a diagram for explaining the fourth process performed by the processing system 1 according to some embodiments of the present disclosure. The fourth process is, for example, the process of step S4 performed by the processing system 1. The control mechanism 1013 of the server 10 uses the counter function 1013b to count up and check the count value at regular intervals T (step S4).

図9は、本開示のいくつかの実施形態にかかる処理システム1が行う第5処理を説明するための図である。第5処理は、例えば、処理システム1が行うステップS5の処理である。サーバー10の制御機構1013は、死活監視フレームを受信すると、カウンター機能1013bをリセットする(ステップS5)。 Figure 9 is a diagram for explaining the fifth process performed by the processing system 1 according to some embodiments of the present disclosure. The fifth process is, for example, the process of step S5 performed by the processing system 1. When the control mechanism 1013 of the server 10 receives the alive monitoring frame, it resets the counter function 1013b (step S5).

図10は、本開示のいくつかの実施形態にかかる処理システム1が行う第6処理を説明するための図である。第6処理は、例えば、処理システム1が行うステップS6の処理である。サーバー10の制御機構1013は、カウント値が一定値を超えた場合、ネットワークがダウンしていると判定する(ステップS6)。 Figure 10 is a diagram for explaining the sixth process performed by the processing system 1 according to some embodiments of the present disclosure. The sixth process is, for example, the process of step S6 performed by the processing system 1. If the count value exceeds a certain value, the control mechanism 1013 of the server 10 determines that the network is down (step S6).

なお、サーバー10の制御機構1013は、死活監視フレームの一部がロストした場合であっても、カウント値が一定値を超える前に次の死活監視フレームを受信すれば、ネットワークはダウンしていないと判定する。図11は、本開示のいくつかの実施形態にかかる処理システム1が行う判定の状態の一例を示す図である。具体的には、死活監視フレームの一部がロストした場合であっても、ネットワークがダウンしていないと処理システム1が判定する状態を示す図である。図11に示すように、処理システム1において、サーバー10の制御機構1013は、カウント値が一定値を超える前に次の死活監視フレームを受信する。この場合、サーバー10の制御機構1013は、死活監視フレームの一部がロストした場合であっても、ネットワークはダウンしていないと判定する。 Note that even if some of the alive/dead monitoring frames are lost, the control mechanism 1013 of the server 10 determines that the network is not down if the next alive/dead monitoring frame is received before the count value exceeds a certain value. FIG. 11 is a diagram showing an example of a state of determination made by the processing system 1 according to some embodiments of the present disclosure. Specifically, it is a diagram showing a state in which the processing system 1 determines that the network is not down even if some of the alive/dead monitoring frames are lost. As shown in FIG. 11, in the processing system 1, the control mechanism 1013 of the server 10 receives the next alive/dead monitoring frame before the count value exceeds a certain value. In this case, the control mechanism 1013 of the server 10 determines that the network is not down even if some of the alive/dead monitoring frames are lost.

また、有効になっている死活監視フラグがクリアされる、またはネットワーク装置101がハンドシェイクにより切断状態に遷移すると、サーバー10は、死活監視フレームの送信チェックおよび受信チェックを行うフレーム送受信機能1013a、カウンター機能1013b、タイマー機能1013cを停止する。図12は、本開示のいくつかの実施形態にかかるサーバー10が行う機能の停止の一例を示す図である。図12に示す例では、サーバー10は、ネットワーク装置101がハンドシェイクにより切断状態に遷移すると、フレーム送受信機能1013a、カウンター機能1013b、タイマー機能1013cを停止する。 In addition, when an enabled alive monitoring flag is cleared or the network device 101 transitions to a disconnected state by a handshake, the server 10 stops the frame transmission/reception function 1013a, counter function 1013b, and timer function 1013c that perform transmission and reception checks of alive monitoring frames. FIG. 12 is a diagram showing an example of the suspension of functions performed by the server 10 according to some embodiments of the present disclosure. In the example shown in FIG. 12, when the network device 101 transitions to a disconnected state by a handshake, the server 10 stops the frame transmission/reception function 1013a, counter function 1013b, and timer function 1013c.

(利点)
以上、本開示の一実施形態にかかる処理システム1について説明した。処理システム1において、サーバー10は、死活監視において、自サーバー10とは別のサーバー10から送信された死活監視フレームである複数の第1死活監視フレームのうちの最初の第1死活監視フレームを受信する前に、死活監視フレームである第2死活監視フレームを前記別のサーバーに送信し、前記複数の第1死活監視フレームに基づいて、ネットワークがダウンしているか否かを判定する制御機構1013、を備える。
(advantage)
The processing system 1 according to an embodiment of the present disclosure has been described above. In the processing system 1, the server 10 includes a control mechanism 1013 that, in alive/dead monitoring, transmits a second alive/dead monitoring frame, which is an alive/dead monitoring frame, to another server 10 before receiving a first first alive/dead monitoring frame among a plurality of first alive/dead monitoring frames, which are alive/dead monitoring frames transmitted from the other server 10, and determines whether the network is down or not based on the plurality of first alive/dead monitoring frames.

ところで、特許文献1に記載の発明は、受信した死活監視用UDPパケットに呼応して、死活監視用UDPパケットを送信するものである。つまり、特許文献1に記載の発明では、死活監視用UDPパケットを受信するまで死活監視が開始されず、特に、死活監視用UDPパケットがロストした場合、死活監視の開始まで時間を要してしまう。この特許文献1に記載の発明に対して、サーバー10は、死活監視フレームの一部がロストしても、死活監視の開始までの時間を短くすることができる。 The invention described in Patent Document 1 transmits a live/death monitoring UDP packet in response to a received live/death monitoring UDP packet. In other words, with the invention described in Patent Document 1, live/death monitoring does not start until the live/death monitoring UDP packet is received, and in particular, if the live/death monitoring UDP packet is lost, it takes time before live/death monitoring starts. In contrast to the invention described in Patent Document 1, the server 10 can shorten the time until live/death monitoring starts even if some of the live/death monitoring frames are lost.

また、制御機構1013は、複数の第1死活監視フレームの一部がロストした場合であっても、複数の第1死活監視フレームのうちの受信した第1死活監視フレームによるカウント値が一定値を超える前に次の第1死活監視フレームを受信すれば、ネットワークはダウンしていないと判定する。 In addition, even if some of the multiple first alive/dead monitoring frames are lost, the control mechanism 1013 determines that the network is not down if the next first alive/dead monitoring frame is received before the count value of the received first alive/dead monitoring frame among the multiple first alive/dead monitoring frames exceeds a certain value.

ところで、特許文献1に記載の発明は、送信UDPパケット数と返信UDPパケット数を比較し、両者が同じ数であればネットワーク障害なしと判断するものである。この特許文献1に記載の発明において、UDPはコネクションレス型のプロトコルであり、特許文献1に記載の発明は、ネットワークの瞬断などで返信UDPパケットを受信できなかった場合、ネットワーク障害と誤診断する可能性がある。この特許文献1に記載の発明に対して、サーバー10において、制御機構1013は、死活監視フレームの一部がロストした場合であっても、ネットワークはダウンしていないと判定し、新たに死活監視フレームを受信することができる。その結果、サーバー10は、ネットワークの瞬断などで死活監視フレームの一部がロストした場合であっても、ネットワークがダウンしているというご診断する可能性と低減させることができる。 The invention described in Patent Document 1 compares the number of sent UDP packets with the number of returned UDP packets, and if the two numbers are the same, it is determined that there is no network failure. In the invention described in Patent Document 1, UDP is a connectionless protocol, and the invention described in Patent Document 1 may erroneously diagnose a network failure if a return UDP packet cannot be received due to a momentary network interruption or the like. In contrast to the invention described in Patent Document 1, the control mechanism 1013 in the server 10 can determine that the network is not down and receive new alive/dead monitoring frames even if some of the alive/dead monitoring frames are lost. As a result, the server 10 can reduce the possibility of diagnosing that the network is down even if some of the alive/dead monitoring frames are lost due to a momentary network interruption or the like.

なお、制御機構1013は、死活監視時の負荷に基づいて、前記死活監視フレームにおけるパケット数を所定数に制限するものであってもよい。例えば、サーバー10が備えるネットワーク装置101の状態(すなわち、負荷)に応じて、死活監視フレームの送信(開始/停止/送信間隔)を制御することにより、適切なトラフィックとすることができ、トラフィックの増大を抑制することができる。一方、特許文献1に記載の発明は、送信UDPパケット数を所定数に制限するものではあるが、その所定数を負荷に応じて適切なトラフィックとするものではない。なお、死活監視フレームは、UDPパケットを含む形である。そのため、死活監視フレーム数をUDPパケット数と同義として捉えた時に、死活監視フレーム数の制限がパケット数の制限になると考えられる。 The control mechanism 1013 may limit the number of packets in the alive/dead monitoring frame to a predetermined number based on the load during alive/dead monitoring. For example, by controlling the transmission (start/stop/transmission interval) of the alive/dead monitoring frame according to the state (i.e., load) of the network device 101 included in the server 10, appropriate traffic can be achieved and an increase in traffic can be suppressed. On the other hand, the invention described in Patent Document 1 limits the number of transmitted UDP packets to a predetermined number, but does not set the predetermined number to appropriate traffic according to the load. The alive/dead monitoring frame includes UDP packets. Therefore, when the number of alive/dead monitoring frames is considered to be synonymous with the number of UDP packets, the limit on the number of alive/dead monitoring frames is considered to be the limit on the number of packets.

また、サーバー10が制御機構1013を備えることにより、サーバー10どうしで、死活監視を行うことができる。それに対して、比較対象の発明(例えば、特許文献である特開2007-312091号公報に記載の発明)では、ルーター間でパケットが送受信されるプロトコルが用いられており、サーバー間で死活監視することはできない。 Also, by providing the server 10 with the control mechanism 1013, the servers 10 can monitor each other's status. In contrast, the invention in question (for example, the invention described in the patent document JP 2007-312091 A) uses a protocol in which packets are sent and received between routers, and it is not possible to monitor the status between servers.

なお、本開示の別の実施形態では、処理システム1は、サーバー10を3つ以上備えるものであってもよい。そして、処理システム1において、サーバー10は、自サーバー10とは別の2つ以上のサーバー10と、本開示の一実施形態のサーバー10と同様の通信を行うものであってもよい。 In another embodiment of the present disclosure, the processing system 1 may include three or more servers 10. In the processing system 1, each server 10 may communicate with two or more servers 10 other than the server 10 itself in the same manner as the server 10 in one embodiment of the present disclosure.

なお、本開示の別の実施形態では、処理システム1は、ネットワークがダウンした場合、制御機構1013を介して上位アプリケーションやOS(Operating System)へ通知を行うものであってもよい。 In another embodiment of the present disclosure, the processing system 1 may notify a higher-level application or an OS (operating system) via the control mechanism 1013 when the network goes down.

なお、本開示の別の実施形態では、ネットワーク装置101は、サーバー10に備えられるものに限定されず、ルーターなど単体で動作するネットワーク装置であってもよい。そして、そのネットワーク装置が制御機構1013を有するものであってもよい。 In another embodiment of the present disclosure, the network device 101 is not limited to being provided in the server 10, but may be a network device that operates independently, such as a router. And, the network device may have a control mechanism 1013.

図13は、本開示のいくつかの実施形態にかかるサーバー300の処理フローの一例を示す図である。次に、本開示のいくつかの実施形態にかかるサーバー300の処理について図13を参照して説明する。 FIG. 13 is a diagram illustrating an example of a processing flow of the server 300 according to some embodiments of the present disclosure. Next, the processing of the server 300 according to some embodiments of the present disclosure will be described with reference to FIG. 13.

サーバー300は、制御機構301を備える。制御機構301は、死活監視において、自サーバーとは別のサーバーから送信された死活監視フレームである複数の第1死活監視フレームのうちの最初の第1死活監視フレームを受信する前に、死活監視フレームである第2死活監視フレームを前記別のサーバーに送信し、前記複数の第1死活監視フレームに基づいて、ネットワークがダウンしているか否かを判定する。 The server 300 includes a control mechanism 301. In the alive/dead monitoring, the control mechanism 301 transmits a second alive/dead monitoring frame, which is an alive/dead monitoring frame, to a server other than the server itself before receiving the first of a plurality of first alive/dead monitoring frames, which are alive/dead monitoring frames transmitted from the server itself, and determines whether the network is down or not based on the plurality of first alive/dead monitoring frames.

制御機構301は、例えば、図1、図2に例示されている制御機構1013が有する機能を用いて実現することができる。また、サーバー300は、例えば、図1に例示されているサーバー10a、10bが有する機能を用いて実現することができる。 The control mechanism 301 can be realized, for example, by using the functions of the control mechanism 1013 illustrated in FIG. 1 and FIG. 2. The server 300 can be realized, for example, by using the functions of the servers 10a and 10b illustrated in FIG. 1.

次に、本開示のいくつかの実施形態にかかるサーバー300が行う処理について説明する。図14は、本開示のいくつかの実施形態にかかるサーバー300の処理フローの一例を示す図である。ここでは、図14を参照してサーバー300の処理について説明する。 Next, the processing performed by the server 300 according to some embodiments of the present disclosure will be described. FIG. 14 is a diagram showing an example of a processing flow of the server 300 according to some embodiments of the present disclosure. Here, the processing of the server 300 will be described with reference to FIG. 14.

サーバー300において、制御機構301は、死活監視において、自サーバーとは別のサーバーから送信された死活監視フレームである複数の第1死活監視フレームのうちの最初の第1死活監視フレームを受信する前に、死活監視フレームである第2死活監視フレームを前記別のサーバーに送信し、前記複数の第1死活監視フレームに基づいて、ネットワークがダウンしているか否かを判定する(ステップS101)。 In server 300, before receiving the first of a plurality of first alive/dead monitoring frames transmitted from a server other than the server itself, the control mechanism 301 transmits a second alive/dead monitoring frame to the other server in alive/dead monitoring, and determines whether the network is down or not based on the plurality of first alive/dead monitoring frames (step S101).

以上、本開示のいくつかの実施形態にかかるサーバー300について説明した。このサーバー300により、死活監視フレームの一部がロストしても、死活監視の開始までの時間を短くすることができる。 The above describes the server 300 according to some embodiments of the present disclosure. This server 300 can shorten the time until health monitoring begins even if some of the health monitoring frames are lost.

なお、本開示の各実施形態における処理は、適切な処理が行われる範囲において、処理の順番が入れ替わってもよい。 The order of the processes in each embodiment of the present disclosure may be changed as long as appropriate processing is performed.

本開示の各実施形態について説明したが、上述の処理システム1、サーバー10、その他の制御装置は内部に、コンピュータシステムを有していてもよい。そして、上述した処理の過程は、プログラムの形式でコンピュータ読み取り可能な記録媒体に記憶されており、このプログラムをコンピュータが読み出して実行することによって、上記処理が行われる。コンピュータの具体例を以下に示す。 Although each embodiment of the present disclosure has been described, the above-mentioned processing system 1, server 10, and other control devices may have a computer system inside. The above-mentioned process steps are stored in the form of a program on a computer-readable recording medium, and the above-mentioned processes are performed by the computer reading and executing this program. Specific examples of computers are shown below.

図15は、少なくとも1つの実施形態に係るコンピュータの構成を示す概略ブロック図である。コンピュータ5は、図15に示すように、CPU(Central Processing Unit)6、メインメモリ7、ストレージ8、インターフェース9を備える。 FIG. 15 is a schematic block diagram showing the configuration of a computer according to at least one embodiment. As shown in FIG. 15, the computer 5 includes a CPU (Central Processing Unit) 6, a main memory 7, a storage 8, and an interface 9.

例えば、上述の処理システム1、サーバー10、その他の制御装置のそれぞれは、コンピュータ5に実装される。そして、上述した各処理部の動作は、プログラムの形式でストレージ8に記憶されている。CPU6は、プログラムをストレージ8から読み出してメインメモリ7に展開し、当該プログラムに従って上記処理を実行する。また、CPU6は、プログラムに従って、上述した各記憶部に対応する記憶領域をメインメモリ7に確保する。 For example, each of the above-mentioned processing system 1, server 10, and other control devices is implemented in a computer 5. The operation of each of the above-mentioned processing units is stored in the storage 8 in the form of a program. The CPU 6 reads the program from the storage 8, expands it in the main memory 7, and executes the above-mentioned processing in accordance with the program. The CPU 6 also secures storage areas in the main memory 7 corresponding to each of the above-mentioned storage units in accordance with the program.

ストレージ8の例としては、HDD(Hard Disk Drive)、SSD(Solid State Drive)、磁気ディスク、光磁気ディスク、CD-ROM(Compact Disc Read Only Memory)、DVD-ROM(Digital Versatile Disc Read Only Memory)、半導体メモリ等が挙げられる。ストレージ8は、コンピュータ5のバスに直接接続された内部メディアであってもよいし、インターフェース9または通信回線を介してコンピュータ5に接続される外部メディアであってもよい。また、このプログラムが通信回線によってコンピュータ5に配信される場合、配信を受けたコンピュータ5が当該プログラムをメインメモリ7に展開し、上記処理を実行してもよい。少なくとも1つの実施形態において、ストレージ8は、一時的でない有形の記憶媒体である。 Examples of storage 8 include HDD (Hard Disk Drive), SSD (Solid State Drive), magnetic disk, magneto-optical disk, CD-ROM (Compact Disc Read Only Memory), DVD-ROM (Digital Versatile Disc Read Only Memory), and semiconductor memory. Storage 8 may be an internal medium directly connected to the bus of computer 5, or an external medium connected to computer 5 via interface 9 or a communication line. In addition, when this program is distributed to computer 5 via a communication line, computer 5 that receives the program may expand the program in main memory 7 and execute the above-mentioned process. In at least one embodiment, storage 8 is a non-transitory tangible storage medium.

また、上記プログラムは、前述した機能の一部を実現してもよい。さらに、上記プログラムは、前述した機能をコンピュータシステムにすでに記録されているプログラムとの組み合わせで実現できるファイル、いわゆる差分ファイル(差分プログラム)であってもよい。 The program may also realize some of the functions described above. Furthermore, the program may be a file that can realize the functions described above in combination with a program already recorded in the computer system, a so-called differential file (differential program).

本開示のいくつかの実施形態を説明したが、これらの実施形態は、例であり、開示の範囲を限定しない。これらの実施形態は、開示の要旨を逸脱しない範囲で、種々の追加、省略、置き換え、変更を行ってよい。 Although several embodiments of the present disclosure have been described, these embodiments are merely examples and do not limit the scope of the disclosure. Various additions, omissions, substitutions, and modifications may be made to these embodiments without departing from the spirit and scope of the disclosure.

なお、上記の実施形態の一部又は全部は、以下の付記のようにも記載されうるが、以下には限られない。 In addition, some or all of the above embodiments can be described as follows, but are not limited to the following:

(付記1)
死活監視において、自サーバーとは別のサーバーから送信された死活監視フレームである複数の第1死活監視フレームのうちの最初の第1死活監視フレームを受信する前に、死活監視フレームである第2死活監視フレームを前記別のサーバーに送信し、前記複数の第1死活監視フレームに基づいて、ネットワークがダウンしているか否かを判定する制御機構、
を備えるサーバー。
(Appendix 1)
a control mechanism for, in alive/dead monitoring, transmitting a second alive/dead monitoring frame to a server other than the server itself before receiving a first one of a plurality of first alive/dead monitoring frames transmitted from the server itself, and determining whether or not the network is down based on the plurality of first alive/dead monitoring frames;
A server comprising:

(付記2)
前記制御機構は、
前記複数の第1死活監視フレームの一部がロストした場合であっても、前記複数の第1死活監視フレームのうちの受信した第1死活監視フレームによるカウント値が一定値を超える前に次の第1死活監視フレームを受信すれば、前記ネットワークはダウンしていないと判定する、
付記1に記載のサーバー。
(Appendix 2)
The control mechanism includes:
Even if some of the plurality of first alive/dead monitoring frames are lost, if a next first alive/dead monitoring frame is received before a count value of a received first alive/dead monitoring frame among the plurality of first alive/dead monitoring frames exceeds a certain value, the network is determined not to be down.
2. The server according to claim 1.

(付記3)
前記制御機構は、
前記死活監視時の負荷に基づいて、前記死活監視フレームにおけるパケット数を所定数に制限する、
付記1または付記2に記載のサーバー。
(Appendix 3)
The control mechanism includes:
limiting the number of packets in the alive-or-dead monitoring frame to a predetermined number based on a load during the alive-or-dead monitoring;
2. The server according to claim 1 or 2.

(付記4)
前記別のサーバーは、
前記自サーバーから前記第2死活監視フレームを受信する前に、前記最初の第1死活監視フレームを前記別のサーバーに送信し、前記第2死活監視フレームに基づいて、前記ネットワークがダウンしているか否かを判定する制御機構、
を備える、
付記1から付記3の何れか1つに記載のサーバー。
(Appendix 4)
The other server,
a control mechanism for transmitting the initial first health check frame to the other server before receiving the second health check frame from the server itself, and determining whether or not the network is down based on the second health check frame;
Equipped with
5. The server according to claim 1,

(付記5)
付記1から付記4の何れか1つに記載のサーバーと、
前記サーバーとは別のサーバーと、
を備える処理システム。
(Appendix 5)
A server according to any one of claims 1 to 4;
A server separate from the server;
A processing system comprising:

(付記6)
死活監視において、自サーバーとは別のサーバーから送信された死活監視フレームである複数の第1死活監視フレームのうちの最初の第1死活監視フレームを受信する前に、死活監視フレームである第2死活監視フレームを前記別のサーバーに送信することと、
前記複数の第1死活監視フレームに基づいて、ネットワークがダウンしているか否かを判定することと、
を含む処理方法。
(Appendix 6)
In the alive/dead monitoring, before receiving a first alive/dead monitoring frame among a plurality of first alive/dead monitoring frames, which are alive/dead monitoring frames transmitted from a server other than the server itself, a second alive/dead monitoring frame, which is an alive/dead monitoring frame, is transmitted to the other server;
determining whether or not a network is down based on the plurality of first alive-check frames;
A processing method comprising:

(付記7)
コンピュータに、
死活監視において、自サーバーとは別のサーバーから送信された死活監視フレームである複数の第1死活監視フレームのうちの最初の第1死活監視フレームを受信する前に、死活監視フレームである第2死活監視フレームを前記別のサーバーに送信することと、
前記複数の第1死活監視フレームに基づいて、ネットワークがダウンしているか否かを判定することと、
を実行させるプログラム。
(Appendix 7)
On the computer,
In the alive/dead monitoring, before receiving a first alive/dead monitoring frame among a plurality of first alive/dead monitoring frames, which are alive/dead monitoring frames transmitted from a server other than the server itself, a second alive/dead monitoring frame, which is an alive/dead monitoring frame, is transmitted to the other server;
determining whether or not a network is down based on the plurality of first alive-check frames;
A program that executes the following.

1・・・処理システム
5・・・コンピュータ
6、205・・・CPU
7・・・メインメモリ
8・・・ストレージ
9・・・インターフェース
10、10a、10b、300・・・サーバー
20・・・通信装置
101・・・ネットワーク装置
301、1013・・・制御機構
1011・・・NIC(Network Interface Card)
1012・・・NICドライバ
1013a・・・フレーム送受信機能
1013a5・・・ソケットAPI
1013b・・・カウンター機能
1013c・・・タイマー機能
1013d・・・死活監視フラグ設定機能
1... Processing system 5... Computer 6, 205... CPU
7: Main memory 8: Storage 9: Interface 10, 10a, 10b, 300: Server 20: Communication device 101: Network device 301, 1013: Control mechanism 1011: NIC (Network Interface Card)
1012: NIC driver 1013a: Frame transmission/reception function 1013a5: Socket API
1013b: Counter function 1013c: Timer function 1013d: Alive/dead monitoring flag setting function

Claims (5)

死活監視において、自サーバーとは別のサーバーから送信された死活監視フレームである複数の第1死活監視フレームのうちの最初の第1死活監視フレームを受信する前に、死活監視フレームである第2死活監視フレームを前記別のサーバーに送信し、前記複数の第1死活監視フレームに基づいて、ネットワークがダウンしているか否かを判定する制御機構、
を備え、
前記別のサーバーは、
前記自サーバーから前記第2死活監視フレームを受信する前に、接続フレームを前記自サーバーに送信し、
前記制御機構は、
前記第2死活監視フレームおよび前記別のサーバーから送信された応答フレームに基づいて、前記ネットワークがダウンしているか否かを判定する、
サーバー。
a control mechanism for, in alive/dead monitoring, transmitting a second alive/dead monitoring frame to a server other than the server itself before receiving a first one of a plurality of first alive/dead monitoring frames transmitted from the server itself, and determining whether or not the network is down based on the plurality of first alive/dead monitoring frames;
Equipped with
The other server,
transmitting a connection frame to the server before receiving the second alive-check frame from the server;
The control mechanism includes:
determining whether the network is down or not based on the second alive check frame and a response frame transmitted from the other server;
server.
前記制御機構は、
前記死活監視時の負荷に基づいて、前記第2死活監視フレームにおけるパケット数を所定数に制限する、
請求項1に記載のサーバー。
The control mechanism includes:
limiting the number of packets in the second alive check frame to a predetermined number based on a load during the alive check;
The server of claim 1 .
請求項1または請求項2に記載のサーバーと、
前記別のサーバーと、
を備える処理システム。
A server according to claim 1 or 2 ;
said other server;
A processing system comprising:
死活監視において、自サーバーとは別のサーバーから送信された死活監視フレームである複数の第1死活監視フレームのうちの最初の第1死活監視フレームを受信する前に、死活監視フレームである第2死活監視フレームを前記別のサーバーに送信することと、
前記複数の第1死活監視フレームに基づいて、ネットワークがダウンしているか否かを判定することと、
前記別のサーバーが、前記自サーバーから前記第2死活監視フレームを受信する前に、接続フレームを前記自サーバーに送信した場合、前記第2死活監視フレームおよび前記別のサーバーから送信された応答フレームに基づいて、前記ネットワークがダウンしているか否かを判定することと、
を含む処理方法。
In the alive/dead monitoring, before receiving a first alive/dead monitoring frame among a plurality of first alive/dead monitoring frames, which are alive/dead monitoring frames transmitted from a server other than the server itself, a second alive/dead monitoring frame, which is an alive/dead monitoring frame, is transmitted to the other server;
determining whether or not a network is down based on the plurality of first alive-check frames;
When the other server transmits a connection frame to the server before receiving the second alive-check frame from the server, determining whether or not the network is down based on the second alive-check frame and a response frame transmitted from the other server;
A processing method comprising:
コンピュータに、
死活監視において、自サーバーとは別のサーバーから送信された死活監視フレームである複数の第1死活監視フレームのうちの最初の第1死活監視フレームを受信する前に、死活監視フレームである第2死活監視フレームを前記別のサーバーに送信することと、
前記複数の第1死活監視フレームに基づいて、ネットワークがダウンしているか否かを判定することと、
前記別のサーバーが、前記自サーバーから前記第2死活監視フレームを受信する前に、接続フレームを前記自サーバーに送信した場合、前記第2死活監視フレームおよび前記別のサーバーから送信された応答フレームに基づいて、前記ネットワークがダウンしているか否かを判定することと、
を実行させるプログラム。
On the computer,
In the alive/dead monitoring, before receiving a first alive/dead monitoring frame among a plurality of first alive/dead monitoring frames, which are alive/dead monitoring frames transmitted from a server other than the server itself, a second alive/dead monitoring frame, which is an alive/dead monitoring frame, is transmitted to the other server;
determining whether or not a network is down based on the plurality of first alive-check frames;
When the other server transmits a connection frame to the server before receiving the second alive-check frame from the server, determining whether or not the network is down based on the second alive-check frame and a response frame transmitted from the other server;
A program that executes the following.
JP2024039853A 2024-03-14 2024-03-14 SERVER, PROCESSING SYSTEM, PROCESSING METHOD, AND PROGRAM Active JP7708461B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2024039853A JP7708461B1 (en) 2024-03-14 2024-03-14 SERVER, PROCESSING SYSTEM, PROCESSING METHOD, AND PROGRAM

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2024039853A JP7708461B1 (en) 2024-03-14 2024-03-14 SERVER, PROCESSING SYSTEM, PROCESSING METHOD, AND PROGRAM

Publications (2)

Publication Number Publication Date
JP7708461B1 true JP7708461B1 (en) 2025-07-15
JP2025140443A JP2025140443A (en) 2025-09-29

Family

ID=96385105

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2024039853A Active JP7708461B1 (en) 2024-03-14 2024-03-14 SERVER, PROCESSING SYSTEM, PROCESSING METHOD, AND PROGRAM

Country Status (1)

Country Link
JP (1) JP7708461B1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090077232A1 (en) * 2003-10-14 2009-03-19 International Business Machines Corporation Remote activity monitoring
US20120213087A1 (en) * 2011-02-09 2012-08-23 Siemens Aktiengesellschaft Method for Performing Lifebeat Monitoring
CN106559282A (en) * 2015-09-29 2017-04-05 中兴通讯股份有限公司 A kind of lock file management method and device
CN115883444A (en) * 2022-12-23 2023-03-31 北京云端智度科技有限公司 Network data transmission method, system, medium and device based on optimal path
CN116684256A (en) * 2023-08-01 2023-09-01 苏州浪潮智能科技有限公司 Node fault monitoring method, device, system, electronic equipment and storage medium
JP2023166085A (en) * 2022-05-09 2023-11-21 ホーチキ株式会社 Disaster prevention information collaboration system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090077232A1 (en) * 2003-10-14 2009-03-19 International Business Machines Corporation Remote activity monitoring
US20120213087A1 (en) * 2011-02-09 2012-08-23 Siemens Aktiengesellschaft Method for Performing Lifebeat Monitoring
CN106559282A (en) * 2015-09-29 2017-04-05 中兴通讯股份有限公司 A kind of lock file management method and device
JP2023166085A (en) * 2022-05-09 2023-11-21 ホーチキ株式会社 Disaster prevention information collaboration system
CN115883444A (en) * 2022-12-23 2023-03-31 北京云端智度科技有限公司 Network data transmission method, system, medium and device based on optimal path
CN116684256A (en) * 2023-08-01 2023-09-01 苏州浪潮智能科技有限公司 Node fault monitoring method, device, system, electronic equipment and storage medium

Also Published As

Publication number Publication date
JP2025140443A (en) 2025-09-29

Similar Documents

Publication Publication Date Title
US10715411B1 (en) Altering networking switch priority responsive to compute node fitness
US10938710B2 (en) Protection switching method and system, and network device
EP4012989B1 (en) Method and device for service packet transmission
US8346999B2 (en) Dynamic receive queue balancing with high and low thresholds
KR100576005B1 (en) High Availability Router Redundancy Methods and Devices
WO2024066449A1 (en) Communication fault processing method and system, and device
RU2679555C1 (en) Communication control system, communication control method and record media
CN116670636A (en) Data access method, device and storage medium
JP2008172592A (en) Cluster system, computer and abnormality detection method thereof
CN107534575B (en) A monitoring method, monitoring device and network node in a network virtualization environment
WO2015098589A1 (en) Cluster system, server device, cluster system management method, and computer-readable recording medium
JP7708461B1 (en) SERVER, PROCESSING SYSTEM, PROCESSING METHOD, AND PROGRAM
CN120238425A (en) Port failure switching method, device and storage medium
JP5957318B2 (en) Network system, information relay device, and packet distribution method
WO2024041572A1 (en) Service processing method and apparatus, device, medium and program product
CN114080790A (en) System and method for providing bidirectional forwarding detection with performance routing measurements
CN109039680B (en) A method, system and BNG for switching main broadband network gateway BNG and standby BNG
WO2020235055A1 (en) Virtual machine monitoring device, virtual machine monitoring method, and program
CN112655178A (en) Method, system and device for sending link aggregation control protocol message
CN116367202A (en) A cluster arbitration method, network equipment and system
EP4184822A1 (en) Method and apparatus for keeping user terminal alive
JP6365280B2 (en) Information processing apparatus, information processing system, and program
JP6517554B2 (en) Transmission system and transmission station
CN119603227A (en) Communication channel switching method, server and electronic equipment
JP6134720B2 (en) Connection method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20240314

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20241022

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20241223

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20250325

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20250519

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20250626

R150 Certificate of patent or registration of utility model

Ref document number: 7708461

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150