Priority configuration method and device based on intelligent synchronous bus iRAX
By configuring the quality of service policies and marking time synchronization traffic in the intelligent synchronization bus iRAX system, and implementing traffic shaping and queuing management, the problems of delay and jitter under high load are solved, and the accuracy of time synchronization signals and system performance are improved.
Patent Information
- Application Number
- CN202510024213.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-07
- Publication Date
- 2025-04-11
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Under high load conditions, delay and jitter will occur in the traditional intelligent synchronization bus system, resulting in a decrease in the accuracy of the time synchronization signal. At the same time, traditional network architectures cannot effectively distinguish different types of traffic, affecting the overall performance.
By configuring a quality of service policy on routers and switches, assign the highest priority to time synchronization traffic and mark time synchronization traffic based on DiffServ or other tagging mechanisms. At the same time, according to the traffic shaping technology and queuing management mechanism, traffic shaping and queuing management of time-synchronized traffic are configured.
It realizes reducing delay and jitter, ensuring the synchronization accuracy of the system, and effectively controlling the packet transmission rate to avoid network jitter, thereby improving the accuracy of the time synchronization signal and the overall performance of the iRAX system.
Smart Images

Figure CN119814669A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of iRAX bus systems, and in particular to a priority configuration method and device based on an intelligent synchronous bus iRAX. Background Art
[0002] In traditional intelligent synchronous bus systems, especially iRAX systems, as application requirements continue to increase, it becomes increasingly important to ensure the synchronization accuracy of all components. Many systems experience delays and jitters under high load, resulting in reduced accuracy of time synchronization signals. For example, in automated production lines, time synchronization between devices is critical, and any slight delay may lead to reduced production efficiency or product quality issues. In addition, traditional network architectures often cannot effectively distinguish between different types of traffic, causing time synchronization traffic to be overwhelmed by other traffic in the network, thus affecting overall performance. Therefore, it needs to be improved. Summary of the invention
[0003] Based on this, it is necessary to provide a priority configuration method and device based on the intelligent synchronization bus iRAX to address the problem that many systems will experience delays and jitters under high load conditions, which will lead to a decrease in the accuracy of time synchronization signals. In addition, traditional network architectures are often unable to effectively distinguish different types of traffic, causing time synchronization traffic to be overwhelmed by other traffic in the network, thereby affecting the overall performance.
[0004] The present invention provides a priority configuration method based on an intelligent synchronous bus iRAX, the method comprising: Configure quality of service policies on routers and switches and assign the highest priority to time synchronization traffic; Mark time synchronization traffic based on DiffServ or other marking mechanisms; Configure traffic shaping and queue management for time synchronization traffic based on traffic shaping technologies and queue management mechanisms.
[0005] In one embodiment, configuring a quality of service policy on a router and a switch and assigning the highest priority to time synchronization traffic includes: In the QoS configuration section of the router or switch, define a new QoS policy and set traffic classification rules in the QoS policy to specify the source and destination ports for time synchronization traffic; In the quality of service policy, the highest priority is assigned to the traffic that meets the traffic classification rules; Apply the created QoS policy to the corresponding interface to ensure that all traffic entering and leaving the interface is processed by the QoS policy.
[0006] In one embodiment, marking the time synchronization traffic based on DiffServ or other marking mechanisms includes: identifying characteristics of time synchronization traffic, the characteristics of the time synchronization traffic including specific ports and protocol types used by a time synchronization protocol; In the Quality of Service configuration section of the router or switch, create a new traffic classification rule and enable the new traffic classification rule to match time synchronization traffic; Based on the DSCP marking policy, a specific DSCP value is assigned to time synchronization traffic; Apply the created marking policy to the corresponding interface to ensure that all traffic entering and leaving the interface is processed by the marking policy.
[0007] In one embodiment, marking the time synchronization traffic based on DiffServ or other marking mechanisms further includes: Create a dedicated VLAN for synchronization and place time synchronization traffic in the dedicated VLAN.
[0008] In one embodiment, creating a dedicated VLAN for synchronization and placing time synchronization traffic in the dedicated VLAN includes: Determine an unused virtual local area network identifier; In the VLAN configuration section of the network switch, create a new VLAN; Add the ports that need to transmit time synchronization traffic to the synchronization-dedicated VLAN.
[0009] In one of the embodiments, creating a dedicated VLAN for synchronization and placing time synchronization traffic in the dedicated VLAN further includes: Determine the VLAN priority criteria and configure a higher priority for the synchronization-only VLAN.
[0010] In one embodiment, configuring traffic shaping and queuing management of time synchronization traffic according to traffic shaping technology and queuing management mechanism includes: Selecting a traffic shaping technology, wherein the traffic shaping technology includes a token bucket and a leaky bucket; On the interface to be configured, set traffic shaping parameters, including burst rate, smoothing rate, and token bucket or leaky bucket size; Configure the queue management mechanism for time synchronization traffic based on weighted fair queuing or strict priority queuing.
[0011] The present invention also provides a priority configuration device based on the intelligent synchronous bus iRAX, comprising: an allocation module to configure quality of service policies on routers and switches and assign the highest priority to time synchronization traffic; A marking module, used to mark time synchronization traffic based on DiffServ or other marking mechanisms; The configuration module is used to configure traffic shaping and queue management of time synchronization traffic according to traffic shaping technology and queue management mechanism.
[0012] The present invention also provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the priority configuration method based on the intelligent synchronous bus iRAX as described in any one of the above is implemented.
[0013] The present invention also provides a computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements any of the above-described priority configuration methods based on the intelligent synchronous bus iRAX.
[0014] The above-mentioned priority configuration method based on the intelligent synchronization bus iRAX, by marking the time synchronization traffic, assigns the highest priority to the time synchronization traffic, so that the routers and switches can identify and prioritize the time synchronization traffic, thereby reducing delays and jitters and ensuring the synchronization accuracy of the system. At the same time, by implementing traffic shaping and queuing management, the transmission rate of data packets can be effectively controlled, thereby avoiding network jitter caused by burst traffic and ensuring high-precision synchronization of the system, thereby improving the accuracy of the time synchronization signal and the overall performance of the iRAX system. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] In order to more clearly illustrate the technical solutions in the present invention or the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0016] Figure 1 A schematic flow chart of a priority configuration method based on the intelligent synchronous bus iRAX in one embodiment; Figure 2 A schematic diagram of a process for configuring a quality of service policy on a router and a switch in one embodiment; Figure 3 A schematic diagram of a process for marking time synchronization traffic in an embodiment; Figure 4 A schematic diagram of a process for creating a synchronous dedicated VLAN in one embodiment; Figure 5A schematic diagram of a flow chart for configuring traffic shaping and queuing management of time synchronization traffic in one embodiment; Figure 6 It is a structural schematic diagram of a priority configuration device based on the intelligent synchronous bus iRAX in one embodiment; Figure 7 The figure is a diagram showing the internal structure of an electronic device according to an embodiment. DETAILED DESCRIPTION
[0017] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are 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.
[0018] Combine the following Figure 1-Figure 7 The priority configuration method and device based on the intelligent synchronous bus iRAX of the present invention are described.
[0019] like Figure 1 As shown, in one embodiment, a priority configuration method based on the intelligent synchronous bus iRAX includes the following steps: Step S100: configure the quality of service policy on the router and the switch, and assign the highest priority to the time synchronization traffic.
[0020] By configuring quality of service policies on routers and switches and assigning the highest priority to time synchronization traffic, routers and switches can identify and prioritize time synchronization traffic, thereby reducing latency and jitter and ensuring the synchronization accuracy of the system.
[0021] Step S200: Marking time synchronization traffic based on DiffServ or other marking mechanisms.
[0022] DiffServ (Differentiated Services) is a widely used traffic marking method that implements traffic priority management by setting a specific service type field (DSCP, Differentiated Services Code Point) in the header of an IP packet. For time synchronization traffic, it is usually recommended to use a higher DSCP value to ensure that these packets receive priority treatment in the network.
[0023] Time synchronization traffic can be marked by using DiffServ or other marking mechanisms so that network devices can recognize and prioritize it.
[0024] Step S300: According to the traffic shaping technology and queue management mechanism, traffic shaping and queue management of time synchronization traffic are configured.
[0025] In the intelligent synchronous bus iRAX system, traffic shaping and queue management are important means to ensure the stable transmission of time synchronization traffic. By implementing traffic shaping, the transmission rate of data packets can be effectively controlled, thereby avoiding network jitter caused by burst traffic and ensuring high-precision synchronization of the system.
[0026] This priority configuration method based on the intelligent synchronization bus iRAX marks the time synchronization traffic and assigns the highest priority to the time synchronization traffic, so that routers and switches can identify and prioritize the time synchronization traffic, thereby reducing delays and jitters and ensuring the synchronization accuracy of the system. At the same time, by implementing traffic shaping and queuing management, the transmission rate of data packets can be effectively controlled to avoid network jitter caused by burst traffic and ensure high-precision synchronization of the system, thereby improving the accuracy of the time synchronization signal and the overall performance of the iRAX system.
[0027] In this embodiment, see Figure 2 , configure the quality of service policy on the routers and switches and assign the highest priority to time synchronization traffic, including the following steps: Step S110, in the quality of service configuration part of the router or switch, define a new quality of service policy, set traffic classification rules in the quality of service policy, and specify the source and destination ports of the time synchronization traffic.
[0028] For example: For PTP (Precision Time Protocol) traffic, set the traffic classification rule to "source port = 319, destination port = 320", where the source port is used for the master clock and the destination port is used for the slave clock.
[0029] For NTP (Network Time Protocol) traffic, set the traffic classification rule to "Source port = 123".
[0030] Step S120: In the quality of service policy, the highest priority is assigned to the traffic that complies with the traffic classification rules.
[0031] Typically, network devices support multiple levels of priority, and the priority of time synchronization traffic can be set to "Priority 1" or "Highest Priority".
[0032] Step S130: Apply the created quality of service policy to the corresponding interface to ensure that all traffic entering and leaving the interface is processed by the quality of service policy.
[0033] The specific examples are as follows: Assume that in a real network environment, you need to configure a Cisco switch to support priority processing of time synchronization traffic. First, you need to log in to the switch management interface and enter the global configuration mode. Then, follow the steps below to create a quality of service policy.
[0034] 1. Create a quality of service policy: Enter commands in the CLI (command-line interface) to create traffic classification and priority policies.
[0035] 2. Apply service quality policies: Apply policies to specific interfaces to ensure that time synchronization traffic can pass through first.
[0036] In this way, quality of service policies can be effectively configured to ensure that time synchronization traffic receives priority treatment in the network, thereby improving the synchronization accuracy and reliability of the entire iRAX system.
[0037] In this embodiment, see Figure 3 , based on DiffServ or other marking mechanisms, marking time synchronization traffic includes the following steps: Step S210, identifying characteristics of the time synchronization traffic, where the characteristics of the time synchronization traffic include a specific port and protocol type used by the time synchronization protocol.
[0038] For example, PTP usually uses UDP ports 319 and 320, while NTP uses UDP port 123. With this information, network devices can identify time synchronization traffic.
[0039] Step S220: In the quality of service configuration part of the router or switch, a new traffic classification rule is created, and the new traffic classification rule is matched with the time synchronization traffic.
[0040] In the Quality of Service configuration, define a new class named "TimeSyncClass".
[0041] Set the matching conditions. For example, for PTP traffic, set the rule to "Source port = 319, Destination port = 320". For NTP traffic, set the rule to "Source port = 123".
[0042] Step S230: allocating a specific DSCP value to the time synchronization traffic based on the DSCP marking policy.
[0043] Typically, a DSCP value of 46 (EF, Expedited Forwarding) is recommended for high-priority traffic.
[0044] Step S240, applying the created marking policy to the corresponding interface to ensure that all traffic entering and leaving the interface is processed by the marking policy.
[0045] The specific examples are as follows: Suppose in a real network environment, you need to configure the marking of time synchronization traffic on a Cisco router. First, you need to log in to the management interface of the router and enter the global configuration mode. Then, follow the steps below to create a traffic classification and marking policy.
[0046] 1. Identify traffic: Confirm the port used by time synchronization traffic.
[0047] 2. Create a marking policy: Enter commands in the CLI to create traffic classification and DSCP marking policies.
[0048] 3. Apply marking policy: Apply the policy to a specific interface to ensure that time synchronization traffic is correctly marked.
[0049] In this way, time synchronization traffic can be effectively marked to ensure that it receives priority treatment in the network, thereby improving the synchronization accuracy and reliability of the entire iRAX system.
[0050] In this embodiment, based on DiffServ or other marking mechanisms, marking time synchronization traffic also includes the following steps: Step S250: Create a dedicated synchronization VLAN and place time synchronization traffic in the dedicated VLAN.
[0051] In the intelligent synchronization bus iRAX system, creating a dedicated synchronization VLAN (Virtual Local Area Network) is an important measure to ensure that time synchronization traffic is not interfered with by other network traffic. By isolating time synchronization traffic in a dedicated VLAN, the stability and accuracy of data transmission can be effectively improved.
[0052] In this embodiment, see Figure 4 , create a dedicated VLAN for synchronization and place time synchronization traffic in the dedicated VLAN, including the following steps: Step S251, determining an unused virtual local area network identifier.
[0053] For example, you can choose VLAN 100 as a dedicated VLAN for time synchronization traffic.
[0054] Step S252: Create a new VLAN in the VLAN configuration part of the network switch.
[0055] The specific steps to create a new VLAN are as follows: 1. Enter global configuration mode.
[0056] 2. Enter the command to create VLAN 100.
[0057] This will create a VLAN called "TimeSyncVLAN" specifically for time synchronization traffic.
[0058] Step S253: adding the port that needs to transmit time synchronization traffic to the synchronization dedicated VLAN.
[0059] Assume that you need to configure ports GigabitEthernet0 / 1 and GigabitEthernet0 / 2 as transmission ports for time synchronization traffic. The specific steps are as follows: 1. Enter interface configuration mode: interface GigabitEthernet0 / 1 switchport mode access switchport access vlan 100 2. Repeat the above steps to configure the same VLAN for GigabitEthernet0 / 2.
[0060] Through the above steps, a dedicated VLAN will be successfully created for time synchronization traffic, and the relevant ports will be configured as members of this VLAN. In this way, the time synchronization traffic will be isolated in VLAN 100 to ensure that it is not affected by other traffic, thereby improving the synchronization accuracy and reliability of the system.
[0061] The specific examples are as follows: Assume that in a real network environment, you need to configure a dedicated VLAN for time synchronization traffic on a Cisco switch. First, you need to log in to the switch management interface and enter the global configuration mode. Then, follow the steps below to create VLAN 100 and configure the relevant ports as members of this VLAN.
[0062] 1. Select VLAN ID: Confirm an unused VLAN ID, for example, select VLAN 100.
[0063] 2. Create VLAN: Enter the command in the CLI to create VLAN 100 and name it "TimeSyncVLAN".
[0064] 3. Configure ports: Add the ports that need to transmit time synchronization traffic (such as GigabitEthernet0 / 1 and GigabitEthernet0 / 2) to VLAN 100.
[0065] In this way, a dedicated VLAN for synchronization can be effectively created, ensuring that time synchronization traffic is given priority in the network, thereby improving the synchronization accuracy and reliability of the entire iRAX system.
[0066] In this embodiment, a dedicated VLAN for synchronization is created, and time synchronization traffic is placed in the dedicated VLAN, and the following steps are also included: Step S254, determining the VLAN priority standard, and configuring a higher priority for the synchronization dedicated VLAN.
[0067] In the intelligent synchronization bus iRAX system, in order to ensure that time synchronization traffic is given priority in the network, the synchronization dedicated VLAN must be prioritized. Through reasonable priority settings, delays and jitters can be effectively reduced, thereby improving the synchronization accuracy of the system.
[0068] The specific steps are as follows: 1. Select VLAN priority standard: Before configuring VLAN priority, you must first select an appropriate priority standard.
[0069] Generally, the IEEE 802.1Q standard defines a range of VLAN priorities, with priority values ranging from 0 to 7, where 0 represents the lowest priority and 7 represents the highest priority. To ensure priority processing of time synchronization traffic, it is recommended to select a priority value of 5 or higher.
[0070] 2. Enter the switch configuration mode: Log in to the management interface of the network switch and enter the global configuration mode. The specific steps are as follows: Connect to the switch using the SSH (Secure Shell) protocol or the console; Enter your username and password for authentication; Enter global configuration mode.
[0071] 3. Configure VLAN priority: In global configuration mode, select the VLAN to be configured (for example, VLAN 100) and set its priority. The specific steps are as follows: Enter VLAN configuration mode; Set the VLAN priority to 5 (or higher).
[0072] This will ensure that all packets transmitted through VLAN 100 are tagged with priority 5 and thus receive preferential treatment in the network.
[0073] 4. Configure port priority: In addition to VLAN priorities, you also need to configure priorities for ports related to time synchronization traffic. Assuming that the ports to be configured are GigabitEthernet0 / 1 and GigabitEthernet0 / 2, the specific steps are as follows: Enter interface configuration mode: interface GigabitEthernet0 / 1 To set the port priority: switchport priority extend 5 Repeat the previous steps to configure the same priority for GigabitEthernet0 / 2.
[0074] 5. Verify priority configuration: After the configuration is complete, you can use the command line tool to verify whether the VLAN and port priority configurations are correct. Use the command to view the VLAN and port priority information.
[0075] The following are some examples: Suppose you want to configure the VLAN priority of time synchronization traffic on a Cisco switch. First, you need to log in to the switch management interface and enter the global configuration mode. Then, follow the steps below to configure.
[0076] 1. Select the priority standard: Confirm that the priority value is 5.
[0077] 2. Enter configuration mode: Enter global configuration mode after logging in.
[0078] 3. Configure VLAN priority: Select VLAN 100 and set the priority to 5.
[0079] 4. Configure port priority: Set the priority of GigabitEthernet0 / 1 and GigabitEthernet0 / 2 to 5.
[0080] 5. Verify the configuration: Use commands to view the VLAN and port priority configuration to ensure that the settings are correct.
[0081] In this way, a higher priority can be effectively configured for the synchronization-dedicated VLAN, ensuring that time synchronization traffic is given priority transmission in the network, thereby improving the synchronization accuracy and reliability of the entire iRAX system.
[0082] In this embodiment, see Figure 5 , according to the traffic shaping technology and queue management mechanism, configure the traffic shaping and queue management of time synchronization traffic, including the following steps: Step S310, selecting a traffic shaping technology, where the traffic shaping technology includes a token bucket and a leaky bucket.
[0083] Among them, the token bucket allows burst traffic but limits the average transmission rate, while the leaky bucket strictly limits the output rate of traffic. For time synchronization traffic, it is recommended to use the token bucket method to allow burst traffic for a short period of time while maintaining stable transmission.
[0084] Step S320, setting traffic shaping parameters on the interface to be configured, the traffic shaping parameters including burst rate, smoothing rate, and token bucket or leaky bucket size.
[0085] Among them, burst rate: the maximum allowed burst traffic rate, usually expressed in bits per second (bps).
[0086] Smoothing rate: The average transmission rate of traffic, ensuring that this rate will not be exceeded for a long time.
[0087] Token bucket size: The capacity of the token bucket determines how much burst traffic can be stored.
[0088] When configuring traffic shaping on the network device, set the following burst rate, smoothing rate, and token bucket size parameters, then log in to the management interface of the network device and enter the configuration mode. The specific steps are as follows: Connect to the device using SSH or console; Enter your username and password for authentication; Enter global configuration mode; Implement traffic shaping: In global configuration mode, select the interface to be configured (for example, GigabitEthernet0 / 1) and set the traffic shaping parameters. The specific steps are as follows: Enter interface configuration mode; Configure token bucket shaping: For example, if the smooth rate is 1 Mbps, the burst rate is 2 Mbps, and the token bucket size is 100 KB.
[0089] Step S330: Based on weighted fair queuing or strict priority queuing, a queuing management mechanism for time synchronization traffic is configured.
[0090] In interface configuration mode, enable weighted fair queuing or enable strict priority queuing.
[0091] After the configuration is complete, you can use the command line tool to verify whether the traffic shaping and queuing management configuration is correct, and use commands to view the traffic shaping and queuing information of the interface.
[0092] The specific examples are as follows: Assume that you want to configure traffic shaping and queuing management for time synchronization traffic on a Cisco switch. First, you need to log in to the switch management interface and enter the global configuration mode. Then, follow the steps below to configure.
[0093] 1. Select the traffic shaping method: Confirm to use the token bucket method.
[0094] 2. Configure traffic shaping parameters: set the smoothing rate to 1 Mbps, the burst rate to 2 Mbps, and the token bucket size to 100 KB.
[0095] 3. Enter configuration mode: Enter global configuration mode after logging in.
[0096] 4. Implement traffic shaping: Configure traffic shaping on the GigabitEthernet0 / 1 interface.
[0097] 5. Configure the queue management mechanism: Select WFQ or SPQ as the queue management mechanism.
[0098] 6. Verify the configuration: Use commands to view the traffic shaping and queuing information of the interface to ensure that the settings are correct.
[0099] In this way, traffic shaping and queue management can be effectively implemented to ensure stable transmission of time synchronization traffic in the network, thereby improving the synchronization accuracy and reliability of the entire iRAX system.
[0100] The priority configuration device based on the intelligent synchronous bus iRAX provided by the present invention is described below. The priority configuration device based on the intelligent synchronous bus iRAX described below and the priority configuration method based on the intelligent synchronous bus iRAX described above can be referred to each other.
[0101] like Figure 6 As shown, in one embodiment, a priority configuration device based on the intelligent synchronous bus iRAX includes an allocation module 610 , a marking module 620 and a configuration module 630 .
[0102] The allocation module 610 is used to configure the quality of service policy on the routers and switches and assign the highest priority to the time synchronization traffic; The marking module 620 is used to mark the time synchronization traffic based on DiffServ or other marking mechanisms; The configuration module 630 is used to configure the traffic shaping and queue management of the time synchronization traffic according to the traffic shaping technology and queue management mechanism.
[0103] The allocation module 610 is specifically configured to: In the QoS configuration section of the router or switch, define a new QoS policy and set traffic classification rules in the QoS policy to specify the source and destination ports for time synchronization traffic; In the quality of service policy, the highest priority is assigned to the traffic that meets the traffic classification rules; Apply the created QoS policy to the corresponding interface to ensure that all traffic entering and leaving the interface is processed by the QoS policy.
[0104] The marking module 620 is specifically used for: Identify characteristics of time synchronization traffic, including specific ports and protocol types used by time synchronization protocols; In the Quality of Service configuration section of the router or switch, create a new traffic classification rule and enable the new traffic classification rule to match time synchronization traffic; Based on the DSCP marking policy, a specific DSCP value is assigned to time synchronization traffic; Apply the created marking policy to the corresponding interface to ensure that all traffic entering and leaving the interface is processed by the marking policy.
[0105] The marking module 620 is further specifically configured to: Create a dedicated VLAN for synchronization and place time synchronization traffic in the dedicated VLAN.
[0106] Create a dedicated VLAN for synchronization and place time synchronization traffic in the dedicated VLAN for: Determine an unused virtual local area network identifier; In the VLAN configuration section of the network switch, create a new VLAN; Add the ports that need to transmit time synchronization traffic to the synchronization-dedicated VLAN.
[0107] Create a dedicated VLAN for synchronization and place time synchronization traffic in the dedicated VLAN. It is also used for: Determine the VLAN priority criteria and configure a higher priority for the synchronization-only VLAN.
[0108] The configuration module 630 is specifically used for: Select traffic shaping technology, which includes token bucket and leaky bucket; Set traffic shaping parameters on the interface to be configured. Traffic shaping parameters include burst rate, smoothing rate, and token bucket or leaky bucket size. Configure the queue management mechanism for time synchronization traffic based on weighted fair queuing or strict priority queuing.
[0109] The priority configuration device based on the intelligent synchronization bus iRAX marks the time synchronization traffic and assigns the highest priority to the time synchronization traffic, so that routers and switches can identify and prioritize the time synchronization traffic, thereby reducing delays and jitters and ensuring the synchronization accuracy of the system. At the same time, by implementing traffic shaping and queuing management, the transmission rate of data packets can be effectively controlled to avoid network jitter caused by burst traffic and ensure high-precision synchronization of the system, thereby improving the accuracy of the time synchronization signal and the overall performance of the iRAX system.
[0110] Figure 7 An example of a physical structure diagram of an electronic device is shown. The electronic device may be a smart terminal, and its internal structure diagram may be as follows: Figure 7 As shown. The electronic device includes a processor, a memory and a network interface connected via a system bus. The processor of the electronic device is used to provide computing and control capabilities. The memory of the electronic device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the electronic device is used to communicate with an external terminal via a network connection. When the computer program is executed by the processor, a priority configuration method based on the intelligent synchronous bus iRAX is implemented, and the method includes: Configure quality of service policies on routers and switches and assign the highest priority to time synchronization traffic; Mark time synchronization traffic based on DiffServ or other marking mechanisms; Configure traffic shaping and queue management for time synchronization traffic based on traffic shaping technologies and queue management mechanisms.
[0111] Those skilled in the art will understand that Figure 7 The structure shown in the figure is only a block diagram of a part of the structure related to the scheme of the present invention, and does not constitute a limitation on the electronic device to which the scheme of the present invention is applied. The specific electronic device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0112] On the other hand, the present invention also provides a computer storage medium storing a computer program, which, when executed by a processor, implements a priority configuration method based on an intelligent synchronous bus iRAX, the method comprising: Configure quality of service policies on routers and switches and assign the highest priority to time synchronization traffic; Mark time synchronization traffic based on DiffServ or other marking mechanisms; Configure traffic shaping and queue management for time synchronization traffic based on traffic shaping technologies and queue management mechanisms.
[0113] In another aspect, a computer program product or a computer program is provided, the computer program product or the computer program comprising computer instructions, the computer instructions being stored in a computer-readable storage medium. A processor of an electronic device reads the computer instructions from the computer-readable storage medium, and when the processor executes the computer instructions, a priority configuration method based on an intelligent synchronous bus iRAX is implemented, the method comprising: Configure quality of service policies on routers and switches and assign the highest priority to time synchronization traffic; Mark time synchronization traffic based on DiffServ or other marking mechanisms; Configure traffic shaping and queue management for time synchronization traffic based on traffic shaping technologies and queue management mechanisms.
[0114] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing related hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided by the present invention may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory.
[0115] By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
[0116] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0117] The above-described embodiments only express several implementation methods of the present invention, and the description thereof is relatively specific and detailed, but it cannot be understood as limiting the scope of the present invention. It should be pointed out that, for a person of ordinary skill in the art, several modifications and improvements can be made without departing from the concept of the present invention, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the attached claims.
Claims
1. A priority configuration method based on intelligent synchronous bus iRAX, characterized in that: The method comprises: Configure quality of service policies on routers and switches and assign the highest priority to time synchronization traffic; Mark time synchronization traffic based on DiffServ or other marking mechanisms; Configure traffic shaping and queue management for time synchronization traffic based on traffic shaping technologies and queue management mechanisms.
2. The priority configuration method based on the intelligent synchronous bus iRAX according to claim 1 is characterized in that: The configuration of the quality of service policy on the routers and switches and the allocation of the highest priority to the time synchronization traffic includes: In the QoS configuration section of the router or switch, define a new QoS policy and set traffic classification rules in the QoS policy to specify the source and destination ports for time synchronization traffic; In the quality of service policy, the highest priority is assigned to the traffic that meets the traffic classification rules; Apply the created QoS policy to the corresponding interface to ensure that all traffic entering and leaving the interface is processed by the QoS policy.
3. The priority configuration method based on the intelligent synchronous bus iRAX according to claim 2 is characterized in that: The marking of time synchronization traffic based on DiffServ or other marking mechanisms includes: identifying characteristics of time synchronization traffic, the characteristics of the time synchronization traffic including specific ports and protocol types used by a time synchronization protocol; In the Quality of Service configuration section of the router or switch, create a new traffic classification rule and enable the new traffic classification rule to match time synchronization traffic; Based on the DSCP marking policy, a specific DSCP value is assigned to time synchronization traffic; Apply the created marking policy to the corresponding interface to ensure that all traffic entering and leaving the interface is processed by the marking policy.
4. The priority configuration method based on the intelligent synchronous bus iRAX according to claim 3 is characterized in that: The marking of time synchronization traffic based on DiffServ or other marking mechanisms further includes: Create a dedicated VLAN for synchronization and place time synchronization traffic in the dedicated VLAN.
5. The priority configuration method based on the intelligent synchronous bus iRAX according to claim 4 is characterized in that: The step of creating a dedicated VLAN for synchronization and placing time synchronization traffic in the dedicated VLAN includes: Determine an unused virtual local area network identifier; In the VLAN configuration section of the network switch, create a new VLAN; Add the ports that need to transmit time synchronization traffic to the synchronization-dedicated VLAN.
6. The priority configuration method based on the intelligent synchronous bus iRAX according to claim 5 is characterized in that: The step of creating a dedicated VLAN for synchronization and placing time synchronization traffic in the dedicated VLAN further includes: Determine the VLAN priority criteria and configure a higher priority for the synchronization-only VLAN.
7. The priority configuration method based on the intelligent synchronous bus iRAX according to claim 6 is characterized in that: The configuration of traffic shaping and queuing management of time synchronization traffic according to the traffic shaping technology and queuing management mechanism includes: Selecting a traffic shaping technology, wherein the traffic shaping technology includes a token bucket and a leaky bucket; On the interface to be configured, set traffic shaping parameters, including burst rate, smoothing rate, and token bucket or leaky bucket size; Configure the queue management mechanism for time synchronization traffic based on weighted fair queuing or strict priority queuing.
8. A priority configuration device based on intelligent synchronous bus iRAX, characterized in that: include: an allocation module to configure quality of service policies on routers and switches and assign the highest priority to time synchronization traffic; A marking module, used to mark time synchronization traffic based on DiffServ or other marking mechanisms; The configuration module is used to configure traffic shaping and queue management of time synchronization traffic according to traffic shaping technology and queue management mechanism.
9. An electronic device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the priority configuration method based on the intelligent synchronous bus iRAX described in any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the priority configuration method based on the intelligent synchronous bus iRAX according to any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Time reference redundancy signal intelligent testing system and method of time synchronization device
CN102608910A
Resource control method and apparatus, and bus system server
CN107948095A
Resource scheduling method and system of converged network, intelligent terminal and medium
CN119233430A
Method for marking packets of a data transmission flow and marker device performing this method
US20020031089A1
Aligning time durations for signaling and measurement
US20240187902A1
Cited By
Centralized management and data interaction system of multi-channel mass flow controller
CN121531015A