Method for issuing configuration parameters in EPA system, host, computer readable storage medium and computer program product
By issuing configuration parameters in parallel to the EPA node branch, the problem of low efficiency of configuration parameters in the EPA network is solved, and faster configuration configuration and response reception are achieved.
Patent Information
- Application Number
- CN202411581822.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-07
- Publication Date
- 2024-12-06
AI Technical Summary
In EPA networks, especially when there are a large number of EPA nodes, the host needs to spend a long time completing the configuration parameters of all EPA nodes and waiting for configuration configuration responses, resulting in low delivery efficiency.
By initiating multiple configuration parameter issuance processes based on the number of EPA node branches directly connected to the host, and sending configuration parameters to each EPA node branch in parallel, improving the efficiency of configuration parameter delivery.
It significantly reduces the time for issuing configuration parameters and improves the configuration efficiency in EPA networks, especially in multi-EPA node scenarios, which can complete configuration configuration and receive responses faster.
Smart Images

Figure CN119094353A_ABST
Abstract
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 sending configuration parameters in 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] In order to adapt to different application scenarios, the number and connection relationship of EPA nodes in the EPA network will be different, resulting in different network topologies. Accordingly, different configuration parameters need to be set for each EPA node.
[0004] Currently, after determining the configuration parameters for the EPA nodes in the EPA network, the host (host computer) sends the corresponding configuration parameters to each EPA node in the order of the EPA nodes in the EPA network, so that each EPA node performs corresponding configuration configuration based on the sent configuration parameters. After each EPA node completes the configuration, it will also send a configuration response to the host in turn to indicate whether the configuration is successful.
[0005] However, the efficiency of this parameter sending method is low, especially when there are a large number of EPA nodes in the EPA network. The host needs to spend a long time to complete the sending of configuration parameters of all EPA nodes, and needs to wait a long time to receive the configuration response of each EPA node. Summary of the invention
[0006] In view of the above problems, the present invention provides a method for sending configuration parameters in an EPA system, which improves the efficiency of sending configuration parameters by initiating multiple configuration parameter sending processes according to the number of EPA node branches directly connected to the host.
[0007] According to one aspect of the present invention, a method for issuing configuration parameters in an EPA system is provided. The EPA system includes a host and multiple EPA nodes, and the method includes, at the host: determining the number of EPA node branches directly connected to the host, wherein each EPA node branch includes at least one EPA node; based on the number of the EPA node branches, initiating multiple configuration parameter issuing processes, wherein the number of the configuration parameter issuing processes is equal to the number of the EPA node branches; and issuing configuration parameters for the EPA nodes in the EPA node branches to each EPA node branch in parallel through the multiple configuration parameter issuing processes.
[0008] In some implementations, the configuration parameters for the EPA nodes in each EPA node branch are respectively issued in parallel to each EPA node branch through the multiple configuration parameter issuing processes, including: for each EPA node branch, the EPA nodes of the EPA node branch are divided into at least one group, wherein each group contains at least one EPA node of the EPA node branch; and through the configuration parameter issuing process for the EPA node branch, the configuration parameters of the EPA nodes contained in the group are issued to one group of the EPA node branch each time.
[0009] In some implementations, dividing the EPA nodes of the EPA node branch into at least one group includes: for each EPA node branch, determining the number of EPA nodes supported by the configuration parameter delivery process for the EPA node branch each time based on the desired process processing time and the path time and processing time of each EPA node; and determining the at least one group based on the number of EPA nodes supported by the configuration parameter delivery process for the EPA node branch each time and the number of EPA nodes of the EPA node branch.
[0010] In some implementations, determining the number of EPA node branches directly connected to the host includes: obtaining the connection relationship between the multiple EPA nodes; if it is determined that the connection relationship between the multiple EPA nodes is linear or ring, determining the number of EPA node branches directly connected to the host to be 1; if it is determined that the connection relationship between the multiple EPA nodes is star-shaped, determining the number of EPA node branches directly connected to the host to be the number of EPA nodes included in the EPA system, and the number of EPA nodes included in each EPA node branch is 1; and if it is determined that the connection relationship between the multiple EPA nodes is a combination type, determining the number of EPA node branches directly connected to the host based on the connection relationship between the multiple EPA nodes and the host.
[0011] In some implementations, the method further includes: after a configuration parameter distribution process distributes the configuration parameters to all EPA nodes of the associated EPA node branch, receiving a configuration response from each EPA node that receives the configuration parameters.
[0012] In some implementations, the method further includes: after a configuration parameter distribution process distributes configuration parameters of the EPA nodes included in a group of associated EPA node branches to the group, receiving a configuration response from each EPA node in the group.
[0013] 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.
[0014] 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
[0015] 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.
[0016] Figure 1A and Figure 1B A schematic diagram of an exemplary EPA system according to an embodiment of the present invention is shown.
[0017] Figure 2 A schematic diagram showing a communication cycle of an EPA system according to an embodiment of the present invention is shown.
[0018] Figure 3 An exemplary flow chart of a method for sending configuration parameters in an EPA system according to an embodiment of the present invention is shown.
[0019] Figure 4 A further detailed flow chart of the process of determining EPA node branches according to some embodiments of the present invention is shown.
[0020] Figure 5 A further detailed flow chart of the process of sending configuration parameters to EPA node branches through a configuration parameter sending process according to some embodiments of the present invention is shown.
[0021] Figure 6 A block diagram of a host suitable for implementing embodiments of the present disclosure is shown. DETAILED DESCRIPTION
[0022] 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.
[0023] 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.
[0024] 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."
[0025] 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.
[0026] 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.
[0027] Figure 1A and Figure 1B 1 shows a schematic diagram of an exemplary EPA system 100 according to an embodiment of the present invention. Figure 1A and 1B 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 the EPA protocol after configuration. 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.
[0028] The host 110 and the EPA nodes 120 as well as adjacent EPA nodes 120 are connected via an EPA bus and communicate using the EPA communication protocol, thereby forming an EPA network.
[0029] Figure 1A and Figure 1B An EPA system 100 with a hybrid topology is shown as an example. Figure 1A and Figure 1B The difference of the EPA system 100 is that in Figure 1B In the embodiment, the host 110 is connected to the EPA node 120 via the switch 130, and the switch 130 is used to perform data exchange between the host 110 and the EPA node 120. In this case, the host 110 can be connected only to the switch 130, and send downlink data to the EPA node 120 and receive uplink data from the EPA node 120 via the switch 130. The switch 130 can be an ordinary switch or an EPA switch that supports the EPA communication protocol. In the former case, the switch 130 is only used for data routing between the host 110 and the EPA node 120. In the latter case, the switch 130 can also participate in the data exchange between the host 110 and the EPA node 120 according to the EPA communication protocol, such as merging and subpacketizing data, etc., which will not be described in detail in this article. For the sake of brevity, this article will refer to the EPA communication protocol as follows. Figure 1B The connection between the host 110 and the EPA node 120 through the switch 130 is also referred to as the host 110 being connected to the EPA node 120 .
[0030] Figure 2 FIG. 1 is a schematic diagram showing a communication cycle of an EPA system 100 according to an embodiment of the present invention. In the EPA system 100, the communication cycle is also referred to as a macrocycle. Figure 2 As shown in , each macrocycle T of the EPA system 100 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 system 100 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 system 100 to send the periodic message P of the EPA node 120, and the start time (also called the sending time offset) and length of the periodic time slice are unique to each EPA node 120, and will not overlap or conflict with other nodes.
[0031] In the EPA system 100, 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, declare in the periodic message of the periodic time period Tp), such as declaring different transmission start time points and / or durations, etc.
[0032] 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 needs to configure operating parameters such as macro cycle length, cycle time period length and sending offset time of each EPA node 120. These parameters are called configuration parameters or configuration configuration parameters.
[0033] Before the host 110 and the EPA node 120 in the EPA system 100 start to communicate through the EPA protocol, the host 110 needs to determine the configuration parameters for each EPA node 120, send the configuration parameters to each EPA node 120, and receive the configuration response of each EPA node 120 to determine whether the configuration is successful. For example, before the EPA network communication is established, other communication connections can be established between the host 110 and each EPA node 120 (of course, the EPA node at this time does not have the EPA communication function, and it is still referred to as an EPA node here for convenience), such as TCP (Transmission Control Protocol) or UDP (User Datagram Protocol) connection. In this case, the host 110 can send the configuration parameters to each EPA node 120 through TCP or UDP messages.
[0034] When the number of EPA nodes 120 in the EPA system 100 is large, for example, there are hundreds or even thousands of EPA nodes 120, this configuration process will take a long time.
[0035] In view of the above problems, in the solution of the present invention, multiple threads are started according to the number of EPA nodes 120 directly connected to the host 110, so that these threads execute configuration parameter delivery in parallel, thereby speeding up the configuration process. Further, in some embodiments, when the number of EPA nodes 120 corresponding to each thread is still large, the EPA nodes 120 corresponding to the thread can be further grouped to deliver configuration parameters one by one.
[0036] Figure 3 FIG. 1 shows an exemplary flow chart of a method 300 for sending configuration parameters in the EPA system 100 according to an embodiment of the present invention. The method 300 may be, for example, Figure 1A and Figure 1B Executed by host 110 in or executed in host 110.
[0037] like Figure 3 As shown in FIG. 3 , in block 310 , the host 110 may determine the number of EPA node branches 140 directly connected to the host 110 , wherein each EPA node branch 140 includes at least one EPA node 120 . Figure 1A and Figure 1B 4 EPA node branches 140 are exemplarily shown, namely, EPA node branch 140-1, EPA node branch 140-2, EPA node branch 140-3 and EPA node branch 140-4, wherein each EPA node branch 140 may include a different number of EPA nodes 120. For example, EPA node branch 140-1 may include 16 EPA nodes 120, while EPA node branch 140-2 and EPA node branch 140-3 may include 8 EPA nodes 120, and EPA node branch 140-4 may include 2 EPA nodes 120.
[0038] like Figure 1A and 1B As shown in , the number of EPA node branches 140 is equal to the number of EPA nodes 120 directly connected to the host 110. Therefore, the host 110 can determine the number of EPA node branches 140 by detecting the number of EPA nodes 120 directly connected to it. For example, the host 110 can determine the number of EPA nodes 120 directly connected to it by broadcasting a signal and according to the number of received responses.
[0039] In other cases, the topology information of the EPA system 100 (such as the number of EPA nodes 120, the connection relationship between each EPA node 120, the connection relationship between the EPA node 120 and the host 110, etc.) or a part of the topology information may be known. In this case, the host 110 can determine the number of EPA node branches 140 based on the connection relationship between the EPA nodes 120. Figure 4 A further detailed flow chart of the process of determining the EPA node branch 140 (block 310 ) according to some embodiments of the present invention is shown.
[0040] like Figure 4As shown in FIG. 3 , in block 312, the host 110 may obtain the connection relationship of the plurality of EPA nodes 120. Here, the host 110 may obtain the topology information of the EPA system 100, and determine the connection relationship of the EPA nodes 120 according to the topology information, or the host 110 may directly obtain only the connection relationship of the EPA nodes 120. The topology information or the connection relationship may be pre-stored in the host 110 or any storage location associated with the host 110 by other means (e.g., writing during networking, etc.).
[0041] In block 314 , if it is determined that the connection relationship between the plurality of EPA nodes is a linear type or a ring type, the number of EPA node branches 140 directly connected to the host 110 is determined to be one.
[0042] In block 316, if it is determined that the connection relationship of the plurality of EPA nodes is a star type, the number of EPA node branches 140 directly connected to the host 110 is determined to be the number of EPA nodes 120 included in the EPA system 100. In this case, each EPA node branch 140 includes only one EPA node 120.
[0043] In block 318, if it is determined that the connection relationship between the plurality of EPA nodes is a combination type, the number of EPA node branches 140 directly connected to the host 110 is determined based on the connection relationship between the plurality of EPA nodes 120 and the host 110. In this case, the host 110 also needs to obtain the connection relationship between the host 110 and each EPA node 120 in block 312, that is, whether the host 110 is directly connected to each EPA node 120.
[0044] Here, although Figure 1A and Figure 1B The connection relationship between the EPA nodes 120 is shown as a mixed type, but it is still applicable to linear, ring or star connection relationships. For example, if each EPA node branch 140 includes only one EPA node 120, then Figure 1A and Figure 1B The connection relationship between the EPA nodes 120 shown is a star shape; if the host 110 is directly connected to only one EPA node 120 (ie, the number of direct connections of the EPA node branch 140 is 1), then Figure 1A and Figure 1B The connection relationship between the EPA nodes shown is linear (the connection relationship between the EPA nodes may indicate that the last EPA node 120 is not connected to the first EPA node 120) or ring (the connection relationship between the EPA nodes may indicate that the last EPA node 120 is also connected to the first EPA node 120).
[0045] continue Figure 3In block 320, the host 110 may initiate multiple configuration parameter delivery processes based on the number of EPA node branches 140 determined in block 310, wherein the number of configuration parameter delivery processes is equal to the number of EPA node branches 140. In other words, the host 110 initiates one configuration parameter delivery process for each EPA node branch 140.
[0046] In block 330 , the host 110 may send configuration parameters for the EPA nodes 120 in each EPA node branch 140 in parallel through multiple configuration parameter sending processes initiated by block 110 .
[0047] More specifically, for each EPA node branch 140, the host 110 may collect configuration parameters of all EPA nodes 120 in the EPA node branch 140, and send the configuration parameters of all EPA nodes 120 in the EPA node branch 140 to the EPA node branch 140 through a configuration parameter distribution process dedicated to the EPA node branch 140. Here, the configuration parameters of the EPA node 120 may be pre-determined by the host 110 and stored in a storage location on the host 110 or associated with the host 110, or the configuration parameters of the EPA node 120 may also be determined before executing block 330 as part of the method 300.
[0048] That is, when there are multiple EPA node branches 140 (ie, not in a linear or ring connection relationship), configuration parameters can be sent to each EPA node branch 140 in parallel through multiple processes, thereby speeding up the sending of configuration parameters.
[0049] Further, the method 300 may also include a block 340, wherein after a configuration parameter delivery process executes a configuration parameter delivery as described in block 330, the host 110 may also receive configuration configuration responses of the EPA nodes 120 that have received the configuration parameters. Specifically, the EPA nodes 120 that have received the configuration parameters may perform configuration configuration according to the received configuration parameters, and return a successful configuration configuration response to the host 110 when the configuration configuration is successful, or return a failed configuration configuration response to the host 110 when the configuration configuration fails.
[0050] In some cases, the EPA node branch 140 includes a small number of EPA nodes 120, so in box 330, the configuration parameter sending process of the EPA node branch 140 can send the configuration parameters of all EPA nodes 120 of the EPA node branch 140 at one time and in box 340, receive the configuration configuration responses of all EPA nodes 120 of the EPA node branch 140.
[0051] In other cases, the number of EPA nodes 120 included in the EPA node branch 140 is large. If the configuration parameters of all EPA nodes 120 of the EPA node branch 140 are sent at one time, the sending process of the configuration parameters is still time-consuming, and further, the process of receiving the configuration configuration response is longer. Therefore, in some embodiments, when executing box 330, the EPA nodes 120 of the EPA node branch 140 can be grouped and the configuration parameters can be sent in groups. In box 340, after the configuration parameters of one group are sent, the configuration parameters of the next group are sent, and the configuration configuration response of the previous group is received at the same time, so as to further improve the configuration parameter configuration process.
[0052] Figure 5 A further detailed flow chart of the process (block 330 ) of issuing configuration parameters to the EPA node branch 140 through the configuration parameter issuing process according to some embodiments of the present invention is shown.
[0053] like Figure 5 As shown in FIG. 3 , in block 332 , for each EPA node branch 140 , the host 110 may divide the EPA nodes 120 of the EPA node branch 140 into at least one group 122 , wherein each group 122 includes at least one EPA node 120 of the EPA node branch 140 .
[0054] Specifically, for the EPA node branch 140, the host 110 can determine the number of EPA nodes 120 supported by the configuration parameter sending process of the EPA node branch 140 each time based on the expected process processing time and the path time of each EPA node 120. Here, the expected process processing time refers to the time expected from the start of the configuration parameter sending process to the receipt of the configuration configuration response, which can be set by the user of the system as needed. The path time T (transfer) of the EPA node 120 refers to the time required for the configuration parameter to pass through one hop in the EPA node branch 140, that is, the path time from the host 110 to the first EPA node 120 of the EPA node branch 140 or the path time from the previous EPA node 120 to the next EPA node 120 (for simplicity, it is assumed that the path time of one hop in the EPA node branch 140 is equal). The processing time T (process) of the EPA node 120 refers to the time required for the EPA node 120 to process the received configuration parameters, and it is also assumed that the processing time of each EPA node 120 is equal.
[0055] Then, the host 110 can determine at least one group of the EPA node branch 140, that is, determine the number of groups of the EPA node branch 140, based on the number of EPA nodes 120 supported by each configuration parameter sending process for the EPA node branch 140 determined above and the number of EPA nodes 120 of the EPA node branch 140.
[0056] Specifically, as described above, assuming that the desired process processing time is T, the path time of each EPA node 120 is T(transfer), and the processing time is T(process), then considering the configuration parameter delivery and the configuration configuration response return, the time required for each EPA node 120 is 2* T(transfer)+ T(process). Therefore, the number of EPA nodes 120 supported by the configuration parameter delivery process each time is T / (2* T(transfer)+ T(process)).
[0057] For example, assuming that the desired process processing time T=20ms, T(transfer)=2ms, T(process)=1ms, the number of EPA nodes 120 supported by the configuration parameter delivery process each time is 4. In this case, the host 110 can divide the four adjacent EPA nodes 120 in the EPA node branch 140 into one group. Figure 1A and Figure 1B As shown, EPA node branch 140-1 can be divided into 4 groups, namely, EPA node 120-1 to EPA node 120-4 are the first group, EPA node 120-5 to EPA node 120-8 are the second group, EPA node 120-9 to EPA node 120-12 are the third group, and EPA node 120-13 to EPA node 120-16 are the fourth group. Similarly, EPA node branches 140-2 and 140-3 can be divided into 2 groups. For EPA node branch 140-4, the number of its EPA nodes 120 is less than or equal to 4, so it can only be divided into one group (equivalent to no grouping).
[0058] Next, in box 334, for each EPA node branch 140, through the configuration parameter sending process for the EPA node branch 140, the host 110 sends the configuration parameters of the EPA node 120 contained in a group of the EPA node branch 140 each time.
[0059] For example, for EPA node branch 140-1, the configuration parameter sending process corresponding to the EPA node branch 140-1 only sends configuration parameters to the first group of EPA nodes 120-1 to EPA nodes 120-4 when executing the configuration parameter sending for the first time, and after receiving the configuration configuration response of the first group, sends configuration parameters to the second group of EPA nodes 120-5 to EPA nodes 120-8, and so on, until the configuration parameter sending of the fourth group is completed and the configuration configuration response is returned.
[0060] In this case, in box 340, the host 110 can receive a configuration response from each EPA node 120 in a group after a configuration parameter distribution process distributes the configuration parameters of the EPA nodes 120 included in the group to a group of the associated EPA node branch 140.
[0061] In this way, the host 110 can obtain the configuration response of some EPA nodes 120 earlier, without having to wait for all EPA nodes 120 of an EPA node branch 140 to complete the configuration parameter distribution before starting to receive the configuration response. Therefore, the host 110 can perform subsequent processing earlier, such as re-distributing the configuration parameters for the EPA nodes 120 that failed to respond to the configuration.
[0062] Figure 6 1 shows a block diagram of a host 110 suitable for implementing an embodiment of the present disclosure. Figure 6 As shown in FIG. 1 , host 110 may include processor 112. Processor 112 hosts the operation and functionality of 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 6 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.
[0063] 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 1A to 5 All the features described are applicable to the host 110 and will not be described in detail here.
[0064] 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.
[0065] 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.
[0066] 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.
[0067] 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.
[0068] 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 issuing configuration parameters in an EPA system, the EPA system comprising a host and a plurality of EPA nodes, the method comprising, at the host: Determining the number of EPA node branches directly connected to the host, wherein each EPA node branch includes at least one EPA node; Based on the number of the EPA node branches, multiple configuration parameter sending processes are initiated, wherein the number of the configuration parameter sending processes is equal to the number of the EPA node branches; as well as The configuration parameters for the EPA nodes in the EPA node branches are respectively issued to each EPA node branch in parallel through the multiple configuration parameter issuing processes.
2. The method according to claim 1, wherein the step of issuing the configuration parameters for the EPA nodes in the EPA node branches to each EPA node branch in parallel through the multiple configuration parameter issuing processes comprises: For each EPA node branch, divide the EPA nodes of the EPA node branch into at least one group, wherein each group contains at least one EPA node of the EPA node branch; as well as Through the configuration parameter sending process for the EPA node branch, the configuration parameters of the EPA nodes contained in the group are sent to one group of the EPA node branch each time.
3. The method of claim 2, wherein dividing the EPA nodes of the EPA node branch into at least one group comprises: For each EPA node branch, determining the number of EPA nodes supported by each configuration parameter delivery process for the EPA node branch based on the desired process processing time and the path time and processing time of each EPA node; as well as The at least one group is determined based on the number of EPA nodes supported by each configuration parameter delivery process for the EPA node branch and the number of EPA nodes of the EPA node branch.
4. The method of claim 1, wherein determining the number of EPA node branches directly connected to the host comprises: Obtaining a connection relationship between the plurality of EPA nodes; If it is determined that the connection relationship of the plurality of EPA nodes is a linear or ring type, then the number of EPA node branches directly connected to the host is determined to be 1; If it is determined that the connection relationship of the multiple EPA nodes is a star type, then the number of EPA node branches directly connected to the host is determined to be the number of EPA nodes included in the EPA system, and the number of EPA nodes included in each EPA node branch is 1; as well as If it is determined that the connection relationship between the multiple EPA nodes is a combination type, the number of EPA node branches directly connected to the host is determined based on the connection relationship between the multiple EPA nodes and the host.
5. The method of claim 1, further comprising: After a configuration parameter sending process sends configuration parameters to all EPA nodes of the associated EPA node branch, a configuration response is received from each EPA node that receives the configuration parameters.
6. The method of claim 2, further comprising: After a configuration parameter sending process sends configuration parameters of the EPA nodes included in a group of associated EPA node branches, a configuration response is received from each EPA node in the group.
7. A host, comprising: 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 6.
8. 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 6 when executed.
9. 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 6.
Citation Information
Patent Citations
Multi-node sequential control method based on SCADA system
CN103279333A
Method for EPA networking, electronic equipment and storage medium
CN113364638A
Operation management method and system of server cluster
CN113722175A
Nuclear power plant safety analysis method adopting RELAP5 and MCDET coupling parallel computing and DET branch truncation
CN115730448A
Method for sending configuration data of network, computing device and storage medium
CN118890307A
