A hard real-time wired-wireless communication conversion hardware device and data scheduling and transmission method thereof
By designing a hard-real-time wired-to-wireless communication conversion hardware device, hardware pass-through and software forwarding of data are realized, which solves the problem of wired-to-wireless data transmission delay uncertainty in wireless communication systems and ensures the end-to-end delay of the communication system. Determinism and business transmission efficiency.
Patent Information
- Application Number
- CN202411471440.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-22
- Publication Date
- 2025-01-21
- Estimated Expiration
- 2044-10-22
AI Technical Summary
The existing wireless communication systems have delay uncertainty in the process of wired-wireless data transmission, affecting the end-to-end delay certainty of the communication system.
Design a hard real-time wired-to-wireless communication conversion hardware device. Through the network port data transceiver sub-module, ACL processing sub-module, wireless sending sub-module and wireless receiving sub-module, the hardware pass-through and software forwarding of data are realized to ensure that the data is transmitted wirelessly. Priority and timing configuration in the hard real-time transmit module queue and wireless soft real-time transmit module queue.
It realizes the real-time and reliability deterministic guarantee of "end-to-end" full-link data transmission in wireless communication systems, can control the priority of different business application data, and improves business transmission efficiency and wireless communication resource utilization.
Smart Images

Figure CN118984340B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of wireless communication technology, and in particular to a hard real-time wired-wireless communication conversion hardware device and a data scheduling transmission method thereof, which realizes the forwarding transmission of Ethernet port data and a wireless transmission module. Background Art
[0002] Existing wireless communication systems are used in industrial manufacturing, power production control and other industries. Some scenarios require high real-time and high reliability wireless communication technology. The current solution for using WiFi, 5G and other wireless communication systems is to connect the data of wireless business application terminals to the on-site wireless nodes (wireless adapters) of WiFi, 5G and other wireless communication systems through wired means, and then the on-site wireless nodes (wireless adapters) convert the wired data into wireless data and send it to the AP (base station) device of the wireless communication system, forming a wired-wireless communication transmission link solution.
[0003] The current solution requires the conversion of communication protocols between wired data and wireless data on the device side during transmission. The conversion process requires software processing such as data packet encapsulation, which involves the coordinated work of the device-side processor, memory, and operating system scheduling. There is uncertainty in the delay during data processing and protocol conversion. Even if the wireless link side is scheduled as a deterministic communication protocol, that is, the "air interface delay" is a deterministic delay, the "wired / wireless reception-protocol conversion-wireless / wired transmission" link of the devices at both ends of the communication transceiver system is uncertain, resulting in uncertainty in the "end-to-end delay" of the overall communication system. Summary of the invention
[0004] Based on the above, the present invention proposes a hard real-time wired-wireless communication conversion hardware device and its data scheduling and transmission method, which realizes the forwarding transmission of Ethernet port data and wireless communication module, and can effectively ensure the end-to-end deterministic delay of the wireless communication system.
[0005] To this end, the present invention adopts the following technical solutions:
[0006] On the one hand, the present invention provides a hard real-time wired-wireless communication conversion hardware device, which is applied to a wireless communication system, and the device includes: a network port data transceiver submodule, a network port ACL processing submodule, a wireless transmission submodule and a wireless reception submodule; wherein:
[0007] The network port data transceiver submodule transmits and receives network port data through a wired interface;
[0008] The network port ACL processing submodule sends the network port data to two different data processing links: hardware direct access and software forwarding, based on the received data packet format, type or related indicator bits.
[0009] In the hardware direct data processing link, when data is sent, the data does not go through the processor bus and operating system scheduling, and directly enters the wireless hard real-time sending module queue based on pre-configured sending information; when data is received, it is directly sent to the wired interface after hardware processing based on preset information;
[0010] In the software forwarding data processing link, when data is sent, the data is scheduled by the processor bus and the operating system, and the data is converted into a protocol, information is configured, and the message is encapsulated before entering the queue of the wireless soft real-time sending module; when data is received, the data is converted into a protocol before being sent to the wired interface;
[0011] The wireless transmission submodule transmits the data in the wireless hard real-time transmission module queue and the wireless soft real-time transmission module queue in sequence through wireless;
[0012] The wireless receiving submodule sends the wirelessly received data to different data processing links for processing according to the flag bit in the frame, and finally sends it to the wired connected server.
[0013] Furthermore, the wireless communication system includes: WIA-FA industrial wireless network system, WiFi wireless LAN communication system, 4G / 5G communication system and other high-speed wireless communication systems for industrial industries.
[0014] Furthermore, the wired interface includes any one of Ethernet, PON, SPI, USB, UART, and GPIO interfaces for wired data collection or control.
[0015] Furthermore, the wireless receiving submodule sends the received frame to the corresponding data processing link according to the relevant indication bit in the MAC Header of the frame.
[0016] Further, in the hardware direct data processing link, when data is sent, the data is sent to the on-chip RAM;
[0017] In the software forwarding data processing link, when data is sent, the data is sent to the DDR through the DMA channel.
[0018] Furthermore, the data in the wireless hard real-time sending module queue has a higher sending priority than the data in the wireless soft real-time sending module queue.
[0019] Furthermore, the data in the queue of the wireless hard real-time sending module is preemptively sent according to strict timing configuration information when sent at the wireless MAC layer; the data in the queue of the wireless soft real-time sending module is sent according to the timing configuration information.
[0020] Furthermore, the data transmission mode, the number of retransmissions and the channel used are configured through registers.
[0021] Furthermore, data with high hardware configuration security requirements is transmitted through a hardware direct data processing link.
[0022] In another aspect, the present invention further provides a data scheduling transmission method for the above-mentioned hard real-time wired-wireless communication conversion hardware device, wherein the field device is provided with a first wired-wireless communication conversion hardware device, and the access device is provided with a second wired-wireless communication conversion hardware device; the field device and the access device perform wireless communication through the first wired-wireless communication conversion hardware device and the second wired-wireless communication conversion hardware device, comprising:
[0023] The first wired-wireless communication conversion hardware device receives network port data through a wired interface, and based on the format, type or related indicator bit of the received data packet, the network port data will be sent to two different data processing links, namely hardware direct and software forwarding; in the hardware direct data processing link, the data does not pass through the processor bus and the operating system scheduling, and directly enters the wireless hard real-time sending module queue based on the pre-configured sending information; in the software forwarding data processing link, the data passes through the processor bus and the operating system scheduling, and after the data is subjected to protocol conversion, information configuration and message encapsulation, it enters the wireless soft real-time sending module queue; the data in the wireless hard real-time sending module queue and the wireless soft real-time sending module queue are sequentially sent wirelessly;
[0024] The second wired-wireless communication conversion hardware device sends the wirelessly received data to two different data processing links, hardware direct and software forwarding, according to the flag bit in the frame; in the hardware direct data processing link, the data is directly sent to the wired interface after hardware processing based on preset information; in the software forwarding data processing link, the data is sent to the wired interface after protocol conversion; finally, the data is sent to the wired connected server through the wired interface.
[0025] Advantages and positive effects of the present invention: The present invention realizes the deterministic guarantee of the real-time and reliability of the full-link transmission of "end-to-end" data in the wireless communication system. It can also implement priority control for different business application data, adopt "soft conversion mode" for transmission of streaming media, configuration and other data, and adopt "hard conversion mode" for transmission of control data, which fully guarantees the business transmission efficiency and the effective use of wireless communication resources. At the same time, the hardware direct data is directly passed to the on-chip RAM of the wireless module, which can reduce the risk of leakage of key data information. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0027] Figure 1 is an architecture diagram of a hard real-time wired-to-wireless communication conversion hardware device in an embodiment of the present invention;
[0028] Figure 2 A flowchart of a data scheduling transmission method according to an embodiment of the present invention;
[0029] Figure 3 The present invention is a flowchart of another method for scheduling data transmission in an embodiment of the present invention. DETAILED DESCRIPTION
[0030] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are 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 should fall within the scope of protection of the present invention.
[0031] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0032] like Figure 1 As shown, an industrial equipment wireless communication system in an embodiment of the present invention includes: device A (field equipment) and device B (access equipment); device A is connected to a host computer or a data acquisition module through a wired connection; device B is connected to a server or a field network through a wired connection. Device A and device B both include a hard real-time wired-wireless communication conversion hardware device; device A and device B communicate wirelessly through the hard real-time wired-wireless communication conversion hardware device.
[0033] The wireless communication system can be a WIA-FA industrial wireless network system, a WiFi wireless LAN communication system, a 4G / 5G communication system, and other high-speed wireless communication systems that can be used in industrial sectors such as manufacturing, electricity, energy, and transportation.
[0034] The wired-wireless communication conversion hardware device refers to communication chips, communication modules, communication equipment, etc. The field-side device is connected to sensors, PLCs, controllers, etc. through wires to perform real-time data collection and control; the AP (access point, base station)-side device is connected to the upper-level server through wired direct connection or exchange.
[0035] Among them, the wired interfaces of the wired-wireless communication conversion hardware device include Ethernet port, PON, SPI, USB, UART, GPIO and other wired data acquisition or control interfaces.
[0036] The memory resources of the wired-wireless communication conversion hardware device include the device built-in RAM and DDR. RAM refers to random access memory, which is a computer memory that can be directly accessed by the CPU and is used to temporarily store the program being executed and the data currently in use. The main feature of RAM is its volatility, that is, once the power is off, the data stored in it will be lost. It is very fast and can match the processing speed of the CPU, so it is widely used in occasions that require fast reading and writing. DDR refers to double data rate synchronous dynamic random access memory, which is an improved version of SDRAM (synchronous dynamic random access memory). It can transmit data twice in each clock cycle, thereby increasing the data transmission rate. DDR memory has a higher data transmission rate and lower power consumption. It has a higher operating frequency and can complete more data transmission tasks in a shorter time.
[0037] The wired-wireless conversion interface of the wired-wireless communication conversion hardware device includes two modes:
[0038] ①Hard conversion mode: When data is transmitted from wired to wireless, the data does not pass through the processor bus and operating system for scheduling. Based on the pre-configured transmission information (including rate, frequency, power, etc.), it enters the queue of the wireless hard real-time transmission module and performs preemptive transmission according to strict timing configuration information. When data is received from wireless, it is directly sent to the wired interface after hardware processing based on the preset information.
[0039] ②Soft conversion mode: When data is sent from wired to wireless, the data needs to be scheduled by the processor bus and the operating system. After the data is converted to a protocol, information is configured, and the message is encapsulated, it is placed in the queue of the wireless soft real-time sending module and sent according to the timing configuration information. When data is received from wireless, the data is converted to a protocol and sent to the wired interface.
[0040] The wired-wireless communication conversion hardware device determines whether the data should adopt the "hard conversion mode" or the "soft conversion mode" based on the format, type or related indicator bit of the received data packet, and then directly processes the data.
[0041] The data in the "hard conversion mode" is sent preemptively according to the strict timing configuration information when the wireless MAC layer sends it. This means that when both the "hard conversion mode" and the "soft conversion mode" have data to send at the same time, the data in the "hard conversion mode" queue preempts the "soft conversion mode" data sending opportunity, and the "soft conversion mode" sends data at the next sending opportunity according to the data sending timing. This fully guarantees the determinism of the sending timing of the "hard conversion mode" type data, and realizes the control of the sending priority of different business data.
[0042] In "hard conversion mode", data conversion and adding of wireless communication MAC layer related information are completed directly by hardware based on pre-configured information, minimizing software involvement.
[0043] In the "hard conversion mode", the data transmission mode, the number of retransmissions and the channel used are configured through registers. For example, multiple frequencies can be used to send the same data at the same time to ensure that the data has sufficient deterministic reliability under the premise of deterministic transmission timing; the uplink data can be forced to turn on the OFDMA mode for parallel transmission to increase communication efficiency.
[0044] The specific structure of the wired-wireless communication conversion hardware device includes: a network port data transceiver submodule, a network port ACL processing submodule, a wireless transmission submodule and a wireless reception submodule. Among them:
[0045] The network port data transceiver submodule sends and receives network port data through a wired interface.
[0046] The network port ACL processing submodule, based on the pre-configured data packet type of the device, the network port data will be sent to different data processing links. The data processing link is mainly divided into two channels: hardware direct pass and software forwarding. Data is sent according to the above-mentioned "hard conversion mode" and "soft conversion mode" respectively. The device can configure the network port data to enter the wired-wireless communication conversion hardware device based on the data packet type, and choose to send it to hardware direct pass or software forwarding. The network port ACL processing submodule sends the received frame to the corresponding processing channel according to the relevant indicator bit in the MAC Header of the frame.
[0047] In the hardware direct data processing link, when data is sent, the data does not go through the processor bus and operating system scheduling, and directly enters the wireless hard real-time transmission module queue based on the pre-configured transmission information (such as MAC Header and frame rate, etc.); when data is received, it is directly sent to the wired interface after hardware processing based on the preset information. Preferably, when data is sent, the data is sent to the on-chip RAM for processing.
[0048] In the software forwarding data processing link, when data is sent, the data is scheduled by the processor bus and the operating system, and the data is converted to a protocol, information is configured, and the message is encapsulated before entering the queue of the wireless soft real-time sending module; when data is received, the data is converted to a protocol and sent to the wired interface. Preferably, when data is sent, the data is sent to the DDR through the DMA channel for processing. In a specific implementation, in the software forwarding data processing link, data conversion and adding wireless communication MAC layer related information are directly completed by the hardware based on pre-configured information, minimizing software participation. The device supports the configuration of the data selection sending channel through registers; at the same time, it supports the configuration of the hardware direct data sending rate, number of retransmissions, and MAC Header information through registers.
[0049] The wireless transmission submodule transmits the data in the wireless hard real-time transmission module queue and the wireless soft real-time transmission module queue in sequence through the wireless. In a specific implementation, the wireless transmission submodule of the device supports two data transmission queues, the wireless hard real-time transmission module queue and the wireless soft real-time transmission module queue, wherein the wireless hard real-time transmission module queue has a higher priority than other data transmission queues. Preferably, the data in the wireless hard real-time transmission module queue is preemptively transmitted according to the strict timing configuration information when the wireless MAC layer is transmitting; the data in the wireless soft real-time transmission module queue is transmitted according to the timing configuration information.
[0050] The wireless receiving submodule sends the wirelessly received data to different data processing links for processing according to the flag bit in the frame, and finally sends it to the wired connected server.
[0051] Preferably, for data with high security requirements, such as key negotiation and key device configuration data, the configuration is passed through the hardware, and the data does not pass through DDR, which can reduce the risk of data leakage and improve the security of data transmission.
[0052] In the above embodiment, the present invention designs a hardware direct connection between the wired network port data and the wireless communication module, which can greatly improve the data link delay caused by software processing conversion of wired data to wireless data and wireless data to wired data. At the same time, the hardware direct connection data is directly connected to the on-chip RAM of the wireless module, which can reduce the risk of leakage of key data information.
[0053] like Figure 2-3As shown, in an embodiment of the present invention, a data scheduling transmission method is provided, which is applied to the above-mentioned industrial equipment wireless communication system, the field equipment is equipped with a first wired-wireless communication conversion hardware device, and the access equipment is equipped with a second wired-wireless communication conversion hardware device; the field equipment and the access equipment perform wireless communication through the first wired-wireless communication conversion hardware device and the second wired-wireless communication conversion hardware device, including:
[0054] The first wired-wireless communication conversion hardware device:
[0055] S11, receiving network port data through a wired interface;
[0056] S12, based on the format, type or related indicator bit of the received data packet, the network port data will be sent to two different data processing links: hardware direct passthrough and software forwarding;
[0057] S13, in the hardware direct data processing link, the data does not go through the processor bus and the operating system scheduling, and directly enters the wireless hard real-time transmission module queue based on the pre-configured transmission information;
[0058] In the software forwarding data processing link, the data is scheduled by the processor bus and the operating system, and after the data is converted into a protocol, information is configured, and the message is encapsulated, it enters the queue of the wireless soft real-time sending module;
[0059] S14, sending the data in the wireless hard real-time sending module queue and the wireless soft real-time sending module queue in sequence via wireless;
[0060] Second wired-wireless communication conversion hardware device:
[0061] S21, sending the wirelessly received data to two different data processing links, hardware direct pass and software forwarding, according to the flag bit in the frame;
[0062] S22, in the hardware direct data processing link, after hardware processing based on preset information, it is directly sent to the wired interface;
[0063] In the software forwarding data processing link, the data is converted into a protocol and then sent to the wired interface;
[0064] S23. Send the data to the wired server through the wired interface.
[0065] In the above embodiment, data is transmitted between the wired network port data and the wireless communication module through two channels: hardware direct and software forwarding, which can greatly reduce the data link delay caused by software processing conversion of wired data to wireless data and wireless data to wired data. At the same time, the hardware direct channel data is directly transmitted to the on-chip RAM of the wireless communication module, which can reduce the risk of leakage of key data information.
[0066] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A hard real-time wired-to-wireless communication conversion hardware device, characterized in that: Applied to a wireless communication system, the device comprises: a network port data transceiver submodule, a network port ACL processing submodule, a wireless transmission submodule and a wireless reception submodule; wherein: The network port data transceiver submodule transmits and receives network port data via wired transmission; The network port ACL processing submodule sends the network port data to two different data processing links: hardware direct access and software forwarding, based on the received data packet format, type or related indicator bits. In the hardware direct data processing link, when data is sent, the data is sent to the on-chip RAM, and the data does not go through the processor bus and the operating system scheduling, and directly enters the wireless hard real-time transmission module queue based on the pre-configured transmission information; when data is received, it is directly sent to the wired interface after hardware processing based on the preset information; In the software forwarding data processing link, when data is sent, the data is sent to the DDR through the DMA channel, and the data is scheduled by the processor bus and the operating system. After the data is converted to a protocol, information is configured, and the message is encapsulated, it enters the queue of the wireless soft real-time sending module; when data is received, the data is converted to a protocol and sent to the wired interface; The wireless transmission submodule transmits the data in the wireless hard real-time transmission module queue and the wireless soft real-time transmission module queue in sequence through wireless; The wireless receiving submodule sends the wirelessly received data to different data processing links for processing according to the flag bit in the frame, and finally sends it to the wired server; the wireless receiving submodule sends the received frame to the corresponding data processing link according to the relevant indicator bit in the MAC Header of the frame.
2. A hard real-time wired-to-wireless communication conversion hardware device according to claim 1, characterized in that: The wireless communication system includes: WIA-FA industrial wireless network system, WiFi wireless LAN communication system, 4G / 5G communication system and other high-speed wireless communication systems for industrial industries.
3. A hard real-time wired-to-wireless communication conversion hardware device according to claim 1, characterized in that: The wired interface includes any wired data acquisition or control interface among Ethernet port, PON, SPI, USB, UART, and GPIO.
4. A hard real-time wired-to-wireless communication conversion hardware device according to claim 1, characterized in that: The data in the wireless hard real-time sending module queue has a higher sending priority than the data in the wireless soft real-time sending module queue.
5. A hard real-time wired-to-wireless communication conversion hardware device according to claim 4, characterized in that: The data in the queue of the wireless hard real-time sending module is preemptively sent according to the strict timing configuration information when the wireless MAC layer sends it; The data in the queue of the wireless soft real-time sending module is sent according to the timing configuration information.
6. A hard real-time wired-to-wireless communication conversion hardware device according to claim 1, characterized in that: The data transmission mode, retransmission times and the channel used are configured through registers.
7. A hard real-time wired-to-wireless communication conversion hardware device according to claim 1, characterized in that: Data with high hardware configuration security requirements is transmitted through the hardware direct data processing link.
8. A data scheduling and transmission method for a hard real-time wired-to-wireless communication conversion hardware device according to any one of claims 1 to 7, characterized in that: The field device is provided with a first wired-wireless communication conversion hardware device, and the access device is provided with a second wired-wireless communication conversion hardware device; the field device and the access device perform wireless communication via the first wired-wireless communication conversion hardware device and the second wired-wireless communication conversion hardware device, including: The first wired-wireless communication conversion hardware device receives network port data through a wire, and based on the format, type or related indicator bit of the received data packet, the network port data will be sent to two different data processing links, namely hardware direct and software forwarding; in the hardware direct data processing link, the data does not pass through the processor bus and the operating system scheduling, and directly enters the wireless hard real-time sending module queue based on the pre-configured sending information; in the software forwarding data processing link, the data passes through the processor bus and the operating system scheduling, and after the data is subjected to protocol conversion, information configuration and message encapsulation, it enters the wireless soft real-time sending module queue; the data in the wireless hard real-time sending module queue and the wireless soft real-time sending module queue are sequentially sent wirelessly; The second wired-wireless communication conversion hardware device sends the wirelessly received data to two different data processing links, hardware direct and software forwarding, according to the flag bit in the frame; in the hardware direct data processing link, the data is directly sent to the wired interface after hardware processing based on preset information; in the software forwarding data processing link, the data is sent to the wired interface after protocol conversion; finally, the data is sent to the wired connected server through the wired interface.
Citation Information
Patent Citations
Computerized numerical control alliance bus system, coupler and communication method
CN102833140A
Communication data processing method and device
CN114095901A