Method for verifying configuration parameters of EPA system, host, computer readable storage medium and computer program product

The configuration parameters of the EPA node are obtained through the host, the scheduling chart is constructed, and the configuration conflicts in the EPA system are identified, which solves the problem that the configuration cannot be actively verified in the EPA system, and improves the troubleshooting efficiency and system stability.

CN119052087APending Publication Date: 2024-11-29ZHEJIANG GUOLI XINAN TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202411555173.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-04
Publication Date
2024-11-29

AI Technical Summary

Technical Problem

In EPA systems, it is impossible to actively verify whether the configuration configuration parameters of the node are correct. Usually, the cause of the failure can only be gradually inferred when there is a problem with the system communication.

Method used

The host obtains the configuration and configuration parameters of all EPA nodes, including IP addresses, transmission offset time and period time slice length, determines the scheduling chart, recognizes the affiliation and connection relationships, and judges whether each EPA node has a relationship with other nodes based on this information. There is a configuration conflict, and the conflicting part is displayed through visual graphics.

Benefits of technology

It realizes the active verification of conflicts in the node configuration parameters of EPA system, improves the troubleshooting efficiency and system stability, and can timely identify and display configuration conflicts, promoting timely processing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119052087A_ABST
    Figure CN119052087A_ABST
Patent Text Reader

Abstract

The invention provides a method for verifying configuration parameters of an EPA system, a host, a computer readable storage medium and a computer program product. The method comprises the steps that at the host, configuration parameters of all EPA nodes connected with the host are obtained, and the configuration parameters of each EPA node at least comprise the IP address, the sending offset time and the period time slice length of the EPA node; determining a scheduling graph of the EPA system based on the configuration parameters of the plurality of EPA nodes of the EPA system, wherein the scheduling graph indicates a membership relationship and a connection relationship of the plurality of EPA nodes; and determining whether each EPA node is in configuration conflict with one or more other EPA nodes in the plurality of EPA nodes or not based on the scheduling graph of the EPA system and the transmission offset time and the periodic time slice length of the plurality of EPA nodes.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention generally relates to the field of automatic control, and more specifically, to a method, a host, a computer-readable storage medium and a computer program product for verifying configuration parameters of an EPA system. Background Art

[0002] Ethernet for Plant Automation (EPA) is a real-time Ethernet technology for control systems independently developed by China. It has been included in the international fieldbus standard IEC61158 and the real-time Ethernet standard IEC61784. Currently, EPA has been widely used in many fields such as electricity, chemical industry, machinery, mining, and petroleum.

[0003] The number and connection relationship of EPA nodes in an EPA network may be different, resulting in different network topologies. Accordingly, different configuration parameters need to be set for each EPA node. In addition, even for the same topology, different configuration parameters may be set for each EPA node for different application scenarios.

[0004] Currently, after the configuration of the EPA node is completed, it is impossible to actively verify whether the configuration of the EPA node is correct, and the only way is to gradually infer whether it is due to a configuration failure when a problem occurs in system communication.

[0005] Therefore, it is hoped that a solution for actively verifying the configuration parameters of the EPA system can be designed, so that the host in the EPA system can actively determine whether there is a possible conflict between the actual configuration parameters of each EPA node. Summary of the invention

[0006] In view of the above problems, the present invention provides a solution for verifying the configuration parameters of the EPA system, which can enable the host in the EPA system to actively determine whether there is a possible conflict between the actual configuration parameters of each EPA node.

[0007] According to one aspect of the present invention, a method for verifying configuration parameters of an EPA system is provided, wherein the EPA system includes a host and multiple EPA nodes, and the method includes, at the host: obtaining configuration parameters of all EPA nodes connected to the host, wherein the configuration parameters of each EPA node include at least the IP address, sending offset time and cycle time slice length of the EPA node; determining a scheduling diagram of the EPA system based on the configuration parameters of the multiple EPA nodes of the EPA system, wherein the scheduling diagram indicates affiliation and connection relationships of the multiple EPA nodes; and determining whether each EPA node has a configuration conflict with one or more other EPA nodes among the multiple EPA nodes based on the scheduling diagram of the EPA system and the sending offset time and cycle time slice length of the multiple EPA nodes.

[0008] In some implementations, the configuration parameters of each EPA node also include the connection relationship of the EPA node, and determining the scheduling diagram of the EPA system based on the configuration parameters of the multiple EPA nodes of the EPA system includes: determining the EPA network of the EPA system to which the EPA node belongs as the affiliation of the EPA node based on a predetermined field of the IP address of each EPA node; and determining the scheduling diagram of the EPA system based on the connection relationship of the multiple EPA nodes and the EPA network to which each EPA node belongs.

[0009] In some implementations, determining a scheduling graph of the EPA system based on the configuration parameters of the multiple EPA nodes of the EPA system includes: determining an EPA network of the EPA system to which the EPA node belongs as the affiliation of the EPA node based on a predetermined field of the IP address of each EPA node; for at least two EPA nodes belonging to the same EPA network, determining a connection relationship between the at least two EPA nodes based on another predetermined field of the IP addresses of the at least two EPA nodes; and determining a scheduling graph of the EPA system based on the connection relationship between the multiple EPA nodes and the EPA network to which each EPA node belongs.

[0010] In some implementations, determining whether each EPA node has a configuration conflict with one or more other EPA nodes among the multiple EPA nodes includes: sorting the EPA nodes of each EPA network of the EPA system based on a scheduling diagram of the EPA system; and for each EPA node in the EPA network, determining whether the EPA node has a configuration conflict with the previous EPA node based on a sending offset time and a cycle time slice length between the EPA node and the previous EPA node of the EPA node.

[0011] In some implementations, sorting the EPA nodes of each EPA network of the EPA system based on the scheduling graph of the EPA system includes: determining the order of the EPA nodes of the EPA network according to the connection relationship of each EPA node in the EPA network; and sorting the sending offset time and periodic time slice length of the EPA nodes of the EPA network according to the order of the EPA nodes of the EPA network.

[0012] In some implementations, for each EPA node in the EPA network, determining whether the EPA node has a configuration conflict with the previous EPA node based on the sending offset time and the periodic time slice length of the EPA node and the previous EPA node further includes: determining that the EPA node has a configuration conflict with the previous EPA node when any of the following conditions is met, and conversely, determining that the EPA node has no configuration conflict with the previous EPA node: the sending offset time of the EPA node is less than or equal to the sending offset time of the previous EPA node and the sum of the sending offset time of the EPA node and the periodic time slice length is greater than or equal to the sending offset time of the previous EPA node; the sending offset time of the EPA node The offset time is greater than or equal to the sending offset time of the previous EPA node and the sending offset time of the EPA node is less than or equal to the sum of the sending offset time of the previous EPA node and the periodic time slice length; the sending offset time of the EPA node is less than or equal to the sending offset time of the previous EPA node and the sum of the sending offset time of the EPA node and the periodic time slice length is greater than or equal to the sum of the sending offset time of the previous EPA node and the periodic time slice length; the sending offset time of the EPA node is greater than or equal to the sending offset time of the previous EPA node and the sum of the sending offset time of the EPA node and the periodic time slice length is less than or equal to the sum of the sending offset time of the previous EPA node and the periodic time slice length.

[0013] In some implementations, determining whether each EPA node has a configuration conflict with one or more other EPA nodes among the multiple EPA nodes includes: for each EPA node of an EPA network in the EPA system, determining whether the EPA node has a configuration conflict with any other EPA node based on the transmission offset time and periodic time slice length of the EPA node and any other EPA node in the EPA network.

[0014] In some implementations, determining whether the EPA node conflicts with the configuration of any other EPA node further includes: determining that the EPA node conflicts with the configuration of any other EPA node when any of the following conditions is met, and otherwise determining that the EPA node does not conflict with the configuration of any other EPA node: the sending offset time of the EPA node is less than or equal to the sending offset time of any other EPA node and the sum of the sending offset time of the EPA node and the periodic time slice length is greater than or equal to the sending offset time of any other EPA node; the sending offset time of the EPA node is greater than or equal to the sending offset time of any other EPA node and the EPA node is The sending offset time of the PA node is less than or equal to the sum of the sending offset time of any other EPA node and the length of the periodic time slice; the sending offset time of the EPA node is less than or equal to the sending offset time of any other EPA node and the sum of the sending offset time of the EPA node and the length of the periodic time slice is greater than or equal to the sum of the sending offset time of any other EPA node and the length of the periodic time slice; the sending offset time of the EPA node is greater than or equal to the sending offset time of any other EPA node and the sum of the sending offset time of the EPA node and the length of the periodic time slice is less than or equal to the sum of the sending offset time of any other EPA node and the length of the periodic time slice.

[0015] In some implementations, the method further includes: upon determining that there is a configuration conflict between EPA nodes of an EPA network of the EPA system, displaying the conflicting EPA nodes in a visual graphic on the host.

[0016] In some implementations, displaying conflicting EPA nodes in a visual graphic on the host includes at least one of the following: determining conflicting portions of the conflicting EPA nodes and distinctively displaying the conflicting portions in a visual macrocycle diagram of the EPA system; and distinctively displaying the conflicting EPA nodes in a visual scheduling diagram of the EPA system.

[0017] According to another aspect of the present invention, a host is provided, comprising: a processor and a memory, wherein the memory comprises instructions executable by the processor, and the processor is configured to enable the host to execute the method described above.

[0018] According to another aspect of the present invention, a computer-readable storage medium is provided, on which a computer program code is stored. When the computer program code is executed, the method described above is executed. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] The present invention will be better understood and other objects, details, features and advantages of the present invention will become more apparent through the following description of specific embodiments of the present invention given with reference to the accompanying drawings.

[0020] Figure 1 A schematic diagram of an exemplary EPA system according to an embodiment of the present invention is shown.

[0021] Figure 2 A schematic diagram showing a communication cycle of an EPA network according to an embodiment of the present invention is shown.

[0022] Figure 3 An exemplary flow chart of a method for verifying configuration parameters of an EPA system according to some embodiments of the present invention is shown.

[0023] Figure 4 A schematic flow chart of a process for determining a scheduling diagram of an EPA system according to an embodiment of the present invention is shown.

[0024] FIG. 5A to FIG. 5D Schematic diagrams showing four situations in which the cycle time slice of an EPA node overlaps with the cycle time slice of any other EPA node.

[0025] FIG. 6A to FIG. 6D Schematic diagrams showing four situations in which the cycle time slice of an EPA node overlaps with the cycle time slice of a previous EPA node.

[0026] Figure 7 A block diagram of a host computer suitable for implementing embodiments of the present disclosure is shown. DETAILED DESCRIPTION

[0027] The preferred embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although the preferred embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be limited by the embodiments described herein. On the contrary, these embodiments are provided to make the present invention more thorough and complete, and to fully convey the scope of the present invention to those skilled in the art.

[0028] In the following description, certain specific details are set forth for the purpose of illustrating various embodiments of the invention to provide a thorough understanding of the various embodiments of the invention. However, those skilled in the relevant art will recognize that the embodiments may be practiced without one or more of these specific details. In other cases, well-known devices, structures, and techniques associated with the present application may not be shown or described in detail to avoid unnecessarily obscuring the description of the embodiments.

[0029] Unless the context requires otherwise, throughout the specification and claims, the word "comprise" and variations such as "include" and "have" should be construed in an open, inclusive sense, ie, should be interpreted as "including, but not limited to."

[0030] References throughout the specification to "one embodiment" or "some embodiments" indicate that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment. Thus, the appearance of "in one embodiment" or "some embodiments" in various places throughout the specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any manner in one or more embodiments.

[0031] In addition, the terms "first", "second", "third", etc. used in the specification and claims are only used to distinguish each object for the sake of clarity of description, and do not limit the size or other order of the objects described, unless otherwise specified.

[0032] Figure 1 1 shows a schematic diagram of an exemplary EPA system 100 according to an embodiment of the present invention. Figure 1 As shown in , the EPA system 100 includes a host 110 and a plurality of EPA nodes 120. The host 110 is used to perform control of the EPA nodes 120, such as configuration, etc., and each EPA node 120 can perform periodic communication according to a specific EPA protocol. The host 110 can be, for example, a computer or server of an enterprise that needs to perform industrial control, or even a server cluster, and each EPA node 120 can be a controlled industrial device that supports the EPA function or an external converter that provides the EPA function for a controlled industrial device that does not support the EPA function. The host 110 can be connected to each EPA node 120 directly or through a switch.

[0033] All EPA nodes 120 connected to the host 110 may belong to one EPA network or to multiple different EPA networks, each of which has its own topology. Figure 1 As shown in FIG. 1 , it is assumed that EPA nodes 120-1, 120-2, 120-3, 120-4 and 120-5 belong to EPA network 130, and EPA nodes 120-4, 120-5, 120-6 and 120-7 belong to EPA network 140. EPA network 130 is a ring topology structure, and EPA network 140 is a linear topology structure.

[0034] In each EPA network (such as EPA network 130 or EPA network 140), each EPA node performs periodic communication using time division multiplexing according to the EPA protocol, that is, under the premise of working on the same time base, a communication cycle of a specified time length is formulated according to the specific application scenario of the system, and the start and end times of the communication cycles of all EPA nodes in the network are consistent.

[0035] Figure 2 FIG. 1 is a schematic diagram showing a communication cycle of an EPA network according to an embodiment of the present invention. In each EPA network, such as EPA network 130, a communication cycle is also referred to as a macrocycle. Figure 2 As shown in , each macrocycle T of the EPA network 130 may include a periodic time period Tp and a non-periodic time period Tnp. The periodic time period Tp of the macrocycle T is used for each EPA node 120 in the EPA network 130 to send a periodic message. In a given communication mode, a periodic time slice during the periodic time period Tp is allocated to each EPA node 120 in the EPA network 130 to send a periodic message P of the EPA node 120 (e.g. Figure 2 The start time (also called the send time offset) and length (such as the packets P1, P2, P3, P4, and P5) of the periodic time slice are Figure 2 Tp1, Tp2, Tp3, Tp4 and Tp5) shown in are unique to each EPA node 120 and will not overlap or conflict with other nodes.

[0036] In an EPA network, the non-periodic time period Tnp of the macrocycle T is a time period shared by all devices in the network, and each EPA node 120 can declare different transmission time slices according to actual needs (for example, in the periodic message of the periodic time period Tp), such as declaring different transmission start time points and / or durations.

[0037] When the EPA system 100 is initially started, the host 110 usually pre-configures the corresponding IP address, port, functional module, communication parameters, etc. for each EPA node 120, and it is necessary to configure operating parameters such as the macro cycle length, cycle time period length, and the sending offset time of each EPA node 120. This is called configuration configuration, and these parameters are also called configuration parameters or configuration configuration parameters.

[0038] During the operation of the EPA system 100, communication delays may occur due to reasons such as failure of the link between the host 110 and the EPA node 120 or the link between each EPA node 120 or failure of each EPA node 120 itself, and the actual operating configuration parameters of each EPA node 120 may be different from the pre-configured ones.

[0039] However, currently, after the configuration of the EPA nodes 120 is completed, the host 110 cannot actively verify whether the configuration of each EPA node 120 is correct, and can only gradually troubleshoot the cause of the fault when a problem occurs in system communication.

[0040] In view of the above problems, the present invention proposes a solution for actively verifying the configuration parameters of the EPA system, which can enable the host in the EPA system to actively determine whether there is a possible conflict between the actual configuration parameters of each EPA node.

[0041] Figure 3 FIG. 1 is an exemplary flow chart of a method 300 for verifying configuration parameters of the EPA system 100 according to some embodiments of the present invention. The method 300 may be performed by Figure 1 The EPA system 100 shown in FIG. 1 is implemented by the host computer 110.

[0042] like Figure 3 As shown in FIG. 3 , in block 310 , the host 110 may obtain configuration parameters of all EPA nodes 120 connected to the host 110 .

[0043] Here, it is assumed that the host 110 does not store the configuration files of the various EPA nodes 120 connected thereto, that is, the host 110 does not know the configuration parameters currently used by the various EPA nodes.

[0044] When the host 110 is connected to each EPA node 120 through a switch, the register of the switch may store configuration parameters reported by each EPA node 120. In this case, the host 110 can directly obtain the configuration parameters of each EPA node 120 from the switch.

[0045] In other cases, the host 110 may obtain the configuration parameters of each EPA node by, for example, sending a query request to each EPA node 120 and receiving a response from each EPA node 120 to the query request.

[0046] As mentioned above, the configuration parameters of the EPA node 120 may include an IP address, a port, a functional module, a communication parameter, and operation parameters such as a macrocycle length, a cycle time segment length, and a sending offset time. In this document, the configuration parameters of each EPA node 120 acquired by block 310 include at least the IP address, the sending offset time, and the cycle time segment length of the EPA node 120.

[0047] In some embodiments, the configuration parameters of each EPA node 120 acquired by block 310 may also include a connection relationship of the EPA node 120. For example, the connection relationship may include a previous EPA node 120 and / or a next EPA node 120 connected to the EPA node 120.

[0048] In block 320, the host 110 may determine a scheduling diagram of the EPA system 100 based on the configuration parameters of the multiple EPA nodes 120 of the EPA system 100 obtained in block 310. In this document, the scheduling diagram is used to indicate the affiliation and connection relationship of the multiple EPA nodes 120 in the EPA system 100. The affiliation refers to which EPA network an EPA node 120 belongs to, for example, Figure 1 The EPA network 130 shown is also the EPA network 140. In some specific cases, if it is known in advance that the entire EPA system 100 includes only one EPA network, that is, all EPA nodes belong to the same EPA network, the scheduling diagram determined in block 320 may not include the affiliation of each EPA node.

[0049] like Figure 1 As shown in , the host 110 may control multiple EPA networks, such as EPA networks 130 and 140, each having a separate topology. Therefore, all EPA nodes 120 connected to the host 110 may belong to different EPA networks. In this case, the IP addresses of all EPA nodes 120 connected to the host 110 obtained in block 310 may involve EPA nodes of multiple EPA networks, so determining the scheduling graph of the EPA system 100 includes determining the affiliation of each EPA node 120, that is, to which EPA network the EPA node 120 belongs.

[0050] In addition, determining the scheduling diagram of the EPA system 100 should also include determining the connection relationship of each EPA node 120. In this way, it is possible to further determine whether there is a configuration conflict between the EPA nodes in each individual EPA network based on the connection relationship between the EPA nodes 120.

[0051] The IP address of each EPA node 120 is configured by the host 110 or other control device during the initial configuration. The configuration of the IP address of the EPA node 120 usually follows specific rules. For example, a predetermined field in the IP address of an EPA node 120 can be used to specify the EPA network to which the EPA node 120 belongs, and another predetermined field can be used to specify the position of the EPA node 120 in the EPA network. Taking the IP address of the EPA node 120 as a 4-byte Class C IPv4 address 192.168.*.* (where * is an integer from 0 to 255) as an example, the third byte (the first *) can be used to specify the EPA network to which the EPA node 120 belongs, and the fourth byte (the second *) can be used to specify the position of the EPA node 120 in the EPA network.

[0052] Therefore, in some embodiments, the affiliation and connection relationship of each EPA node 120 may be determined based on different fields of the IP address of the EPA node 120 .

[0053] Table 1 exemplarily shows a list of IP addresses of EPA nodes 120 connected to a host 110 according to an embodiment of the present invention. Figure 4 A schematic flow chart of a process (block 320 ) of determining a schedule for the EPA system 100 according to an embodiment of the present invention is shown.

[0054] Table 1

[0055] like Figure 4 As shown in FIG. 3 , in block 322 , the host 110 may determine the EPA network of the EPA system 100 to which each EPA node 120 belongs based on a predetermined field of the IP address of each EPA node 120 as the affiliation of the EPA node 120 .

[0056] As described above, assuming that the third byte of the IP address of each EPA node 120 is used to indicate the EPA network to which it belongs, in block 322, the host 110 may determine whether the EPA node 120 belongs to the EPA network 130 or the EPA network 140 based on whether the third byte of the IP address of each EPA node 120 is "1" or "2". For example, the host 110 may determine that the EPA nodes 120-1, 120-2, 120-3, 120-4, and 120-5 belong to the EPA network 130, and the EPA nodes 120-4, 120-5, 120-6, and 120-7 belong to the EPA network 140. Note that here the EPA nodes 120-4 and 120-5 have two different IP addresses, and they belong to two EPA networks at the same time.

[0057] Next, in block 324, for at least two EPA nodes 120 belonging to the same EPA network, the host 110 determines the connection relationship of these EPA nodes based on another predetermined field of the IP addresses of these EPA nodes.

[0058] As described above, assuming that the fourth byte of the IP address of each EPA node 120 is used to indicate its position in the EPA network to which it belongs, the host 110 may determine the connection relationship of these EPA nodes based on the fourth byte of the IP address of the EPA nodes 120 belonging to the same EPA network in block 324. For example, for the EPA nodes 120-1, 120-2, 120-3, 120-4, and 120-5 belonging to the EPA network 130, the host 110 may determine the connection relationship of these EPA nodes based on the setting rule of the IP address (e.g., the order of the fourth byte from small to large) that the next node of the EPA node 120-1 is the EPA node 120-2, the next node of the EPA node 120-2 is the EPA node 120-3, the next node of the EPA node 120-3 is the EPA node 120-4, and the next node of the EPA node 120-4 is the EPA node 120-5.

[0059] Next, at block 326 , the host 110 may determine a scheduling graph of the EPA system 100 based on the connection relationship of the plurality of EPA nodes 120 and the EPA network to which each EPA node 120 belongs.

[0060] Specifically, when the EPA system 100 includes multiple EPA networks, the host 110 can determine the EPA nodes included in each EPA network in box 322, and determine the connection relationship between these EPA nodes in box 324, so that in box 326, the host 110 can determine the scheduling diagram of the EPA system based on the connection relationship between the EPA nodes included in each EPA network.

[0061] In other embodiments, the configuration parameters of each EPA node 120 obtained in block 310 may also include the connection relationship of the EPA node 120, such as the previous EPA node 120 and / or the next EPA node 120 of the EPA node 120. In this case, in block 320, the host 110 may no longer need to determine the connection relationship of the EPA node 120 based on the IP address of the EPA node 120. In other words, after executing block 322, the host 110 may not need to execute block 324, but directly determine the scheduling diagram of the EPA system 100 in block 326 according to the affiliation of the multiple EPA nodes 120 determined in block 322 and the connection relationship in the configuration parameters of the EPA node 120 obtained in block 310.

[0062] continue Figure 3At block 330 , the host 110 may determine whether each EPA node 120 has a configuration conflict with one or more other EPA nodes 120 based on the scheduling diagram of the EPA system 100 and the transmission offset times and cycle time slice lengths of the plurality of EPA nodes 120 .

[0063] In some embodiments, for an EPA network in the EPA system 100, such as EPA network 130, it can be determined whether there is a configuration conflict between the EPA node 120 and any other EPA node 120 based on the transmission offset time and cycle time slice length of each EPA node 120 in the EPA network 130 and any other EPA node 120.

[0064] Specifically, taking the EPA network 130 as an example, it can be determined whether the EPA node 120-1 has a configuration conflict with any one of the EPA nodes 120-2, 120-3, 120-4, and 120-5 (e.g., the EPA node 120-4). Determining whether the EPA node 120-1 has a configuration conflict with the EPA node 120-4 can be determined by determining whether the cycle time slice of the EPA node 120-1 overlaps with the cycle time slice of the EPA node 120-4.

[0065] Table 2 exemplarily shows a list of IP addresses, transmission offset times, and periodic time slice lengths of EPA nodes 120 in the EPA network 130 according to an embodiment of the present invention.

[0066] Table 2

[0067] In the current embodiment, the EPA nodes 120 in the EPA network 130 are not sorted, so the IP addresses, transmission offset times, and cycle time slice lengths shown in Table 2 may not be consistent with the actual node order of the EPA network 130 .

[0068] FIG. 5A to FIG. 5D Schematic diagrams showing four situations where the cycle time slices of EPA node 120-1 overlap with the cycle time slices of EPA node 120-4. Note that FIG. 5A to FIG. 5D In the figure, only EPA nodes 120-1 and 120-4 are shown, and other nodes are not shown in the figure.

[0069] like Figure 5A As shown, the transmission offset time t1 of the EPA node 120-1 is less than or equal to the transmission offset time t4 of the EPA node 120-4, and the sum of the transmission offset time t1 of the EPA node 120-1 and the periodic time slice length Tp1 is greater than or equal to the transmission offset time t4 of the EPA node 120-4. That is, t1≤t4 and t1+Tp1≥t4.

[0070] like Figure 5B As shown, the transmission offset time t1 of the EPA node 120-1 is greater than or equal to the transmission offset time t4 of the EPA node 120-4 and the transmission offset time t1 of the EPA node 120-1 is less than or equal to the sum of the transmission offset time t4 of the EPA node 120-4 and the periodic time slice length Tp4. That is, t1≥t4 and t1≤t4+Tp4.

[0071] like Figure 5C As shown, the transmission offset time t1 of the EPA node 120-1 is less than or equal to the transmission offset time t4 of the EPA node 120-4, and the sum of the transmission offset time t1 of the EPA node 120-1 and the periodic time slot length Tp1 is greater than or equal to the sum of the transmission offset time t4 of the EPA node 120-4 and the periodic time slot length Tp4. That is, t1≤t4 and t1+Tp1≥t4+Tp4.

[0072] like Figure 5D As shown, the transmission offset time t1 of the EPA node 120-1 is greater than or equal to the transmission offset time t4 of the EPA node 120-4, and the sum of the transmission offset time t1 of the EPA node 120-1 and the periodic time slot length Tp1 is less than or equal to the sum of the transmission offset time t4 of the EPA node 120-4 and the periodic time slot length Tp4. That is, t1≥t4 and t1+Tp1≤t4+Tp4.

[0073] When any of the above four situations exist between EPA node 120-1 and EPA node 120-4, it is determined that the configurations of EPA node 120-1 and EPA node 120-4 conflict, otherwise, it is determined that the configurations of EPA node 120-1 and EPA node 120-4 do not conflict.

[0074] In this embodiment, for each EPA node in an EPA network, it is necessary to perform the above comparison process with each other EPA node in the EPA network to determine whether the EPA node has a configuration conflict with any other EPA node.

[0075] In other embodiments, the EPA nodes 120 of each EPA network, such as EPA network 140, may first be sorted based on the scheduling diagram of the EPA system 100, and then for each EPA node 120 (such as EPA node 120-6) in the EPA network 140, based on the sending offset time and cycle time slice length between the EPA node and its previous EPA node (such as EPA node 120-5), it is determined whether the EPA node 120-6 has a configuration conflict with its previous EPA node 120-5.

[0076] Here, sorting the EPA nodes 120 of the EPA network 140 may include: determining the order of the EPA nodes 120 of the EPA network 140 according to the connection relationship between the EPA nodes 120 of the EPA network 140, and then sorting the sending offset time and the periodic time slice length of the EPA nodes 120 of the EPA network 140 according to the order of the EPA nodes 120 of the EPA network 140.

[0077] Table 3 exemplarily shows a list of IP addresses, transmission offset times, and periodic time slice lengths of EPA nodes 120 in the EPA network 140 according to an embodiment of the present invention.

[0078] Table 3

[0079] Here, it is assumed that the order of the EPA nodes 120 of the EPA network 140 is EPA nodes 120-4, 120-5, 120-6 and 120-7, as shown in FIG. Figure 1 In addition, the same EPA node, such as EPA node 120-4 or 120-5, has different IP addresses in different EPA networks 130 and 140, and its sending offset time and cycle time slice length may also be different. For the sake of simplicity, the sending offset time and cycle time slice length in different EPA networks are represented by the same symbol in this article.

[0080] FIG. 6A to FIG. 6D Schematic diagrams showing four situations where the cycle time slices of EPA node 120-6 overlap with the cycle time slices of EPA node 120-5. Note that FIG. 6A to FIG. 6D In the figure, only EPA nodes 120-6 and 120-5 are shown, and other nodes are not shown in the figure.

[0081] like Fig. 6A As shown, the transmission offset time t6 of the EPA node 120-6 is less than or equal to the transmission offset time t5 of the EPA node 120-5, and the sum of the transmission offset time t6 of the EPA node 120-6 and the periodic time slice length Tp6 is greater than or equal to the transmission offset time t5 of the EPA node 120-5. That is, t6≤t5 and t6+Tp6≥t5.

[0082] like Figure 6B As shown, the transmission offset time t6 of the EPA node 120-6 is greater than or equal to the transmission offset time t5 of the EPA node 120-5 and the transmission offset time t6 of the EPA node 120-6 is less than or equal to the sum of the transmission offset time t5 of the EPA node 120-5 and the periodic time slice length Tp5. That is, t6≥t5 and t6≤t5+Tp5.

[0083] like Figure 6CAs shown, the transmission offset time t6 of the EPA node 120-6 is less than or equal to the transmission offset time t5 of the EPA node 120-5, and the sum of the transmission offset time t6 of the EPA node 120-6 and the periodic time slot length Tp6 is greater than or equal to the sum of the transmission offset time t5 of the EPA node 120-5 and the periodic time slot length Tp5. That is, t6≤t5 and t6+Tp6≥t5+Tp5.

[0084] like Fig.6D As shown, the transmission offset time t6 of the EPA node 120-6 is greater than or equal to the transmission offset time t5 of the EPA node 120-5, and the sum of the transmission offset time t6 of the EPA node 120-6 and the periodic time slot length Tp6 is less than or equal to the sum of the transmission offset time t5 of the EPA node 120-5 and the periodic time slot length Tp5. That is, t6≥t5 and t6+Tp6≤t5+Tp5.

[0085] When any of the above four situations exist between EPA node 120-6 and EPA node 120-5, it is determined that the configurations of EPA node 120-6 and EPA node 120-5 conflict, otherwise, it is determined that the configurations of EPA node 120-6 and EPA node 120-5 do not conflict.

[0086] In this embodiment, since the EPA nodes in the EPA network have been sorted according to their connection relationships and transmission offset times, and in actual situations, each EPA node is most likely to conflict with its adjacent EPA node. Therefore, in many cases, it is only necessary to perform the above-mentioned comparison process on each EPA node with the previous EPA node of the EPA node to determine whether the EPA node conflicts with other EPA node configurations.

[0087] By using the above scheme of the present invention, the host in the EPA system can actively initiate a verification process to verify whether the configuration of each EPA node is correct. In particular, even if the host of the EPA system controls multiple EPA networks, the host can identify and verify each EPA network.

[0088] In some embodiments, the method 300 may further include: when it is determined that there is a configuration conflict between the EPA nodes 120 in an EPA network of the EPA system 100 , displaying the conflicting EPA nodes 120 in a visual graphic on the host 110 .

[0089] In some embodiments, the host 110 may determine the conflicting portion of the conflicting EPA nodes 120 and display the conflicting portion distinctively in the visualized macrocycle diagram of the EPA system 100. For example, assuming that the host 110 visually displays the Figure 2, when the host 110 determines that there is a configuration conflict, it can highlight the conflicting part in a visual form such as a special legend, color and / or mark on the schematic diagram, such as FIG. 5A to FIG. 5D and FIG. 6A to FIG. 6D Shown in the shaded area.

[0090] In other embodiments, the host 110 may display conflicting EPA nodes in a visual scheduling diagram of the EPA system 100. For example, assuming that the host 110 visually displays Figure 1 If the host 110 determines that there is a configuration conflict, it can highlight the conflicting EPA nodes in the topology map in a visual form such as a special legend, color and / or mark.

[0091] In addition, in other embodiments, the host 110 can also display the configuration parameters of each EPA network and the EPA nodes it contains through graphics such as tree diagrams, pie charts, force-directed diagrams, matrix diagrams, heat maps, etc., and distinguishably display conflicting EPA nodes in the graphics.

[0092] In this way, after the configuration parameters are verified, the EPA nodes with configuration conflicts can be highlighted in a graphical form on the host 110, so that the administrator can understand the conflict situation in time and perform reset or other fault processing.

[0093] Figure 7 1 shows a block diagram of a host 110 suitable for implementing an embodiment of the present disclosure. Figure 7 As shown in , host 110 may include processor 112. Processor 112 controls the operation and functionality of host 110. For example, in some embodiments, processor 112 may perform various operations with the aid of instructions 116 stored in memory 114 coupled thereto. Memory 114 may be of any suitable type suitable for the local technical environment and may be implemented using any suitable data storage technology, including but not limited to semiconductor-based memory devices, magnetic memory devices and systems, and optical memory devices and systems. Although Figure 7 Only one memory 114 is shown in the figure, but those skilled in the art will appreciate that the host 110 may include more physically different memories 114.

[0094] The processor 112 may be of any suitable type suitable for the local technical environment, and may include, but is not limited to, one or more of a general purpose computer, a special purpose computer, a microprocessor, a digital signal processor (DSP), and a processor-based multi-core processor architecture. The host 110 may also include multiple processors 112. Figures 1 to 6DAll the features described are applicable to the host 110 and will not be described in detail here.

[0095] The present invention may be implemented as a method, an apparatus, a system and / or a computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for executing various aspects of the present invention.

[0096] In one or more exemplary designs, the functions described in the present invention may be implemented using hardware, software, firmware, or any combination thereof. For example, if implemented using software, the functions may be stored as one or more instructions or codes on a computer-readable medium, or transmitted as one or more instructions or codes on a computer-readable medium.

[0097] The various units of the apparatus disclosed herein may be implemented using discrete hardware components or may be integrated on a hardware component, such as a processor. For example, the various exemplary logic blocks, modules, and circuits described in conjunction with the present invention may be implemented or executed using a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination thereof for performing the functions described herein.

[0098] Those skilled in the art should also understand that the various illustrative logical blocks, modules, circuits, and algorithm steps described in conjunction with the embodiments of the present invention may be implemented as electronic hardware, computer software, or a combination of the two.

[0099] The above description of the present invention is intended to enable any person of ordinary skill in the art to implement or use the present invention. Various modifications of the present invention are apparent to those of ordinary skill in the art, and the general principles defined herein may also be applied to other variations without departing from the spirit and scope of the present invention. Therefore, the present invention is not limited to the examples and designs described herein, but is consistent with the broadest range of principles and novel features disclosed herein.

Claims

1. A method for verifying configuration parameters of an EPA system, the EPA system comprising a host and a plurality of EPA nodes, the method comprising, at the host: Acquire configuration parameters of all EPA nodes connected to the host, where the configuration parameters of each EPA node include at least the IP address, sending offset time and periodic time slice length of the EPA node; Determining a scheduling graph of the EPA system based on configuration parameters of the plurality of EPA nodes of the EPA system, wherein the scheduling graph indicates affiliation and connection relationships of the plurality of EPA nodes; and Based on the scheduling diagram of the EPA system and the transmission offset times and periodic time slice lengths of the plurality of EPA nodes, it is determined whether each EPA node has a configuration conflict with one or more other EPA nodes in the plurality of EPA nodes.

2. The method of claim 1, wherein the configuration parameters of each EPA node further include the connection relationship of the EPA node, and Determine a scheduling diagram of the EPA system based on configuration parameters of the plurality of EPA nodes of the EPA system include: Determining, based on a predetermined field of the IP address of each EPA node, an EPA network of the EPA system to which the EPA node belongs as the affiliation of the EPA node; as well as A scheduling diagram of the EPA system is determined based on the connection relationship between the multiple EPA nodes and the EPA network to which each EPA node belongs.

3. The method of claim 1, wherein the scheduling diagram of the EPA system is determined based on the configuration parameters of the plurality of EPA nodes of the EPA system. include: Determining, based on a predetermined field of the IP address of each EPA node, an EPA network of the EPA system to which the EPA node belongs as the affiliation of the EPA node; For at least two EPA nodes belonging to the same EPA network, determining a connection relationship between the at least two EPA nodes based on another predetermined field of the IP addresses of the at least two EPA nodes; as well as A scheduling diagram of the EPA system is determined based on the connection relationship between the multiple EPA nodes and the EPA network to which each EPA node belongs.

4. The method of claim 1 , wherein determining whether each EPA node has a configuration conflict with one or more other EPA nodes in the plurality of EPA nodes include: sorting the EPA nodes of each EPA network of the EPA system based on a scheduling graph of the EPA system; as well as For each EPA node in the EPA network, based on the sending offset time and the periodic time slice length between the EPA node and the previous EPA node, it is determined whether the EPA node has a configuration conflict with the previous EPA node.

5. The method of claim 4, wherein the EPA nodes of each EPA network of the EPA system are ordered based on a dispatch graph of the EPA system. include: Determining the order of the EPA nodes of the EPA network according to the connection relationship of each EPA node in the EPA network; as well as The sending offset times and periodic time slice lengths of the EPA nodes of the EPA network are sorted according to the order of the EPA nodes of the EPA network.

6. The method of claim 4, wherein for each EPA node in the EPA network, based on the transmission offset time and the periodic time slice length between the EPA node and the previous EPA node of the EPA node, it is determined whether the EPA node has a configuration conflict with the previous EPA node. include: When any of the following conditions is met, it is determined that the EPA node configuration conflicts with the previous EPA node configuration; otherwise, it is determined that the EPA node configuration does not conflict with the previous EPA node configuration: The sending offset time of the EPA node is less than or equal to the sending offset time of the previous EPA node, and the sum of the sending offset time of the EPA node and the periodic time slice length is greater than or equal to the sending offset time of the previous EPA node; The sending offset time of the EPA node is greater than or equal to the sending offset time of the previous EPA node and the sending offset time of the EPA node is less than or equal to the sum of the sending offset time of the previous EPA node and the length of the periodic time slice; The sending offset time of the EPA node is less than or equal to the sending offset time of the previous EPA node, and the sum of the sending offset time of the EPA node and the periodic time slice length is greater than or equal to the sum of the sending offset time of the previous EPA node and the periodic time slice length; The sending offset time of the EPA node is greater than or equal to the sending offset time of the previous EPA node and the sum of the sending offset time of the EPA node and the periodic time slice length is less than or equal to the sum of the sending offset time of the previous EPA node and the periodic time slice length.

7. The method of claim 1, wherein determining whether each EPA node has a configuration conflict with one or more other EPA nodes in the plurality of EPA nodes include: For each EPA node of an EPA network in the EPA system, based on the transmission offset time and cycle time slice length of the EPA node and any other EPA node in the EPA network, it is determined whether the EPA node has a configuration conflict with any other EPA node.

8. The method of claim 7, wherein determining whether the EPA node conflicts with any other EPA node configuration further comprises: include: When any of the following conditions is met, it is determined that the configuration of the EPA node conflicts with that of any other EPA node; otherwise, it is determined that the configuration of the EPA node does not conflict with that of any other EPA node: The sending offset time of the EPA node is less than or equal to the sending offset time of any other EPA node, and the sum of the sending offset time of the EPA node and the periodic time slice length is greater than or equal to the sending offset time of any other EPA node; The sending offset time of the EPA node is greater than or equal to the sending offset time of any other EPA node and the sending offset time of the EPA node is less than or equal to the sum of the sending offset time of any other EPA node and the periodic time slice length; The sending offset time of the EPA node is less than or equal to the sending offset time of any other EPA node, and the sum of the sending offset time of the EPA node and the periodic time slice length is greater than or equal to the sum of the sending offset time of any other EPA node and the periodic time slice length; The sending offset time of the EPA node is greater than or equal to the sending offset time of any other EPA node, and the sum of the sending offset time of the EPA node and the periodic time slice length is less than or equal to the sum of the sending offset time of any other EPA node and the periodic time slice length.

9. The method of claim 1, further comprising: include: When it is determined that there is a configuration conflict between EPA nodes of an EPA network of the EPA system, the conflicting EPA nodes are displayed in a visual graphic on the host.

10. The method of claim 9, wherein displaying the conflicting EPA nodes in a visual graphic on the host comprises at least one of the following: determining conflicting portions of conflicting EPA nodes and distinctively displaying the conflicting portions in a visualized macrocycle diagram of the EPA system; In the visualized scheduling diagram of the EPA system, conflicting EPA nodes are displayed in a differentiated manner.

11. A host, include: A processor and a memory, wherein the memory comprises instructions executable by the processor, and the processor is configured to cause the host to perform the method according to any one of claims 1 to 10.

12. A computer-readable storage medium having a computer program code stored thereon, wherein the computer program code executes the method according to any one of claims 1 to 10 when executed.

13. A computer program product, comprising a computer program, which, when executed by a machine, performs the method according to any one of claims 1 to 10.

Citation Information

Patent Citations

  • Time division multiplexing communication method for EPA system, EPA equipment and medium

    CN113612674A

  • Method for configuration of EPA network, control device and storage medium

    CN117478501A

  • EPA configuration system and method

    CN117675582A

  • Full-automatic configuration method for EPA system, host, computer readable storage medium and computer program product

    CN118713994A

  • EP0-255