TDMA (Time Division Multiple Access) scheduling data sending method
By configuring priority in the access device of the WIA-FA wireless network and using the queue data structure to manage data transmission, the problem that the access device cannot fully transmit field device data within one superframe period is solved, and the timeliness and efficiency of data transmission is achieved.
Patent Information
- Application Number
- CN202510252278.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-05
- Publication Date
- 2025-04-01
- Estimated Expiration
- 2045-03-05
AI Technical Summary
In WIA-FA wireless network, the access device has multiple field device data to be transmitted, but it cannot be transmitted within its own time slot in a superframe period, resulting in the problem of untimely data transmission.
By configuring priority in the access device, it is divided into high-priority, low-priority and medium-priority devices, and using the queue data structure to manage data transmission, scheduling is performed based on the priority of service data and the waiting time to send, ensuring that key data and emergency data are processed first.
It effectively solves the problem of untimely data transmission, improves the network response speed and stability, and ensures orderly and efficient data transmission efficiency.
Smart Images

Figure CN119743837A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of wireless communication technology, and in particular to a TDMA scheduling data sending method. Background Art
[0002] With the development of intelligent manufacturing, high-real-time and high-reliability industrial wireless WIA-FA technology has been applied in various industries. The medium access control (MAC) layer of WIA-FA network technology is an access mechanism based on time division multiple access (TDMA), which can ensure deterministic communication cycle and delay, and is suitable for industrial control applications. The current WIA-FA wireless network data transmission is based on TDMA scheduling. Each device has an independent data transmission time slot; the field device sends uplink data to the access device in its corresponding time slot; the access device sends downlink data to the field device in its corresponding time slot; if the access device has multiple field device data to be transmitted, it cannot be transmitted in its own time slot of a superframe cycle, and it needs to wait until its own time slot of the next superframe cycle. There is a problem of untimely data transmission for devices with high data real-time requirements, which affects the use of device functions. Therefore, it is necessary to propose a TDMA scheduling data transmission method to solve the above problems. Summary of the invention
[0003] The present invention provides a TDMA scheduling data transmission method to solve the problem that an access device has multiple field device data to be transmitted, which cannot be transmitted in its own time slot of a superframe cycle, and needs to wait until its own time slot of the next superframe cycle, resulting in untimely device data transmission.
[0004] The present invention provides a TDMA scheduling data transmission method, comprising: An access device and multiple field devices form a WIA-FA wireless communication network, which uses TDMA scheduling resource allocation; the access device occupies two time slots in a superframe, and the field device occupies one time slot in a superframe; According to the type and functional requirements of the field equipment, the priority of data transmission to the field equipment is configured in the access device, and the field equipment is configured as high-priority equipment, low-priority equipment and medium-priority equipment; high-priority equipment is defined as data that must be sent out within a superframe period; medium-priority equipment is defined as data that must be sent out within the number of access device sending time slots equal to half of the number of field devices; low-priority equipment is defined as data that must be sent out within the number of access device sending time slots equal to the number of field devices.
[0005] Furthermore, the method further comprises: The access device defines the priority of the field device based on the single time slot time and superframe length, in superframe units.
[0006] Furthermore, the method further comprises: The access device uses the queue data structure to manage and send the data of the field equipment, and schedules the data transmission of the corresponding field equipment based on the configured device priority, and takes data from the queue each time. At the same time, the access device reclassifies the corresponding field equipment queue data, and inserts the business data into the corresponding position of the queue according to the priority of the business data. When classifying according to the business data priority, the waiting time dimension in the queue is added. Based on the two dimensions of business priority and the waiting time for the queue data packet to be sent, the corresponding position of the queue for inserting the new data packet into is evaluated.
[0007] Furthermore, the method further comprises: The access device supports the selection of sequential sending mode and maximum traffic sending mode; the sequential sending mode refers to a first-come-first-served strategy, which does not consider the priority of the on-site equipment and the type of business data, to ensure that the data packets are sent in order; the maximum traffic sending mode refers to accumulating the corresponding type of data packets based on the on-site equipment and data packet type, according to the time threshold or quantity threshold; when the time threshold or quantity threshold is reached, they are scheduled to be sent in the corresponding time slot.
[0008] Furthermore, the method further comprises: Field equipment supports classification of data packets according to service types; high real-time service data is required to be sent within one superframe.
[0009] Furthermore, the method further comprises: All field devices in the WIA-FA wireless communication network are high-priority devices. The access device scheduling and sending data strategy adopts a balanced scheduling and sending method to ensure that when the number of access device sending time slots is equal to the number of field devices, each corresponding field device data queue in the access device will be scheduled and sent once.
[0010] The present invention has the following beneficial effects: a TDMA scheduling method for sending data of the present invention, an access device and multiple field devices form a WIA-FA wireless communication network, the WIA-FA wireless communication network adopts TDMA scheduling resource allocation; the access device occupies one or more time slots in a superframe, and the field device occupies one or more time slots in a superframe; according to the type and functional requirements of the field device, the priority of data transmission to the field device is configured in the access device, and the field device is configured as a high priority device, a low priority device and a medium priority device; a high priority device is defined as a device that must send out data within a superframe cycle; a medium priority device is defined as a device that must send out data within a time slot number of the access device equal to half of the number of the field devices; a low priority device is defined as a device that must send out data within a time slot number of the access device equal to the number of the field devices; thereby solving the problem that the access device has multiple field device data to be transmitted, and cannot be transmitted in its own time slot of a superframe cycle, and needs to wait until its own time slot of the next superframe cycle, resulting in untimely device data transmission. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] In order to more clearly illustrate the technical solution of the present invention, the drawings required for use in the embodiments are briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0012] Figure 1 Schematic diagram of superframe composition according to an embodiment of the present invention. DETAILED DESCRIPTION
[0013] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described in conjunction with the specific embodiments of the present invention and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention. The technical solutions provided by the embodiments of the present invention are described in detail below in conjunction with the drawings.
[0014] The embodiment of the present invention provides a TDMA scheduling method for sending data, wherein the devices in the method include device A, device B, device C, and device D. Device A serves as an access device, and device B, device C, and device D serve as field devices. Device A, device B, device C, and device D form a WIA-FA wireless communication network, which uses TDMA scheduling for resource allocation. The access device allocates the number of time slots occupied by the device, and the device occupies one or more time slots in a superframe. The device here refers to the access device and the field device collectively. The superframe composition is as follows: Figure 1 As shown in the figure, device A, as an access device, occupies two time slots in a superframe. Devices B, C, and D, as field devices, occupy one time slot in a superframe. A superframe is a set of channels and time slots that repeat periodically. The number of time slots in a superframe determines the frequency of the superframe cycle. A time slot is the basic time unit used to exchange data in a network. The length of a time slot in a network is configurable.
[0015] As an optional implementation, the priority of data transmission to the field device can be configured on the access device according to the type and functional requirements of the field device; the field device can be configured as a high-priority device, a low-priority device, and a medium-priority device. A high-priority device is defined as a device that must send data within a superframe period; a medium-priority device means that the data must be sent within the number of time slots sent by the access device equals half the number of field devices; a low-priority device means that the data must be sent within the number of time slots sent by the access device equals the number of field devices. Similarly, the access device can also define the priority of the field device in units of superframes based on the time used in a single time slot and the length of the superframe.
[0016] For example, the access device occupies 3 time slots in each superframe; the number of field devices is 12; the data of the medium-priority device needs to be sent out within two superframe cycles; the data of the low-priority device needs to be sent out within four superframe cycles.
[0017] This method allows the configuration of data transmission priorities in access devices based on the type and functional requirements of field devices. This flexibility ensures that critical and urgent data can be processed first, thereby improving the responsiveness and stability of the entire network. By defining high, medium, and low priority devices, and priority evaluation based on single time slot time and superframe length, this method can more accurately control the order of data transmission to meet the needs of different business scenarios.
[0018] As an optional implementation, the access device can use the queue data structure to manage and send the data of the field device, and schedule the data transmission of the corresponding field device based on the configured field device priority; each transmission starts from the queue to get data. At the same time, the access device reclassifies the corresponding field device queue data and inserts it into the corresponding position of the queue according to the priority of the business data. When classifying according to the business data priority, add the waiting time dimension in the queue; based on the two dimensions of business priority and queue data packet waiting time, evaluate the insertion of the new data packet into the corresponding position of the queue.
[0019] The access device manages the data of the field devices using the queue data structure, and ensures the orderly transmission of data by scheduling data transmission based on the configured field device priority. At the same time, by reclassifying the field device queue data and evaluating the position of the new data packet based on the two dimensions of business data priority and waiting time for transmission, this method can further optimize the transmission order of data packets, reduce waiting time, and improve transmission efficiency.
[0020] As an optional implementation method, the access device can choose to send in sequence and send by maximum traffic. The sequential sending method refers to a first-come-first-served strategy, which does not consider the priority of the on-site equipment and the type of service data to ensure that the data packets are sent in order. The maximum traffic sending method refers to accumulating the corresponding type of data packets based on the on-site equipment and data packet type, according to the time threshold or quantity threshold; when the time threshold or quantity threshold is reached, the corresponding time slot is scheduled for transmission; by sending the same type of data packets at one time, the wireless aggregation function is triggered to improve the utilization rate of air interface resources.
[0021] This method provides two optional sending modes: sequential sending and sending by maximum traffic flow, to meet the needs of different business scenarios. The sequential sending mode ensures the sequential transmission of data packets and is suitable for application scenarios with strict requirements on the order of data packets. The sending by maximum traffic flow mode triggers the wireless aggregation function by accumulating data packets of the same type and sending them at one time, significantly improving the utilization rate of air interface resources, and is suitable for application scenarios with a large number of data packets and a single type.
[0022] As an optional implementation, the field device may classify data packets according to service types. Highly real-time service data is required to be sent within a superframe.
[0023] Field devices can classify data packets according to service types to ensure that high-real-time service data can be sent within a superframe. This classification optimization strategy improves the real-time and reliability of data transmission.
[0024] As an optional implementation, all field devices within the WIA-FA wireless communication network are high-priority devices, and the access device scheduling and sending data strategy adopts a balanced scheduling and sending method to ensure that when the number of access device sending time slots is equal to the number of field devices, each corresponding field device data queue in the access device will be scheduled and sent once.
[0025] When all the field devices in the WIA-FA wireless communication network are high-priority devices, this method adopts a balanced scheduling transmission mode. This strategy ensures that the data queue of each field device can be scheduled to be sent once within the number of access device transmission time slots equal to the number of field devices, thereby avoiding data congestion and transmission delay problems.
[0026] To summarize, the TDMA scheduling data sending method provided in the embodiment of the present invention solves the problem that an access device has multiple field device data to be transmitted, and cannot be transmitted in its own time slot of a superframe cycle, and needs to wait until its own time slot of the next superframe cycle, resulting in untimely device data transmission, through innovative strategies such as flexible priority setting, efficient queue management strategy, flexible sending mode selection, data packet classification optimization of field devices, and balanced scheduling sending mode. It significantly improves the data transmission efficiency and resource utilization in the WIA-FA wireless communication network, and has broad application prospects.
[0027] The above-described embodiments of the present invention do not limit the protection scope of the present invention.
Claims
1. A method for sending data by TDMA scheduling, characterized in that: include: An access device and multiple field devices form a WIA-FA wireless communication network. The WIA-FA wireless communication network uses TDMA scheduling resource allocation. The access device allocates the number of time slots occupied by the device; the device occupies one or more time slots in a superframe; According to the type and functional requirements of the field devices, the priority of data transmission to the field devices is configured on the access device, and the field devices are configured as high-priority devices, low-priority devices and medium-priority devices; high-priority devices are defined as devices whose data must be sent out within a superframe period; Medium priority devices are defined as devices that must send data within a time slot number equal to half the number of devices on site. Low priority devices are defined as devices that must send data when the number of transmission time slots of the access device is equal to the number of field devices.
2. A TDMA scheduling data transmission method as claimed in claim 1, characterized in that: The method further comprises: The access device defines the priority of the field device based on the single time slot time and superframe length, in superframe units.
3. A TDMA scheduling data transmission method as claimed in claim 1, characterized in that: The method further comprises: The access device uses the queue data structure to manage and send the data of the field equipment, and schedules the data transmission of the corresponding field equipment based on the configured device priority, and takes data from the queue each time. At the same time, the access device reclassifies the corresponding field equipment queue data, and inserts the business data into the corresponding position of the queue according to the priority of the business data. When classifying according to the business data priority, the waiting time dimension in the queue is added. Based on the two dimensions of business priority and the waiting time for the queue data packet to be sent, the corresponding position of the queue for inserting the new data packet into is evaluated.
4. A TDMA scheduling data transmission method as claimed in claim 1, characterized in that: The method further comprises: The access device supports the selection of sequential sending mode and maximum traffic sending mode; the sequential sending mode refers to a first-come-first-served strategy, which does not consider the priority of the on-site equipment and the type of business data, to ensure that the data packets are sent in order; the maximum traffic sending mode refers to accumulating the corresponding type of data packets based on the on-site equipment and data packet type, according to the time threshold or quantity threshold; when the time threshold or quantity threshold is reached, they are scheduled to be sent in the corresponding time slot.
5. A TDMA scheduling data transmission method as claimed in claim 1, characterized in that: The method further comprises: Field equipment supports classification of data packets according to service types; high real-time service data is required to be sent within one superframe.
6. A TDMA scheduling data transmission method as claimed in claim 1, characterized in that: The method further comprises: All field devices in the WIA-FA wireless communication network are high-priority devices. The access device scheduling and sending data strategy adopts a balanced scheduling and sending method to ensure that when the number of access device sending time slots is equal to the number of field devices, each corresponding field device data queue in the access device will be scheduled and sent once.
Citation Information
Patent Citations
Terminal-oriented TDMA two-stage time slot management method
CN107707326A
Method for improving transmission efficiency of wireless ad hoc network
CN111954267A
Wireless access protocol service scheduling method and device based on multi-priority service
CN117528815A
Wireless network data control transmission scheduling method
CN118741702A
Time slot allocation method and device for dynamic TDMA protocol, and storage medium
CN119255397A