Time slice configuration method and system for secure real-time bus (SRB)

By using the time slice configuration system of SRB devices connected to the management equipment and ring topology in the SRB network, the time slice configuration and management time slices are automatically configured and managed, and the problems of difficult and high cost of time slice configuration in the SRB network are solved, and an efficient and automated network is realized manage.

CN119402314AInactive Publication Date: 2025-02-07北京傲星科技有限公司

Patent Information

Application Number
CN202411976574.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-31
Publication Date
2025-02-07
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The time slice configuration of SRB devices in SRB networks is difficult and the configuration cost is high. It requires manual sorting out the device connection relationship and configuring the time slices one by one. Especially in large-scale networks, manual configuration and management tasks are cumbersome and unrealistic.

Method used

The time slice configuration system adopts the management device and SRB devices connected to multiple ring topology. By detecting the enable packets and detecting the enable packets, establishing link relationship packets, and automatically configuring and managing time slices.

Benefits of technology

The automated time slice configuration and management of SRB equipment is realized, which reduces manual intervention, improves system deployment efficiency, enhances automation and reliability, and ensures efficient and real-time network management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119402314A_ABST
    Figure CN119402314A_ABST
Patent Text Reader

Abstract

The invention provides a time slice configuration method and system for a secure real-time bus (SRB), which can be applied to the technical field of communication, and the system is composed of a management device and a plurality of SRB devices in ring topology connection. The management equipment sends a detection starting enabling message; and each SRB device sends the network address to two adjacent SRB devices. And the management equipment sends a detection output enabling message to the target SRB equipment, the target SRB equipment creates a link relation packet, and the logic address is stored in the link relation packet and transmitted to the next SRB equipment. And after the other SRB equipment receives the link relation packet of the previous equipment, adding the logic address and continuing to forward the link relation packet. And when the target SRB equipment receives the link relation packet containing the logic address of the target SRB equipment, the target SRB equipment sends the link relation packet to the management equipment, so that time slice distribution of all the SRB equipment is completed. And through automatic time slice configuration and management, the system deployment efficiency is remarkably improved. And high efficiency and real-time performance of network management are ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communication technology, and in particular to a time slice configuration method and system for a secure real-time bus (SRB). Background Art

[0002] SRB (Security Realtime Bus) technology is based on the independently developed EPA (Ethernet for Plant Automation) technical standard, which is designed to meet the needs of special industries for strong real-time, large bandwidth and high reliability communications. It can ensure the real-time, deterministic and reliable communication in the field of automatic control, and is particularly suitable for application scenarios with extremely high timeliness requirements such as industrial automation and intelligent manufacturing.

[0003] The core technical principle of SRB is to divide the communication time into several macro cycles of equal length to ensure that each device exchanges data within its own time slice, thereby ensuring that the communication between nodes in the system can run efficiently and stably.

[0004] However, since the SRB network is usually deployed in a way that the control plane and data plane are separated, that is, the host computer controls the SRB devices distributed in the industrial field through the network. In this architecture, if you need to allocate a suitable time slice to each device, you must manually sort out the connection relationship between the devices and configure the time slice information for each device one by one. Especially in an SRB network with hundreds of nodes, the task of manually configuring and managing these time slices is cumbersome and unrealistic.

[0005] Therefore, how to realize the automatic configuration and management of time slices, reduce manual intervention, and improve the efficiency of system deployment becomes the key to solving this problem. Summary of the invention

[0006] In view of this, an embodiment of the present invention provides a method and system for configuring time slices of a secure real-time bus (SRB) to solve the problem that time slice configuration of SRB devices in an SRB network is difficult and has a high configuration cost.

[0007] To achieve the above objectives, the embodiments of the present invention provide the following technical solutions:

[0008] The first aspect of the present invention discloses a time slice configuration method for a secure real-time bus (SRB), which is applicable to a time slice configuration system for a secure real-time bus (SRB). The system includes a management device and multiple SRB devices, and the multiple SRB devices are connected in a ring topology structure. The method includes:

[0009] The management device sends a detection enable message to each of the SRB devices;

[0010] When each of the SRB devices receives the detection enable message, the network address of the SRB device is sent to two adjacent SRB devices;

[0011] The management device sends a detection output enable message to the target SRB device, so that the target SRB device creates a link relationship packet; the target SRB device is any of the SRB devices;

[0012] The target SRB device stores the logical address of the target SRB device in the link relationship packet and sends it to the next SRB device;

[0013] For any other SRB device, when receiving a link relationship packet sent by the previous SRB device of the other SRB device, storing the logical address of the other SRB device in the link relationship packet and sending it to the next SRB device; the other SRB device is any SRB device except the target SRB device;

[0014] When the target SRB device receives the link relationship packet, and the link relationship packet includes the logical address of the target SRB device, the link relationship packet is sent to the management device;

[0015] The management device allocates corresponding time slices to all SRB devices based on the link relationship packet.

[0016] Preferably, the management device sends a detection output enable message to the target SRB device so that the target SRB device creates a link relationship package, including:

[0017] The management device queries whether a storage unit of any one of the SRB devices contains network addresses of two SRB devices adjacent to the SRB device;

[0018] If the storage unit of the SRB device contains the network addresses of two SRB devices adjacent to the SRB device, marking the SRB device as a target SRB device;

[0019] A detection output enable message is sent to the target SRB device, so that the target SRB device creates a link relationship packet.

[0020] Preferably, the target SRB device stores the logical address of the target SRB device in the link relationship packet and sends it to the next SRB device, including:

[0021] The target SRB device stores the logical address of the target SRB device in the link relationship packet;

[0022] The target SRB device obtains the network addresses of two adjacent SRB devices from the storage unit;

[0023] Any one of the two SRB devices is used as the next SRB device of the target SRB device, and the link relationship packet is sent to the next SRB device according to the network address of the next SRB device.

[0024] Preferably, for any other SRB device, when receiving a link relationship packet sent by a previous SRB device of the other SRB device, storing the logical address of the other SRB device in the link relationship packet and sending it to the next SRB device includes:

[0025] For any other SRB device, when receiving a link relationship packet sent by a previous SRB device of the other SRB device, storing the logical address of the other SRB device in the link relationship packet;

[0026] The other SRB device obtains the network address of the next SRB device from the storage unit;

[0027] According to the network address of the next SRB device, the link relationship packet storing the logical addresses of the other SRB devices is sent to the next SRB device.

[0028] Preferably, the management device allocates corresponding time slices to all SRB devices based on the link relationship packet, including:

[0029] The management device parses the link relationship packet to obtain the logical addresses of all SRB devices;

[0030] According to each of the logical addresses and the position of the logical addresses in the link relationship packet, a configuration packet including a corresponding time slice is sent to all SRB devices.

[0031] The second aspect of the present invention discloses a time slice configuration system for a secure real-time bus (SRB), the system comprising: a management device and a plurality of SRB devices, wherein the plurality of SRB devices are connected in a ring topology structure;

[0032] The management device is used to send a detection enable message to each of the SRB devices, so that each of the SRB devices sends the network address of the SRB device to two adjacent SRB devices; and to send a detection output enable message to the target SRB device, so that the target SRB device creates a link relationship packet, stores the logical address of the target SRB device in the link relationship packet, and sends it to the next SRB device; the target SRB device is any of the SRB devices; and is also used to receive the link relationship packet sent by the target SRB device, and allocate corresponding time slices to all SRB devices;

[0033] The target SRB device is further configured to send the link relationship packet to the management device when receiving the link relationship packet, and the link relationship packet includes the logical address of the target SRB device;

[0034] For each other SRB device, when receiving a link relationship packet sent by the previous SRB device of the other SRB device, the logical address of the other SRB device is stored in the link relationship packet and sent to the next SRB device; the other SRB device is any SRB device except the target SRB device.

[0035] Preferably, when the management device executes the sending of the detection output enable message to the target SRB device so that the target SRB device creates a link relationship packet, it is specifically used to:

[0036] The management device queries whether a storage unit of any one of the SRB devices contains network addresses of two SRB devices adjacent to the SRB device;

[0037] If the storage unit of the SRB device contains the network addresses of two SRB devices adjacent to the SRB device, marking the SRB device as a target SRB device;

[0038] A detection output enable message is sent to the target SRB device, so that the target SRB device creates a link relationship packet.

[0039] Preferably, when the target SRB device executes the step of storing the logical address of the target SRB device in the link relationship packet and sending the packet to the next SRB device, it is specifically used for:

[0040] The target SRB device stores the logical address of the target SRB device in the link relationship packet;

[0041] The target SRB device obtains the network addresses of two adjacent SRB devices from the storage unit;

[0042] Any one of the two SRB devices is used as the next SRB device of the target SRB device, and the link relationship packet is sent to the next SRB device according to the network address of the next SRB device.

[0043] Preferably, when the other SRB device performs the step of storing the logical address of the other SRB device in the link relationship packet and sending it to the next SRB device when receiving the link relationship packet sent by the previous SRB device of the other SRB device, it is specifically used for:

[0044] For any other SRB device, when receiving a link relationship packet sent by a previous SRB device of the other SRB device, storing the logical address of the other SRB device in the link relationship packet;

[0045] The other SRB device obtains the network address of the next SRB device from the storage unit;

[0046] According to the network address of the next SRB device, the link relationship packet storing the logical addresses of the other SRB devices is sent to the next SRB device.

[0047] Preferably, the management device executes the receiving of the link relationship packet sent by the target SRB device and allocates corresponding time slices to all SRB devices, specifically for:

[0048] The management device receives a link relationship packet sent by the target SRB device;

[0049] The management device parses the link relationship packet to obtain the logical addresses of all SRB devices;

[0050] According to each of the logical addresses and the position of the logical addresses in the link relationship packet, a configuration packet including a corresponding time slice is sent to all SRB devices.

[0051] Based on the above-mentioned embodiment of the present invention, a time slice configuration method and system for a secure real-time bus SRB is provided. The system consists of a management device and multiple SRB devices connected in a ring topology. The management device sends a detection enable message; each SRB device sends a network address to two adjacent SRB devices. The management device sends a detection output enable message to the target SRB device, and the target SRB device creates a link relationship packet, stores the logical address in it and passes it to the next SRB device. After receiving the link relationship packet sent by the previous SRB device, other SRB devices add the logical address and continue to forward it. When the target SRB device receives the link relationship packet containing its own logical address, it sends it to the management device, thereby completing the time slice allocation of all SRB devices. Through automated time slice configuration and management, the system deployment efficiency is significantly improved. Automation and reliability are enhanced to ensure the efficiency and real-time performance of network management. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.

[0053] Figure 1 A flowchart of a time slice configuration method for a secure real-time bus (SRB) provided in an embodiment of the present invention;

[0054] Figure 2 A schematic diagram of the SRB technical principle provided by an embodiment of the present invention;

[0055] Figure 3 A schematic diagram of macrocycle communication time provided by an embodiment of the present invention;

[0056] Figure 4 A first exemplary diagram of a time slice configuration system for a secure real-time bus SRB provided by an embodiment of the present invention;

[0057] Figure 5 A second example diagram of a time slice configuration system for a secure real-time bus SRB provided by an embodiment of the present invention;

[0058] Figure 6 An example diagram of a management device according to an embodiment of the present invention allocating time slices to all SRB devices;

[0059] Figure 7 A structural diagram of a time slice configuration system for a secure real-time bus (SRB) provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0060] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0061] In this application, the terms "comprises", "comprising" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprising a ..." does not exclude the presence of other identical elements in the process, method, article or device comprising the element.

[0062] As can be seen from the background technology, the SRB network adopts an architecture with a separation of the control plane and the data plane, and the host computer controls the SRB devices distributed in the industrial site through the network. Under this architecture, allocating time slices to each device requires manually sorting out the device connection relationship and configuring time slices one by one. In an SRB network with hundreds of nodes, manual configuration and management of time slices is both cumbersome and unrealistic.

[0063] Therefore, an embodiment of the present invention provides a time slice configuration method and system for a secure real-time bus SRB, and the system consists of a management device and a plurality of SRB devices connected in a ring topology. The management device sends a detection enable message; each SRB device sends a network address to two adjacent SRB devices. The management device sends a detection output enable message to the target SRB device, and the target SRB device creates a link relationship packet, stores the logical address therein and passes it to the next SRB device. After receiving the link relationship packet sent by the previous SRB device, other SRB devices add the logical address and continue to forward it. When the target SRB device receives the link relationship packet containing its own logical address, it sends it to the management device, thereby completing the time slice allocation of all SRB devices. The present invention enables SRB nodes to automatically report link relationships to the upper computer, and is particularly suitable for large-scale SRB networks. Through automated time slice configuration and management, the system deployment efficiency is significantly improved, the process is simplified, the automation and reliability are enhanced, manual intervention is reduced, and the efficiency and real-time performance of network management are ensured.

[0064] See also Figure 1 , shows a flowchart of a time slice configuration method for a secure real-time bus SRB provided in an embodiment of the present invention.

[0065] It is understandable that if Figure 2 As shown, the principle of SRB technology is to divide the communication time into several macro cycles of equal length.

[0066] In each macrocycle, the time slice is further divided into non-real-time communication time slice and real-time communication time slice. Non-real-time communication time slice is used to transmit data streams with low real-time requirements, such as configuration data and management data streams; while real-time communication time slice is divided according to the number of SRB communication devices, and each device is assigned an independent time slice (such as Figure 3 As shown in Figure 1), each device can only communicate in real time within the allocated time slice. In this way, SRB ensures the determinism and real-time nature of communication.

[0067] It should be noted that the time slice configuration method of the safety real-time bus SRB is applicable to a time slice configuration system of the safety real-time bus SRB. Figure 4 As shown, the system includes a management device and multiple SRB devices. The multiple SRB devices are connected in a ring topology structure.

[0068] The management device is connected to all SRB devices. Figure 4 For example, port 2 of SRB device 1 is connected to port 1 of SRB device 2; port 2 of SRB device 2 is connected to port 1 of SRB device 3; port 2 of SRB device 3 is connected to port 1 of SRB device 4; port 2 of SRB device 4 is connected to port 1 of SRB device 1; wherein SRB device 1 is also connected to a management device.

[0069] Based on this, the time slice configuration method of the safety real-time bus SRB includes:

[0070] Step S101: the management device sends a detection enable message to each SRB device.

[0071] In the specific implementation of step S101, after the system is powered on, the management device sends a detection enable message to all SRB devices through the network, so that the working modes of all SRB devices are set to the detection enable mode.

[0072] Step S102: when each SRB device receives the detection enable message, it sends the network address of the SRB device to two adjacent SRB devices.

[0073] In the specific implementation of step S102, after receiving the detection enable message, each SRB device sets the working mode to the detection enable mode and sends its own network address (such as MAC address and logical address) to two adjacent SRB devices.

[0074] by Figure 5For example, SRB device 1 sends its MAC address M1 and logical address L1 to SRB device 2 through port 2 and to SRB device 4 through port 1 respectively;

[0075] SRB device 2 sends its own MAC address M2 and logical address L2 to SRB device 3 through port 2 and to SRB device 1 through port 1 respectively;

[0076] SRB device 3 sends its own MAC address M3 and logical address L3 to SRB device 4 through port 2 and to SRB device 2 through port 1 respectively;

[0077] SRB device 4 sends its own MAC address M4 and logical address L4 to SRB device 1 through port 2 and to SRB device 3 through port 1 respectively.

[0078] It is understandable that, in this way, each SRB device stores the MAC addresses and logical addresses of the two SRB devices adjacent to it. This storage method enables each SRB device to quickly access and identify other devices directly connected to it. Each device gradually establishes a global communication link relationship by exchanging information with neighboring devices, thereby ensuring that data can be accurately and real-time transmitted to the destination device. This topology not only optimizes the path selection for data transmission, but also improves the robustness and reliability of the communication system, ensuring real-time and deterministic communication between devices.

[0079] Step S103: the management device sends a detection output enable message to the target SRB device, so that the target SRB device creates a link relationship package.

[0080] It should be noted that the target SRB device is any SRB device.

[0081] In the specific implementation of step S103, the management device determines whether to send a detection output enable message to the target SRB device by querying whether the storage unit or register in the target SRB device stores the network addresses of the two adjacent SRB devices. When the management device sends the detection output enable message to the target SRB device, the target SRB device creates a link relationship package. The specific implementation process is as follows (process A1 to process A3):

[0082] Process A1: The management device queries whether the storage unit of any SRB device contains the network addresses of two SRB devices adjacent to the SRB device. If yes, process A2 is executed.

[0083] by Figure 5For example, the management device queries whether the storage unit of SRB device 1 contains the MAC addresses and logical addresses of SRB devices 2 and 4. If the storage unit of SRB device 1 contains the MAC addresses and logical addresses of SRB devices 2 and 4, process A2 is executed.

[0084] Process A2: If the storage unit of the SRB device contains the network addresses of two SRB devices adjacent to the SRB device, the SRB device is marked as a target SRB device.

[0085] by Figure 5 For example: if the storage unit of SRB device 1 contains the MAC address and logical address of SRB device 2 and SRB device 4, SRB device 1 is marked as the target SRB device.

[0086] Process A3: Send a detection output enable message to the target SRB device to enable the target SRB device to create a link relationship packet.

[0087] by Figure 5 For example: the management device sends a detection output enable message to the target SRB device (ie, SRB device 1) to enable the target SRB device to create a link relationship packet.

[0088] Step S104: the target SRB device stores the logical address of the target SRB device into a link relationship packet, and sends it to the next SRB device.

[0089] In the specific implementation of step S104, after creating the link relationship packet, the target SRB device stores the logical address of the target SRB device (that is, its own) in the link relationship packet, and then sends it to the next SRB device.

[0090] For example: Figure 5 As shown, the target SRB device (ie, SRB device 1) stores the logical address L1 in a link relationship packet, and then sends it to SRB device 2. The link relationship packet is specifically shown in Table 1.

[0091] Table 1

[0092] Baotou L1 0 0 0 wrap tail

[0093] It is understandable that when the target SRB device creates a link relationship packet, it will reserve space for multiple addresses. For example, SRB device 1 creates a link relationship packet with a length of 1500 bytes. Assuming that each logical address occupies 1 byte in length, the link relationship packet can accommodate the logical addresses of 1500 SRB devices.

[0094] It can be understood that after the target SRB device stores the logical address of the target SRB device (that is, its own) in the link relationship packet, the process of sending the link relationship packet to the next SRB device is specifically as follows:

[0095] The target SRB device obtains the network addresses of two adjacent SRB devices from the storage unit; uses any one of the two SRB devices as the next SRB device of the target SRB device, and sends the link relationship packet to the next SRB device according to the network address of the next SRB device.

[0096] For example: Figure 5 As shown, the target SRB device, namely SRB device 1, obtains the network addresses of SRB device 2 and SRB device 4 from the storage unit, takes SRB device 2 as the next SRB device, and sends the link relationship packet to SRB device 2 according to the network address of SRB device 2;

[0097] Alternatively, the target SRB device, i.e., SRB device 1, obtains the network addresses of SRB device 2 and SRB device 4 from the storage unit, takes SRB device 4 as the next SRB device, and sends the link relationship packet to SRB device 4 according to the network address of SRB device 4. At this time, the link relationship packet is sent in the order of SRB device 1, SRB device 4, SRB device 3, SRB device 2, and SRB device 1.

[0098] Step S105: for any other SRB device, when receiving a link relationship packet sent by the previous SRB device of the other SRB device, the logical address of the other SRB device is stored in the link relationship packet and sent to the next SRB device.

[0099] It can be understood that the other SRB device is any SRB device other than the target SRB device. Figure 5 SRB device 2, SRB device 3 and SRB device 4 are other SRB devices.

[0100] In the specific implementation of step S105, for any other SRB device, if a link relationship packet sent by the previous SRB device of the other SRB device is received, the logical address of the other SRB device (that is, its own) is stored in the link relationship packet and sent to the next SRB device of the other device.

[0101] For example: if SRB device 2 receives the link relationship packet sent by SRB device 1, the logical address of SRB device 2 is stored in the link relationship packet. At this time, the link relationship packet includes the logical address of SRB device 1 and the logical address of SRB device 2 (as shown in Table 2), and then SRB device 2 sends the link relationship packet to SRB device 3.

[0102] Table 2

[0103] Baotou L1 L2 0 0 wrap tail

[0104] It should be noted that when sending the link relationship packet to the next SRB device, specifically: the other SRB devices obtain the network address of the next SRB device from the storage unit; according to the network address of the next SRB device, the link relationship packet storing the logical addresses of the other SRB devices is sent to the next SRB device.

[0105] In combination with the above example, the storage unit of SRB device 2 stores the network address of SRB device 1 and the network address of SRB device 3, wherein SRB device 1 is the previous SRB device of SRB device 2 and is the SRB device that sends the link relationship packet to SRB device 2; therefore, when SRB device 2 sends the link relationship packet to the next SRB device, it sends the link relationship packet to SRB device 3, i.e., the next SRB device.

[0106] Furthermore, for example: if SRB device 3 receives a link relationship packet sent by SRB device 2, the logical address of SRB device 3 is stored in the link relationship packet. At this time, the link relationship packet includes the logical address of SRB device 1, the logical addresses of SRB device 2 and SRB device 3 (as shown in Table 3), and then SRB device 3 sends the link relationship packet to SRB device 4.

[0107] Table 3

[0108] Baotou L1 L2 L3 0 wrap tail

[0109] For another example: If SRB device 4 receives the link relationship packet sent by SRB device 3, the logical address of SRB device 4 is stored in the link relationship packet. At this time, the link relationship packet includes the logical address of SRB device 1, SRB device 2, SRB device 3 and SRB device 4 (as shown in Table 4), and then SRB device 4 sends the link relationship packet to SRB device 1.

[0110] Table 4

[0111] Baotou L1 L2 L3 L4 wrap tail

[0112] Step S106: When the target SRB device receives the link relationship packet, and the link relationship packet includes the logical address of the target SRB device, the link relationship packet is sent to the management device.

[0113] In the specific implementation of step S106, when the target SRB device receives the link relationship packet sent by the previous SRB device, it searches whether the logical address of the target SRB device exists in the link relationship packet; if so, it sends the link relationship packet to the management device.

[0114] Combination Figure 5 As shown, when the target SRB device, ie, SRB device 1, receives the link relationship packet sent by SRB device 4, if the link relationship packet includes the logical address of SRB device 1, the link relationship packet is sent to the management device.

[0115] It is understandable that when the target SRB device sends the link relationship package to the management device, it indicates that the link relationship of all SRB devices has been sorted out. This process improves data transmission efficiency, reduces unnecessary exchanges, enhances the transparency of network topology, and enables the management device to fully grasp the connection status between devices. By ensuring that the connection relationship is established and transmitted in real time, the system can effectively guarantee real-time communication needs and reduce latency. At the same time, centralized management of the link relationship between devices simplifies network management, improves the maintainability and scalability of the system, and ensures the efficiency, reliability and scalability of communication.

[0116] Step S107: the management device allocates corresponding time slices to all SRB devices based on the link relationship packet.

[0117] In the specific implementation of step S107, the management device parses the link relationship packet to obtain the logical addresses of all SRB devices; and sends a configuration packet including the corresponding time slice to all SRB devices according to each logical address and the position of the logical address in the link relationship packet.

[0118] It is understandable that if Figure 6 As shown, the management device evenly staggers the cycle time occupied by each SRB device in the cycle time to prevent any SRB devices from being allocated to the same time slice, thereby avoiding the problem of communication failure caused by communication collision.

[0119] It should be noted that the specific process of the management device allocating corresponding time slices to all SRB devices based on the position of the logical address of each SRB device in the link relationship packet is as follows:

[0120] The management device extracts the logical address L1 from the link relationship packet; sends a configuration packet to the SRB device 1 corresponding to the logical address L1, the configuration packet includes the time slice information 0, thereby allocating the time slice to the SRB device 1;

[0121] The management device extracts the logical address L2 from the link relationship packet; sends a configuration packet to the SRB device 2 corresponding to the logical address L2, wherein the configuration packet includes the time slice information t, thereby allocating the time slice to the SRB device 2;

[0122] The management device extracts the logical address L3 from the link relationship packet; sends a configuration packet to the SRB device 3 corresponding to the logical address L3, wherein the configuration packet includes the time slice information 2t, thereby allocating the time slice to the SRB device 3;

[0123] The management device extracts the logical address L4 from the link relationship packet; sends a configuration packet to the SRB device 4 corresponding to the logical address L4, wherein the configuration packet includes the time slice information 3t, thereby allocating the time slice to the SRB device 4.

[0124] In an embodiment of the present invention, active detection and reporting of link relationships between SRB nodes are achieved through link relationship packages, avoiding the tedious process of manually combing equipment connections in harsh industrial production sites such as high temperature, high pressure, and high ionizing radiation, thereby greatly saving the time of on-site deployment and improving deployment efficiency. This method allows SRB nodes to automatically report their link relationships to the host computer, which is particularly suitable for large SRB networks with hundreds of nodes. In this network environment, the configuration and management of time slices can be automated, thereby effectively improving the efficiency of system deployment. Through this innovative method, the entire system not only simplifies the deployment process, but also improves the automation level and operational reliability of the system, greatly reduces the complexity of manual intervention, and ensures the efficiency and real-time performance of network management.

[0125] Corresponding to the time slice configuration method of a secure real-time bus SRB provided in the above embodiment of the present invention, see Figure 7 , shows a structural schematic diagram of a time slice configuration system of a secure real-time bus SRB provided in an embodiment of the present invention.

[0126] The system includes: a management device and multiple SRB devices, and the multiple SRB devices are connected in a ring topology structure.

[0127] A management device, used for sending a detection start enable message to each SRB device so that each SRB device sends the network address of the SRB device to two adjacent SRB devices; and for sending a detection output enable message to a target SRB device so that the target SRB device creates a link relationship packet, stores the logical address of the target SRB device in the link relationship packet, and sends it to the next SRB device; the target SRB device is any SRB device; and is also used for receiving the link relationship packet sent by the target SRB device and allocating corresponding time slices to all SRB devices.

[0128] The target SRB device is further configured to send the link relationship packet to the management device when receiving the link relationship packet, and the link relationship packet includes the logical address of the target SRB device.

[0129] For each other SRB device, when receiving a link relationship packet sent by the previous SRB device of the other SRB device, the logical address of the other SRB device is stored in the link relationship packet and sent to the next SRB device; the other SRB device is any SRB device except the target SRB device.

[0130] In an embodiment of the present invention, active detection and reporting of link relationships between SRB nodes are achieved through link relationship packages, avoiding the tedious process of manually combing equipment connections in harsh industrial production sites such as high temperature, high pressure, and high ionizing radiation, thereby greatly saving the time of on-site deployment and improving deployment efficiency. This method allows SRB nodes to automatically report their link relationships to the host computer, which is particularly suitable for large SRB networks with hundreds of nodes. In this network environment, the configuration and management of time slices can be automated, thereby effectively improving the efficiency of system deployment. Through this innovative method, the entire system not only simplifies the deployment process, but also improves the automation level and operational reliability of the system, greatly reduces the complexity of manual intervention, and ensures the efficiency and real-time performance of network management.

[0131] Combination Figure 7 The content shown is used when the management device sends a detection output enable message to the target SRB device so that the target SRB device creates a link relationship packet.

[0132] The management device queries whether the storage unit of any SRB device contains the network addresses of two SRB devices adjacent to the SRB device; if the storage unit of the SRB device contains the network addresses of two SRB devices adjacent to the SRB device, the SRB device is marked as a target SRB device; and a detection output enable message is sent to the target SRB device to enable the target SRB device to create a link relationship package.

[0133] Combination Figure 7 The content shown in the figure is used when the target SRB device executes to store the logical address of the target SRB device into the link relationship packet and sends it to the next SRB device:

[0134] The target SRB device stores the logical address of the target SRB device in the link relationship packet; the target SRB device obtains the network addresses of two adjacent SRB devices from the storage unit; any one of the two SRB devices is used as the next SRB device of the target SRB device, and the link relationship packet is sent to the next SRB device according to the network address of the next SRB device.

[0135] Combination Figure 7 The content shown, when other SRB devices execute when receiving the link relationship packet sent by the previous SRB device of other SRB devices, storing the logical address of other SRB devices in the link relationship packet and sending it to the next SRB device, is specifically used for:

[0136] For any other SRB device, when receiving a link relationship packet sent by the previous SRB device of the other SRB device, the logical address of the other SRB device is stored in the link relationship packet; the other SRB device obtains the network address of the next SRB device from the storage unit; and according to the network address of the next SRB device, the link relationship packet storing the logical address of the other SRB device is sent to the next SRB device.

[0137] Combination Figure 7 As shown in the content, the management device executes the link relationship packet sent by the target SRB device and allocates corresponding time slices to all SRB devices, which is specifically used for:

[0138] The management device receives the link relationship packet sent by the target SRB device; the management device parses the link relationship packet to obtain the logical addresses of all SRB devices; and sends a configuration packet including the corresponding time slice to all SRB devices according to each logical address and the position of the logical address in the link relationship packet.

[0139] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can refer to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system or system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can refer to the partial description of the method embodiment. The system and system embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without creative work.

[0140] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0141] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A method for configuring time slices of a secure real-time bus (SRB), characterized in that: A time slice configuration system applicable to a secure real-time bus (SRB), the system comprising a management device and a plurality of SRB devices, wherein the plurality of SRB devices are connected in a ring topology structure; the method comprising: The management device sends a detection enable message to each of the SRB devices; When each of the SRB devices receives the detection enable message, the network address of the SRB device is sent to two adjacent SRB devices; The management device sends a detection output enable message to the target SRB device, so that the target SRB device creates a link relationship packet; the target SRB device is any of the SRB devices; The target SRB device stores the logical address of the target SRB device in the link relationship packet and sends it to the next SRB device; For any other SRB device, when receiving a link relationship packet sent by the previous SRB device of the other SRB device, storing the logical address of the other SRB device in the link relationship packet and sending it to the next SRB device; the other SRB device is any SRB device except the target SRB device; When the target SRB device receives the link relationship packet, and the link relationship packet includes the logical address of the target SRB device, the link relationship packet is sent to the management device; The management device allocates corresponding time slices to all SRB devices based on the link relationship packet.

2. The method according to claim 1, characterized in that The management device sends a detection output enable message to the target SRB device so that the target SRB device creates a link relationship packet, including: The management device queries whether a storage unit of any one of the SRB devices contains network addresses of two SRB devices adjacent to the SRB device; If the storage unit of the SRB device contains the network addresses of two SRB devices adjacent to the SRB device, marking the SRB device as a target SRB device; A detection output enable message is sent to the target SRB device, so that the target SRB device creates a link relationship packet.

3. The method according to claim 1, characterized in that The target SRB device stores the logical address of the target SRB device in the link relationship packet and sends it to the next SRB device, including: The target SRB device stores the logical address of the target SRB device in the link relationship packet; The target SRB device obtains the network addresses of two adjacent SRB devices from the storage unit; Any one of the two SRB devices is used as the next SRB device of the target SRB device, and the link relationship packet is sent to the next SRB device according to the network address of the next SRB device.

4. The method according to claim 1, characterized in that: The method of storing the logical address of any other SRB device in the link relationship packet and sending the packet to the next SRB device when receiving the link relationship packet sent by the previous SRB device of the other SRB device comprises: For any other SRB device, when receiving a link relationship packet sent by a previous SRB device of the other SRB device, storing the logical address of the other SRB device in the link relationship packet; The other SRB device obtains the network address of the next SRB device from the storage unit; According to the network address of the next SRB device, the link relationship packet storing the logical addresses of the other SRB devices is sent to the next SRB device.

5. The method according to claim 1, characterized in that: The management device allocates corresponding time slices to all SRB devices based on the link relationship packet, including: The management device parses the link relationship packet to obtain the logical addresses of all SRB devices; According to each of the logical addresses and the position of the logical addresses in the link relationship packet, a configuration packet including a corresponding time slice is sent to all SRB devices.

6. A time slice configuration system for a secure real-time bus SRB, characterized in that: The system comprises: a management device and a plurality of SRB devices, wherein the plurality of SRB devices are connected in a ring topology structure; The management device is used to send a detection enable message to each of the SRB devices, so that each of the SRB devices sends the network address of the SRB device to two adjacent SRB devices; and to send a detection output enable message to the target SRB device, so that the target SRB device creates a link relationship packet, stores the logical address of the target SRB device in the link relationship packet, and sends it to the next SRB device; the target SRB device is any of the SRB devices; and is also used to receive the link relationship packet sent by the target SRB device, and allocate corresponding time slices to all SRB devices; The target SRB device is further configured to send the link relationship packet to the management device when receiving the link relationship packet, and the link relationship packet includes the logical address of the target SRB device; For each other SRB device, when receiving a link relationship packet sent by the previous SRB device of the other SRB device, the logical address of the other SRB device is stored in the link relationship packet and sent to the next SRB device; the other SRB device is any SRB device except the target SRB device.

7. The system according to claim 6, characterized in that When the management device executes the sending of the detection output enable message to the target SRB device so that the target SRB device creates a link relationship packet, the management device is specifically used to: The management device queries whether a storage unit of any one of the SRB devices contains network addresses of two SRB devices adjacent to the SRB device; If the storage unit of the SRB device contains the network addresses of two SRB devices adjacent to the SRB device, marking the SRB device as a target SRB device; A detection output enable message is sent to the target SRB device, so that the target SRB device creates a link relationship packet.

8. The system according to claim 6, characterized in that When the target SRB device executes the step of storing the logical address of the target SRB device in the link relationship packet and sending the packet to the next SRB device, it is specifically used for: The target SRB device stores the logical address of the target SRB device in the link relationship packet; The target SRB device obtains the network addresses of two adjacent SRB devices from the storage unit; Any one of the two SRB devices is used as the next SRB device of the target SRB device, and the link relationship packet is sent to the next SRB device according to the network address of the next SRB device.

9. The system according to claim 6, characterized in that When the other SRB device performs the step of storing the logical address of the other SRB device in the link relationship packet and sending it to the next SRB device when receiving the link relationship packet sent by the previous SRB device of the other SRB device, the step is specifically used to: For any other SRB device, when receiving a link relationship packet sent by a previous SRB device of the other SRB device, storing the logical address of the other SRB device in the link relationship packet; The other SRB device obtains the network address of the next SRB device from the storage unit; According to the network address of the next SRB device, the link relationship packet storing the logical addresses of the other SRB devices is sent to the next SRB device.

10. The system according to claim 6, characterized in that The management device executes the receiving of the link relationship packet sent by the target SRB device and allocates corresponding time slices to all SRB devices, specifically for: The management device receives a link relationship packet sent by the target SRB device; The management device parses the link relationship packet to obtain the logical addresses of all SRB devices; According to each of the logical addresses and the position of the logical addresses in the link relationship packet, a configuration packet including a corresponding time slice is sent to all SRB devices.

Citation Information

Patent Citations

  • Communication method and device, storage medium and processor

    CN111464666A

  • Message forwarding method, electronic equipment and computer storage medium

    CN113346980A

  • Method and device for determining network topology, and electronic equipment

    CN114095374A

  • SRB (Secure Real-time Bus) connection relationship determination method and related device

    CN118764390A

  • Management method, device, equipment and storage medium for mobile handover

    US20200120552A1

Cited By

  • Data transmission control method and device of SRB, electronic equipment and storage medium

    CN120602257A

  • Equipment upgrading method applied to SRB system and related device

    CN120785740A