TWI526023B - Communication devices and traces of management methods and computer program products - Google Patents

Communication devices and traces of management methods and computer program products Download PDF

Info

Publication number
TWI526023B
TWI526023B TW103122614A TW103122614A TWI526023B TW I526023 B TWI526023 B TW I526023B TW 103122614 A TW103122614 A TW 103122614A TW 103122614 A TW103122614 A TW 103122614A TW I526023 B TWI526023 B TW I526023B
Authority
TW
Taiwan
Prior art keywords
token
node
management control
communication device
management
Prior art date
Application number
TW103122614A
Other languages
Chinese (zh)
Other versions
TW201545506A (en
Inventor
Yoshiaki Ikeda
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Publication of TW201545506A publication Critical patent/TW201545506A/en
Application granted granted Critical
Publication of TWI526023B publication Critical patent/TWI526023B/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/407Bus networks with decentralised control
    • H04L12/417Bus networks with decentralised control with deterministic access, e.g. token passing

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)

Description

通訊裝置和符記管理方法以及電腦程式產品 Communication device and character management method and computer program product

本發明係關於符記傳遞。 The present invention relates to token transfer.

例如,在專利文獻1中,揭露了使用多播訊框(multicast frame)或廣播訊框(broadcast frame)的符記傳遞(token passing)系統。 For example, Patent Document 1 discloses a token passing system using a multicast frame or a broadcast frame.

監視符記的節點(以下,稱之為符記管理節點)監視被傳送以作為多播訊框或廣播訊框的所有的符記訊框。 The node of the monitor tag (hereinafter, referred to as the tag management node) monitors all the message frames transmitted as the multicast frame or the broadcast frame.

在符記訊框中包含符記。 Contains the token in the token box.

而且,符記管理節點在一定時間內沒有收到符記訊框時,判斷為符記丟失,並進行符記再發行。 Moreover, when the token management node does not receive the token frame within a certain period of time, it is determined that the token is lost, and the token is redistributed.

另外,符記管理節點以外的節點,監視被傳送以作為多播訊框或廣播訊框的所有的符記訊框。 In addition, the nodes other than the management node are monitored for all the message frames transmitted as multicast frames or broadcast frames.

符記管理節點以外的節點在一定時間內沒有收到符記訊框時,判斷為符記管理節點異常,在經過一定時間後即成為符記管理節點,以進行符記再發行。 When a node other than the management node does not receive the message frame within a certain period of time, it determines that the management node is abnormal, and after a certain period of time, it becomes a token management node to perform re-issuance of the token.

先行技術文獻 Advanced technical literature 專利文獻 Patent literature

專利文獻1:日本專利第3162204號公報 Patent Document 1: Japanese Patent No. 3162204

第8圖顯示過去的符記傳遞的流程。 Figure 8 shows the flow of past tokens.

在符記傳遞系統中,實際上是將包含符記的符記訊框在節點間傳送接收,但在下文中為了使說明簡明,而記載為符記在節點間傳送接收。 In the token delivery system, the character frame containing the token is actually transmitted and received between the nodes. However, in the following, for the sake of brevity of the description, it is described that the token is transmitted and received between the nodes.

第8圖顯示在由節點1(20)、節點2(21)、節點3(22)、節點4(23)、節點5(14)所構成的符記傳遞系統中的符記傳遞的流程。 Fig. 8 shows the flow of the token transfer in the token transfer system composed of the node 1 (20), the node 2 (21), the node 3 (22), the node 4 (23), and the node 5 (14).

在第8圖的例子中,係以節點1(20)、節點2(21)、節點3(22)、節點4(23)的順序進行符記傳遞。 In the example of Fig. 8, the character 1 is transmitted in the order of node 1 (20), node 2 (21), node 3 (22), and node 4 (23).

另外,在第8圖中節點1(20)為符記管理節點。 In addition, in Fig. 8, node 1 (20) is a character management node.

首先,作為符記管理節點的節點1(20),以節點2(21)作為目的地,傳送符記。 First, as the node 1 (20) of the character management node, the node 2 (21) is used as a destination, and the token is transmitted.

在此,節點1(20),也對節點2(21)以外的所有節點傳送符記。 Here, node 1 (20) also transmits a token to all nodes except node 2 (21).

接收從節點1(20)傳來之符記的節點2(21),以節點3(22)作為目的地,傳送符記。 The node 2 (21) that receives the token from the node 1 (20) receives the token as the destination of the node 3 (22).

在此也是一樣,節點2(21),也對節點3(22)以外的所有節點傳送符記。 Here too, node 2 (21) also transfers the tokens to all nodes except node 3 (22).

依據上述的流程,按照節點1(20)、節點2(21)、節點3(22)、節點4(23)、節點1(20)...的順序巡迴。 According to the above flow, the nodes 1 (20), the node 2 (21), the node 3 (22), the node 4 (23), the node 1 (20), ... are patrolled in the order.

繼之,參照第9圖說明在節點發生異常的情況下符記管理節點的角色。 Next, the role of the management node in the case where an abnormality occurs in the node will be described with reference to FIG.

如前所述,對所有的節點傳送符記。 As mentioned earlier, the tokens are transmitted to all nodes.

符記管理節點,使用監視計時器監視從所有的節點傳送來的符記。 The token management node uses a watchdog timer to monitor the tokens transmitted from all nodes.

符記管理節點,在已接收任何一個節點目的地的符記的時間點開始其監視計時器,並在已接次一個節點目的地的符記的時間點重設其監視計時器,開始新的監視計時器。 The token management node starts its watchdog timer at the point in time when it has received the token of any node destination, and resets its watchdog timer at the point in time when the token of the destination of the node has been taken, starting a new one. Watch timer.

在此,說明以節點1(20)為符記管理節點時,節點4(23)發生異常的情況。 Here, a case where the node 4 (23) is abnormal when the node 1 (20) is used as the management node will be described.

在節點4(23)發生異常的情況下,節點1(20)的監視計時器超過時間(timeout)。 In the case where an abnormality occurs in the node 4 (23), the watchdog timer of the node 1 (20) exceeds the timeout.

因此,節點1(20)判斷為節點4(23)發生異常,並對節點4(23)的下一個節點5(24)進行符記的再發行。 Therefore, the node 1 (20) judges that the node 4 (23) is abnormal, and reissues the next node 5 (24) of the node 4 (23).

如上述般,繼續進行符記傳遞。 As described above, the token transfer is continued.

繼之,參照第10圖說明符記管理節點發生異常的情況。 Next, the case where the management node is abnormal is described with reference to FIG.

在此,最先是以節點1(20)為符記管理節點,而在節點1(20)發生異常的情況下,以節點2(21)、節點3(22)為可以替代作為符記管理節點的節點(稱之為符記管理節點候補)。 Here, the node 1 (20) is first used as the management node, and in the case where the node 1 (20) is abnormal, the node 2 (21) and the node 3 (22) are replaced as the management node. The node (called the token management node candidate).

符記管理節點候補和上述符記管理節點一樣,監視所有的符記。 The token management node candidate monitors all tokens in the same way as the token management node described above.

在此,用以判斷符記管理節點發生異常所使用的監視計時器,不重複且獨特地決定為例如將一定時間乘以符記管理節點候補的位址等的時間。 Here, the watchdog timer used to determine that an abnormality has occurred in the token management node is determined not to be repeated and uniquely determined, for example, by multiplying a predetermined time by the address of the candidate management node candidate or the like.

藉此,能夠使得下一個作為符記管理節點的的節點不重複。 Thereby, it is possible to make the next node which is the character management node not to be repeated.

作為符記管理節點的節點1(20)發生異常時,作為符記管理節點候補的節點2(21)、節點3(22)當中,監視計時器先逾時的節點成為新的符記管理節點進行符記的再發行。 When an abnormality occurs in the node 1 (20) as the management node, the node 2 (21) and the node 3 (22), which are candidates for the management node, the node whose monitoring timer expires first becomes the new token management node. Reissue the tokens.

但是,上述的習知技術中有後述的課題。 However, the above-mentioned conventional techniques have problems to be described later.

由於種種原因,複數個節點同時檢出符記喪失,成為符記管理節點,並進行符記的再發行的情況下,發生符記的衝突,必須藉由調停來決定哪一個節點成為符記管理節點。 For various reasons, when a plurality of nodes simultaneously detect the loss of the token, become a token management node, and perform a reissue of the token, a conflict of tokens occurs, and it is necessary to determine which node becomes the token management by mediation. node.

在此情況下,有進行調停處理要耗費時間,且符記傳遞的停止時間變長的課題。 In this case, there is a problem that it takes time to perform the mediation process, and the stop time of the transfer is long.

本發明主要目的在於解決上述課題,在符記管理節點發生異常時,進行符記的再發行,縮短到符記傳遞重新開始為止的時間。 The main object of the present invention is to solve the above problems, and when an abnormality occurs in the character management node, the reissue of the token is performed, and the time until the token transmission is restarted is shortened.

本發明的通信裝置,其係為包含於符記巡迴的符記巡迴路徑中的通信裝置,其包括:檢出該符記的位置之符記位置檢出部;及符記管理控制部,其將監視該符記巡迴路徑,在該符記消失了的情況下,產生新的符記,將該新的符記在該符記巡迴路徑中巡迴的符記管理控制,對應於由該符記位置檢出部所檢出的該符記的位置,和包含於該符記巡迴路徑中進行該符記管理控制的其他通信裝置之符記管理控制裝置交替執行。 A communication device according to the present invention is a communication device included in a token tour path of a token tour, and includes: a location location detecting unit that detects a location of the token; and a token management control unit. The token tour path will be monitored, and if the token disappears, a new token is generated, and the new token is recorded in the token management path for the token management path, corresponding to the token The position of the token detected by the position detecting unit is alternately executed with the token management control device of another communication device that performs the token management control included in the token tour path.

依據本發明,通信裝置和作為符記管理控制裝置的其他的通信裝置交替地執行符記管理控制,不會有複數個通 信裝置重複使新的符記巡迴,因此不會發生符記的衝突,能夠縮短到符記傳遞再開始之前的時間。 According to the present invention, the communication device and the other communication devices as the character management control device alternately perform the character management control, and there is no plural communication. The letter device repeats the new token tour, so that the conflict of the token does not occur, and can be shortened until the time before the token transmission is resumed.

80‧‧‧符記送信部 80‧‧‧Character Delivery Department

81‧‧‧符記受信部 81‧‧‧Responsible Department

82‧‧‧符記目的地判別部 82‧‧‧Responsible for the destination identification department

83‧‧‧送受信資料處理部 83‧‧‧Send and receive data processing department

84‧‧‧符記管理節點動作部 84‧‧‧Function Management Node Action Department

85‧‧‧符記產生部 85‧‧‧Function Generation Department

86‧‧‧符記監視計時器 86‧‧‧Character watchdog timer

90‧‧‧符記送信部 90‧‧‧Meeting and Delivery Department

91‧‧‧符記受信部 91‧‧‧Responsible Department

92‧‧‧符記目的地判別部 92‧‧‧Means of the destination judgment department

93‧‧‧送受信資料處理部 93‧‧‧Send and receive data processing department

901‧‧‧演算裝置 901‧‧‧calculation device

902‧‧‧外部記憶裝置 902‧‧‧External memory device

903‧‧‧主記憶裝置 903‧‧‧Main memory device

904‧‧‧通信裝置 904‧‧‧Communication device

905‧‧‧輸出入裝置 905‧‧‧Input and output device

第1圖為顯示實施形態1的符記傳遞系統的構成例之圖。 Fig. 1 is a view showing an example of the configuration of a token transfer system according to the first embodiment.

第2圖為顯示實施形態1的符記傳遞之例的圖。 Fig. 2 is a view showing an example of the transmission of the token in the first embodiment.

第3圖為顯示實施形態1的符記傳遞之例之圖。 Fig. 3 is a view showing an example of the transmission of the token in the first embodiment.

第4圖為顯示實施形態1的符記傳遞之例的圖。 Fig. 4 is a view showing an example of the transfer of the token in the first embodiment.

第5圖為顯示實施形態1的符記管理節點及符記管理節點候補之構成例的圖。 Fig. 5 is a view showing an example of the configuration of the character management node and the character management node candidate in the first embodiment.

第6圖為顯示實施形態1的普通節點的構成例之圖。 Fig. 6 is a view showing a configuration example of a normal node in the first embodiment.

第7圖為顯示實施形態1的節點之硬體構成例之圖。 Fig. 7 is a view showing an example of a hardware configuration of a node in the first embodiment.

第8圖為顯示過去的符記傳遞的流程的圖。 Figure 8 is a diagram showing the flow of past token transfer.

第9圖為顯示過去的符記傳遞的流程的圖。 Figure 9 is a diagram showing the flow of past token transfer.

第10圖為顯示過去的符記傳遞的流程的圖。 Figure 10 is a diagram showing the flow of past token transfer.

實施形態1 Embodiment 1

第1圖顯示本實施形態的符記傳遞系統的構成例。 Fig. 1 shows an example of the configuration of the token transfer system of the present embodiment.

在本實施形態中,符記傳遞系統由節點1(10)、節點2(11)、節點3(12)、節點4(13)、節點5(14)所構成,符記在連接這些節點的鏈結(link)(節點巡迴路徑)中巡迴。 In the present embodiment, the token transfer system is composed of a node 1 (10), a node 2 (11), a node 3 (12), a node 4 (13), and a node 5 (14), and is associated with the nodes. Tour in the link (node tour path).

各節點相當於通信裝置之例。 Each node corresponds to an example of a communication device.

在此,節點1(10)、節點2(11)、節點3(12)為符記管理節點候補。 Here, the node 1 (10), the node 2 (11), and the node 3 (12) are candidate management node candidates.

各符記管理節點候補,對應於符記的位置,交替地成為符記管理節點。 Each of the character management node candidates alternately becomes a token management node in accordance with the position of the token.

更具體地說,在本實施形態中,符記管理節點候補,只有在該符記管理節點候補傳送符記之後,到接收到下一個符記管理節點候補傳來的符記之間的期間,作為符記管理節點。 More specifically, in the present embodiment, the token management node candidate is only between the token management node candidate transmission token and the period after receiving the token transmitted from the next token management node candidate. As a token management node.

符記管理節點候補係相當於符記管理控制裝置之例。 The character management node candidate system is equivalent to an example of the character management control device.

在本實施形態中,複數個節點交替地成為符記管理節點,藉此以縮短由於符記管理節點異常的符記喪失所造成的符記傳遞的停止時間。 In the present embodiment, a plurality of nodes alternately become the character management node, thereby shortening the stop time of the token transmission due to the loss of the token of the token management node.

第5圖為顯示符記管理節點及符記管理節點候補之構成例的圖,第6圖為顯示符記管理節點候補之外的節點(普通節點)的構成例之圖。 Fig. 5 is a view showing an example of the configuration of the character management node and the character management node candidate, and Fig. 6 is a view showing a configuration example of a node (ordinary node) other than the candidate for the management node.

另外,在第5圖中,顯示節點1(10)的構成例以作為符記管理節點候補的代表。 Further, in Fig. 5, a configuration example of the display node 1 (10) is used as a representative of the candidate management node candidate.

另外,在第6圖中,顯示節點4(13)的構成例以作為普通節點的代表。 Further, in Fig. 6, a configuration example of the node 4 (13) is shown as a representative of a normal node.

在第5圖中,符記送信部80將符記(嚴格來說是符記訊框)傳送至其他的節點。 In Fig. 5, the signature transmitting unit 80 transmits the token (strictly speaking, the character frame) to the other node.

如前所述,符記送信部80,藉由多播(multicast)或廣播(broadcast)的方式傳送符記。 As described above, the token transmitting unit 80 transmits the token by multicast or broadcast.

符記受信部81,接收從其他節點傳送之符記。 The token receiving unit 81 receives the token transmitted from the other node.

符記目的地判別部82,判斷符記受信部81所接收的符記之目的地。 The token destination determining unit 82 determines the destination of the token received by the token receiving unit 81.

符記目的地判別部82,能夠藉由判別符記的目的地,檢出 在符記傳遞系統中符記的位置(哪一個節點正持有符記)。 The token destination determining unit 82 can detect the destination of the discriminator The location of the token in the token passing system (which node is holding the token).

符記目的地判別部82,相當於符記位置檢出部之例。 The token destination determining unit 82 corresponds to an example of the token position detecting unit.

送受信資料處理部83,在符記受信部81已接收的符記經由符記目的地判別部82判斷為本身節點為目的地的符記的情況下,執行包含於符記訊框中之資料的取得、已取得資料的解析、以及包含於符記訊框中資料的產生等。 When the token received by the token receiving unit 81 determines that the token is the destination token by the token destination determining unit 82, the token receiving data processing unit 83 executes the data included in the token frame. The acquisition, the analysis of the acquired data, and the generation of the data contained in the information frame.

符記管理節點動作部84,係為在作為符記管理節點時運作的功能。 The token management node operation unit 84 is a function that operates when it is a token management node.

依據符記的位置決定哪一個節點為符記管理節點。 According to the position of the token, which node is the token management node.

符記管理節點動作部84由符記產生部85及符記監視計時器86構成。 The token management node operation unit 84 is composed of a token generation unit 85 and a token monitoring timer 86.

符記產生部85,當符記監視計時器86逾時的時候檢出符記之消失,產生新的符記(嚴格來說是符記訊框),並將新的符記透過符記送信部80傳送至符記巡迴路徑。 The token generating unit 85, when the token watchdog timer 86 expires, detects the disappearance of the token, generates a new token (strictly speaking, a token box), and transmits the new token through the token. The part 80 is transmitted to the token tour path.

符記監視計時器86為用以檢知符記消失的計時器。 The token watchdog timer 86 is a timer for detecting that the token disappears.

另外,符記產生部85及符記監視計時器86所執行的控制稱之為符記管理控制。 Further, the control executed by the token generating unit 85 and the token monitoring timer 86 is referred to as token management control.

符記產生部85及符記監視計時器86相當於符記管理控制部之例。 The token generating unit 85 and the token monitoring timer 86 correspond to an example of the token management control unit.

第6圖所示的普通節點係構成為,從第5圖的構成中去除符記管理節點動作部84、符記產生部85、及符記監視計時器86。 The normal node shown in FIG. 6 is configured such that the character management node operation unit 84, the token generation unit 85, and the token monitoring timer 86 are removed from the configuration of FIG.

亦即,符記送信部90執行和符記送信部80一樣的動作,符記受信部91執行和符記受信部81相同的動作。 In other words, the token transmitting unit 90 performs the same operation as the token transmitting unit 80, and the token receiving unit 91 performs the same operation as the token receiving unit 81.

再者,符記目的地判別部92執行和符記目的地判別部82相同的動作,送受信資料處理部93執行和送受信資料處理部83一樣的動作。 In addition, the token destination determining unit 92 performs the same operation as the token destination determining unit 82, and the transmission/reception data processing unit 93 performs the same operation as the transmission/reception data processing unit 83.

繼之,說明本實施形態的符記傳遞系統之動作例。 Next, an operation example of the token transfer system of the present embodiment will be described.

第2圖為顯示本實施形態的符記傳遞系統之基本動作的流程。 Fig. 2 is a flow chart showing the basic operation of the token transfer system of the embodiment.

首先,在節點1(10)中,符記送信部80將符記傳送至目的地節點2(11)。 First, in the node 1 (10), the signature transmitting unit 80 transmits the token to the destination node 2 (11).

另外,符記送信部80開始符記監視計時器86,符記產生部85開始所有節點的符記監視。 Further, the token transmitting unit 80 starts the token monitoring timer 86, and the token generating unit 85 starts the token monitoring of all the nodes.

亦即,節點1(10),在將符記傳送至目的地節點2(11)的時間點,即由符記管理節點候補變成符記管理節點。 That is, the node 1 (10) becomes a token management node at the time point when the token is transmitted to the destination node 2 (11), that is, by the token management node candidate.

在節點2(11)中,當符記受信部81接收到節點1(10)傳來的符記時,符記目的地判別部82,確認符記之目的地。 In the node 2 (11), when the token receiving unit 81 receives the token transmitted from the node 1 (10), the token destination determining unit 82 confirms the destination of the token.

當確認了符記的目的地為節點2(11)時,送受信資料處理部83執行送信資料、受信資料的處理,符記送信部80將符記傳送至目的地節點3(12)。 When it is confirmed that the destination of the token is the node 2 (11), the transmission/reception data processing unit 83 executes the processing of the delivery data and the received data, and the token transmission unit 80 transmits the token to the destination node 3 (12).

此時,符記送信部80開始符記監視計時器86,符記產生部85開始所有節點的符記監視。 At this time, the token transmitting unit 80 starts the token monitoring timer 86, and the token generating unit 85 starts the token monitoring of all the nodes.

亦即,節點2(11),在將符記傳送至目的地節點3(12)的時間點,即由符記管理節點候補變成符記管理節點。 That is, the node 2 (11) becomes a token management node at the point of time when the token is transmitted to the destination node 3 (12), that is, by the token management node candidate.

在此,在節點1(10)中,當符記受信部81接收到節點2(11)所傳送的符記時,符記受信部81將符記監視計時器86停止。 Here, in the node 1 (10), when the token receiving unit 81 receives the token transmitted by the node 2 (11), the token receiving unit 81 stops the token monitoring timer 86.

亦即,在節點1(10)中,當符記受信部81接收到節點2(11)所傳送的符記時,就停止作為符記管理節點的功能(回到符記管理節點候補)。 That is, in the node 1 (10), when the token receiving unit 81 receives the token transmitted by the node 2 (11), the function as the token management node is stopped (return to the token management node candidate).

如上述,各符記管理節點候補從傳送符記之後,到接收到下一個符記管理節點候補傳送的符記為止的期間,作為符記管理節點。 As described above, each of the token management node candidates is a token management node from the time of the transfer of the token to the receipt of the token of the next token management node candidate transmission.

符記管理節點監視符記的消失,並在符記消失的情況下,執行符記的再發行。 The token management node monitors the disappearance of the token, and when the token disappears, the reissue of the token is executed.

繼之,使用第3圖,說明節點發生異常時的動作例。 Next, an operation example when an abnormality occurs in a node will be described using FIG.

在此,說明節點4(13)發生異常的情況。 Here, a case where an abnormality occurs in the node 4 (13) will be described.

如前所述,符記管理節點依據節點1(10)、節點2(11)、節點3(12)、節點1(10)的順序移行。 As described above, the token management node moves in the order of node 1 (10), node 2 (11), node 3 (12), and node 1 (10).

在符記被傳送到節點4(13)的時間點,節點3(12)為符記管理節點。 At the point in time when the token is transmitted to node 4 (13), node 3 (12) is the token management node.

在節點4(13)發生異常的情況下,節點3(12)的監視計時器86逾時,節點3(12)的符記產生部85判斷節點4(13)發生異常。 When an abnormality occurs in the node 4 (13), the watch timer 86 of the node 3 (12) expires, and the token generating unit 85 of the node 3 (12) determines that the node 4 (13) is abnormal.

而且,節點3(12)的符記產生部85,產生以節點5(14)為目的地的新的符記,透過符記送信部80以將新的符記傳送至符記巡迴路徑-執行符記的再發行。 Further, the token generating unit 85 of the node 3 (12) generates a new token destined for the node 5 (14), and transmits the new token to the token tour path through the token transmitting unit 80 - execution Redistribution of the token.

如上述,符記產生部85,抽出使符記消失的節點(符記消失裝置),產生以具有從使符記消失的節點接收符記之關係的節點作為傳送目的地的新的符記。 As described above, the token generating unit 85 extracts a node (memory disappearing device) that causes the token to disappear, and generates a new token as a transfer destination with a node having a relationship of receiving the token from the node that has disappeared.

繼之,使用第4圖,說明節點1(10)發生電源中 斷等的異常時的動作例。 Then, using Figure 4, the node 1 (10) is in the power supply. An example of an operation when an abnormality such as a break occurs.

如前所述,符記管理節點依據節點1(10)、節點2(11)、節點3(12)、節點1(10)的順序移行。 As described above, the token management node moves in the order of node 1 (10), node 2 (11), node 3 (12), and node 1 (10).

當節點1(10)發生異常時,節點3(12)動作作為符記管理節點。 When an abnormality occurs in node 1 (10), node 3 (12) acts as a token management node.

節點3(12),當其確認符記沒有從已發生異常的節點1(10)傳送時,對節點2(11)再發行符記。 Node 3 (12) redistributes the token to node 2 (11) when its confirmation token is not transmitted from node 1 (10) where the exception has occurred.

如此,當節點1(10)發生異常時,不用在節點2(11)、節點3(12)進行調停,而由節點3(12)作為符記管理節點唯一決定,並執行符記的再發行。 Thus, when node 1 (10) is abnormal, it is not necessary to mediate at node 2 (11) and node 3 (12), but node 3 (12) is the sole decision of the management node, and the reissue of the token is executed. .

因此,不會有複數節點重複再發行符記的情況,能夠避免決定符記管理節點的調停處理而造成的符記傳遞的停止,因此,能夠縮短到符記傳遞重新開始為止的時間。 Therefore, there is no case where the complex node repeats the redistribution token, and it is possible to avoid the stop of the token transmission due to the mediation processing of the token management node. Therefore, the time until the token transmission is restarted can be shortened.

最後,參照第7圖說明本實施形態的各節點之硬體構成例。 Finally, an example of the hardware configuration of each node in the present embodiment will be described with reference to Fig. 7.

各節點為電腦,能夠用程式實現各節點的各元件。 Each node is a computer, and each component of each node can be implemented by a program.

各節點的硬體構成,為演算裝置901、外部記憶裝置902、主記憶裝置903、通信裝置904、輸出入裝置905和匯流排連接。 The hardware configuration of each node is connected to the calculation device 901, the external memory device 902, the main memory device 903, the communication device 904, the input/output device 905, and the bus bar.

計算裝置901為執行程式的中央處理單元(CPU)。 The computing device 901 is a central processing unit (CPU) that executes programs.

外部記憶裝置902為例如唯讀儲存體(ROM)、快閃儲存體、或硬碟裝置。 The external memory device 902 is, for example, a read only memory (ROM), a flash memory, or a hard disk device.

主記憶裝置903為隨機存取儲存體(RAM)。 The main memory device 903 is a random access memory (RAM).

通信裝置904對應於符記送信部80、符記受信部81、符記送信部90、符記受信部91的物理層。 The communication device 904 corresponds to the physical layer of the token transmitting unit 80, the token receiving unit 81, the token transmitting unit 90, and the token receiving unit 91.

輸出入裝置905為例如滑鼠、鍵盤、顯示器裝置等。 The input/output device 905 is, for example, a mouse, a keyboard, a display device, or the like.

程式通常係儲存於外部記憶裝置902中,在載入到主記憶裝置903的狀態下,由演算裝置901讀取及執行。 The program is usually stored in the external memory device 902, and is read and executed by the computing device 901 in the state of being loaded into the main memory device 903.

程式係為實現說明為第1圖中所示之「~部」的功能之程式。 The program is a program that realizes the function of the "~ part" shown in Fig. 1.

而且,在外部記憶裝置902中也事先儲存了作業系統(OS),將OS的至少一部份載入主記憶裝置903,並由計算裝置901執行OS,同時執行實現第1圖中所示之「~部」的功能的程式。 Moreover, the operating system (OS) is also stored in the external memory device 902, at least a portion of the OS is loaded into the main memory device 903, and the OS is executed by the computing device 901 while performing the implementation shown in FIG. The program of the function of "~".

另外,在實施形態1及2的說明中,表示「~的判斷」、「~的判定」、「~的抽出」、「~的檢出」、「~的產生」、「~的受信」、「~的送信」等的處理的結果的資訊、資料、信號值、或變數值係以檔案的形式儲存在主記憶裝置903中。 In addition, in the descriptions of the first and second embodiments, "determination of ~", "determination of ~", "extraction of ~", "detection of ~", "production of ~", "receipt of ~", The information, data, signal value, or variable value of the result of the processing such as "~ delivery" is stored in the main memory device 903 in the form of a file.

另外,第7圖的構成僅為各節點的硬體構成之一例,各節點的硬體構成並不限於第7圖記載的構成,也可以為其他的構成。 In addition, the configuration of Fig. 7 is only an example of the hardware configuration of each node, and the hardware configuration of each node is not limited to the configuration described in Fig. 7, and may be other configurations.

另外,依據本實施形態所示之程序,能夠實現本發明的符記管理方法。 Further, according to the program shown in this embodiment, the token management method of the present invention can be realized.

10‧‧‧節點1 10‧‧‧ Node 1

11‧‧‧節點2 11‧‧‧ Node 2

12‧‧‧節點3 12‧‧‧ Node 3

13‧‧‧節點4 13‧‧‧Node 4

14‧‧‧節點5 14‧‧‧Node 5

Claims (5)

一種通信裝置,其係為包含於符記巡迴的符記巡迴路徑中的通信裝置,其包括:檢出該符記的位置之符記位置檢出部;及符記管理控制部,其將監視該符記巡迴路徑,在該符記消失了的情況下,產生新的符記,將該新的符記在該符記巡迴路徑中巡迴的符記管理控制,對應於由該符記位置檢出部所檢出的該符記的位置,和包含於該符記巡迴路徑中進行該符記管理控制的其他通信裝置之符記管理控制裝置交替執行。 A communication device, which is a communication device included in a token tour path of a token tour, comprising: a location location detection unit that detects a location of the token; and a token management control unit that monitors The token tour path, when the token disappears, generates a new token, and the new token is recorded in the token management path for the token management control, corresponding to the location check by the token The position of the token detected by the parent is alternately executed with the token management control device of the other communication device included in the token tour path for performing the token management control. 如申請專利範圍第1項所述之通信裝置,該符記管理控制部,當該符記位置檢出部檢出該符記已由該通信裝置本身送出之後,直到該符記位置檢出部檢出該符記已從該符記管理控制裝置送出為止的期間,執行該符記管理控制。 The communication device according to claim 1, wherein the character position management unit detects that the character is sent by the communication device itself until the character position detecting unit The token management control is executed while detecting that the token has been sent from the token management control device. 如申請專利範圍第1項所述之通信裝置,該符記管理控制部執行:在該符記消失了的情況下,抽出包含於該符記巡迴路徑中,並使該符記消失的其他通信裝置之符記消失裝置;產生新的符記,其係以包含於該符記巡迴路徑中,且具有從該符記消失裝置接收該符記之關係的通信裝置作為為傳送目的地。 According to the communication device of the first aspect of the invention, the token management control unit executes: when the token disappears, extracts another communication included in the token tour path and causes the token to disappear. The device is marked as a disappearing device; a new token is generated, which is included in the token tour path, and has a communication device that receives the relationship of the token from the token disappearing device as a transfer destination. 一種符記管理方法,其係由包含於符記巡迴的符記巡迴路徑中的通信裝置執行後述步驟:檢出該符記的位置; 將監視該符記巡迴路徑,在該符記消失了的情況下,產生新的符記,將該新的符記在該符記巡迴路徑中巡迴的符記管理控制,對應於已檢出的該符記的位置,和包含於該符記巡迴路徑中進行該符記管理控制的其他通信裝置之符記管理控制裝置交替執行。 A method for managing a token, wherein the communication device included in the token tour path of the token tour performs a later step of: detecting the location of the token; The token tour path will be monitored. When the token disappears, a new token is generated, and the new token is recorded in the token management path, and the token management control corresponds to the detected token. The position of the token is alternately executed with the token management control device of the other communication device included in the token tour path for performing the token management control. 一種程式產品,其使得包含於符記巡迴的符記巡迴路徑中的通信裝置執行後述步驟:檢出該符記的位置之符記位置檢出處理;符記管理控制處理,其將監視該符記巡迴路徑,在該符記消失了的情況下,產生新的符記,將該新的符記在該符記巡迴路徑中巡迴的符記管理控制,對應於由該符記位置檢出部所檢出的該符記的位置,和包含於該符記巡迴路徑中進行該符記管理控制的其他通信裝置之符記管理控制裝置交替執行。 A program product for causing a communication device included in a token tour path of a token tour to perform a step of detecting a position detection process of a position of the token; and a token management control process that monitors the character When the token disappears, a new token is generated, and the new token is recorded in the token management path, and the token management unit corresponds to the location detection unit. The position of the detected token is alternately executed with the token management control device of the other communication device included in the token tour path for performing the token management control.
TW103122614A 2014-05-20 2014-07-01 Communication devices and traces of management methods and computer program products TWI526023B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2014/063358 WO2015177869A1 (en) 2014-05-20 2014-05-20 Communication apparatus, token management method and program

Publications (2)

Publication Number Publication Date
TW201545506A TW201545506A (en) 2015-12-01
TWI526023B true TWI526023B (en) 2016-03-11

Family

ID=54553566

Family Applications (1)

Application Number Title Priority Date Filing Date
TW103122614A TWI526023B (en) 2014-05-20 2014-07-01 Communication devices and traces of management methods and computer program products

Country Status (2)

Country Link
TW (1) TWI526023B (en)
WO (1) WO2015177869A1 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07107108A (en) * 1993-09-29 1995-04-21 Hitachi Cable Ltd Fault point separating device for lan
JP3301206B2 (en) * 1994-04-08 2002-07-15 株式会社デンソー Information and communication network

Also Published As

Publication number Publication date
WO2015177869A1 (en) 2015-11-26
TW201545506A (en) 2015-12-01

Similar Documents

Publication Publication Date Title
JP6638644B2 (en) Information processing apparatus and abnormality detection method
US10095576B2 (en) Anomaly recovery method for virtual machine in distributed environment
JP2017517060A (en) Fault processing method, related apparatus, and computer
US9189314B2 (en) Electronic device and method for detecting firmware of BMC
TW201800972A (en) Intrusion detection device and intrusion detection program
JP5987069B2 (en) Numerical control system with internal register self-reset function by serial communication signal monitoring
US20150363252A1 (en) Determining and correcting software server error conditions
JP2015108898A (en) Abnormality detection system and abnormality detection method
WO2015034619A1 (en) Rootkit detection in a computer network
JP2010187244A (en) System for detecting/recovering token abnormality between terminal apparatuses
US10929321B2 (en) Communication apparatus, communication method, program, and communication system with avoidance of false detection of signal level changes
TWI526023B (en) Communication devices and traces of management methods and computer program products
WO2015188619A1 (en) Physical host fault detection method and apparatus, and virtual machine management method and system
US11544091B2 (en) Determining and implementing recovery actions for containers to recover the containers from failures
CN109828855B (en) Multiprocessor error detection system and method thereof
TWI632442B (en) Attack / anomaly detection device, attack / anomaly detection method, and attack / anomaly detection program
US9619310B2 (en) High speed data transmission methods and systems upon error detection
JP6897145B2 (en) Information processing device, information processing system and information processing device control method
US20170142677A1 (en) Sequence detection method and apparatus, and computer storage medium
JP2016162294A (en) Monitoring system, sensor node, server, and control method
WO2015176442A1 (en) Clock switching method and device
US9639438B2 (en) Methods and systems of managing an interconnection
CN105306256B (en) A kind of two-node cluster hot backup implementation method based on VxWorks equipment
US10419363B2 (en) Network device, communication method, and recording medium
US9454668B2 (en) Information processing system, information processing apparatus, terminal apparatus, and control method

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees