A WiFi 8 multi-link cooperative scheduling method and system

By confirming available links and reference time in the WiFi 8 network, performing time calibration and time slot settings for link sites, multi-link collaborative scheduling is achieved, solving the problem of random latency jitter in WiFi networks under complex environments and improving deterministic latency guarantee capabilities.

CN122269403APending Publication Date: 2026-06-23LUBAN INTELLIGENT MANUFACTURING TECHNOLOGY (CHENGDU) CO LTD +1

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
LUBAN INTELLIGENT MANUFACTURING TECHNOLOGY (CHENGDU) CO LTD
Filing Date
2026-04-29
Publication Date
2026-06-23

AI Technical Summary

Technical Problem

Existing WiFi networks struggle to provide deterministic latency guarantees in complex wireless environments, especially in applications with stringent requirements for latency and reliability, such as industrial automation and augmented reality. The carrier sense multiple access (CSMA) mechanism of traditional WiFi networks results in random latency jitter and fails to provide an upper bound guarantee. Furthermore, the lack of a unified time reference and a joint allocation mechanism at the time slot level makes it impossible to achieve deterministic latency guarantees.

Method used

By confirming multiple available links and reference times based on WiFi 8 routers, performing time calibration of link sites, establishing a unified time wheel cycle and time slot structure, and sending deterministic flow request frames to obtain the optimal transmission link, multi-link collaborative scheduling is achieved.

Benefits of technology

It enhances the deterministic latency guarantee capability of WiFi networks in complex wireless environments, avoids scheduling errors and invalid resource allocation caused by time asynchrony, and ensures deterministic transmission of data streams.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122269403A_ABST
    Figure CN122269403A_ABST
Patent Text Reader

Abstract

The application relates to the technical field of wireless communication networks, and relates to a WiFi8 multi-link cooperative scheduling method and system, which comprises the following steps: confirming a WiFi8 router, confirming a plurality of available links and a reference time, performing time calibration on each link station in a link station set, obtaining a calibrated link station set, confirming a plurality of calibrated available links, acquiring a time wheel cycle length and a cycle time slot quantity, setting each calibrated available link in the plurality of calibrated available links, obtaining a set of calibrated available links that have been set, sending a deterministic flow request frame, if the maximum tolerable time delay length is greater than or equal to the time wheel cycle length, acquiring an optimal transmission link, and completing WiFi8 multi-link cooperative scheduling based on the optimal transmission link. The application can improve the time delay certainty guarantee capability of a WiFi network in a complex wireless environment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of wireless communication network technology, and in particular to a method and system for multi-link cooperative scheduling based on WiFi 8. Background Technology

[0002] WiFi 8 is the IEEE 802.11bn standard, representing the next generation of wireless local area network (WLAN) technology. Cooperative scheduling involves the access point acting as a central coordinator, managing the time slot resources and deterministic flow registration and binding across multiple links to achieve joint allocation between links and rapid handover in case of failure.

[0003] Traditional WiFi networks employ carrier sense multiple access (CSM) and collision avoidance mechanisms, where devices compete for channels to transmit data. This results in random jitter in latency and a lack of upper bound guarantees, making it difficult to meet the stringent latency and reliability requirements of applications such as industrial automation, augmented reality, and remote surgery. Existing WiFi multi-link operations primarily focus on aggregating bandwidth to increase throughput, with independent scheduling between links. The lack of a unified time base and a joint allocation mechanism at the time slot level prevents deterministic latency guarantees. Furthermore, wireless channels are susceptible to interference and congestion, and deterministic streams may experience timeouts during transmission due to link quality degradation. Existing solutions lack rapid detection and seamless cross-link migration capabilities. Therefore, improving the deterministic latency guarantee capability of WiFi networks in complex wireless environments is an urgent technical problem to be solved. Summary of the Invention

[0004] This invention provides a WiFi 8 multi-link cooperative scheduling method and a computer-readable storage medium, the main purpose of which is to improve the latency deterministic guarantee capability of WiFi networks in complex wireless environments.

[0005] To achieve the above objectives, the present invention provides a WiFi 8 multi-link cooperative scheduling method, comprising:

[0006] The WiFi 8 router was identified, and based on the WiFi 8 router, multiple available links and reference times were determined.

[0007] Based on multiple available links, a set of link sites is identified. Based on the reference time, time calibration is performed on each link site in the set of link sites to obtain a set of calibrated link sites. Based on the set of calibrated link sites, multiple calibrated available links are identified.

[0008] The time wheel cycle length and the number of cycle time slots are obtained based on the WiFi 8 router. Based on the time wheel cycle length and the number of cycle time slots, each calibration available link in the multiple calibration available links is set to obtain the set of calibration available links.

[0009] Deterministic stream request frames are sent based on pre-built deterministic streams, wherein the deterministic stream request frame includes: maximum tolerance time extension and periodic data volume;

[0010] If the maximum tolerable time extension is greater than or equal to the wheel cycle length, the optimal transmission link is obtained based on the set of available calibration links and the amount of cycle data.

[0011] WiFi 8 multi-link collaborative scheduling is completed based on the optimal transmission link.

[0012] Optionally, the step of setting each of the multiple available calibration links based on the wheel cycle length and the number of cycle time slots to obtain a set of set available calibration links includes:

[0013] The standard number of cycle slots and the standard single slot length are obtained based on the cycle length and the number of cycle slots.

[0014] The current time is obtained based on the WiFi 8 router. The start time of the cycle is calculated based on the cycle length of the time wheel and the current time. The duration of a single gap is obtained by dividing the cycle length of the time wheel by the number of standard cycle time slots.

[0015] The calibration available links are configured based on the number of standard periodic time slots, the periodic start time, the standard single time slot length, and the single gap duration, resulting in a set of configured calibration available links.

[0016] Optionally, obtaining the standard number of periodic slots and the standard single slot length based on the time wheel cycle length and the number of periodic slots includes:

[0017] The length of a single time slot is calculated based on the cycle length of the time wheel and the number of cycle time slots.

[0018] Obtain the standard microsecond interval, which includes: the upper limit of the microsecond interval and the lower limit of the microsecond interval;

[0019] If the length of a single time slot is less than the lower limit of the microsecond interval, then the number of periodic time slots is reduced to obtain a reduced number of periodic time slots.

[0020] If the length of a single time slot is greater than the upper limit of the microsecond interval, then the number of periodic time slots is increased to obtain an increased number of periodic time slots.

[0021] The updated cycle time slot number is determined by reducing or increasing the number of cycle time slots. The updated cycle time slot number is used as the cycle time slot number. The process is then repeated until the single time slot length is within the standard microsecond range.

[0022] If the length of a single time slot is within the standard microsecond range, then the number of periodic time slots is taken as the number of standard periodic time slots, and the length of a single time slot is taken as the length of a standard single time slot.

[0023] Optionally, the step of obtaining the optimal transmission link based on the set of available calibration links and the periodic data volume includes:

[0024] Sequentially extract the calibrated available links from the set of calibrated available links, and perform idle time slot detection on the extracted calibrated available links to obtain the idle time slot set;

[0025] Obtain the link data rate of the extracted calibrated and available links, and perform the following operation for each idle time slot in the idle time slot set:

[0026] Calculate the maximum transmission capacity of a single time slot based on idle time slots, standard single time slot length, and link data rate;

[0027] Summarize the maximum transmission volume of a single time slot to obtain a set of maximum transmission volumes of a single time slot, and obtain multiple link time slot groups based on the set of maximum transmission volumes of a single time slot;

[0028] Obtain multiple copies of a data frame, wherein each copy of the data frame is identical;

[0029] Multiple copies of data frames are sent to multiple link time slot groups respectively, and the reception time of multiple link time slot groups is detected to obtain the link reception time set;

[0030] The optimal transmission link is determined based on the link reception time set.

[0031] Optionally, obtaining multiple link time slot groups based on the maximum transmission volume set of a single time slot includes:

[0032] If there is a single time slot maximum transmission amount in the set that is greater than the periodic data amount, then the idle time slot with the single time slot maximum transmission amount greater than the periodic data amount is used as the matching idle time slot, and the matching idle time slots are integrated to obtain the matching idle time slot set.

[0033] Extract the target matching free time slot from the set of matching free time slots, assign the target matching free time slot to the deterministic flow, and obtain the binding record. The binding record includes: free time slot link identifier, free time slot number and deterministic flow identifier.

[0034] Based on the binding record, link slot allocation is performed on the deterministic flow to obtain multiple link slot groups. Each link slot group includes: an idle slot link identifier and an idle slot number.

[0035] Optionally, determining the optimal transmission link based on the link reception time set includes:

[0036] The shortest link reception time is determined based on the link reception time set, and the target link is determined based on the shortest link reception time.

[0037] Based on the target link, obtain the historical comprehensive score set, extract the historical comprehensive score from the historical comprehensive score set in turn, and compare the extracted historical comprehensive score with the preset qualified comprehensive score.

[0038] If the extracted historical composite score is not greater than the qualified composite score, then the extracted historical composite score will be regarded as the unqualified historical composite score.

[0039] Summarize the historical scores of non-compliance to obtain a set of historical scores of non-compliance, and count the number of non-compliance scores based on the set of historical scores of non-compliance.

[0040] If the number of unqualified scores is greater than the preset standard unqualified number threshold, the second shortest link reception time is extracted from the link reception time set, and the second shortest link reception time is used as the shortest link reception time. The step of confirming the target link based on the shortest link reception time is returned until the number of unqualified scores is not greater than the standard unqualified number threshold.

[0041] If the number of non-compliant scores is not greater than the standard non-compliant score threshold, then the target link will be used as the optimal transmission link.

[0042] Optionally, obtaining the historical comprehensive score set based on the target link includes:

[0043] Once the historical detection time period set is identified, perform the following operations on each historical detection time period in the set:

[0044] Link quality parameters are obtained based on historical detection periods and target links. These parameters include signal-to-noise ratio, packet loss rate, and average time delay jitter.

[0045] Based on the link quality parameters, the signal-to-noise ratio score, packet loss rate score, and time delay jitter score are obtained by matching from a pre-built quality score database.

[0046] Historical comprehensive scores are calculated based on signal-to-noise ratio scores, packet loss rate scores, and time delay jitter scores.

[0047] Summarize the historical comprehensive scores to obtain the historical comprehensive score set.

[0048] Optionally, obtaining link quality parameters based on historical detection time periods and target links includes:

[0049] The detection data packet set is obtained based on the target link and historical detection time period, and the detection data packet set is sent to obtain the sent data packet set;

[0050] The detection data packet set is received using a pre-built receiving device to obtain the received data packet set. The number of sent data packets and received data packets is counted to obtain the number of sent data packets and the number of received data packets.

[0051] The packet loss rate is calculated based on the number of data packets sent and received, and the signal-to-noise ratio is calculated based on the historical detection period.

[0052] The expected arrival time is calculated based on the idle time slot number, cycle start time and standard single time slot length. The absolute value of the difference between each received time and the expected arrival time in the received time set is calculated to obtain the delay jitter set.

[0053] The mean value of the delay jitter set is calculated, and the link quality parameters are determined based on the packet loss rate, signal-to-noise ratio, and mean delay jitter.

[0054] Optionally, the historical comprehensive score is calculated using the following formula:

[0055] ;

[0056] in, This represents the overall historical score. This represents the signal-to-noise ratio score. This indicates the packet loss rate score. This indicates the latency jitter score.

[0057] To achieve the above objectives, the present invention also provides a WiFi 8 multi-link cooperative scheduling system, comprising:

[0058] The available link calibration module is used to identify WiFi 8 routers, identify multiple available links and reference times based on WiFi 8 routers, identify a set of link sites based on multiple available links, perform time calibration on each link site in the set of link sites based on the reference time to obtain a set of calibrated link sites, and identify multiple calibrated available links based on the set of calibrated link sites.

[0059] The available link setting module is used to obtain the time wheel cycle length and the number of cycle time slots based on the WiFi8 router, and set each of the multiple calibration available links based on the time wheel cycle length and the number of cycle time slots to obtain the set of set calibration available links;

[0060] The optimal transmission link confirmation module is used to send a deterministic flow request frame based on a pre-built deterministic flow. The deterministic flow request frame includes: the maximum tolerance time delay and the periodic data volume. If the maximum tolerance time delay is greater than or equal to the wheel cycle length, the optimal transmission link is obtained based on the set of calibrated available links and the periodic data volume.

[0061] The collaborative scheduling execution module is used to complete WiFi8 multi-link collaborative scheduling based on the optimal transmission link.

[0062] To address the above problems, the present invention also provides an electronic device, the electronic device comprising:

[0063] Memory, storing at least one instruction;

[0064] The processor executes the instructions stored in the memory to implement the WiFi8-based multi-link cooperative scheduling method described above.

[0065] To address the aforementioned issues, the present invention also provides a computer-readable storage medium storing at least one instruction, which is executed by a processor in an electronic device to implement the WiFi8-based multi-link cooperative scheduling method described above.

[0066] To address the problems described in the background, this invention identifies a WiFi 8 router, determines multiple available links and a reference time based on the WiFi 8 router, and uses the WiFi 8 router as the network control center. It pre-identifies the multiple available links it supports and the reference time provided by its internal hardware clock, laying the hardware foundation for subsequent multi-link collaborative scheduling and time synchronization. Based on the multiple available links, a set of link sites is identified. Time calibration is performed on each link site in the set based on the reference time, resulting in a calibrated set of link sites. Multiple calibrated available links are then identified based on this calibrated set. By performing nanosecond-level time calibration on each site in the set, this invention eliminates the deviation between the local clock of each site and the router's reference time, ensuring that the time boundary for subsequent time slot scheduling remains consistent across all devices. Furthermore, by selecting successfully calibrated sites and their corresponding links, a set of calibrated available links is formed, avoiding scheduling errors caused by time asynchrony. The invention obtains the time wheel cycle length and the number of cycle time slots based on the WiFi 8 router, and then performs time calibration on each of the multiple calibrated available links based on the time wheel cycle length and the number of cycle time slots. The invention establishes a unified time wheel structure on each calibrated available link, dividing the continuous time axis into fixed-length periods and time slots, and setting the period start time of all links to the same moment. This achieves phase alignment of the multi-link time wheel. Based on a pre-built deterministic flow, a deterministic flow request frame is sent, which includes the maximum tolerable latency and the periodic data volume. By having the deterministic flow actively report the two key parameters of maximum tolerable latency and periodic data volume to the WiFi8 router before transmission begins, the invention can clearly understand the service quality requirements of each data flow, providing a decision basis for subsequent admission control and resource reservation. This avoids scheduling failures caused by blindly accepting flows that cannot meet latency requirements. If the maximum tolerable latency is greater than or equal to the time wheel period length, the optimal transmission link is obtained based on the established calibrated available link set and the periodic data volume. By comparing the maximum tolerable latency of the deterministic flow with the time wheel period length, the invention can quickly filter out unmet flow requests during the flow admission phase, avoiding invalid resource allocation attempts, and completing WiFi8 multi-link collaborative scheduling based on the optimal transmission link. Therefore, the present invention can improve the latency deterministic guarantee capability of WiFi networks in complex wireless environments. Attached Figure Description

[0067] Figure 1 This is a flowchart illustrating a WiFi 8 multi-link cooperative scheduling method according to an embodiment of the present invention.

[0068] Figure 2 This is a functional block diagram of a WiFi8 multi-link cooperative scheduling system provided in an embodiment of the present invention;

[0069] Figure 3 This is a schematic diagram of the structure of an electronic device that implements the WiFi8 multi-link cooperative scheduling method according to an embodiment of the present invention.

[0070] Explanation of reference numerals in the attached figures:

[0071] 10. Electronic device; 11. Processor; 12. Memory; 13. Bus.

[0072] The realization of the objective, functional features and advantages of the present invention will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation

[0073] It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.

[0074] This application provides a WiFi 8 multi-link collaborative scheduling method. The executing entity of the WiFi 8 multi-link collaborative scheduling method includes, but is not limited to, at least one of the following electronic devices that can be configured to execute the method provided in this application: a server, a terminal, etc. In other words, the WiFi 8 multi-link collaborative scheduling method can be executed by software or hardware installed on a terminal device or a server device, and the software can be a blockchain platform. The server includes, but is not limited to, a single server, a server cluster, a cloud server, or a cloud server cluster.

[0075] Reference Figure 1 The diagram shown is a flowchart illustrating a WiFi 8 multi-link cooperative scheduling method according to an embodiment of the present invention. In this embodiment, the WiFi 8 multi-link cooperative scheduling method includes:

[0076] S1. Identify the WiFi 8 router, and based on the WiFi 8 router, identify multiple available links and reference times.

[0077] It should be explained that a WiFi 8 router is a wireless local area network router that supports the IEEE 802.11be standard (i.e., the WiFi 8 standard). Available links are the wireless channels that a WiFi 8 router can simultaneously establish communication with other network nodes. For example, available links can be 2.4GHz, 5GHz, or 6GHz links. The reference time is a time generated by the WiFi 8 router based on its own high-precision clock module (such as a crystal oscillator clock) and combined with Global Positioning System (GPS) time synchronization technology.

[0078] S2. Based on multiple available links, identify a set of link sites. Based on the reference time, perform time calibration on each link site in the set of link sites to obtain a set of calibrated link sites. Based on the set of calibrated link sites, identify multiple calibrated available links.

[0079] It should be explained that a link station set is a collection of link stations. A link station is a terminal device (such as a mobile phone, computer, IoT terminal, etc.) that establishes a communication connection with the WiFi 8 router through an available link. Each link station corresponds to one available link. The step of time calibration for each link station in the link station set based on a reference time is as follows: The WiFi 8 router sends its own generated reference time to each link station in the link station set in real time through the corresponding available link, ensuring that each link station can obtain a unified time reference. After receiving the reference time, each link station activates its own time detection module to detect the time deviation between its current time and the reference time. Based on the detected time deviation, each link station directly corrects and rewrites its own time according to the time deviation, directly changing its time to the same moment as the reference time sent by the WiFi 8 router, eliminating the time difference between the two, and achieving complete synchronization between its own time and the reference time. The time detection module is a functional unit built into each link station (i.e., STA). This functional unit is used to detect the time deviation between the link station's local clock and the reference time sent by the WiFi 8 router. The calibration link site set is a collection of link sites obtained after time calibration of each link site in the link site set. The step of identifying multiple calibrated available links based on the calibration link site set is as follows: check the communication status between the calibration link site and each available link in the multiple available links; if the communication status of the available link is normal (i.e., it can successfully send and receive data), mark it as a calibrated available link; if the communication status of the available link is abnormal (such as signal loss or continuous packet loss), remove it from the multiple available links.

[0080] S3. Obtain the time wheel cycle length and the number of cycle time slots based on the WiFi8 router. Configure each calibration available link among multiple calibration available links based on the time wheel cycle length and the number of cycle time slots to obtain the set of configured calibration available links.

[0081] In detail, the step of setting each of the multiple available calibration links based on the wheel cycle length and the number of cycle time slots to obtain a set of set available calibration links includes:

[0082] The standard number of cycle slots and the standard single slot length are obtained based on the cycle length and the number of cycle slots.

[0083] The current time is obtained based on the WiFi 8 router. The start time of the cycle is calculated based on the cycle length of the time wheel and the current time. The duration of a single gap is obtained by dividing the cycle length of the time wheel by the number of standard cycle time slots.

[0084] The calibration available links are configured based on the number of standard periodic time slots, the periodic start time, the standard single time slot length, and the single gap duration, resulting in a set of configured calibration available links.

[0085] It should be explained that the steps for obtaining the time wheel cycle length and the number of cycle time slots based on the WiFi 8 router are as follows: The WiFi 8 router reads the local configuration file to obtain the preset time wheel cycle length and the number of cycle time slots. If the local configuration file does not exist or the reading fails, the time wheel cycle length is set to 1 millisecond, and the number of cycle time slots is set to 32. The time wheel cycle length is the total duration of a complete time wheel cycle. The longer the time wheel cycle length, the more time slots can be accommodated in each cycle. The shorter the time wheel cycle length, the smaller the end-to-end latency, but the duration of each time slot is correspondingly shortened, which may limit the amount of data that can be transmitted in a single time slot. The number of cycle time slots is the total number of time slots divided within each time wheel cycle. A time slot is a time period obtained by equally dividing a time wheel cycle on the time axis, and each time slot has a fixed duration. The time wheel cycle is a basic time segment obtained by the WiFi 8 router by equally dividing the time axis when managing and coordinating data transmission across multiple calibrated available links. Each time wheel cycle is a fixed-length time period, which is further divided into several equal-length time slots. Each time slot is used to schedule the transmission of one or more deterministic streams. The detailed steps for obtaining the standard number of periodic time slots and the standard single time slot length based on the time wheel cycle length and the number of periodic time slots will be given later and will not be repeated here.

[0086] Understandably, the current time is the time read from the internal high-precision clock module by the WiFi 8 router when performing this step. The cycle start time is the time obtained by adding the cycle length of the time wheel to the current time. The single gap duration is the actual duration of each independent time slot within a time wheel cycle. The step of setting each calibration available link in multiple calibration available links based on the standard number of cycle time slots, cycle start time, standard single time slot length, and single gap duration to obtain the set of configured calibration available links is as follows: Perform the same time wheel configuration operation on each calibration available link: establish a time wheel configuration record for each calibration available link, which records the following information: the cycle start time of the calibration available link (all calibration available links use the same cycle start time), the standard number of cycle time slots (all calibration available links use the same number of time slots), and the standard single time slot length (all calibration available links use the same single time slot length), and pre-calculate the start time of each time slot based on the above parameters. The specific calculation method is as follows: the start time of time slot 0 equals the cycle start time, the start time of time slot 1 equals the cycle start time plus one standard single time slot length, the start time of time slot 2 equals the cycle start time plus two standard single time slot lengths, and so on, until the start time of all time slots is calculated. Then, the above configuration information is saved as the time wheel configuration record for this calibration-available link. Since all calibration-available links use the same cycle start time, the same number of standard cycle time slots, and the same standard single time slot length, the time slot boundaries of all calibration-available links are perfectly aligned on the time axis. That is, time slot 0 of all calibration-available links starts at the same time, time slot 1 of all calibration-available links starts at the same time, and so on. Finally, after completing the time wheel configuration of all calibration-available links, all configured calibration-available links are summarized to form a set of configured calibration-available links.

[0087] It should be noted that in the above steps of this invention, if multiple calibration-available links do not have unified timing scheduling and transmit data arbitrarily in parallel, signal interference, timing disorder, and uneven distribution of communication time resources are likely to occur. Therefore, before starting scheduling, this invention first needs to uniformly plan and divide time resources: First, based on the time wheel cycle length and the number of cycle time slots, the standard number of cycle time slots and the standard single time slot length are calculated. The purpose is to divide the time axis into fixed-size cycles and time slots, and establish a set of the same time slot configuration method for all calibration-available links to avoid scheduling chaos caused by inconsistent parameters of each link. Second, the WiFi8 router reads the current time from the high-precision clock module, and then calculates the cycle start time in combination with the time wheel cycle length. The time wheel cycle length is divided by the standard number of cycle time slots to obtain the standard single time slot length. This invention defines four parameters: the number of standard periodic time slots, the period start time, the standard single time slot length, and the single gap duration. These four parameters provide a unified and standardized configuration basis for subsequent idle time slot detection and time slot allocation, ensuring that all calibrated available links use the same time base, the same time slot length, and the same period start time, thereby achieving fair allocation and orderly use of communication time resources.

[0088] In detail, obtaining the standard number of periodic slots and the standard single slot length based on the time wheel cycle length and the number of periodic slots includes:

[0089] The length of a single time slot is calculated based on the cycle length of the time wheel and the number of cycle time slots.

[0090] Obtain the standard microsecond interval, which includes: the upper limit of the microsecond interval and the lower limit of the microsecond interval;

[0091] If the length of a single time slot is less than the lower limit of the microsecond interval, then the number of periodic time slots is reduced to obtain a reduced number of periodic time slots.

[0092] If the length of a single time slot is greater than the upper limit of the microsecond interval, then the number of periodic time slots is increased to obtain an increased number of periodic time slots.

[0093] The updated cycle time slot number is determined by reducing or increasing the number of cycle time slots. The updated cycle time slot number is used as the cycle time slot number. The process is then repeated until the single time slot length is within the standard microsecond range.

[0094] If the length of a single time slot is within the standard microsecond range, then the number of periodic time slots is taken as the number of standard periodic time slots, and the length of a single time slot is taken as the length of a standard single time slot.

[0095] It should be explained that the step of calculating the single time slot length based on the wheel cycle length and the number of cycle time slots is as follows: the single time slot length is the value obtained by dividing the wheel cycle length by the number of cycle time slots. The single time slot length is the length of time occupied by each time slot after dividing one wheel cycle into equal parts. The longer the single time slot length, the larger the amount of data that can be transmitted in each time slot; the shorter the single time slot length, the smaller the amount of data that can be transmitted in each time slot. The standard microsecond interval is a pre-defined range of values ​​for the time slot duration. The standard microsecond interval is set as follows: First, obtain the physical layer parameters supported by the WiFi 8 router. These parameters include the time required to send the shortest data frame (minimum data frame transmission time) and the time required to send the longest data frame (maximum data frame transmission time). The minimum data frame transmission time is calculated by dividing the length of the shortest data frame the WiFi 8 router can send by the number of bits per second it can send at its highest transmission rate. The maximum data frame transmission time is calculated by dividing the length of the longest data frame the WiFi 8 router can send by the number of bits per second it can send at its lowest transmission rate. Then, multiply the calculated minimum data frame transmission time by a safety factor (e.g., 2). The result is used as the lower limit of the standard microsecond interval. Multiply the calculated maximum data frame transmission time by a scheduling granularity factor (e.g., 20). The result is used as the upper limit of the standard microsecond interval. Finally, the lower and upper limits of the standard microsecond interval are combined to form the standard microsecond interval. The upper limit of the microsecond interval is the maximum value of the standard microsecond interval. The lower limit of the microsecond interval is the minimum value of the standard microsecond interval. The safety factor is used to reserve a margin for the lower limit of the standard microsecond interval. The minimum data frame transmission time is the time required to send the shortest data frame under ideal conditions, but in actual transmission, there are additional overheads such as preambles and frame intervals. If the minimum data frame transmission time is directly used as the lower limit of the standard microsecond interval without multiplying by the safety factor, then when the standard single time slot length is equal to the lower limit of the standard microsecond interval, the time slot length may be insufficient to accommodate a complete frame of data, resulting in the data not being sent completely. After multiplying the minimum data frame transmission time by the safety factor, the lower limit of the standard microsecond interval is widened to twice the minimum data frame transmission time, ensuring that not only can data frame transmission be completed within the standard single time slot length, but also various protocol overheads and hardware delays can be accommodated, avoiding data frame truncation or transmission failure due to excessively short time slots. The scheduling granularity coefficient provides an adjustment basis for the upper limit of the standard microsecond interval, balancing the relationship between the standard single time slot length and the number of periodic time slots. If the maximum data frame transmission time is directly used as the upper limit of the standard microsecond interval, the duration of the standard single time slot will be too long, resulting in fewer time slots that can be divided by the time wheel cycle length, and thus the number of deterministic streams that can be carried will also be limited.

[0096] Understandably, if the length of a single time slot is less than the lower limit of the microsecond interval, it indicates that the available time period of a single time slot is too short. The time slot duration is insufficient to support a single calibrated available link to complete normal data transmission and timing synchronization. The short time slot duration does not meet the actual usage requirements of communication services. The operation of reducing the number of periodic time slots is an operation that directly reduces the total number of time slots based on the number of periodic time slots by a preset fixed step size (e.g., 1). Reducing the number of periodic time slots is the new number of periodic time slots obtained after performing the reduction operation. If the length of a single time slot is greater than the upper limit of the microsecond interval, it indicates that the available time period of a single time slot is too long. A single time slot occupies too much time resource, and the number of time slots that can be divided in one time wheel cycle length is reduced, making it impossible to fully utilize time resources and failing to meet the scheduling requirements of multiple links taking turns occupying the channel, time-division multiplexing transmission, and multiple node access. The operation of increasing the number of periodic time slots is an operation that directly increases the total number of time slots based on the number of periodic time slots by a preset fixed step size (e.g., 1). Increasing the number of periodic time slots refers to the new number of time slots obtained after an increment operation, which is greater than the original number of periodic time slots. Updating the number of periodic time slots is either a reduced number obtained through a decrease operation, or an increased number obtained through an increment operation. If the single time slot length is within the standard microsecond range, it means that the currently calculated available time period for a single time slot is neither too short to affect the normal communication of a single calibration-available link, nor too long to waste time resources; the available time period of the time slot is within a reasonable range. The standard number of periodic time slots and the standard single time slot length are the number of periodic time slots and the single time slot length corresponding to a single time slot length within the standard microsecond range, respectively.

[0097] S4. Send a deterministic stream request frame based on the pre-built deterministic stream, wherein the deterministic stream request frame includes: maximum tolerance time extension and periodic data volume.

[0098] It needs to be explained that deterministic streaming is a type of data service with strict upper limits on transmission latency. Irregular queuing and random transmission delays are unacceptable. The network must ensure stable, timely transmission of data from sender to receiver according to a fixed time sequence, and latency fluctuations must be controllable and predictable. The maximum tolerable latency is the maximum time that can be taken for a deterministic stream to travel from sender to receiver. The periodic data volume is the total amount of data that a deterministic stream needs to send within each time cycle. The unit of periodic data volume is bytes. For example, if an industrial control device needs to send 100 bytes of instruction data to the controller every 1 millisecond, then the periodic data volume of this deterministic stream is 100 bytes.

[0099] S5. If the maximum tolerable time extension is greater than or equal to the wheel cycle length, then the optimal transmission link is obtained based on the set of available calibration links and the amount of cycle data.

[0100] It should be explained that if the maximum tolerable latency is greater than or equal to the time wheel cycle length, it indicates the maximum latency that a deterministic flow can tolerate, completely covering an entire time wheel cycle. This type of service has a wider tolerance range for transmission latency and a higher fault tolerance margin. It is not strictly constrained by the start and end times of fixed time slots, and does not need to be limited to completing data transmission within a single time slot. Even if transmission is postponed to the next time wheel cycle, it will not exceed the service latency requirements, thus escaping the rigid limitation of being confined to fixed time slot timing within a single time wheel cycle. Timing arrangement divides a time wheel cycle into multiple fixed time periods (slots), with each fixed time period allowing only one corresponding link to transmit data. Ordinary services can only transmit data within their assigned small fixed time period; if they miss this period, they can only wait for the next time wheel cycle. However, this type of service with high latency tolerance does not need to be bound to fixed time slots or restricted by specified time periods. Missing the current time slot and postponing transmission to the next time wheel cycle is perfectly acceptable, without being constrained by this fixed time window.

[0101] Specifically, the step of obtaining the optimal transmission link based on the set of available calibration links and the periodic data volume includes:

[0102] Sequentially extract the calibrated available links from the set of calibrated available links, and perform idle time slot detection on the extracted calibrated available links to obtain the idle time slot set;

[0103] Obtain the link data rate of the extracted calibrated and available links, and perform the following operation for each idle time slot in the idle time slot set:

[0104] Calculate the maximum transmission capacity of a single time slot based on idle time slots, standard single time slot length, and link data rate;

[0105] Summarize the maximum transmission volume of a single time slot to obtain a set of maximum transmission volumes of a single time slot, and obtain multiple link time slot groups based on the set of maximum transmission volumes of a single time slot;

[0106] Obtain multiple copies of a data frame, wherein each copy of the data frame is identical;

[0107] Multiple copies of data frames are sent to multiple link time slot groups respectively, and the reception time of multiple link time slot groups is detected to obtain the link reception time set;

[0108] The optimal transmission link is determined based on the link reception time set.

[0109] It should be explained that a calibrated and available link is a wireless link that has completed time calibration and time wheel configuration and is currently in normal working condition, and can be used for deterministic flow scheduling. The step of detecting idle time slots on the extracted calibrated and available links to obtain an idle time slot set is as follows: retrieve the global mapping table corresponding to the extracted calibrated and available links. The global mapping table is used to record the allocation status of all time slots on the calibrated and available links. Each time slot corresponds to one entry. The entry content includes the time slot number (i.e., the sequence number used to uniquely identify each time slot within a time wheel cycle), the bound flow identifier (i.e., the unique identification number of the deterministic flow that has been allocated to a certain time slot), and the binding status (i.e., the status used to mark whether a time slot has been allocated to a certain deterministic flow, which includes bound and unbound). Then WiFi8 Starting with timeslot number 0, the router iterates through each timeslot of the calibrated and available links. Upon encountering a timeslot, it checks its binding status in the global mapping table. If the binding status field is unbound, the timeslot is considered idle and its timeslot number is added to the idle timeslot set. If the binding status is bound, the timeslot is considered occupied and not added to the idle timeslot set. The WiFi 8 router repeats this process until all timeslots of the calibrated and available links have been queried, ultimately obtaining the idle timeslot set for the calibrated and available links. This idle timeslot set contains the timeslot numbers of all idle timeslots on that link. The link data rate is the data transmission rate that the calibrated and available links can achieve under the current channel conditions.

[0110] Importantly, the step of calculating the maximum transmission capacity of a single time slot based on idle time slots, standard single time slot length, and link data rate is as follows: within an idle time slot, calculate the product of the standard single time slot length and the link data rate, which is the maximum transmission capacity of a single time slot. The maximum transmission capacity of a single time slot is the maximum number of data bytes that a calibrated and available link can transmit within the duration of an idle time slot. The set of maximum transmission capacities for a single time slot is a collection composed of the maximum transmission capacities for a single time slot. The detailed steps for obtaining multiple link time slot groups based on the set of maximum transmission capacities for a single time slot will be given later and will not be repeated here. A data frame replica is a copy of the same original data that the sender replicates into multiple identical data frames. Each data frame replica carries the same content, the same sequence number, and the same timestamp information. The link reception time set is a collection of arrival times recorded by the receiver when receiving data frame replicas on multiple links. The detailed steps for determining the optimal transmission link based on the link reception time set will be given later and will not be repeated here.

[0111] It should be noted that in the above steps of this invention, firstly, each calibrated available link is taken from the set of calibrated available links. Idle time slot detection is performed on each calibrated available link to identify idle time slots that are not occupied within the time wheel cycle and aggregate them into an idle time slot set. Simultaneously, the fixed link data rate of the current link is obtained. Then, for each idle time slot in the idle time slot set, the maximum data transmission volume that a single idle time slot can carry is calculated by combining the idle time slot's own duration, the standardized single time slot length, and the link data rate. The transmission volume results corresponding to all idle time slots are aggregated to form a single time slot maximum transmission volume set. Based on this, multiple link time slot groups that meet the periodic data volume transmission requirements are selected and combined. Then, multiple identical data frame copies are generated, and these identical data frame copies are... Data frames are distributed to each link time slot group for transmission. The reception time of each link time slot group is uniformly detected and recorded, and then aggregated into a link reception time set. Finally, the optimal transmission link is selected based on the difference in reception time among the link time slot groups. The entire process first identifies the available timing resources of the links by detecting idle time slots, and then quantifies the data carrying capacity of each idle time slot by combining the link transmission rate. Qualified link time slot groups are selected from the capacity level. Using identical data frame replicas for comparison testing can eliminate the interference of data content differences on transmission time, ensuring the fairness and reliability of the reception time detection results. The optimal transmission link is selected by comparing the reception times of each set and calibrated available link. This not only meets the periodic data volume requirements of deterministic streams, but also selects the link with the best performance from the perspective of actual transmission speed, improving the accuracy of link selection and transmission efficiency.

[0112] Specifically, the step of obtaining multiple link time slot groups based on the maximum transmission volume set of a single time slot includes:

[0113] If there is a single time slot maximum transmission amount in the set that is greater than the periodic data amount, then the idle time slot with the single time slot maximum transmission amount greater than the periodic data amount is used as the matching idle time slot, and the matching idle time slots are integrated to obtain the matching idle time slot set.

[0114] Extract the target matching free time slot from the set of matching free time slots, assign the target matching free time slot to the deterministic flow, and obtain the binding record. The binding record includes: free time slot link identifier, free time slot number and deterministic flow identifier.

[0115] Based on the binding record, link slot allocation is performed on the deterministic flow to obtain multiple link slot groups. Each link slot group includes: an idle slot link identifier and an idle slot number.

[0116] It should be explained that if the maximum transmission capacity of a single time slot exceeds the periodic data volume, it means that the maximum data transmission capacity a single idle time slot can carry is not less than the periodic data volume required for each cycle of the deterministic flow. The carrying capacity of this single idle time slot is sufficient to transmit the entire cycle's service data independently. A matched idle time slot is an idle time slot with a maximum transmission capacity exceeding the periodic data volume. The integration of matched idle time slots is an operation that aggregates all matched idle time slots. A set of matched idle time slots is a collection of matched idle time slots. A target matched idle time slot is a matched idle time slot extracted from the set of matched idle time slots. An idle time slot link identifier is an identity identifier used to uniquely distinguish different configured and calibrated available links. An idle time slot number is a sequential number assigned to each idle time slot within the same time wheel cycle. A deterministic flow identifier is an identity number used to uniquely identify the deterministic flow currently to be transmitted. The steps for allocating link time slots to deterministic flows based on binding records to obtain multiple link time slot groups are as follows: According to the idle time slot number recorded in the binding record, the deterministic flow is allocated to the idle time slots corresponding to each calibrated and available link. Each calibrated and available link and its corresponding idle time slot number form a link time slot group containing an idle time slot link identifier and an idle time slot number. All generated link time slot groups are summarized to finally obtain multiple link time slot groups.

[0117] Specifically, determining the optimal transmission link based on the link reception time set includes:

[0118] The shortest link reception time is determined based on the link reception time set, and the target link is determined based on the shortest link reception time.

[0119] Based on the target link, obtain the historical comprehensive score set, extract the historical comprehensive score from the historical comprehensive score set in turn, and compare the extracted historical comprehensive score with the preset qualified comprehensive score.

[0120] If the extracted historical composite score is not greater than the qualified composite score, then the extracted historical composite score will be regarded as the unqualified historical composite score.

[0121] Summarize the historical scores of non-compliance to obtain a set of historical scores of non-compliance, and count the number of non-compliance scores based on the set of historical scores of non-compliance.

[0122] If the number of unqualified scores is greater than the preset standard unqualified number threshold, the second shortest link reception time is extracted from the link reception time set, and the second shortest link reception time is used as the shortest link reception time. The step of confirming the target link based on the shortest link reception time is returned until the number of unqualified scores is not greater than the standard unqualified number threshold.

[0123] If the number of non-compliant scores is not greater than the standard non-compliant score threshold, then the target link will be used as the optimal transmission link.

[0124] It should be explained that the shortest link reception time is the time with the smallest numerical value and the least time consumption in the set of link reception times. The target link is the calibrated and available link corresponding to the shortest link reception time. The detailed steps for obtaining the historical comprehensive score set based on the target link will be given later and will not be repeated here. The qualified comprehensive score is a pre-set threshold for judging whether the link quality is qualified. The qualified comprehensive score is set as follows: First, obtain the application scenario types supported by the WiFi 8 router. These include industrial control scenarios, remote surgery scenarios, and audio transmission scenarios. Different scenarios have different requirements for link quality. Second, determine the minimum link quality requirement standard based on the application scenario type. For industrial control scenarios, due to extremely high reliability requirements, the qualified comprehensive score is set to 80 points. For remote surgery scenarios, due to the involvement of life safety, the qualified comprehensive score is set to 85 points. For audio transmission scenarios, because the occasional loss of a few data packets will not affect the normal auditory experience, and users will hardly perceive any interruption or distortion in the sound, the link quality requirement is relatively low, and the qualified comprehensive score is set to 50 points. Third, if no specific application scenario type is specified, a general default value is used, and the qualified comprehensive score is preset to 60 points. It should be noted that the above qualified comprehensive score settings all use the Delphi method, independently scoring the minimum acceptable link quality for each application scenario, taking the arithmetic mean and rounding down to obtain the qualified comprehensive score for each application scenario.

[0125] Understandably, if the extracted historical comprehensive score is not greater than the qualified comprehensive score, it means that the target link's comprehensive score did not meet the qualified standard in this link quality assessment, i.e., the assessment result is unqualified. An unqualified historical comprehensive score is a historical comprehensive score that is not greater than the qualified comprehensive score. The set of unqualified historical comprehensive scores is a collection of unqualified historical comprehensive scores. The number of unqualified scores is the number of unqualified historical comprehensive scores in the set. If the number of unqualified scores exceeds the preset standard unqualified number threshold, it indicates that the target link has too many unqualified historical comprehensive scores, indicating long-term unstable communication performance, numerous faults, or non-compliance records. Even if the current latency is the shortest, it is not suitable as the final optimal transmission link and needs to be replaced and re-selected. The standard unqualified number threshold is a preset maximum number of unqualified historical scores for a link. The standard non-compliance threshold is set as follows: First, determine the statistical window length for historical quality assessments, where the statistical window length represents the number of historical composite score records to retain. Second, determine the tolerance percentage for link quality, where the tolerance percentage represents the maximum proportion of non-compliance scores in historical assessment results. Third, calculate the product of the statistical window length and the tolerance percentage, which is the standard non-compliance threshold. Since the historical composite score set records multiple quality assessment results of the link over a fixed period, whether a single assessment result is satisfactory reflects the link's status during that assessment period. However, determining whether a link is long-term stable cannot be based solely on a single assessment; it requires looking at the overall statistics. The tolerance percentage represents the acceptable level of link quality non-compliance. Multiplying the statistical window length by the tolerance percentage yields the maximum number of non-compliance records that can occur within the entire statistical window length. For example, if the statistical window length is 10 times and the tolerance percentage is 20%, the product is 2 times, meaning that in the most recent 10 assessments, there can be a maximum of 2 non-compliance scores. If more than 2 non-compliance scores are found, the link is considered to have long-term quality instability. The second shortest link reception time is the link reception time within the link reception time cluster, second only to the shortest link reception time. If the number of non-compliance scores does not exceed the standard non-compliance threshold, it indicates that the target link has demonstrated stable quality performance in past evaluations, and the number of non-compliance scores is within an acceptable range. The optimal transmission link is the target link whose number of non-compliance scores does not exceed the standard non-compliance threshold.

[0126] In detail, the process of obtaining the historical comprehensive score set based on the target link includes:

[0127] Once the historical detection time period set is identified, perform the following operations on each historical detection time period in the set:

[0128] Link quality parameters are obtained based on historical detection periods and target links. These parameters include signal-to-noise ratio, packet loss rate, and average time delay jitter.

[0129] Based on the link quality parameters, the signal-to-noise ratio score, packet loss rate score, and time delay jitter score are obtained by matching from a pre-built quality score database.

[0130] Historical comprehensive scores are calculated based on signal-to-noise ratio scores, packet loss rate scores, and time delay jitter scores.

[0131] Summarize the historical comprehensive scores to obtain the historical comprehensive score set.

[0132] It should be explained that the historical detection period set is a collection of historical detection periods. Each historical detection period corresponds to a time window for link quality assessment. Historical detection periods are periods of past detection. The detailed steps for obtaining link quality parameters based on historical detection periods and the target link, and for calculating the historical comprehensive score based on signal-to-noise ratio (SNR) scores, packet loss rate scores, and latency jitter scores, will be given later and will not be repeated here. The quality score database is a pre-built database that stores parameter ranges for different average SNR, packet loss rate, and latency jitter values, as well as a standard score level corresponding to each parameter range. The standard score level is determined by setting up a WiFi 8 test link in a laboratory environment, gradually changing link quality conditions, such as gradually reducing the SNR from 50dB to 0dB using an attenuator, testing the success rate and stability of data transmission in each SNR range, and classifying several quality levels based on the test results. Similarly, the standard score level for packet loss rate is determined based on the impact of bit error rate on services. The standard score level for latency jitter is determined based on human perception and application requirements. The specific values ​​for the aforementioned standard rating levels are all determined using the Delphi method, an existing technology, which will not be elaborated upon here. The matching based on link quality parameters from the pre-built quality scoring database involves comparing the actual parameters of the target link—signal-to-noise ratio, packet loss rate, and average latency jitter—obtained during the corresponding historical detection period, with preset parameter intervals in the quality scoring database. This process identifies the parameter interval in which the actual parameter falls and retrieves the corresponding score for that interval. The signal-to-noise ratio score is a quantized value obtained by matching the target link's signal-to-noise ratio with the corresponding interval in the quality scoring database. The packet loss rate score is a quantized value obtained by matching the target link's packet loss rate with the corresponding interval in the quality scoring database. The latency jitter score is a quantized value obtained by matching the target link's average latency jitter with the corresponding interval in the quality scoring database. The historical comprehensive score set is a collection of historical comprehensive scores.

[0133] It should be noted that in the above steps of this invention, a set of past time periods (i.e., historical detection periods) is first determined. For each time period, three parameters are measured for the target link: signal-to-noise ratio (SNR), packet loss rate, and mean latency jitter. SNR reflects the contrast between signal strength and noise; a higher value indicates a cleaner signal. Packet loss rate reflects the proportion of data loss; a lower value indicates more reliable transmission. Mean latency jitter reflects the fluctuation in data packet arrival time; a lower value indicates more stable latency. Since these three parameters have different physical units and numerical ranges, they cannot be directly compared. Therefore, this invention uses a quality scoring database to map each measurement value to the score represented by its corresponding standard scoring level. After obtaining three scores, a geometric mean formula is used to calculate the comprehensive score for that time period. The geometric mean is calculated by multiplying the three scores and then taking the cube root.

[0134] Specifically, the acquisition of link quality parameters based on historical detection periods and target links includes:

[0135] The detection data packet set is obtained based on the target link and historical detection time period, and the detection data packet set is sent to obtain the sent data packet set;

[0136] The detection data packet set is received using a pre-built receiving device to obtain the received data packet set. The number of sent data packets and received data packets is counted to obtain the number of sent data packets and the number of received data packets.

[0137] The packet loss rate is calculated based on the number of data packets sent and received, and the signal-to-noise ratio is calculated based on the historical detection period.

[0138] The expected arrival time is calculated based on the idle time slot number, cycle start time and standard single time slot length. The absolute value of the difference between each received time and the expected arrival time in the received time set is calculated to obtain the delay jitter set.

[0139] The mean value of the delay jitter set is calculated, and the link quality parameters are determined based on the packet loss rate, signal-to-noise ratio, and mean delay jitter.

[0140] It should be explained that the test data packet set is a collection of test data packets specifically sent to measure link quality. Sending the test data packet set refers to the operation of the WiFi 8 router sequentially sending each test data packet in the test data packet set within a specified historical testing period. The sent data packet set is the collection of all test data packets actually sent by the WiFi 8 router. The receiving device is an end-to-end communication device paired with the WiFi 8 router, specifically used for receiving test data packets. The received data packet set is the collection of all test data packets successfully received by the receiving device within the corresponding historical testing period. The number of sent data packets is the number of data packets sent in the sent data packet set.

[0141] The number of received data packets is the total number of data packets received in the received data packet set. The steps for calculating the packet loss rate based on the number of sent data packets and the number of received data packets are as follows: subtract the number of received data packets from the number of sent data packets to obtain the number of lost data packets, and then divide the number of lost data packets by the number of sent data packets to calculate the packet loss rate of the target link during the historical detection period.

[0142] Importantly, the step of calculating the signal-to-noise ratio (SNR) based on historical detection periods is as follows: First, during the historical detection period, the receiving device continuously monitors the wireless signal on the target link, performing a measurement every fixed time interval (e.g., every 100 microseconds). During each measurement, the receiving device records two values: the first is the received signal strength, representing the strength of the currently received useful signal, measured in decibels per milliwatt (dB / mW); the second is the background noise strength, representing the strength of interference signals in the current environment, also measured in decibels per milliwatt (dB / mW). Then, the receiving device subtracts the noise floor from the received signal strength obtained from each measurement to obtain the SNR for that measurement. Finally, the receiving device sums all the SNR measurements obtained during the historical detection period and divides the sum by the total number of measurements to obtain the average SNR, which is used as the SNR for that historical detection period. The formula for calculating the expected arrival time in the step of calculating the expected arrival time based on the idle time slot number, cycle start time, and standard single time slot length is as follows:

[0143] ;

[0144] in, Indicates the expected arrival time. Indicates the start time of the period. Indicates the idle time slot number. This represents the standard single-slot length. The expected arrival time (ETD) is the theoretical time value that the receiving device should arrive at, calculated in advance. The formula for calculating the ETD starts with the period start time, multiplies the idle slot number by the standard single-slot length to obtain the elapsed time of the current idle slot relative to the start time, and then adds the elapsed time to the period start time to calculate the expected arrival time of the data frame at the receiving end. This method allows for precise location of the theoretical arrival time corresponding to each idle slot according to the slot order and fixed duration. The delay jitter set is formed by taking the absolute value of the difference between each received time in the received time set and its corresponding expected arrival time, and summing all the calculated time differences. The mean delay jitter is the arithmetic mean of all delay jitter values ​​in the set. Link quality parameters include packet loss rate, signal-to-noise ratio, and the mean delay jitter.

[0145] In detail, the formula for calculating the historical composite score is as follows:

[0146] ;

[0147] in, This represents the overall historical score. This represents the signal-to-noise ratio score. This indicates the packet loss rate score. This indicates the latency jitter score.

[0148] It should be explained that the historical comprehensive score calculation formula of this invention calculates the historical comprehensive score of the target link by multiplying the signal-to-noise ratio score, packet loss rate score, and latency jitter score and then taking the cube root. This calculation method integrates three key indicators—link signal quality, data packet loss, and latency fluctuation stability—into a single overall value. Using the multiplication and cube root method takes into account the impact of each indicator: a high score for one indicator will not mask the performance shortcomings of other indicators, and a low score for any indicator will lower the overall historical comprehensive score, truly reflecting the link's weaknesses and defects. The purpose of this formula is to merge three independent link quality scores into a unified quantitative score, intuitively reflecting the overall communication quality of the target link during the historical testing period, providing a comparable quantitative evaluation standard for subsequent judgment of link qualification and selection of the optimal transmission link.

[0149] S6. Complete WiFi 8 multi-link collaborative scheduling based on the optimal transmission link.

[0150] It should be noted that this invention performs deterministic delay scheduling by determining the optimal transmission link, enabling data frames to be sent on time within the specified idle time slots. This eliminates the problem of multiple devices competing for communication channels and queuing up in traditional WiFi, and also avoids the unstable delay caused by random retransmission after a data collision. It achieves predictable and upper-limited end-to-end transmission delay, meeting the latency-sensitive business needs of industrial control, virtual reality, and remote surgery.

[0151] To address the problems described in the background, this invention identifies a WiFi 8 router, determines multiple available links and a reference time based on the WiFi 8 router, and uses the WiFi 8 router as the network control center. It pre-identifies the multiple available links it supports and the reference time provided by its internal hardware clock, laying the hardware foundation for subsequent multi-link collaborative scheduling and time synchronization. Based on the multiple available links, a set of link sites is identified. Time calibration is performed on each link site in the set based on the reference time, resulting in a calibrated set of link sites. Multiple calibrated available links are then identified based on this calibrated set. By performing nanosecond-level time calibration on each site in the set, this invention eliminates the deviation between the local clock of each site and the router's reference time, ensuring that the time boundary for subsequent time slot scheduling remains consistent across all devices. Furthermore, by selecting successfully calibrated sites and their corresponding links, a set of calibrated available links is formed, avoiding scheduling errors caused by time asynchrony. The invention obtains the time wheel cycle length and the number of cycle time slots based on the WiFi 8 router, and then performs time calibration on each of the multiple calibrated available links based on the time wheel cycle length and the number of cycle time slots. The invention establishes a unified time wheel structure on each calibrated available link, dividing the continuous time axis into fixed-length periods and time slots, and setting the period start time of all links to the same moment. This achieves phase alignment of the multi-link time wheel. Based on a pre-built deterministic flow, a deterministic flow request frame is sent, which includes the maximum tolerable latency and the periodic data volume. By having the deterministic flow actively report the two key parameters of maximum tolerable latency and periodic data volume to the WiFi8 router before transmission begins, the invention can clearly understand the service quality requirements of each data flow, providing a decision basis for subsequent admission control and resource reservation. This avoids scheduling failures caused by blindly accepting flows that cannot meet latency requirements. If the maximum tolerable latency is greater than or equal to the time wheel period length, the optimal transmission link is obtained based on the established calibrated available link set and the periodic data volume. By comparing the maximum tolerable latency of the deterministic flow with the time wheel period length, the invention can quickly filter out unmet flow requests during the flow admission phase, avoiding invalid resource allocation attempts, and completing WiFi8 multi-link collaborative scheduling based on the optimal transmission link. Therefore, the present invention can improve the latency deterministic guarantee capability of WiFi networks in complex wireless environments.

[0152] like Figure 2 The diagram shown is a functional block diagram of a WiFi 8 multi-link cooperative scheduling system provided in an embodiment of the present invention.

[0153] The WiFi 8-based multi-link collaborative scheduling system 100 described in this invention can be installed in an electronic device. Depending on the functions implemented, the WiFi 8-based multi-link collaborative scheduling system 100 may include an available link calibration module 101, an available link setting module 102, an optimal transmission link confirmation module 103, and a collaborative scheduling execution module 104. The module described in this invention can also be called a unit, referring to a series of computer program segments that can be executed by the processor of an electronic device and can perform a fixed function, stored in the memory of the electronic device.

[0154] The available link calibration module 101 is used to identify the WiFi 8 router, identify multiple available links and reference time based on the WiFi 8 router, identify a link site set based on the multiple available links, perform time calibration on each link site in the link site set based on the reference time to obtain a calibrated link site set, and identify multiple calibrated available links based on the calibrated link site set.

[0155] The available link setting module 102 is used to obtain the time wheel cycle length and the number of cycle time slots based on the WiFi8 router, and set each of the multiple calibration available links based on the time wheel cycle length and the number of cycle time slots to obtain a set of set calibration available links;

[0156] The optimal transmission link confirmation module 103 is used to send a deterministic flow request frame based on a pre-built deterministic flow. The deterministic flow request frame includes: maximum tolerance time delay and periodic data volume. If the maximum tolerance time delay is greater than or equal to the wheel cycle length, the optimal transmission link is obtained based on the set of calibrated available links and the periodic data volume.

[0157] The collaborative scheduling execution module 104 is used to complete WiFi8 multi-link collaborative scheduling based on the optimal transmission link.

[0158] In detail, the modules in the WiFi 8-based multi-link cooperative scheduling system 100 described in this embodiment of the invention employ the same methods as described above. Figure 1 The method uses the same technical means as the WiFi8 multi-link cooperative scheduling method described in the article and can produce the same technical effect, so it will not be repeated here.

[0159] like Figure 3 The diagram shown is a structural schematic of an electronic device implementing a WiFi 8 multi-link cooperative scheduling method according to an embodiment of the present invention.

[0160] The electronic device 1 may include a processor 10, a memory 11 and a bus 12, and may also include a computer program stored in the memory 11 and capable of running on the processor 10, such as a WiFi 8 multi-link cooperative scheduling method program.

[0161] The memory 11 includes at least one type of readable storage medium, such as flash memory, portable hard drive, multimedia card, card-type memory (e.g., SD or DX memory), magnetic memory, magnetic disk, optical disk, etc. In some embodiments, the memory 11 can be an internal storage unit of the electronic device 1, such as a portable hard drive. In other embodiments, the memory 11 can be an external storage device of the electronic device 1, such as a plug-in portable hard drive, smart media card (SMC), secure digital card (SD), flash card, etc., equipped on the electronic device 1. Furthermore, the memory 11 includes both internal storage units and external storage devices of the electronic device 1. The memory 11 can be used not only to store application software and various types of data installed on the electronic device 1, such as code for a WiFi 8 multi-link cooperative scheduling method program, but also to temporarily store data that has been output or will be output.

[0162] In some embodiments, the processor 10 may be composed of integrated circuits, such as a single packaged integrated circuit or multiple integrated circuits with the same or different functions, including combinations of one or more central processing units (CPUs), microprocessors, digital processing chips, graphics processors, and various control chips. The processor 10 is the control unit of the electronic device, connecting various components of the entire electronic device through various interfaces and lines. It executes programs or modules stored in the memory 11 (e.g., a WiFi 8 multi-link cooperative scheduling method program) and calls data stored in the memory 11 to perform various functions of the electronic device 1 and process data.

[0163] The bus 12 can be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The bus 12 can be divided into an address bus, a data bus, a control bus, etc. The bus 12 is configured to realize the connection and communication between the memory 11 and at least one processor 10, etc.

[0164] Figure 3 Only electronic devices with components are shown; it will be understood by those skilled in the art that... Figure 3The structure shown does not constitute a limitation on the electronic device 1, and may include fewer or more components than shown, or combine certain components, or have different component arrangements.

[0165] For example, although not shown, the electronic device 1 may also include a power supply (such as a battery) to power the various components. Preferably, the power supply can be logically connected to the at least one processor 10 through a power management device, thereby enabling functions such as charging management, discharging management, and power consumption management. The power supply may also include one or more DC or AC power supplies, recharging devices, power fault detection circuits, power converters or inverters, power status indicators, and other arbitrary components. The electronic device 1 may also include various sensors, Bluetooth modules, Wi-Fi modules, etc., which will not be described in detail here.

[0166] Furthermore, the electronic device 1 may also include a network interface. Optionally, the network interface may include a wired interface and / or a wireless interface (such as a Wi-Fi interface, a Bluetooth interface, etc.), which is typically used to establish communication connections between the electronic device 1 and other electronic devices.

[0167] Optionally, the electronic device 1 may further include a user interface, which may be a display, an input unit (such as a keyboard), and optionally, a standard wired interface or a wireless interface. Optionally, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, or an OLED (Organic Light-Emitting Diode) touchscreen, etc. The display may also be appropriately referred to as a screen or display unit, used to display information processed in the electronic device 1 and to display a visual user interface.

[0168] The WiFi 8 multi-link cooperative scheduling method program stored in the memory 11 of the electronic device 1 is a combination of multiple instructions. When run in the processor 10, it can achieve the following:

[0169] The WiFi 8 router was identified, and based on the WiFi 8 router, multiple available links and reference times were determined.

[0170] Based on multiple available links, a set of link sites is identified. Based on the reference time, time calibration is performed on each link site in the set of link sites to obtain a set of calibrated link sites. Based on the set of calibrated link sites, multiple calibrated available links are identified.

[0171] The time wheel cycle length and the number of cycle time slots are obtained based on the WiFi 8 router. Based on the time wheel cycle length and the number of cycle time slots, each calibration available link in the multiple calibration available links is set to obtain the set of calibration available links.

[0172] Deterministic stream request frames are sent based on pre-built deterministic streams, wherein the deterministic stream request frame includes: maximum tolerance time extension and periodic data volume;

[0173] If the maximum tolerable time extension is greater than or equal to the wheel cycle length, the optimal transmission link is obtained based on the set of available calibration links and the amount of cycle data.

[0174] WiFi 8 multi-link collaborative scheduling is completed based on the optimal transmission link.

[0175] Specifically, the processor 10's implementation method for the above instructions can be found in [reference needed]. Figures 1 to 3 The descriptions of the relevant steps in the corresponding embodiments are not repeated here.

[0176] Furthermore, if the modules / units integrated in the electronic device 1 are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. The computer-readable storage medium can be volatile or non-volatile. For example, the computer-readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a USB flash drive, a portable hard drive, a magnetic disk, an optical disk, a computer memory, or a read-only memory (ROM).

[0177] The present invention also provides a computer-readable storage medium storing a computer program, which, when executed by a processor of an electronic device, can perform the following:

[0178] The WiFi 8 router was identified, and based on the WiFi 8 router, multiple available links and reference times were determined.

[0179] Based on multiple available links, a set of link sites is identified. Based on the reference time, time calibration is performed on each link site in the set of link sites to obtain a set of calibrated link sites. Based on the set of calibrated link sites, multiple calibrated available links are identified.

[0180] The time wheel cycle length and the number of cycle time slots are obtained based on the WiFi 8 router. Based on the time wheel cycle length and the number of cycle time slots, each calibration available link in the multiple calibration available links is set to obtain the set of calibration available links.

[0181] Deterministic stream request frames are sent based on pre-built deterministic streams, wherein the deterministic stream request frame includes: maximum tolerance time extension and periodic data volume;

[0182] If the maximum tolerable time extension is greater than or equal to the wheel cycle length, the optimal transmission link is obtained based on the set of available calibration links and the amount of cycle data.

[0183] WiFi 8 multi-link collaborative scheduling is completed based on the optimal transmission link.

[0184] In the embodiments provided by this invention, it should be understood that the disclosed devices, systems, and methods can be implemented in other ways. For example, the system embodiments described above are merely illustrative, and actual implementations may have other classification methods.

[0185] The modules described as separate components may or may not be physically separate. The components shown as modules may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs.

[0186] Furthermore, the functional modules in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or in the form of hardware plus software functional modules.

[0187] It will be apparent to those skilled in the art that the present invention is not limited to the details of the exemplary embodiments described above, and that the present invention can be implemented in other specific forms without departing from the spirit or essential characteristics of the present invention.

[0188] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit it. Although the present invention has been described in detail with reference to preferred embodiments, those skilled in the art should understand that modifications or equivalent substitutions can be made to the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention.

Claims

1. A multi-link cooperative scheduling method based on WiFi 8, characterized in that, The method includes: The WiFi 8 router was identified, and based on the WiFi 8 router, multiple available links and reference times were determined. Based on multiple available links, a set of link sites is identified. Based on the reference time, time calibration is performed on each link site in the set of link sites to obtain a set of calibrated link sites. Based on the set of calibrated link sites, multiple calibrated available links are identified. The time wheel cycle length and the number of cycle time slots are obtained based on the WiFi 8 router. Based on the time wheel cycle length and the number of cycle time slots, each calibration available link in the multiple calibration available links is set to obtain the set of calibration available links. Deterministic stream request frames are sent based on pre-built deterministic streams, wherein the deterministic stream request frame includes: maximum tolerance time extension and periodic data volume; If the maximum tolerable time extension is greater than or equal to the wheel cycle length, the optimal transmission link is obtained based on the set of available calibration links and the amount of cycle data. WiFi 8 multi-link collaborative scheduling is completed based on the optimal transmission link.

2. The WiFi 8 multi-link cooperative scheduling method as described in claim 1, characterized in that, The process involves configuring each available calibration link among multiple available calibration links based on the cycle length and the number of cycle slots, resulting in a set of configured available calibration links, including: The standard number of cycle slots and the standard single slot length are obtained based on the cycle length and the number of cycle slots. The current time is obtained based on the WiFi 8 router. The start time of the cycle is calculated based on the cycle length of the time wheel and the current time. The duration of a single gap is obtained by dividing the cycle length of the time wheel by the number of standard cycle time slots. Based on the standard number of time slots, the start time of the cycle, the standard single time slot length, and the single gap duration, each calibration available link in the multiple calibration available links is configured to obtain the set of configured calibration available links.

3. The WiFi 8 multi-link cooperative scheduling method as described in claim 2, characterized in that, The process of obtaining the standard number of periodic time slots and the standard single time slot length based on the time wheel cycle length and the number of periodic time slots includes: The length of a single time slot is calculated based on the cycle length of the time wheel and the number of cycle time slots. Obtain the standard microsecond interval, which includes: the upper limit of the microsecond interval and the lower limit of the microsecond interval; If the length of a single time slot is less than the lower limit of the microsecond interval, then the number of periodic time slots is reduced to obtain a reduced number of periodic time slots. If the length of a single time slot is greater than the upper limit of the microsecond interval, then the number of periodic time slots is increased to obtain an increased number of periodic time slots. The updated cycle time slot number is determined by reducing or increasing the number of cycle time slots. The updated cycle time slot number is used as the cycle time slot number. The process is then repeated until the single time slot length is within the standard microsecond range. If the length of a single time slot is within the standard microsecond range, then the number of periodic time slots is taken as the number of standard periodic time slots, and the length of a single time slot is taken as the length of a standard single time slot.

4. The WiFi 8 multi-link cooperative scheduling method as described in claim 3, characterized in that, The process of obtaining the optimal transmission link based on the set of available calibration links and the periodic data volume includes: Sequentially extract the calibrated available links from the set of calibrated available links, and perform idle time slot detection on the extracted calibrated available links to obtain the idle time slot set; Obtain the link data rate of the extracted calibrated and available links, and perform the following operation for each idle time slot in the idle time slot set: Calculate the maximum transmission capacity of a single time slot based on idle time slots, standard single time slot length, and link data rate; Summarize the maximum transmission volume of a single time slot to obtain a set of maximum transmission volumes of a single time slot, and obtain multiple link time slot groups based on the set of maximum transmission volumes of a single time slot; Obtain multiple copies of a data frame, wherein each copy of the data frame is identical; Multiple copies of data frames are sent to multiple link time slot groups respectively, and the reception time of multiple link time slot groups is detected to obtain the link reception time set; The optimal transmission link is determined based on the link reception time set.

5. The WiFi 8 multi-link cooperative scheduling method as described in claim 4, characterized in that, The method of obtaining multiple link time slot groups based on the maximum transmission volume set of a single time slot includes: If there is a single time slot maximum transmission amount in the set that is greater than the periodic data amount, then the idle time slot with the single time slot maximum transmission amount greater than the periodic data amount is used as the matching idle time slot, and the matching idle time slots are integrated to obtain the matching idle time slot set. Extract the target matching free time slot from the set of matching free time slots, assign the target matching free time slot to the deterministic flow, and obtain the binding record. The binding record includes: free time slot link identifier, free time slot number and deterministic flow identifier. Based on the binding record, link slot allocation is performed on the deterministic flow to obtain multiple link slot groups. Each link slot group includes: an idle slot link identifier and an idle slot number.

6. The WiFi 8 multi-link cooperative scheduling method as described in claim 5, characterized in that, The process of determining the optimal transmission link based on the link reception time set includes: The shortest link reception time is determined based on the link reception time set, and the target link is determined based on the shortest link reception time. Based on the target link, obtain the historical comprehensive score set, extract the historical comprehensive score from the historical comprehensive score set in turn, and compare the extracted historical comprehensive score with the preset qualified comprehensive score. If the extracted historical composite score is not greater than the qualified composite score, then the extracted historical composite score will be regarded as the unqualified historical composite score. Summarize the historical scores of non-compliance to obtain a set of historical scores of non-compliance, and count the number of non-compliance scores based on the set of historical scores of non-compliance. If the number of unqualified scores is greater than the preset standard unqualified number threshold, the second shortest link reception time is extracted from the link reception time set, and the second shortest link reception time is used as the shortest link reception time. The step of confirming the target link based on the shortest link reception time is returned until the number of unqualified scores is not greater than the standard unqualified number threshold. If the number of non-compliant scores is not greater than the standard non-compliant score threshold, then the target link will be used as the optimal transmission link.

7. The WiFi 8 multi-link cooperative scheduling method as described in claim 6, characterized in that, The process of obtaining the historical comprehensive score set based on the target link includes: Once the historical detection time period set is identified, perform the following operations on each historical detection time period in the set: Link quality parameters are obtained based on historical detection periods and target links. These parameters include signal-to-noise ratio, packet loss rate, and average time delay jitter. Based on the link quality parameters, the signal-to-noise ratio score, packet loss rate score, and time delay jitter score are obtained by matching from a pre-built quality score database. Historical comprehensive scores are calculated based on signal-to-noise ratio scores, packet loss rate scores, and time delay jitter scores. Summarize the historical comprehensive scores to obtain the historical comprehensive score set.

8. The WiFi 8 multi-link cooperative scheduling method as described in claim 7, characterized in that, The method of obtaining link quality parameters based on historical detection periods and target links includes: The detection data packet set is obtained based on the target link and historical detection time period, and the detection data packet set is sent to obtain the sent data packet set; The detection data packet set is received using a pre-built receiving device to obtain the received data packet set. The number of sent data packets and received data packets is counted to obtain the number of sent data packets and the number of received data packets. The packet loss rate is calculated based on the number of data packets sent and received, and the signal-to-noise ratio is calculated based on the historical detection period. The expected arrival time is calculated based on the idle time slot number, cycle start time and standard single time slot length. The absolute value of the difference between each received time and the expected arrival time in the received time set is calculated to obtain the delay jitter set. The mean value of the delay jitter set is calculated, and the link quality parameters are determined based on the packet loss rate, signal-to-noise ratio, and mean delay jitter.

9. The WiFi 8 multi-link cooperative scheduling method as described in claim 8, characterized in that, The formula for calculating the historical composite score is as follows: ; in, This represents the overall historical score. This represents the signal-to-noise ratio score. This indicates the packet loss rate score. This indicates the latency jitter score.

10. A WiFi 8-based multi-link collaborative scheduling system, characterized in that, The system includes: The available link calibration module is used to identify WiFi 8 routers, identify multiple available links and reference times based on WiFi 8 routers, identify a set of link sites based on multiple available links, perform time calibration on each link site in the set of link sites based on the reference time to obtain a set of calibrated link sites, and identify multiple calibrated available links based on the set of calibrated link sites. The available link setting module is used to obtain the time wheel cycle length and the number of cycle time slots based on the WiFi8 router, and set each of the multiple calibration available links based on the time wheel cycle length and the number of cycle time slots to obtain the set of set calibration available links; The optimal transmission link confirmation module is used to send a deterministic flow request frame based on a pre-built deterministic flow. The deterministic flow request frame includes: the maximum tolerance time delay and the periodic data volume. If the maximum tolerance time delay is greater than or equal to the wheel cycle length, the optimal transmission link is obtained based on the set of calibrated available links and the periodic data volume. The collaborative scheduling execution module is used to complete WiFi8 multi-link collaborative scheduling based on the optimal transmission link.