Bus network data transmission control method based on priority scheduling

By adopting a data transmission control method based on priority scheduling in the bus network, the data conflict and low transmission efficiency caused by the shared bandwidth of multiple devices are solved, and efficient and intelligent bandwidth allocation and priority data transmission are achieved, which significantly improves the network throughput efficiency and reliability.

CN120034407AActive Publication Date: 2025-05-23AVIC GENERAL TECH CO LTD

Patent Information

Application Number
CN202510491511.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-18
Publication Date
2025-05-23
Estimated Expiration
2045-04-18

AI Technical Summary

Technical Problem

In the existing bus network data transmission control method, multiple devices share the same transmission medium, resulting in data conflicts, resulting in data transmission failure, bandwidth waste and network delay increase. Especially when the number of devices increases, bandwidth sharing causes the available bandwidth per node to decrease, reducing the overall data transmission rate.

Method used

The bus network data transmission control method based on priority scheduling is adopted. By dividing the bus network into edge layer, core layer and terminal layer, priority classification, dynamic slot allocation and transmission strategy adjustment are carried out to ensure real-time transmission of high-priority data, and intelligent allocation of bandwidth resources is achieved through preemptive scheduling algorithms and elastic slot pools.

Benefits of technology

It effectively reduces data conflicts and bandwidth waste, improves network throughput efficiency, ensures real-time transmission of high-priority data, reduces the risk of critical business latency, and supports dynamic updates of end node policies and abnormal fallback functions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120034407A_ABST
    Figure CN120034407A_ABST
Patent Text Reader

Abstract

The invention provides a bus network data transmission control method based on priority scheduling, which relates to the technical field of network data transmission, and comprises the following steps: dividing a bus network into an edge layer, a core layer and a terminal layer; the terminal layer comprises a plurality of actuator nodes; performing priority classification on the terminal data set in the edge layer; distributing a transmission time slot of priority rating data on the core layer based on a preemptive scheduling algorithm; a priority data transmission strategy is dynamically adjusted in combination with the dynamic time slot allocation table and the local load state; and when a plurality of actuator nodes initiate transmission requests at the same time, outputting a final transmission sequence according to a priority data transmission strategy. Through a static rule base and a dynamic correction mechanism, key data features are accurately identified, the real-time performance and reliability of high-priority data are ensured, and the key business delay risk is reduced. Intelligent allocation of bandwidth resources is achieved through a preemptive scheduling algorithm, real-time service requirements are guaranteed to the maximum extent, and the network throughput efficiency is remarkably improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of network data transmission, and in particular to a bus network data transmission control method based on priority scheduling. Background Art

[0002] In the development of modern computer networks, bus network structure has played an important role as a communication protocol and architecture. The data transmission method of bus network uses a shared transmission medium to exchange data between nodes. The design concept of this architecture is derived from the demand for network scalability and cost-effectiveness, aiming to provide an efficient and simple way to connect multiple devices.

[0003] The bus network was first introduced in the 1970s and early 1980s and was widely used in local area networks (LANs). During this period, with the popularization of personal computers and office automation equipment, the demand grew rapidly, prompting researchers to explore various data transmission methods to meet the increasing demand for data transmission. The introduction of the bus network provides a centralized solution for communication between multiple devices, making it easier to add devices to the same network. The core concept of the bus network is to allow multiple devices to transmit data at the same time through a shared transmission medium. This design not only reduces the cost of wiring, but also simplifies the overall architecture of the network. In addition, the flexibility and scalability of the bus network make it easier to add or remove devices from the network, meeting the user's diverse needs for network structure. With the continuous advancement of network technology, the bus network is also evolving to meet the needs of emerging technologies and application scenarios. In recent years, with the rise of emerging fields such as the Internet of Things, smart homes, and industrial automation, the application scope of the bus network has continued to expand, showing its unique advantages and adaptability.

[0004] In general bus network data transmission control methods, since multiple devices share the same transmission medium, data conflicts will occur when multiple devices try to send data at the same time. This situation will not only cause data transmission failure, but may also require data retransmission, thereby wasting bandwidth and increasing network latency. As the number of devices in the network increases, bandwidth sharing will lead to a decrease in the available bandwidth of each node, thereby reducing the overall data transmission rate. Summary of the invention

[0005] The present invention provides a bus network data transmission control method based on priority scheduling, which is used to solve the defects in the prior art.

[0006] In one aspect, the present invention provides a bus network data transmission control method based on priority scheduling, comprising: The bus network is divided into an edge layer, a core layer and a terminal layer; the terminal layer includes a plurality of actuator nodes; Prioritize the terminal data set at the edge layer and output priority rating data; Allocate transmission time slots for priority rating data based on a preemptive scheduling algorithm at the core layer and generate a dynamic time slot allocation table; Dynamically adjust the priority data transmission strategy based on the dynamic time slot allocation table and local load status; When multiple executor nodes initiate transmission requests at the same time, the final transmission sequence is output according to the priority data transmission strategy.

[0007] According to a bus network data transmission control method based on priority scheduling provided by the present invention, the step of performing priority classification includes: Set key data feature information and generate a static priority rule base; According to the static priority rule base, perform preliminary priority screening on the terminal data set and output the initial priority data; Perform TTL verification and business relevance correction on the initial priority data, and output the stage priority data; According to the local load status, the stage priority data is further determined and the final priority data is output.

[0008] According to a bus network data transmission control method based on priority scheduling provided by the present invention, the step of generating a static priority rule base includes: Analyze the data characteristics of the terminal data set; set key data characteristic information based on the data characteristics; Set priority classification standards based on key data feature information; According to the priority classification criteria, formulate priority rules, define conditions and expected priority results for each priority rule, and output a preliminary priority rule list; Construct a static priority rule base framework based on the preliminary priority rule list; Use historical data to verify the priority results in the preliminary priority rule list and output a validity evaluation report; According to the effectiveness evaluation report, optimize the priority rules and output the final priority rules; The final priority rules are input into the static priority rule base framework to generate a static priority rule base.

[0009] According to a bus network data transmission control method based on priority scheduling provided by the present invention, the step of performing preliminary priority screening on a terminal data set includes: Traverse each sub-data in the terminal data set; According to the static priority rule base, the priority of each sub-data is calculated and marked, and the initial priority data is output.

[0010] According to a bus network data transmission control method based on priority scheduling provided by the present invention, the step of outputting stage priority data includes: Set TTL parameters according to business needs; Check the validity of each sub-data in the initial priority data, mark the data that exceeds the TTL parameter, and output the TTL verification result; According to the TTL verification result, invalid data in the initial priority data is filtered and excluded, and the remaining priority data is output; Further analyze the business relevance of the remaining priority data, make corrections according to preset business rules, and output the stage priority data.

[0011] According to a bus network data transmission control method based on priority scheduling provided by the present invention, the step of allocating transmission time slots for priority rating data includes: Predefine fixed time slot pool and flexible time slot pool based on total bus bandwidth; Divide the priority rating data into queues and output real-time data queues; Combined with the real-time data queue, bandwidth is exclusively allocated; if the amount of data in the real-time data queue exceeds the fixed bandwidth of the fixed time slot pool, the excess portion is discarded and the fixed time slot plan is output; Combined with the elastic time slot pool, the proportion of high-priority data and low-priority data in the real-time data queue is dynamically calculated; Allocate bandwidth to high-priority data and low-priority data based on their proportions, and output the results of flexible time slot bandwidth allocation; Based on the preemptive scheduling algorithm, combined with the elastic time slot bandwidth allocation results, the elastic time slot plan is updated; the current low-priority data transmission is interrupted, the interruption location is recorded, and the recovery information of the interrupted low-priority data is output; According to the fixed time slot plan and the flexible time slot plan, time slot scheduling is performed and the latest queue status is output; According to the latest queue status and historical bandwidth usage, adjust the high-priority and low-priority bandwidth allocation ratios and output the transmission time slot allocation strategy.

[0012] According to a bus network data transmission control method based on priority scheduling provided by the present invention, the step of updating the flexible time slot plan includes: Collect the latest high-priority data; Determine whether the latest high-priority data needs to preempt the transmission time slot of the current low-priority data; if the time required for transmission is greater than the remaining time of the current time slot, the preemption condition is met; Interrupt low-priority data transmission and give priority to the latest high-priority data; Insert high priority data into the current time slot and generate a new flexible time slot plan; Resume low-priority data transmission in subsequent time slots; if low-priority data is preempted multiple times and causes timeout, it will be downgraded to the lowest priority data.

[0013] According to a bus network data transmission control method based on priority scheduling provided by the present invention, the step of dynamically adjusting the priority data transmission strategy includes: Determine whether to start the degradation strategy according to the load status and output the judgment result; including: temporarily storing non-urgent data in the low-priority queue to the memory buffer; if the memory occupancy rate exceeds the preset occupancy rate, send a flow control instruction to the terminal device; Optimize directly related configurable variables based on the judgment results and output tuning parameters; Encapsulate tuning parameters into executable transmission instructions to drive edge node behavior and generate priority data transmission strategies.

[0014] According to a bus network data transmission control method based on priority scheduling provided by the present invention, the step of outputting a final transmission sequence includes: Generate a priority tag request queue based on key data feature information in the transmission request; Combined with the local load status, dynamically adjust the priority of low-priority requests and output the latest priority queue; According to the latest priority queue, the priority data transmission strategy is switched and the selected arbitration strategy is output; Combine the selected arbitration strategy with the latest priority queue, output a preliminary transmission sequence draft through dynamic weight allocation and preemption logic execution; According to the transmission time slot allocation strategy and the preliminary transmission sequence draft, the start and end times of each time slot are adjusted and the final transmission sequence is output.

[0015] According to a bus network data transmission control method based on priority scheduling provided by the present invention, the step of driving edge node behavior includes: Real-time monitoring of network status data through the core layer; Perform data analysis on network status data and output abnormal events; Combine abnormal events with static priority rule base to generate structured policy documents; Push structured policy files to edge nodes through the core layer; After receiving the policy, the edge node verifies the integrity and backs up the original local rules, and outputs the stage policy file; Update the static priority rule base according to the stage strategy file to generate intermediate state data; The stage policy file is optimized based on the intermediate status data. If a backlog of low-priority queues is detected, its bandwidth quota is dynamically increased. If the execution of the stage policy file fails, it falls back to the default rules and issues an alarm.

[0016] The present invention provides a bus network data transmission control method based on priority scheduling, which realizes modular division of labor for data processing through the hierarchical design of edge layer, core layer and terminal layer. The edge layer is responsible for priority classification and strategy generation, the core layer focuses on dynamic scheduling and resource allocation, and the terminal layer performs specific operations, which effectively reduces the system coupling degree and facilitates function expansion and maintenance. Through the static rule base and dynamic correction mechanism (such as TTL verification and business correlation analysis), the key data features are accurately identified, and the priority is dynamically adjusted in combination with the local load status to ensure the real-time and reliability of high-priority data and reduce the risk of key business delay. Intelligent allocation of bandwidth resources is achieved through preemptive scheduling algorithm. When high-priority data bursts, low-priority transmission can be interrupted and dynamically restored, which not only avoids bandwidth waste, but also maximizes the guarantee of real-time business needs and significantly improves network throughput efficiency. By real-time monitoring of network load status, triggering downgrade strategies (such as non-urgent data caching, flow control instructions) and elastic bandwidth adjustment mechanisms, actively optimizing resource allocation before congestion occurs, and effectively preventing network paralysis. At the same time, it supports dynamic update of terminal node strategies and abnormal fallback functions to ensure stable operation of the system under complex environments. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces 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 creative work.

[0018] Figure 1 It is a step diagram of a bus network data transmission control method based on priority scheduling provided by an embodiment of the present invention; Figure 2 is a step diagram of generating a static priority rule base in an embodiment of the present invention; Figure 3 It is a step diagram of allocating transmission time slots for priority rating data in an embodiment of the present invention. DETAILED DESCRIPTION

[0019] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings 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. Example

[0020] Combine the following Figure 1-Figure 3 The present invention describes a bus network data transmission control method based on priority scheduling.

[0021] like Figure 1-Figure 3 As shown, an embodiment of the present invention provides a bus network data transmission control method based on priority scheduling, comprising: The bus network is divided into the edge layer, core layer and terminal layer. The edge layer deploys intelligent gateway devices, integrates edge computing modules and rule engines, supports local data processing and pre-analysis, and effectively reduces the data processing pressure of the core layer. The terminal layer includes multiple actuator nodes, each node is equipped with dual redundant CAN bus interfaces, supports millisecond-level fault switching, and integrates hardware-level encryption modules to ensure data physical layer security.

[0022] Priority classification is performed on the terminal data set at the edge layer, and priority rating data is output. The steps for priority classification include: Set key data feature information and generate a static priority rule base. The steps to generate a static priority rule base include: Analyze the data characteristics of the terminal data set. Use principal component analysis to extract the three main components of time sensitivity, security level, and business impact, and build a three-dimensional feature space model. According to the data characteristics, set key data feature information. The time sensitivity index includes deadline, fluctuation frequency, and historical delay variance, and the security level is subdivided into two dimensions: device authentication strength and data encryption algorithm strength.

[0023] According to the key data feature information, the priority classification standard is set. The fuzzy logic reasoning mechanism is used to deal with the nonlinear relationship between features, and the membership function is established to quantify the weight of each feature.

[0024] Priority rules are formulated according to the priority classification standards. Each rule contains threshold conditions, time constraints, and priority mapping relationships. For example, data with a time sensitivity exceeding 90 decibels and a security level of AES-256 is marked as emergency. Conditions and expected priority results are defined for each priority rule, and a preliminary priority rule list is output.

[0025] A static priority rule base framework is constructed based on the preliminary priority rule list. The framework adopts a hierarchical index structure to support fast retrieval of rules by business type and device ID.

[0026] Use historical data to verify the priority results in the preliminary priority rule list and output an effectiveness evaluation report. Calculate the classification accuracy through the ten-fold cross-validation method, and use the ROC curve to analyze the rationality of the rule boundary conditions.

[0027] According to the effectiveness evaluation report, the priority rules are optimized and the final priority rules are output. The reinforcement learning strategy is used to adjust the rule parameters for the misjudged samples, and finally the accuracy rate of emergency data recognition reaches more than 99.3%.

[0028] The final priority rules are input into the static priority rule base framework to generate a static priority rule base.

[0029] According to the static priority rule base, the terminal data set is preliminarily prioritized and the initial priority data is output. The steps of preliminarily prioritizing the terminal data set include: Traverse each sub-data in the terminal data set. Use parallel processing technology to improve throughput, and the single-node processing capacity reaches 100,000 per second.

[0030] According to the static priority rule base, the priority of each sub-data is calculated and marked, and the initial priority data is output. A rule conflict detection mechanism is introduced, and voting is used to determine the final priority when multiple rules are triggered at the same time.

[0031] Perform TTL verification and business relevance correction on the initial priority data, and output the stage priority data. The steps of outputting the stage priority data include: Set TTL parameters according to business needs. Set dynamic TTL values ​​through emergency control instructions, and its attenuation coefficient is positively correlated with the degree of network congestion.

[0032] Check the validity of each sub-data in the initial priority data, use the sliding window protocol to verify the integrity of the data sequence, and start the automatic retransmission mechanism for timed data. Mark the data that exceeds the TTL parameter and output the TTL verification result.

[0033] According to the TTL check result, invalid data in the initial priority data is screened and excluded, an invalid data isolation area is established to prevent the error from spreading, and the remaining priority data is output.

[0034] Further analyze the business relevance of the remaining priority data, build a data dependency graph, use the PageRank algorithm to quantify the node influence value, and dynamically adjust the priority offset of the associated data. Make corrections according to the preset business rules and output the stage priority data. For example, medical equipment data takes precedence over environmental monitoring data, even if their business impact scores are the same.

[0035] According to the local load status, the stage priority data is further judged and the final priority data is output. The local load evaluation covers three dimensions: CPU occupancy, memory swap space usage, and queue backlog duration. The dynamic load index is obtained through weighted synthesis.

[0036] The transmission time slots of the priority rating data are allocated based on the preemptive scheduling algorithm at the core layer, and a dynamic time slot allocation table is generated. The steps of allocating the transmission time slots of the priority rating data include: Fixed time slot pools and flexible time slot pools are predefined based on the total bus bandwidth. The fixed time slot pool uses time division multiplexing technology to guarantee basic services, and the flexible time slot pool implements weighted polling scheduling to cope with burst traffic.

[0037] Priority rating data is divided into queues and real-time data queues are output. Queue division thresholds are adaptively adjusted based on historical traffic patterns.

[0038] Combined with the real-time data queue, bandwidth is exclusively allocated. If the amount of data in the real-time data queue exceeds the fixed bandwidth of the fixed time slot pool, the excess part is discarded. The discard strategy prioritizes the integrity of time-sensitive data and outputs a fixed time slot plan.

[0039] Combined with the elastic time slot pool, the proportion of high-priority data and low-priority data in the real-time data queue is dynamically calculated. The proportion calculation can introduce an exponential smoothing factor to eliminate the impact of instantaneous traffic fluctuations.

[0040] Bandwidth is allocated to high-priority data and low-priority data based on the proportion. The bandwidth guarantee interval for high-priority data is not less than 45% of the total bandwidth, and the elastic time slot bandwidth allocation result is output.

[0041] Based on the preemptive scheduling algorithm, combined with the results of the elastic time slot bandwidth allocation, the elastic time slot plan is updated. The current low-priority data transmission is interrupted, and the interruption process records the transmission status accurately to the packet level, including the number of bytes transmitted and the CRC check bit. The interruption position is recorded, and the recovery information of the interrupted low-priority data is output. The recovery information contains the timestamp, sequence number and checksum to ensure the reliability of breakpoint resumption. The steps to update the elastic time slot plan include: Collect the latest high-priority data. The collection frequency is synchronized with the network fluctuation cycle to avoid scheduling deviation caused by delayed collection.

[0042] Determine whether the latest high-priority data needs to preempt the transmission time slot of the current low-priority data. Introduce a preemption priority difference model, and trigger preemption when the difference exceeds the preset threshold. If the time required for transmission is greater than the remaining time of the current time slot, the preemption condition is met.

[0043] Interrupt low-priority data transmission and give priority to the latest high-priority data. The interrupt response delay is usually controlled within 10μs.

[0044] Insert high-priority data into the current time slot. The insertion operation uses seamless splicing technology to avoid packet fragmentation and generate a new flexible time slot plan.

[0045] Resume low-priority data transmission in subsequent time slots. Traffic shaping is implemented in the recovery phase to prevent sudden traffic impact. If low-priority data is preempted multiple times and causes timeout, the timeout judgment threshold is set to 3 times. If exceeded, the data downgrade process is triggered and it is downgraded to the lowest priority data.

[0046] According to the fixed time slot plan and the flexible time slot plan, time slot scheduling is performed and the latest queue status is output. The scheduling execution can introduce a watchdog mechanism to monitor the time slot synchronization accuracy in real time.

[0047] According to the latest queue status and historical bandwidth usage, the high-priority and low-priority bandwidth allocation ratios are adjusted, and the transmission time slot allocation strategy is output. The adjustment range is limited by the preset bandwidth fluctuation constraints.

[0048] Combine the dynamic time slot allocation table and the local load status to dynamically adjust the priority data transmission strategy. The steps of dynamically adjusting the priority data transmission strategy include: Determine whether to start the degradation strategy based on the load status and output the judgment result. The degradation strategy includes multi-level response mechanisms such as improving the data compression rate and extending the cache period of non-critical data. Including: temporarily storing non-urgent data in the low-priority queue in the memory buffer. The buffer is managed using the LRU replacement algorithm, and the maximum capacity does not exceed 15% of the total memory. If the memory occupancy rate exceeds the preset occupancy rate, a flow control instruction is sent to the terminal device. The flow control instruction includes the window scaling factor and the pause duration parameter.

[0049] According to the judgment results, the directly related configurable variables are optimized and the tuning parameters are output. The optimized variables include core parameters such as transmission rate, number of retransmissions, and confirmation cycle.

[0050] Encapsulate the tuning parameters into executable transmission instructions, drive the edge node behavior, and generate a priority data transmission strategy. The steps to drive the edge node behavior include: Real-time monitoring of network status data through the core layer. Monitoring data includes real-time indicators of 20+ dimensions such as packet loss rate, delay jitter, and channel utilization.

[0051] Perform data analysis on network status data, use a streaming computing framework to implement millisecond-level delayed data processing, and output abnormal events.

[0052] Combine abnormal events with the static priority rule base to generate a structured policy file. The policy file uses the Protobuf format to achieve efficient cross-platform parsing.

[0053] Push structured policy files to edge nodes through the core layer.

[0054] After receiving the policy, the edge node verifies the integrity and backs up the original local rules. The verification process uses the SHA-256 hash algorithm to ensure file integrity and output the stage policy file.

[0055] Update the static priority rule base according to the stage strategy file to generate intermediate state data. The update operation supports hot-swap mode and takes effect without restarting the system.

[0056] According to the intermediate status data, the stage policy file is optimized, and the optimization process is combined with A / B testing to verify the effectiveness of the policy. If a low-priority queue backlog is detected, the backlog judgment standard is that the queue length exceeds the threshold and the duration exceeds the timeout, and its bandwidth quota is dynamically increased. If the stage policy file fails to execute, it falls back to the default rule and issues an alarm. The failure cause classification includes seven types, including network failure, rule conflict, hardware abnormality, etc. The alarm information includes the error code, the scope of impact, and the recommended disposal measures.

[0057] When multiple executor nodes initiate transmission requests at the same time, the final transmission sequence is output according to the priority data transmission strategy. The steps of outputting the final transmission sequence include: According to the key data feature information in the transmission request, the feature dimension is extracted and expanded to 512 dimensions to improve the discrimination, and a priority marking request queue is generated.

[0058] Based on the local load status, the priority of low-priority requests is dynamically adjusted. The adjustment algorithm includes a load prediction model, which can predict the load change trend 10ms in advance and output the latest priority queue.

[0059] According to the latest priority queue, the priority data transmission strategy is switched. The switching process ensures business continuity. The interruption time does not exceed 1 time slot cycle, and the selected arbitration strategy is output.

[0060] Combined with the selected arbitration strategy and the latest priority queue, the preliminary transmission sequence draft is output through dynamic weight allocation and preemption logic execution. The dynamic weight calculation introduces the device health coefficient, and the transmission weight of aging devices is automatically reduced by 15%.

[0061] According to the transmission time slot allocation strategy and the preliminary transmission sequence draft, the start and end times of each time slot are adjusted, and the time slot boundary adjustment accuracy reaches ±5μs to avoid interference between adjacent time slot signals, and the final transmission sequence is output.

[0062] Example 1: Total bandwidth allocation: fixed time slot pool (60%): P0 (40%) + P1 (20%), flexible time slot pool (40%): allocated according to real-time proportion.

[0063] At a certain moment, the request queue is: P0 level: 3 emergency alarms (total demand 12Mbps), P1 level: 15 control instructions (total demand 24Mbps), P2 level: 50 status data (total demand 30Mbps).

[0064] Scheduling results: Fixed time slot: P0 occupies 40% (12Mbps full load), P1 occupies 20% (6Mbps remaining); Flexible time slot: P1 is allocated an additional 18Mbps (24Mbps in total), and P2 is allocated the remaining 8Mbps; Trigger preemption: interrupt the transmission of 2 P2 status data and cache their data packets.

[0065] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, i.e., 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. Those of ordinary skill in the art may understand and implement it without creative effort.

[0066] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0067] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A bus network data transmission control method based on priority scheduling, characterized in that: include: Divide the bus network into edge layer, core layer and terminal layer; The terminal layer includes a plurality of actuator nodes; Prioritize the terminal data set at the edge layer and output priority rating data; Allocate transmission time slots of the priority rating data based on a preemptive scheduling algorithm at the core layer to generate a dynamic time slot allocation table; Dynamically adjust the priority data transmission strategy in combination with the dynamic time slot allocation table and the local load status; When a plurality of the actuator nodes initiate transmission requests simultaneously, a final transmission sequence is output according to the priority data transmission strategy.

2. A bus network data transmission control method based on priority scheduling according to claim 1, characterized in that: The steps of performing the priority classification include: Set key data feature information and generate a static priority rule base; According to the static priority rule base, preliminary priority screening is performed on the terminal data set to output initial priority data; Performing TTL verification and business relevance correction on the initial priority data, and outputting phase priority data; According to the local load status, the stage priority data is further determined and the final priority data is output.

3. A bus network data transmission control method based on priority scheduling according to claim 2, characterized in that: The steps of generating the static priority rule base include: Analyzing data characteristics of the terminal data set; and setting the key data characteristic information according to the data characteristics; According to the key data characteristic information, setting priority classification standards; Formulate priority rules according to the priority classification standard, define conditions and expected priority results for each priority rule, and output a preliminary priority rule list; Building a static priority rule base framework according to the preliminary priority rule list; Verify the priority results in the preliminary priority rule list using historical data and output a validity evaluation report; According to the effectiveness evaluation report, the priority rules are optimized and a final priority rule is output; The final priority rule is input into the static priority rule base framework to generate the static priority rule base.

4. A bus network data transmission control method based on priority scheduling according to claim 3, characterized in that: The steps of performing preliminary priority screening on the terminal data set include: Traversing each piece of sub-data in the terminal data set; According to the static priority rule base, the priority of each sub-data is calculated and marked, and initial priority data is output.

5. A bus network data transmission control method based on priority scheduling according to claim 4, characterized in that: The step of outputting the stage priority data comprises: Set TTL parameters according to business needs; Check the validity of each sub-data in the initial priority data, mark the data that exceeds the TTL parameter, and output the TTL verification result; According to the TTL check result, invalid data in the initial priority data is screened and excluded, and the remaining priority data is output; The business relevance of the remaining priority data is further analyzed, and corrections are made according to preset business rules to output the stage priority data.

6. A bus network data transmission control method based on priority scheduling according to claim 3, characterized in that: The step of allocating transmission time slots for the priority rating data comprises: Predefine fixed time slot pool and flexible time slot pool based on total bus bandwidth; Dividing the priority rating data into queues and outputting real-time data queues; In combination with the real-time data queue, bandwidth is exclusively allocated; if the amount of data in the real-time data queue exceeds the fixed bandwidth of the fixed time slot pool, the excess portion is discarded and a fixed time slot plan is output; In combination with the elastic time slot pool, dynamically calculating the proportion of high priority data and low priority data in the real-time data queue; Allocate bandwidth to the high-priority data and the low-priority data according to the proportions, and output a result of elastic time slot bandwidth allocation; Based on the preemptive scheduling algorithm and in combination with the elastic time slot bandwidth allocation result, the elastic time slot plan is updated; the current low priority data transmission is interrupted, the interruption position is recorded, and the recovery information of the interrupted low priority data is output; According to the fixed time slot plan and the flexible time slot plan, time slot scheduling is performed and the latest queue status is output; According to the latest queue status and historical bandwidth usage, the high-priority and low-priority bandwidth allocation ratios are adjusted, and the transmission time slot allocation strategy is output.

7. A bus network data transmission control method based on priority scheduling according to claim 6, characterized in that: The steps of updating the flexible time slot plan include: Collect the latest high-priority data; Determine whether the latest high-priority data needs to preempt the transmission time slot of the current low-priority data; if the time required for transmission is greater than the remaining time of the current time slot, the preemption condition is met; Interrupt the transmission of the low priority data and give priority to the transmission of the latest high priority data; Inserting the high priority data into the current time slot and generating a new flexible time slot plan; The low priority data transmission is resumed in a subsequent time slot; if the low priority data is preempted multiple times and causes timeout, it is downgraded to the lowest priority data.

8. A bus network data transmission control method based on priority scheduling according to claim 7, characterized in that: The step of dynamically adjusting the priority data transmission strategy includes: Determine whether to start the degradation strategy according to the load status and output the judgment result; including: temporarily storing non-urgent data in the low priority queue to the memory buffer; if the memory occupancy rate exceeds the preset occupancy rate, send a flow control instruction to the terminal device; Optimize directly related configurable variables according to the judgment result and output tuning parameters; The tuning parameters are encapsulated as executable transmission instructions to drive edge node behavior and generate the priority data transmission strategy.

9. A bus network data transmission control method based on priority scheduling according to claim 8, characterized in that: The step of outputting the final transmission sequence comprises: generating a priority marking request queue according to the key data feature information in the transmission request; In combination with the local load status, dynamically adjust the priority of the low priority request and output the latest priority queue; According to the latest priority queue, switching the priority data transmission strategy is performed, and the selected arbitration strategy is output; Combining the selected arbitration strategy with the latest priority queue, outputting a preliminary transmission sequence draft through dynamic weight allocation and preemption logic execution; According to the transmission time slot allocation strategy and the preliminary transmission sequence draft, the start and end time of each time slot is adjusted, and the final transmission sequence is output.

10. The bus network data transmission control method based on priority scheduling according to claim 8, characterized in that: The steps of driving the edge node behavior include: Real-time monitoring of network status data through the core layer; Performing data analysis on the network status data and outputting abnormal events; Combining the abnormal event with the static priority rule base, generating a structured policy file; Pushing the structured policy file to the edge node through the core layer; After receiving the policy, the edge node verifies the integrity and backs up the original local rules, and outputs the stage policy file; The static priority rule base is updated according to the stage strategy file to generate intermediate state data; The stage policy file is optimized according to the intermediate state data; if a backlog of the low priority queue is detected, its bandwidth quota is dynamically increased; if the execution of the stage policy file fails, it falls back to the default rule and issues an alarm.

Citation Information

Patent Citations

  • 1553B bus communication method based on preemptive strategy

    CN102970202A

  • Resource scheduling method of information network links, system and application

    CN106385387A

  • Container cloud resource intelligent scheduling method oriented to LVC simulation

    CN117687760A

  • Emergency network resource intelligent management method

    CN118316891A

  • Priority preemptive file transmission method and system oriented to edge cloud collaboration

    CN119316373A

Cited By

  • Power line carrier communication scheduling method and system for multi-terminal QoS guarantee

    CN120710534A

  • Power line carrier communication scheduling method and system for multi-terminal QoS guarantee

    CN120710534B

  • Learning equipment power signal and data signal transmission method

    CN120768574A

  • Rural logistics transportation information security sharing method and system

    CN120856657A

  • A rural logistics transportation information security sharing method and system

    CN120856657B