CN111628957B - Data transmission method and network equipment - Google Patents

Data transmission method and network equipment Download PDF

Info

Publication number
CN111628957B
CN111628957B CN201910158720.3A CN201910158720A CN111628957B CN 111628957 B CN111628957 B CN 111628957B CN 201910158720 A CN201910158720 A CN 201910158720A CN 111628957 B CN111628957 B CN 111628957B
Authority
CN
China
Prior art keywords
data
data frame
sub
network device
frames
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910158720.3A
Other languages
Chinese (zh)
Other versions
CN111628957A (en
Inventor
于峰
苏琪
蔺波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201910158720.3A priority Critical patent/CN111628957B/en
Priority to PCT/CN2019/126654 priority patent/WO2020173190A1/en
Publication of CN111628957A publication Critical patent/CN111628957A/en
Application granted granted Critical
Publication of CN111628957B publication Critical patent/CN111628957B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses
    • H04L61/2592Translation of Internet protocol [IP] addresses using tunnelling or encapsulation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/618Details of network addresses
    • H04L2101/622Layer-2 addresses, e.g. medium access control [MAC] addresses

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application discloses a data transmission method and network equipment, which enable a cellular network to analyze data frames comprising a plurality of data messages and further enable the cellular network to identify and process the data frames of the wired protocol. The method comprises the following steps: receiving a first data frame, wherein the first data frame comprises a plurality of first data messages; generating a plurality of first sub data frames according to the first data frame, wherein each of the plurality of first sub data frames comprises a first data message; acquiring service quality indication information and a tunnel identifier corresponding to each first sub data frame; and sending the plurality of first sub-data frames and the plurality of service quality indication information corresponding to the plurality of first sub-data frames to a second network device in a corresponding plurality of tunnels according to a plurality of tunnel identifiers corresponding to the plurality of first sub-data frames, wherein one tunnel identifier corresponds to one tunnel.

Description

Data transmission method and network equipment
Technical Field
The present application relates to the field of communications, and in particular, to a data transmission method and a network device.
Background
In an industrial control scene, the controller and the controlled device are directly connected through a wire, or are connected to a switch through a wire, and data transmission is completed through forwarding of the switch. The switch-based layer 2 switching network performs data forwarding through the MAC address. When wireless technology is introduced into an industrial network, one possibility is to wirelessly interface an already deployed industrial protocol, that is, only wireless replaces a connection between the industrial protocols, the logical function of the industrial protocol itself is not changed, and wireless is only used as a transmission medium underlying the industrial protocol.
Some wired protocols include a plurality of data packets in a frame structure, each data packet includes a slave station address, and can implement one-to-many data transmission, for example, ethernet (EtherCAT) protocol for controlling automation technology, where EtherCAT protocol is a widely-used wired protocol and can implement one-to-many (between a master station and a plurality of slave stations) data transmission. In the frame structure of the EtherCAT protocol and other wired protocols with one-to-many transmission logic, the frame head of the Ethernet protocol is multiplexed, and the frame structure comprises a plurality of data messages, and each data message comprises a slave station address used for completing the addressing of the slave station.
Existing cellular networks can only parse ethernet frames comprising one data packet without having the functionality to parse such data frames comprising multiple data packets.
Disclosure of Invention
The application provides a data transmission method and network equipment, so that a cellular network can analyze data frames of the wired protocol.
In a first aspect, the present application provides a data transmission method, where the data transmission method includes: a user plane function entity (UPF) receives a first data frame, wherein the first data frame comprises a plurality of first data messages. In this embodiment of the application, the UPF may receive a first data frame from the ethernet, where the first data frame may be an EtherCAT frame, EtherCAT data of the first data frame includes a plurality of first data packets, and each first data packet includes a slave station address. And then, the UPF generates a plurality of first sub-data frames according to the first data frame, wherein each of the plurality of first sub-data frames includes a first data packet, if the first data frame is an EtherCAT frame, after determining that the data type of the first data frame is the EtherCAT frame, the UPF may parse a plurality of first data packets included in the EtherCAT data in the first data frame, and then the UPF may multiplex a data frame header in the first data frame, specifically, the UPF may multiplex a 14-byte ethernet frame header and a 2-byte EtherCAT header in the first data frame as the ethernet frame header and the EtherCAT header of each first sub-data frame, and set each of the plurality of first data packets after the ethernet frame header and the EtherCAT header of each first sub-data frame, respectively. The UPF may calculate the second frame check sequence using a Cyclic Redundancy Check (CRC) algorithm from a destination address of the ethernet header of each of the first sub data frames to an end of the first data packet. Then, the UPF may encapsulate the ethernet frame header, the EtherCAT header, a first data packet, and the second frame check sequence to generate a first sub data frame. And then the UPF acquires service quality indication information and a tunnel identifier corresponding to each first sub data frame. And the UPF sends the plurality of first sub-data frames and the plurality of service quality indication information corresponding to the plurality of first sub-data frames to a second network device in a corresponding plurality of tunnels according to a plurality of tunnel identifiers corresponding to the plurality of first sub-data frames, wherein one tunnel identifier corresponds to one tunnel. In this embodiment, the second network device may be a base station (e.g., a base station BS, a base station NodeB, an evolved base station eNodeB or eNB, a base station gbnodeb or gNB in a fifth generation 5G communication system, a base station in a future communication system, an access node in a WiFi system, a wireless relay node, a wireless backhaul node), and the like. In this embodiment of the application, the QoS indication information may indicate a priority of transmission of each first sub data frame of the base station, and the second network device may perform QoS control on each first sub data frame according to the priority indicated by the QoS indication information. In the embodiment of the application, the tunnel identifier and the terminal identifier have a corresponding relationship. Optionally, the second network device may maintain a mapping table, where the mapping table includes a correspondence between a plurality of tunnel identifiers and a plurality of terminal identifiers during downlink data transmission, where one tunnel identifier corresponds to one terminal identifier, and after receiving the first sub-data frame in a tunnel corresponding to one tunnel identifier, the second network device may determine the terminal identifier corresponding to the tunnel identifier according to the mapping table. After the second network device receives the plurality of QoS indication information and the plurality of first sub data frames sent by the UPF in the corresponding tunnel, because the tunnel identifier and the terminal identifier have a corresponding relationship, the second network device knows the terminal identifier corresponding to each first sub data frame and the QoS indication information corresponding to each first sub data frame, and the second network device can send the corresponding first sub data frame to the terminal device corresponding to the terminal identifier in a unicast manner according to the priority indicated by the QoS indication information.
In this embodiment, the UPF receives a first data frame, where the first data frame includes a plurality of first data packets. And the UPF generates a plurality of first sub data frames according to the first data frame, wherein each first sub data frame in the plurality of first sub data frames comprises a first data message. And the UPF acquires the service quality indication information and the tunnel identifier corresponding to each first sub data frame. And the UPF sends the plurality of first sub-data frames and the plurality of service quality indication information corresponding to the plurality of first sub-data frames to a second network device in a corresponding plurality of tunnels according to a plurality of tunnel identifiers corresponding to the plurality of first sub-data frames, wherein one tunnel identifier corresponds to one tunnel. The UPF parses the data frame and generates a plurality of sub data frames after receiving the data frame comprising a plurality of data messages, and determines the QoS indication information and tunnel mark corresponding to each sub data frame, after the QoS indication information and the first sub data frame are sent to the base station through the corresponding tunnel, the base station may transmit the corresponding first sub data frame to the corresponding terminal device according to the priority indicated by the QoS indication information, in this manner, the cellular network is enabled to parse such data frames comprising a plurality of data packets, thereby enabling the cellular network to identify and process such data frames of the wireline protocol, and, in addition, during the downlink transmission, the UPF generates a plurality of first sub data frames by generating a first data frame, the second network device can send each first sub data frame to the corresponding terminal device UE, and transmission delay is greatly reduced in a communication scene of an EtherCAT protocol.
In some possible designs, the method further comprises: the UPF receives a plurality of second sub data frames sent by the second network equipment, wherein each second sub data frame in the plurality of second sub data frames comprises a second data message, and the plurality of second sub data frames are generated by the plurality of terminal equipment according to the plurality of first sub data frames and sent to the second network equipment; the UPF generates a second data frame according to the plurality of second sub data frames, wherein the second data frame comprises a plurality of second data messages; and the UPF sends the second data frame. After receiving the first sub data frame sent by the second network device, the terminal device may analyze and process the first sub data frame to obtain a processed second sub data frame. Specifically, the terminal device may perform local reading, local writing, and local event operation on the received first sub-data frame to obtain a second data packet, where the local reading is that the terminal device reads data from a local memory area, the local writing is that the terminal device writes data in the memory area, and the local event is that the terminal device executes a certain event after receiving an indication of the event. Optionally, after receiving the plurality of second sub-data frames, the user plane functional entity UPF may parse a second data packet included in each of the plurality of second sub-data frames, and after obtaining the plurality of second data packets, the user plane functional entity UPF may multiplex an ethernet header of 14 bytes and an EtherCAT header of 2 bytes in the first data frame as the ethernet header and the EtherCAT header of the second data frame, and set the second data packet included in each of the plurality of second sub-data frames respectively after the ethernet header and the EtherCAT header. The user plane functional entity UPF may calculate the fourth frame check sequence using a Cyclic Redundancy Check (CRC) algorithm from the destination address of the ethernet frame header to the last end of the last second data packet. Then, the user plane functional entity UPF may encapsulate the ethernet frame header, the EtherCAT header, the plurality of second data messages, and the fourth frame check sequence to generate a second data frame, and send the second data frame to the ethernet. In this embodiment, in the uplink transmission process, the first network device may receive a plurality of second sub data frames sent by a plurality of terminal devices and forwarded by the second network device, generate a second data frame according to the plurality of second sub data frames, and send the second data frame to the ethernet.
In some possible designs, the obtaining a quality of service indication information and a tunnel identifier corresponding to each first sub data frame includes: and acquiring a QoS indication information and a tunnel identifier corresponding to each first sub data frame according to a mapping table, wherein the mapping table comprises a corresponding relation among the plurality of first sub data frames, the plurality of QoS indication information and the plurality of tunnel identifiers, and each first sub data frame in the plurality of first sub data frames corresponds to one QoS indication information and one tunnel identifier. In this embodiment, the UPF may obtain, according to the mapping table, one piece of QoS indication information and one piece of tunnel identifier corresponding to each first sub-data frame, so as to improve the implementability of the scheme.
In some possible designs, the method further comprises: receiving a plurality of fourth data frames transmitted by the second network device, wherein each fourth data frame comprises a slave station address; and generating a mapping table, wherein the mapping table is used for indicating the corresponding relation among a plurality of slave station addresses, a plurality of pieces of service quality indication information and a plurality of tunnel identifiers, and each first sub data frame comprises one slave station address in the plurality of slave station addresses. In this embodiment, the UPF may receive a data packet from the ethernet, where a destination address included in the data packet is a multicast Media Access Control (MAC) address, a source address is a MAC address of a sending node, the data packet further includes a plurality of VLAN tags, each VLAN tag corresponds to a terminal device, the UPF sends the data packet to each of the plurality of terminal devices, after receiving the data packet, each terminal device determines whether the data packet is addressed to itself according to the source address of the data packet and the VLAN tag, if the data packet is addressed to itself, feedback is performed, where the feedback is a fourth data frame, the destination address in the fourth data frame is the source address of the received data packet, and the source address in the feedback data packet is a slave address of the terminal device. The UPF may generate a tunnel identifier and a QoS indication information corresponding to each slave station address according to the received multiple fourth data frames, and further establish a corresponding relationship between the multiple slave station addresses, the multiple tunnel identifiers, and the multiple QoS indication information. In this embodiment, by receiving a plurality of fourth data frames sent by a second network device, each of the fourth data frames includes a slave station address; and generating the mapping table, wherein the mapping table comprises the corresponding relation among a plurality of slave station addresses, a plurality of QoS indication information and a plurality of tunnel identifiers, and the implementability of the scheme is improved.
In some possible designs, the first data frame includes: a data frame header and a plurality of first data messages; the first sub data frame includes: the data frame header and the first data packet.
In some possible designs, the receiving a plurality of second sub data frames transmitted by the second network device includes: and receiving a plurality of second sub data frames sent by the second network equipment within preset time. In an embodiment, the preset time may be set to be a time counted from when the second network device receives a first second sub data frame sent by the terminal device, in this embodiment, the second network device starts to count from when the first second sub data frame sent by the terminal device is received, sends a plurality of second sub data frames sent by the terminal device and received within the preset time to the UPF, and stops sending the second sub data frames to the UPF when the preset time is reached. In one embodiment, the second network device may be preconfigured with a preset time, and in another embodiment, the second network device may receive the preset time from other network devices, which is not limited herein. In this embodiment, the UPF only receives the plurality of second sub data frames sent by the second network device within the preset time, and determines that the second sub data frames that are not received within the preset time are packet loss, thereby reducing the time delay of data transmission.
In some possible designs, the second sub data frame includes: the data frame header and the second data message; the second data frame includes: the data frame header and the plurality of second data messages.
In a second aspect, the present application provides a data transmission method, including: a second network device receives a plurality of first sub-data frames sent by a first network device and a plurality of service quality indication information corresponding to the first sub-data frames in a plurality of tunnels, wherein one first sub-data frame and one service quality indication information corresponding to the first sub-data frame are received in one tunnel, and the first sub-data frame comprises a data frame header and a first data message; and the second network equipment sends the plurality of first sub data frames to a plurality of terminal equipment according to the plurality of QoS indication information, wherein one first sub data frame is sent to one terminal equipment. Through the mode, in the downlink transmission process, the second network equipment receives the plurality of first sub-data frames sent by the UPF in the plurality of tunnels, and the second network equipment sends each first sub-data frame to the corresponding terminal equipment, so that the transmission delay is greatly reduced in the communication scene of the EtherCAT protocol.
It should be noted that, in a scenario where the second network device is a CU-DU architecture, the second network device may include a CU node and a plurality of DU nodes, where each DU may cover a different terminal device, in an embodiment, the CU node may receive, at a plurality of tunnels, a plurality of first sub data frames and a plurality of QoS indication information sent by the first network device, and the CU node may determine a second tunnel identifier according to the QoS indication information and the tunnel identifier corresponding to each first sub data frame, where the second tunnel identifier is a tunnel identifier of a tunnel for data transmission between the CU node and the DU node, and there is a mapping relationship between the second tunnel identifier and the tunnel identifier of the tunnel for data transmission between the UPF and the CU node and the QoS indication information, and since the terminal device may be covered by different DU nodes, the CU node may send each first sub data frame and the corresponding QoS indication information to the terminal device covered with the corresponding terminal device through the tunnel indicated by the second tunnel identifier And the DU node can further send the first sub data frame to the corresponding terminal device according to the corresponding relation between the second tunnel identifier and the terminal identifier.
It should be noted that the QoS indication information may be directly indicated by the second tunnel identifier, and the CU node may not send the corresponding QoS indication information to the DU node, but only send each first sub-data frame to the DU node covered with the corresponding terminal device through the tunnel indicated by the second tunnel identifier.
In a scenario where the second network device is a CU-CP/CU-UP/DU architecture, the second network device may include a CU-CP/CU-UP node and a plurality of DU nodes, where each DU may cover a different terminal device, in one embodiment, the CU-UP may receive a plurality of first sub data frames and a plurality of QoS indication information sent by the first network device in a plurality of tunnels, and the CU-UP may determine a second tunnel identifier according to the QoS indication information and a tunnel identifier corresponding to each first sub data frame, where the second tunnel identifier is a tunnel identifier for data transmission between the CU-UP and the DU nodes, and there is a mapping relationship between the second tunnel identifier and the QoS indication information of the tunnel for data transmission between the UPF and the CU nodes, since the terminal device may be covered by a different DU node, the CU-UP may send each first sub-data frame and the corresponding QoS indication information to the DU node covered with the corresponding terminal device through the tunnel indicated by the second tunnel identifier, and further, the DU node may send the first sub-data frame to the corresponding terminal device according to the correspondence between the second tunnel identifier and the terminal identifier.
In some possible designs, the method further comprises: a second network device receives a plurality of second sub data frames sent by a plurality of terminal devices, wherein each second sub data frame in the plurality of second sub data frames comprises a second data message, and one second sub data frame is generated by one terminal device according to one first sub data frame; and the second network equipment sends the plurality of second sub data frames to the first network equipment, so that the first network equipment generates a second data frame according to the plurality of second sub data frames, wherein the second data frame comprises a plurality of second data messages.
In some possible designs, the first data frame includes: a data frame header and a plurality of first data messages; the first sub data frame includes: the data frame header and the first data packet.
In some possible designs, the sending the plurality of second sub data frames to the first network device includes: and sending the plurality of second sub data frames to the first network equipment within a preset time.
In some possible designs, the second sub data frame includes: the data frame header and the second data message; the second data frame includes: the data frame header and the plurality of second data messages.
In a third aspect, the present application provides a data transmission method, including: a UPF receives a first data frame, wherein the first data frame comprises a plurality of first data messages; the UPF acquires QoS indication information corresponding to the first data frame; and the UPF sends the QoS indication information and the first data frame to a second network device, so that the second network device sends the first data frame to a plurality of terminal devices through multicast or broadcast according to the QoS indication information. Different from the embodiment provided in the first aspect, in the embodiment of the present application, the UPF does not generate a plurality of first sub data frames according to the first data frame, but directly obtains the QoS indication information corresponding to the first data frame. In one embodiment, the SMF may generate QoS indication information corresponding to the first data frame and transmit the QoS indication information corresponding to the first data frame to the first network device. In one embodiment, the first network device may generate QoS indication information corresponding to the first data frame. In this embodiment of the application, the UPF may send the QoS indication information and the first data frame to the second network device through a preconfigured interface, and after receiving the first data frame through the preconfigured interface, the second network device may send the first data frame on a broadcast or multicast channel.
In this embodiment, a UPF receives a first data frame, where the first data frame includes a plurality of first data packets; the UPF acquires QoS indication information corresponding to the first data frame; and the UPF sends the QoS indication information and the first data frame to a second network device, so that the second network device sends the first data frame to a plurality of terminal devices through multicast or broadcast according to the QoS indication information. Through the above manner, the cellular network can analyze the data frame including the plurality of data messages, and further the cellular network can identify and process the data frame of the wired protocol, on one hand, the second network device sends the first data frame to the corresponding terminal device on the multicast or broadcast channel, and particularly in the communication scene of the EtherCAT protocol, the transmission delay is greatly reduced. Different from the first aspect, in this embodiment, because the UPF does not generate the first data frame into the plurality of first sub-data frames, the generation overhead of an additional ethernet frame header, an EtherCAT header, and a frame check sequence is saved, and the second network device sends the data frame to the terminal device in a multicast or broadcast manner, thereby reducing the signaling overhead of unicast transmission in the embodiment corresponding to the first aspect.
In some possible designs, the method further comprises: receiving, by the UPF, a plurality of second sub data frames sent by the second network device, where each of the plurality of second sub data frames includes a second data packet, each of the plurality of second sub data frames is generated by the terminal device according to a first sub data frame and sent to the second network device, the first sub data frame includes a first data packet, and the first sub data frame is generated by the terminal device according to the first data frame; the UPF generates a second data frame according to the plurality of second sub data frames, wherein the second data frame comprises the plurality of second data messages; and the UPF sends the second data frame. In this embodiment, in the uplink transmission process, the first network device may receive a plurality of second sub data frames sent by a plurality of terminal devices and forwarded by the second network device, generate a second data frame according to the plurality of second sub data frames, and send the second data frame to the ethernet.
In some possible designs, the receiving a plurality of second sub data frames transmitted by the second network device includes: and receiving a plurality of second sub data frames sent by the second network equipment within preset time. In an embodiment, the preset time may be set to be a time counted from when the second network device receives a first second sub data frame sent by the terminal device, in this embodiment, the second network device starts to count from when the first second sub data frame sent by the terminal device is received, sends a plurality of second sub data frames sent by the terminal device and received within the preset time to the UPF, and stops sending the second sub data frames to the UPF when the preset time is reached. In one embodiment, the second network device may be preconfigured with a preset time, and in another embodiment, the second network device may receive the preset time from other network devices, which is not limited herein. In this embodiment, the UPF only receives the plurality of second sub data frames sent by the second network device within the preset time, and determines that the second sub data frames that are not received within the preset time are packet loss, thereby reducing the time delay of data transmission.
In some possible designs, the method further comprises: the UPF receives a plurality of third data frames sent by the second network equipment, wherein each third data frame in the plurality of third data frames is generated by the terminal equipment according to the first data frame and is sent to the second network equipment, and each third data frame in the plurality of third data frames comprises a second data message and at least one first data message; the UPF generates a second data frame according to the third data frames, wherein the second data frame comprises a plurality of second data messages; and the UPF sends the second data frame. In this embodiment, after receiving the plurality of third data frames, the UPF may analyze the plurality of third data frames, and obtain a second data message obtained after each third data message is processed by the terminal device. Then, the UPF may multiplex the ethernet frame header of 14 bytes and the EtherCAT header of 2 bytes in the third data frame as the ethernet frame header and the EtherCAT header of the second data frame, and set the plurality of second data messages respectively after the ethernet frame header and the EtherCAT header. The UPF may calculate the fourth frame check sequence using a Cyclic Redundancy Check (CRC) algorithm from the destination address of the ethernet frame header to the last end of the last second data packet. The UPF may then encapsulate the ethernet frame header, the EtherCAT header, the plurality of second data messages, and the fourth frame check sequence to generate a second data frame. In this embodiment, the terminal device does not need to unpack the first data frame, so that the data processing overhead of the terminal device is reduced.
In some possible designs, the first data frame includes: a data frame header and a plurality of first data messages; the first sub data frame includes: the data frame header and the first data packet.
In some possible designs, the receiving a plurality of third data frames transmitted by the second network device includes: and receiving a plurality of third data frames sent by the second network equipment within a preset time.
In some possible designs, the second sub data frame includes: the data frame header and the second data message; the second data frame includes: the data frame header and the plurality of second data messages.
In some possible designs, the third data frame includes: the data frame header, the second data packet, and at least one first data packet.
In a fourth aspect, the present application provides a data transmission method, including: the method comprises the steps that a second network device receives a first data frame and QoS indicating information sent by a first network device, wherein the first data frame comprises a plurality of first data messages; and the second network equipment transmits the first data frame to a plurality of terminal equipment through multicast or broadcast according to the QoS indication information, wherein one first data frame is transmitted to one terminal equipment. Through the above manner, the second network device sends the first data frame to the corresponding terminal device UE on the multicast or broadcast channel, which greatly reduces the transmission delay in the communication scenario of the EtherCAT protocol. Compared with the embodiment corresponding to the second aspect, in this embodiment, the second network device sends the data frame to the terminal device in a multicast or broadcast manner, so that signaling overhead of unicast transmission in the embodiment corresponding to the second aspect is reduced.
It should be noted that, in a scenario where the second network device is in a CU-DU architecture, the CU node may receive the one piece of QoS indication information and the first data frame sent by the UPF, and the CU node may send the first data frame and the QoS indication information to multiple DU nodes, and further, each DU node may send the first data frame to the overlaid terminal device in a multicast or broadcast manner. In a scenario where the second network device is CU-CP/CU-UP/DU architecture, the CU-UP may receive the QoS indication information and the first data frame sent by the UPF, and the CU-UP may send the first data frame and the QoS indication information to a plurality of DU nodes, and each DU node may send the first data frame to an overlay terminal device in a multicast or broadcast manner.
In some possible designs, the method further comprises: a second network device receives a plurality of second sub data frames sent by a plurality of terminal devices, wherein each second sub data frame in the plurality of second sub data frames comprises a second data message, each second sub data frame in the plurality of second sub data frames is generated by the terminal device according to a first sub data frame, the first sub data frame comprises a first data message, and the first sub data frame is generated by the terminal device according to the first data frame; and the second network equipment sends the plurality of second sub data frames to the first network equipment, so that the first network equipment generates a second data frame according to the plurality of second sub data frames, wherein the second data frame comprises a plurality of second data messages.
In some possible designs, the sending the plurality of second sub data frames to the first network device includes: and sending the plurality of second sub data frames to the first network equipment within a preset time.
In some possible designs, the method further comprises: the second network device receives a plurality of third data frames sent by a plurality of terminal devices, wherein each third data frame in the plurality of third data frames is generated by the terminal device according to the first data frame, and each third data frame in the plurality of third data frames comprises a second data message and at least one first data message; and the second network equipment sends the plurality of third data frames to the first network equipment, so that the first network equipment generates a second data frame according to the plurality of third data frames, wherein the second data frame comprises a plurality of second data messages.
In some possible designs, the first data frame includes: a data frame header and a plurality of first data messages; the first sub data frame includes: the data frame header and the first data packet.
In some possible designs, transmitting the plurality of third data frames to the first network device includes: and transmitting the plurality of third data frames to the first network equipment within a preset time.
In some possible designs, the second sub data frame includes: the data frame header and the second data message; the second data frame includes: the data frame header and the plurality of second data messages.
In some possible designs, the third data frame includes: the data frame header, the second data packet, and at least one first data packet.
In a fifth aspect, the present application provides a data transmission method, including: a UPF receives a first data frame, wherein the first data frame comprises a plurality of first data messages; the UPF acquires service quality indication information and a tunnel identifier corresponding to each first data message. The UPF sends a plurality of first data frames and a plurality of service quality indication information corresponding to the plurality of first data frames to a second network device in a plurality of corresponding tunnels according to a plurality of tunnel identifiers corresponding to a plurality of first data messages, wherein one tunnel identifier corresponds to one tunnel. The first network device obtains one piece of QoS indication information and one tunnel identifier corresponding to each first data packet in the first data frame, and then the second network device may send, by unicast, the first data frame to a plurality of terminal devices corresponding to a plurality of terminal identifiers through the priority indicated by the QoS indication information, because the tunnel identifier may indicate the terminal identifier after the second network device receives a plurality of first data frames sent by the first network device according to the plurality of tunnel identifiers corresponding to the plurality of first data packets and a plurality of pieces of QoS indication information corresponding to the plurality of first data frames, and the second network device is equivalent to know the correspondence between the first data frames and the terminal identifier. That is, the same data frame is sent to a plurality of terminal devices corresponding to a plurality of terminal identifiers.
In this embodiment, a UPF receives a first data frame, where the first data frame includes a plurality of first data packets; the UPF acquires service quality indication information and a tunnel identifier corresponding to each first data message. The UPF sends a plurality of first data frames and a plurality of service quality indication information corresponding to the plurality of first data frames to a second network device in a plurality of corresponding tunnels according to a plurality of tunnel identifiers corresponding to a plurality of first data messages, wherein one tunnel identifier corresponds to one tunnel. Through the above manner, the cellular network can analyze the data frame including the plurality of data messages, and further the cellular network can identify and process the data frame of the wired protocol, on one hand, the second network device sends the first data frame to the corresponding terminal device through unicast, and particularly in a communication scene of an EtherCAT protocol, transmission delay is greatly reduced. Different from the embodiment corresponding to the first aspect, in this embodiment, the user plane functional entity UPF does not generate the first data frame into the plurality of first sub-data frames, so that the generation overhead of an additional ethernet frame header, an EtherCAT header, and a frame check sequence is further saved.
In some possible designs, the method further comprises: receiving, by the UPF, a plurality of second sub data frames sent by the second network device, where each of the plurality of second sub data frames includes a second data packet, each of the plurality of second sub data frames is generated by the terminal device according to a first sub data frame and sent to the second network device, the first sub data frame includes a first data packet, and the first sub data frame is generated by the terminal device according to the first data frame; the UPF generates a second data frame according to the plurality of second sub data frames, wherein the second data frame comprises a plurality of second data messages; and the UPF sends the second data frame.
In some possible designs, the obtaining of a qos indicator and a tunnel identifier corresponding to each first data packet includes: and acquiring a piece of service quality indication information and a tunnel identifier corresponding to each first data message according to a mapping table, wherein the mapping table comprises a corresponding relation among a plurality of first data messages, a plurality of QoS indication information and a plurality of tunnel identifiers, and each first data message in the plurality of first data messages corresponds to one QoS indication information and one tunnel identifier.
In some possible designs, the method further comprises: the UPF receives a plurality of fourth data frames sent by the second network equipment, wherein each fourth data frame comprises a slave station address; the UPF generates a mapping table, wherein the mapping table is used for indicating the corresponding relation among a plurality of slave station addresses, a plurality of QoS indication information and a plurality of tunnel identifiers, each slave station address in the plurality of slave station addresses corresponds to one QoS indication information and one tunnel identifier, and each slave station address in the plurality of slave station addresses belongs to one first data message.
In some possible designs, the receiving a plurality of second sub data frames transmitted by the second network device includes: and receiving a plurality of second sub data frames sent by the second network equipment within preset time.
In some possible designs, the method further comprises: the UPF receives a plurality of third data frames sent by the second network equipment, wherein each third data frame in the plurality of third data frames is generated by the terminal equipment according to the first data frame and is sent to the second network equipment, and each third data frame in the plurality of third data frames comprises a second data message and at least one first data message; the UPF generates a second data frame according to the third data frames, wherein the second data frame comprises a plurality of second data messages; and the UPF sends the second data frame.
In some possible designs, the first data frame includes: a data frame header and a plurality of first data messages; the first sub data frame includes: the data frame header and the first data packet.
In some possible designs, the receiving a plurality of third data frames transmitted by the second network device includes: and receiving a plurality of third data frames sent by the second network equipment within a preset time.
In some possible designs, the second sub data frame includes: the data frame header and the second data message; the second data frame includes: the data frame header and the plurality of second data messages.
In some possible designs, the third data frame includes: the data frame header, the second data packet, and at least one first data packet.
In a sixth aspect, the present application provides a data transmission method, including: a second network device receives a plurality of first data frames sent by a first network device and a plurality of pieces of service quality indication information corresponding to the plurality of first data frames in a plurality of tunnels, wherein the service quality indication information corresponding to one first data message in one first data frame and one first data frame is received in one tunnel; and the second network equipment sends a plurality of first data frames to a plurality of terminal equipment according to a plurality of QoS indication information, wherein one first data frame is sent to one terminal equipment. In this embodiment, the second network device sends a plurality of first data frames to the plurality of terminal devices according to the plurality of QoS indication information, and the second network device sends the first data frames to the corresponding terminal devices through unicast, which greatly reduces transmission delay especially in a communication scenario of an EtherCAT protocol.
In some possible designs, the method further comprises: a second network device receives a plurality of second sub data frames sent by a plurality of terminal devices, wherein each second sub data frame in the plurality of second sub data frames comprises a second data message, each second sub data frame in the plurality of second sub data frames is generated by the terminal device according to a first sub data frame, the first sub data frame comprises a first data message, and the first sub data frame is generated by the terminal device according to the first data frame; and the second network equipment sends the plurality of second sub data frames to the first network equipment.
In some possible designs, the sending the plurality of second sub data frames to the first network device includes: and sending the plurality of second sub data frames to the first network equipment within a preset time.
In some possible designs, the method further comprises: the second network device receives a plurality of third data frames sent by the terminal device, wherein each third data frame in the plurality of third data frames is generated by the terminal device according to the first data frame, and each third data frame in the plurality of third data frames comprises a second data message and at least one first data message; and the second network equipment sends the plurality of third data frames to the first network equipment, so that the first network equipment generates a second data frame according to the plurality of third data frames, wherein the second data frame comprises a plurality of second data messages.
In some possible designs, the first data frame includes: a data frame header and a plurality of first data messages; the first sub data frame includes: the data frame header and the first data packet.
In some possible designs, the transmitting the plurality of third data frames to the first network device includes: and transmitting the plurality of third data frames to the first network equipment within a preset time.
In some possible designs, the second sub data frame includes: the data frame header and the second data message; the second data frame includes: the data frame header and the plurality of second data messages.
In some possible designs, the third data frame includes: the data frame header, the second data packet, and at least one first data packet.
In a seventh aspect, the present application provides a data transmission method, including: in this embodiment of the present application, a base station receives a first data frame, where the first data frame includes a plurality of first data packets. Alternatively, the base station may receive the first data frame from the ethernet. The second network equipment generates a plurality of first sub data frames according to the first data frame, wherein each first sub data frame in the plurality of first sub data frames comprises a first data message; the second network equipment acquires a QoS indication message and a terminal identifier corresponding to each first sub data frame; and the second network equipment sends the plurality of first sub data frames to a plurality of terminal equipment corresponding to a plurality of terminal identifications according to a plurality of QoS indication information, wherein one first sub data frame is sent to one terminal equipment. By the method, the cellular network can analyze the data frames comprising the plurality of data messages, and then the cellular network can identify and process the data frames of the wired protocol. In the downlink transmission process, the second network device generates a plurality of first sub-data frames from the first data frame, and sends each first sub-data frame to the corresponding terminal device, so that the transmission delay is greatly reduced in the communication scene of the EtherCAT protocol.
It should be noted that, in a scenario where the second network device is a CU-DU architecture, the second network device may include a CU node and a plurality of DU nodes, where each DU may cover a different terminal device, in an embodiment, the CU node may receive the first data frame and generate a plurality of first sub data frames according to the first data frame, then the CU node obtains one piece of QoS indication information corresponding to each first sub data frame, then the CU node may determine a second tunnel identifier according to the QoS indication information corresponding to each first sub data frame, where the second tunnel identifier is a tunnel identifier for data transmission between the CU node and the DU nodes, and the second tunnel identifier has a mapping relationship with the QoS indication information, and since the terminal device may be covered by a different DU node, the CU node may send each first sub data frame and the corresponding QoS indication information to the DU node covered with the corresponding terminal device through a tunnel indicated by the second tunnel identifier, further, the DU node may send the first sub data frame to the corresponding terminal device according to the correspondence between the second tunnel identifier and the terminal identifier.
It should be noted that the QoS indication information may be directly indicated by the second tunnel identifier, and the CU node may only send each first sub-data frame to the DU node covered with the corresponding terminal device through the tunnel indicated by the second tunnel identifier without sending the corresponding QoS indication information to the DU node, and further, the DU node may send the first sub-data frame to the corresponding terminal device according to the correspondence between the second tunnel identifier and the terminal identifier.
In a scenario where the second network device is a CU-CP/CU-UP/DU architecture, the second network device may include a CU-CP/CU-UP node and a plurality of DU nodes, where each DU may cover a different terminal device, in an embodiment, the CU-UP may receive the first data frame and generate a plurality of first sub-data frames according to the first data frame, and then the CU-UP obtains one piece of QoS indication information corresponding to each first sub-data frame, and then the CU-UP may determine a second tunnel identifier according to the QoS indication information corresponding to each first sub-data frame, where the second tunnel identifier is a tunnel identifier for data transmission between the CU-UP and the DU nodes, and the second tunnel identifier has a mapping relationship with the QoS indication information, and since the terminal device may be covered by a different DU node, the CU-UP may send each first sub-data frame and the corresponding QoS indication information to the DU node covered with the corresponding terminal device through the tunnel indicated by the second tunnel identifier, and further, the DU node may send the first sub-data frame to the corresponding terminal device according to the correspondence between the second tunnel identifier and the terminal identifier.
In some possible designs, the method further comprises: a second network device receives a plurality of second sub data frames sent by a plurality of terminal devices, wherein each second sub data frame in the plurality of second sub data frames comprises a second data message, and the plurality of second sub data frames are generated by the plurality of terminal devices according to the plurality of first sub data frames; the second network device generates a second data frame according to the plurality of second sub data frames, wherein the second data frame comprises a plurality of second data messages; the second network device transmits the second data frame. In the uplink transmission process, the second network device may receive a plurality of second sub data frames sent by a plurality of terminal devices and forwarded by the second network device, generate a second data frame according to the plurality of second sub data frames, and send the second data frame to the ethernet.
In some possible designs, the obtaining a QoS indication information and a terminal identifier corresponding to each first sub data frame includes: and acquiring a QoS indication information and a terminal identifier corresponding to each first sub-data frame according to a mapping table, wherein the mapping table comprises a corresponding relation among the plurality of first sub-data frames, the plurality of QoS indication information and the plurality of terminal identifiers, and each first sub-data frame in the plurality of first sub-data frames corresponds to one QoS indication information and one terminal identifier.
In some possible designs, the method further comprises: receiving a plurality of fourth data frames sent by the plurality of terminal devices, wherein each fourth data frame comprises a slave station address; generating a mapping table, wherein the mapping table comprises a corresponding relation among a plurality of slave station addresses, a plurality of QoS indication information and a plurality of terminal identifications, each slave station address in the plurality of slave station addresses corresponds to one QoS indication information and one terminal identification, and each slave station address in the plurality of slave station addresses belongs to one first sub-data frame.
In some possible designs, the first data frame includes: a data frame header and a plurality of first data messages; the first sub data frame includes: the data frame header and the first data packet.
In some possible designs, the receiving the plurality of second sub data frames sent by the plurality of terminal devices includes: and receiving a plurality of second sub data frames sent by the plurality of terminal devices within a preset time.
In some possible designs, the second sub data frame includes: the data frame header and the second data message; the second data frame includes: the data frame header and the plurality of second data messages.
In an eighth aspect, the present application provides a data transmission method, including: a second network device receives a first data frame, wherein the first data frame comprises a plurality of first data messages; the second network equipment acquires QoS indication information corresponding to the first data frame; and the second network equipment transmits the first data frame to a plurality of terminal equipment through multicast or broadcast according to the QoS indication information, wherein one first data frame is transmitted to one terminal equipment. By the method, the cellular network can analyze the data frames comprising the plurality of data messages, and then the cellular network can identify and process the data frames of the wired protocol. The second network device sends the first data frame to the corresponding terminal device UE on the multicast or broadcast channel, which greatly reduces the transmission delay in the communication scenario of EtherCAT protocol. Different from the embodiment corresponding to the sixth aspect, in this embodiment, the second network device does not generate the first data frame into the plurality of first sub-data frames, so that generation overhead of an additional ethernet frame header, an EtherCAT header, and a frame check sequence is saved, and the second network device sends the data frame to the terminal device in a multicast or broadcast manner, so that signaling overhead of unicast transmission in the embodiment corresponding to the sixth aspect is reduced.
It should be noted that, in a scenario where the second network device is in a CU-DU architecture, the CU node receives the first data frame, acquires one piece of QoS indication information corresponding to the first data frame, and then the CU node may send the first data frame and the QoS indication information to the plurality of DU nodes, and further, each DU node may send the first data frame to the covered terminal device in a multicast or broadcast manner.
In a scenario that the second network device is of a CU-CP/CU-UP/DU architecture, the CU-UP may receive a first data frame, then the CU-UP obtains one piece of QoS indication information corresponding to the first data frame, then the CU-UP may send the first data frame and the QoS indication information to a plurality of DU nodes, and then each DU node may send the first data frame to an overlay terminal device in a multicast or broadcast manner.
In some possible designs, the method further comprises: a second network device receives a plurality of second sub data frames sent by the plurality of terminal devices, wherein each of the plurality of second sub data frames comprises a second data message, each of the plurality of second sub data frames is generated by the terminal device according to a first sub data frame, the first sub data frame comprises a first data message, and the first sub data frame is generated by the terminal device according to the first data frame; the second network device generates a second data frame according to the plurality of second sub data frames, wherein the second data frame comprises the plurality of second data messages; the second network device transmits the second data frame.
In some possible designs, the receiving the plurality of second sub data frames sent by the plurality of terminal devices includes: and receiving a plurality of second sub data frames sent by the plurality of terminal devices within a preset time.
In some possible designs, the method further comprises: the second network device receives a plurality of third data frames sent by the plurality of terminal devices, wherein each third data frame in the plurality of third data frames is generated by the terminal device according to the first data frame, and each third data frame in the plurality of third data frames comprises a second data message and at least one first data message; the second network equipment generates a second data frame according to the plurality of third data frames, wherein the second data frame comprises a plurality of second data messages; the second network device transmits the second data frame. In an embodiment, after receiving the plurality of third data frames, the base station may analyze the plurality of third data frames, and obtain a second data message obtained after each third data message is processed by the terminal device. Then, the base station may multiplex the ethernet frame header of 14 bytes and the EtherCAT header of 2 bytes in the first data frame as the ethernet frame header and the EtherCAT header of the second data frame, and set the plurality of second data messages respectively after the ethernet frame header and the EtherCAT header. The base station may calculate the fourth frame check sequence using a Cyclic Redundancy Check (CRC) algorithm from the destination address of the ethernet frame header to the last end of the last second data packet. The base station may then encapsulate the ethernet frame header, the EtherCAT header, the plurality of second data messages, and the fourth frame check sequence to generate a second data frame.
In some possible designs, the first data frame includes: a data frame header and a plurality of first data messages; the first sub data frame includes: the data frame header and the first data packet.
In some possible designs, the transmitting the plurality of third data frames to the first network device includes: and transmitting the plurality of third data frames to the first network equipment within a preset time.
In some possible designs, the second sub data frame includes: the data frame header and the second data message; the second data frame includes: the data frame header and the plurality of second data messages.
In some possible designs, the third data frame includes: the data frame header, the second data packet, and at least one first data packet.
In a ninth aspect, the present application provides a data transmission method, including: a second network device receives a first data frame, wherein the first data frame comprises a plurality of first data messages; the second network equipment acquires QoS indication information and a terminal identifier corresponding to each first data message in the plurality of first data messages; and the second network equipment sends a plurality of first data frames to a plurality of terminal equipment corresponding to a plurality of terminal identifications according to a plurality of QoS indication information, wherein one first data frame is sent to one terminal equipment. By the method, the cellular network can analyze the data frames comprising the plurality of data messages, and then the cellular network can identify and process the data frames of the wired protocol.
In some possible designs, the method further comprises: a second network device receives a plurality of second sub data frames sent by a plurality of terminal devices, wherein each second sub data frame in the plurality of second sub data frames comprises a second data message, each second sub data frame in the plurality of second sub data frames is generated by the terminal device according to a first sub data frame, the first sub data frame comprises a first data message, and the first sub data frame is generated by the terminal device according to the first data frame; the second network device generates a second data frame according to the plurality of second sub data frames, wherein the second data frame comprises a plurality of second data messages; the second network device transmits the second data frame.
In some possible designs, obtaining a QoS indication information corresponding to each first data packet includes: and acquiring a QoS indication message and a terminal identifier corresponding to each first data message according to a mapping table, wherein the mapping table is used for indicating a corresponding relation among a plurality of first data messages, a plurality of QoS indication messages and a plurality of terminal identifiers, and each first data message in the plurality of first data messages corresponds to one QoS indication message and one terminal identifier.
In some possible designs, the method further comprises: the second network equipment receives a plurality of fourth data frames sent by the plurality of terminal equipment, wherein each fourth data frame in the plurality of fourth data frames comprises a slave station address; the second network device generates a mapping table, wherein the mapping table is used for indicating the corresponding relation among a plurality of slave station addresses, a plurality of QoS indication information and a plurality of terminal identifications, each slave station address in the plurality of slave station addresses corresponds to one QoS indication information and one terminal identification, and each slave station address in the plurality of slave station addresses belongs to one first data message.
In some possible designs, the receiving the plurality of second sub data frames sent by the plurality of terminal devices includes: and receiving a plurality of second sub data frames sent by the terminal equipment within preset time.
In some possible designs, the method further comprises: the second network device receives a plurality of third data frames sent by the plurality of terminal devices, wherein each third data frame in the plurality of third data frames is generated by the terminal device according to the first data frame, and each third data frame in the plurality of third data frames comprises a second data message and at least one first data message; the second network equipment generates a second data frame according to the plurality of third data frames, wherein the second data frame comprises a plurality of second data messages; the second network device transmits the second data frame.
In some possible designs, the first data frame includes: a data frame header and a plurality of first data messages; the first sub data frame includes: the data frame header and the first data packet.
In some possible designs, the transmitting the plurality of third data frames to the first network device includes: and transmitting the plurality of third data frames to the first network equipment within a preset time.
In some possible designs, the second sub data frame includes: the data frame header and the second data message; the second data frame includes: the data frame header and the plurality of second data messages.
In some possible designs, the third data frame includes: the data frame header, the second data packet, and at least one first data packet.
In a tenth aspect, the present application provides a data transmission method, including: the method comprises the steps that terminal equipment receives a first sub data frame sent by second network equipment, wherein the first sub data frame comprises a first data message, the first data message belongs to a first data frame, and the first data frame comprises a plurality of first data messages; the terminal equipment generates a second sub data frame according to the first sub data frame, wherein the second sub data frame comprises a second data message; and the terminal equipment sends the second sub data frame to the second network equipment. In this embodiment, the terminal device may receive the first sub data frame sent by the second network device, generate the second sub data frame according to the first sub data frame, and send the second sub data frame to the second network device, and the second network device may directly generate the second data frame according to the second sub data frame, so that the transmission delay is greatly reduced in a communication scene of an EtherCAT protocol.
In some possible designs, the first data frame includes: a data frame header and a plurality of first data messages; the first sub data frame includes: the data frame header and the first data packet.
In some possible designs, the second sub data frame includes: the data frame header and the second data packet.
In an eleventh aspect, the present application provides a data transmission method, including: the method comprises the steps that terminal equipment receives a first data frame sent by second network equipment, wherein the first data frame comprises a plurality of first data messages; the terminal equipment generates a first sub data frame according to the first data frame, wherein the first sub data frame comprises the first data message; the terminal equipment generates a second sub data frame according to the first sub data frame; and the terminal equipment sends the second sub data frame to the second network equipment. In this embodiment, the terminal device may receive the first data frame sent by the second network device, generate the first sub data frame according to the first data frame, generate the second sub data frame according to the first sub data frame, and send the second sub data frame to the second network device, and then the second network device may directly generate the second data frame according to the second sub data frame, so that in a communication scene of the EtherCAT protocol, the transmission delay is greatly reduced.
In some possible designs, the first data frame includes: a data frame header and a plurality of first data messages; the first sub data frame includes: the data frame header and the first data packet.
In some possible designs, the second sub data frame includes: the data frame header and the second data packet.
In a twelfth aspect, the present application provides a first network device, comprising: a receiving module, a processing module, an obtaining module, and a sending module, where the receiving module is configured to execute the steps related to the receiving operation in the first aspect, the third aspect, or the fifth aspect, and any possible implementation manner thereof; the processing module is configured to perform the steps related to the processing operation in the first aspect, the third aspect, or the fifth aspect, and any possible implementation manner thereof; the obtaining module is configured to perform the steps related to the obtaining operation in the first aspect, the third aspect, or the fifth aspect, and any possible implementation manner thereof; the sending module is configured to execute the steps related to the sending operation in the first aspect, the third aspect, or the fifth aspect, and any possible implementation manner thereof.
In a thirteenth aspect, the present application provides a second network device, comprising: a receiving module, a processing module, an obtaining module, and a sending module, where the receiving module is configured to execute the steps related to the receiving operation in the second aspect, the fourth aspect, the sixth aspect, the seventh aspect, the eighth aspect, or the ninth aspect, and any possible implementation manner thereof; the processing module is configured to perform the steps related to the processing operation in the seventh aspect, the eighth aspect or the ninth aspect, and any possible implementation manner thereof; the acquiring module is configured to execute the seventh aspect, the eighth aspect, or the ninth aspect; the sending module is configured to execute the steps related to the sending operation in the second, fourth, sixth, seventh, eighth, or ninth aspect, and any possible implementation manner thereof.
In a fourteenth aspect, the present application provides a terminal device, comprising: a receiving module, a processing module, and a sending module, where the receiving module is configured to perform the steps related to the receiving operation in the tenth aspect or the eleventh aspect, and any possible implementation manner thereof; the processing module is configured to perform the steps related to the processing operation in the tenth aspect or the eleventh aspect, and any possible implementation manner thereof; the sending module is configured to perform the steps related to the sending operation in the tenth aspect or the eleventh aspect, and any possible implementation manner thereof.
In a fifteenth aspect, an apparatus is provided. The apparatus provided by the present application has the functionality to implement the behavior of the terminal device or the network device in the above-described method aspect, which comprises means (means) corresponding to the steps or functionalities described for performing the above-described method aspect. The steps or functions may be implemented by software, or by hardware (e.g., a circuit), or by a combination of hardware and software.
In one possible design, the apparatus includes one or more processors and a communication unit. The one or more processors are configured to support the apparatus to perform the corresponding functions of the terminal device or the network device in the above method. The communication unit is used for supporting the device to communicate with other equipment and realizing receiving and/or sending functions.
Optionally, the apparatus may also include one or more memories for coupling with the processor that hold the necessary program instructions and/or data for the apparatus. The one or more memories may be integral with the processor or separate from the processor. The present application is not limited.
The apparatus may be a smart terminal or a wearable device, and the communication unit may be a transceiver or a transceiver circuit. Optionally, the transceiver may also be an input/output circuit or interface.
The device may also be a communication chip. The communication unit may be an input/output circuit or an interface of the communication chip.
In another possible design, the apparatus includes a transceiver, a processor, and a memory. The processor is configured to control the transceiver or the input/output circuit to transceive signals, the memory is configured to store a computer program, and the processor is configured to execute the computer program in the memory, so that the apparatus performs the method performed by the terminal device in the first aspect or any one of the possible implementations of the first aspect.
In one possible design, the apparatus includes one or more processors and a communication unit. The one or more processors are configured to support the apparatus to perform the corresponding functions of the network device in the above method. The communication unit is used for supporting the device to communicate with other equipment and realizing receiving and/or sending functions.
Optionally, the apparatus may also include one or more memories for coupling with the processor, which stores program instructions and/or data necessary for the network device. The one or more memories may be integral with the processor or separate from the processor. The present application is not limited.
The apparatus may be a base station, a gNB, a TRP, or the like, and the communication unit may be a transceiver, or a transceiver circuit. Optionally, the transceiver may also be an input/output circuit or interface.
The device may also be a communication chip. The communication unit may be an input/output circuit or an interface of the communication chip.
In another possible design, the apparatus includes a transceiver, a processor, and a memory. The processor is configured to control the transceiver or the input/output circuit to transceive signals, the memory is configured to store a computer program, and the processor is configured to execute the computer program in the memory, so that the apparatus performs the method performed by the network device in any of the possible implementations of the second aspect or the second aspect.
In a sixteenth aspect, a system is provided, which includes the above first network device and second network device.
In a seventeenth aspect, a system is provided, which includes the terminal device and a second network device.
In an eighteenth aspect, a computer-readable storage medium is provided for storing a computer program comprising instructions for performing the method of any one of the possible implementations of the first to eleventh aspects.
In a nineteenth aspect, there is provided a computer program product, the computer program product comprising: computer program code for causing a computer to perform the method of any of the possible implementations of the first to eleventh aspects described above, when the computer program code runs on a computer.
According to the technical scheme, the method has the following advantages:
in this application, a UPF receives a first data frame, where the first data frame includes a plurality of first data packets. And the UPF generates a plurality of first sub data frames according to the first data frame, wherein each first sub data frame in the plurality of first sub data frames comprises a first data message. And the UPF acquires the service quality indication information and the tunnel identifier corresponding to each first sub data frame. And the UPF sends the plurality of first sub-data frames and the plurality of service quality indication information corresponding to the plurality of first sub-data frames to a second network device in a corresponding plurality of tunnels according to a plurality of tunnel identifiers corresponding to the plurality of first sub-data frames, wherein one tunnel identifier corresponds to one tunnel. The UPF parses the data frame and generates a plurality of sub data frames after receiving the data frame comprising a plurality of data messages, and determines the QoS indication information and tunnel mark corresponding to each sub data frame, after the QoS indication information and the first sub data frame are sent to the base station through the corresponding tunnel, the base station may transmit the corresponding first sub data frame to the corresponding terminal device according to the priority indicated by the QoS indication information, in this manner, the cellular network is enabled to parse such data frames comprising a plurality of data packets, thereby enabling the cellular network to identify and process such data frames of the wireline protocol, and, in addition, during the downlink transmission, the UPF generates a plurality of first sub data frames by generating a first data frame, the second network device can send each first sub data frame to the corresponding terminal device UE, and transmission delay is greatly reduced in a communication scene of an EtherCAT protocol.
Drawings
FIG. 1 is a schematic diagram of a data transmission system architecture;
FIG. 2a is a diagram of an EtherCAT frame structure;
fig. 2b is a schematic view of a communication architecture of an application scenario of EtherCAT communication;
fig. 3 is a schematic flowchart of a data transmission method according to an embodiment of the present application;
fig. 4 is a schematic diagram of a frame structure of a first sub data frame in an embodiment of the present application;
fig. 5 is a schematic diagram of a frame structure of a second sub data frame in an embodiment of the present application;
FIG. 6 is a diagram illustrating a frame structure of a second data frame according to an embodiment of the present application;
fig. 7 is a schematic flowchart of another data transmission method according to an embodiment of the present application;
fig. 8 is a schematic flowchart of another data transmission method according to an embodiment of the present application;
FIG. 9 is a diagram illustrating a frame structure of a third data frame according to an embodiment of the present application;
FIG. 10 is a diagram illustrating a second data frame generation process according to an embodiment of the present application;
fig. 11 is a schematic flowchart of another data transmission method according to an embodiment of the present application;
fig. 12 is a schematic flowchart of another data transmission method according to an embodiment of the present application;
fig. 13 is a schematic flowchart of another data transmission method according to an embodiment of the present application;
fig. 14 is a schematic structural diagram of a network device according to an embodiment of the present application;
fig. 15 is a schematic structural diagram of another network device according to an embodiment of the present application;
fig. 16 is a schematic structural diagram of a terminal device according to an embodiment of the present application;
fig. 17 is a schematic structural diagram of another terminal device according to an embodiment of the present application;
fig. 18 is a schematic structural diagram of another network device according to an embodiment of the present application;
fig. 19 is a schematic structural diagram of another network device according to an embodiment of the present application.
Detailed Description
The application provides a data transmission method, network equipment and terminal equipment, so that a cellular network can analyze data frames comprising a plurality of data messages.
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.
The terminology used in the embodiments of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in the examples of this application and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items. The character "/" herein generally indicates that the former and latter associated objects are in an "or" relationship.
It should be understood that although the terms first, second, third, etc. may be used in the embodiments of the present application to describe various messages/frames, requests, and terminals, these messages/frames, requests, and terminals should not be limited by these terms. These terms are only used to distinguish messages/frames, requests and terminals from each other. For example, a first terminal may also be referred to as a second terminal, and similarly, a second terminal may also be referred to as a first terminal without departing from the scope of embodiments of the present application.
The word "if" or "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination" or "in response to a detection", depending on the context. Similarly, the phrases "if determined" or "if detected (a stated condition or event)" may be interpreted as "when determined" or "in response to a determination" or "when detected (a stated condition or event)" or "in response to a detection (a stated condition or event)", depending on the context.
In an industrial control scene, the controller and the controlled device are directly connected through a wire, or are connected to a switch through a wire, and data transmission is completed through forwarding of the switch. The layer 2 switching network based on the switch forwards data through the MAC address, taking the data sent to the controlled device by the controller as an example, the destination address is filled as the MAC address of the controlled device, and the source address is filled as the MAC address of the controller. The switch selects a proper port for data forwarding according to the destination address and the source address through MAC address learning.
However, wired communication has many obvious drawbacks, such as: the deployment cost is high, all the devices are interconnected through wires, the construction and deployment are complex, the cost of cables is high, the construction period is long, and the progress of a production line is influenced; the maintenance cost is high, and the later maintenance cost is also high (for example, the cable needs to be replaced regularly due to aging or damage, and the wired cable is laid underground in many times, so that the fault removal difficulty is high, and the cable is difficult to repair); the production line is difficult to reconfigure, and the complexity and the cost of the reconfiguration production line are high aiming at the production line reconfiguration and production according to needs in the future flexible manufacturing; mobility is limited, mobility of equipment (such as an industrial robot) is greatly limited due to connection of cables, a moving range is small, and after an operating area of the equipment is changed, the cables need to be completely rearranged, so that application of the equipment is limited.
In contrast, wireless communication can solve the problems of wired deployment and maintenance, reduce the deployment and maintenance cost, support higher mobility and facilitate flexible configuration of a production line. With the rapid development of wireless communication technology, as the reachable communication performance of the wireless communication technology is closer to wired communication (such as low latency, high reliability performance, etc.), more and more applications communicate in a wireless manner, especially under the condition that the future intelligent factory will adopt a flexible modular production system instead of a static sequential production system, which includes more equipment mobile and multifunctional production assets, which requires powerful and effective wireless communication technology and localized services.
At present, a lot of industrial protocols implemented based on wired technical solutions have been deployed in factories, and when a wireless technology is introduced into an industrial network, one possibility is to wirelessly interface the deployed industrial protocols, that is, only wireless replaces the connection between the industrial protocols, the logical function of the industrial protocol itself is not changed, and wireless is only used as a transmission medium at the bottom of the industrial protocol. However, there is a problem that some industrial protocols have transmission mechanisms that are originally based on the specific way of wire, and when wireless protocols are used for docking, some improvements to the wireless protocols are needed to adapt to the wire protocols.
For example, the ethernet EtherCAT protocol for control automation technology, which is a widely used industrial protocol, has serial transmission logic.
Referring to fig. 2a, fig. 2a is a schematic diagram of an EtherCAT frame structure, as shown in fig. 2a, the EtherCAT frame structure includes an ethernet header of 14 bytes, an EtherCAT header of 2 bytes, EtherCAT data of 44 to 1495 bytes, and a Frame Check Sequence (FCS) of 4 bytes, where the ethernet header of 14 bytes includes a destination address of 6 bytes, where the destination address is a network segment address where a plurality of slave devices are located, the ethernet header of 14 bytes further includes a source address of 6 bytes and a frame type of 2 bytes, and when the data frame is an EtherCAT frame, the frame type of 2 bytes is Ox88a 4. The EtherCAT header of 2 bytes includes an EtherCAT data length of 11 bits, a reserved bit of 1 bit, and a type of 4 bits. The EtherCAT data of 44 to 1495 bytes includes a plurality of data packets, wherein different data packets correspond to different slave devices, and each data packet includes a sub-packet header of 10 bytes, data, and a work counter (WKC) of 2 bytes, wherein the sub-packet header of 10 bytes includes a command of 8 bits, an index of 8 bits, an address field of 32 bits, a length of 11 bits, a reserved bit of 4 bits, a subsequent packet identifier of 1 bit, and a status bit of 16 bits, wherein the address field of 32 bits includes a slave address of each slave device, and in another scenario, the EtherCAT frame structure may further include a virtual local area network tag VLAN tag.
In an application scenario of EtherCAT communication, referring to fig. 2b, fig. 2b is a schematic diagram of a communication architecture of an application scenario of EtherCAT communication, as shown in fig. 2b, EtherCAT communication is initiated by a master station (master) device, a first data frame sent by the master station device is transmitted to a slave station (slave) device 1, and the first data frame includes data messages of a plurality of slave station devices, a first slave station device only parses a first data message of itself in the first data frame, reads data from a corresponding first data message, processes the read data, embeds the processed data into a first data message of itself, and modifies a value of a work counter WKC to identify a data message portion of itself processed by the slave station device, and sends the processed first data frame to the slave station device 2, and so on. After the slave station device N in the network segment processes the message, the first data frame passes through the slave station device N-1 and the slave station device N-2, and the analogy is repeated, and finally the first data frame is forwarded back to the master station device through the slave station device 1, and the master station device receives and processes the returned first data frame processed by each slave station, so that a communication process is completed. It should be noted that the number of slave devices shown in fig. 2b is merely an illustration, and does not limit the present application.
However, since cellular technology is a star network architecture, the base station acts as a centralized control point to schedule data for the terminal devices. When the cellular network is connected with the EtherCAT protocol, if the base station in the cellular network corresponds to the master station in the EtherCAT communication and the terminal in the cellular network corresponds to the slave station in the EtherCAT communication according to the ring transmission logic of the EtherCAT, the base station transmits an EtherCAT data packet to the terminal device 1, the terminal device 1 forwards the processed EtherCAT data packet to the terminal device 2, and the like, and finally the processed EtherCAT data packet is transmitted to the base station by the terminal device 1. In addition, the EtherCAT itself has its own frame structure, and its frame structure is a frame header of the multiplexing Ethernet protocol, and one EtherCAT data frame includes a plurality of first data packets, and each first data packet includes an address allocated to each slave station. However, the existing cellular technology does not specify the function of protocol parsing for a special industrial protocol, so that each device in the existing cellular network cannot identify a frame structure such as EtherCAT.
In order to solve the above problem, embodiments of the present application provide a data transmission method, a network device, and a terminal device, so that a cellular network can analyze such data frames including multiple data packets, and further, the cellular network can identify and process such data frames of a wired protocol. The technical scheme of the embodiment of the invention can be applied to various data processing communication systems, such as: such as Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Frequency Division Multiple Access (FDMA), Orthogonal Frequency Division Multiple Access (OFDMA), single carrier frequency division multiple access (SC-FDMA), and other systems. The term "system" may be used interchangeably with "network". CDMA systems may implement wireless technologies such as Universal Terrestrial Radio Access (UTRA), CDMA2000, and the like. UTRA may include Wideband CDMA (WCDMA) technology and other CDMA variant technologies. CDMA2000 may cover the Interim Standard (IS) 2000(IS-2000), IS-95 and IS-856 standards. TDMA systems may implement wireless technologies such as global system for mobile communications (GSM). The OFDMA system may implement wireless technologies such as evolved universal terrestrial radio access (E-UTRA), Ultra Mobile Broadband (UMB), IEEE 802.11(Wi-Fi), IEEE 802.16(WiMAX), IEEE 802.20, Flash OFDMA, etc. UTRA and E-UTRA are UMTS as well as UMTS evolved versions. Various versions of 3GPP in Long Term Evolution (LTE) and LTE-based evolution are new versions of UMTS using E-UTRA. The fifth Generation (5Generation, 5G) communication system, New Radio (NR), is the next Generation communication system under study. In addition, the communication system 100 may also be applied to future-oriented communication technologies, and all the technologies provided by the embodiments of the present invention are applied. The system architecture and the service scenario described in the embodiment of the present invention are for more clearly illustrating the technical solution of the embodiment of the present invention, and do not form a limitation on the technical solution provided in the embodiment of the present invention, and it can be known by those skilled in the art that the technical solution provided in the embodiment of the present invention is also applicable to similar technical problems along with the evolution of the network architecture and the appearance of a new service scenario.
In one example, referring to fig. 1, the data transmission system includes a terminal device 101, a Radio Access Network (RAN) device 102, and a Core Network (CN) device 103; in one example, the core network device 103 is a first network device in the following embodiments, and the access network device 102 is a second network device in the following embodiments. The terminal device 101 and the access network device 102 may be wirelessly connected, the access network device 102 and the core network device 103 may be in wired connection, and optionally, the access network device 102 and the core network device 103 may also be wirelessly connected; the access network device 102 is configured to access the terminal device 101 to a wireless network, and the core network device 103 is configured to manage the terminal device 101 and provide a gateway for communicating with an external network.
The Core network device 103 may be an MME and/or an S-GW of a 4G network, or may be an SGSN or a GGSN of a 3G network, or may be an access and mobility management function (AMF) entity of a next generation Core network (NG-Core) of a 5G network, or a User Plane Function (UPF) entity, or a Session Management Function (SMF) entity.
The access network device 102 may be any device with wireless transceiving function, or a chip disposed in a device with wireless transceiving function. The access network equipment 102 includes but is not limited to: a base station (e.g. a base station BS, a base station NodeB, an evolved base station eNodeB or eNB, a base station gdnodeb or gNB in a fifth generation 5G communication system, a base station in a future communication system, an access node in a WiFi system, a wireless relay node, a wireless backhaul node), etc. The base station may be: macro base stations, micro base stations, pico base stations, small stations, relay stations, etc. A network, or future evolution network, in which multiple base stations may support one or more of the technologies mentioned above. The core network may support a network of one or more of the above mentioned technologies, or a future evolution network. A base station may include one or more co-sited or non-co-sited Transmission Reception Points (TRPs). The access network device 102 may also be a wireless controller, a Central Unit (CU), a Distributed Unit (DU), or the like in a Cloud Radio Access Network (CRAN) scenario. The following description takes the access network device 102 as a base station as an example. The access network devices 102 may be base stations of the same type or different types. The base station may communicate with the terminal apparatus 101, and may also communicate with the terminal apparatus 101 through a relay station. The terminal device 101 may support communication with multiple base stations of different technologies, for example, the terminal device 101 may support communication with a base station supporting an LTE network, may support communication with a base station supporting a 5G network, and may support dual connectivity with a base station of an LTE network and a base station of a 5G network. Such as a RAN node that accesses terminal device 101 to a wireless network. Currently, some examples of RAN nodes are: a gbb, a TRP, an evolved Node B (eNB), a Radio Network Controller (RNC), a Node B (NB), a Base Station Controller (BSC), a Base Transceiver Station (BTS), a home base station (e.g., home evolved Node B, or home Node B, HNB), a Base Band Unit (BBU), or a Wifi Access Point (AP), etc. In one network configuration, the network device may include CU nodes, or DU) nodes, or RAN devices including CU nodes and DU nodes. The CU and DU are understood to be the division of the access network devices from the logical functional point of view. CUs and DUs may be physically separate or may be deployed together. An access network device may contain one CU and one or more DUs. The CU and DU may be connected via an interface, such as an F1 interface. CUs and DUs may be partitioned according to protocol layers of the wireless network. For example, the CU includes functions of an RRC layer and a PDCP layer, and the DU includes functions of an RLC layer, a MAC layer, and a PHY layer. It is to be understood that the division of CU and DU processing functions according to such protocol layers is merely an example, and may be performed in other manners. For example, a CU or DU may be partitioned to have more protocol layer functionality. For example, a CU or DU may also be divided into partial processing functions with protocol layers. In one design, some of the functions of the RLC layer and the functions of the protocol layers above the RLC layer are set in the CU, and the remaining functions of the RLC layer and the functions of the protocol layers below the RLC layer are set in the DU. In another design, the functions of a CU or DU may also be divided according to traffic type or other system requirements. For example, dividing by time delay, setting the function that processing time needs to meet the time delay requirement in DU, and setting the function that does not need to meet the time delay requirement in CU. The CU can be further divided into one Control Plane (CU-CP) network element and a plurality of User Plane (CU-User Plane, CU-UP) network elements. Wherein, the CU-CP can be used for control plane management, and the CU-UP can be used for user plane data transmission. The interface between the CU-CP and the CU-UP can be the E1 port. The interface between the CU-CP and the DU may be F1-C for transport of control plane signaling. The interface between CU-UP and DU may be F1-U for user plane data transmission. The CU-UP and the CU-UP can be connected through an Xn-U port, and only user plane data transmission can be carried out.
The terminal 101, also called User Equipment (UE), a Mobile Station (MS), a Mobile Terminal (MT), a terminal, etc., is a device for providing voice and/or data connectivity to a user, or a chip disposed in the device, such as a handheld device, a vehicle-mounted device, etc., which has wireless connectivity. Currently, some examples of terminal devices are: a mobile phone (mobile phone), a tablet computer, a notebook computer, a palm top computer, a Mobile Internet Device (MID), a wearable device, a Virtual Reality (VR) device, an Augmented Reality (AR) device, a wireless terminal in industrial control (industrial control), a wireless terminal in self driving (self driving), a wireless terminal in remote surgery (remote medical supply), a wireless terminal in smart grid (smart grid), a wireless terminal in transportation safety (smart security), a wireless terminal in city (smart city), a wireless terminal in home (smart home), and the like.
First, an interaction process between a network device and a terminal device is described, and in some embodiments of the present invention, please refer to fig. 3, a data transmission method provided in an embodiment of the present invention may include:
301. the first network equipment receives a first data frame, wherein the first data frame comprises a plurality of first data messages.
Taking the first network device as the UPF as an example, in this embodiment of the application, the UPF may receive the first data frame from the ethernet.
In this embodiment of the application, if the first data frame is an EtherCAT frame, as shown in fig. 2a, EtherCAT data of the first data frame includes a plurality of first data packets, and each first data packet includes a slave station address.
In one embodiment, each sub-packet header of the first data packet includes a 32-bit address field for indicating slave station addresses, each slave station address corresponding to a terminal device.
In an embodiment, the first data frame further includes a VLAN tag, and it should be noted that, in the same EtherCAT frame, a plurality of first data packets correspond to one VLAN tag.
302. And the first network equipment generates a plurality of first sub data frames according to the first data frame, wherein each first sub data frame in the plurality of first sub data frames comprises a first data message.
In this embodiment of the application, if the first data frame is an EtherCAT frame, EtherCAT data of the first data frame includes a plurality of first data packets, and the UPF may generate a plurality of first sub-data frames according to the first data frame.
In one embodiment, the first data frame comprises: the data frame header, the plurality of first data messages and the first frame check sequence; the first sub data frame includes: the data frame header, the first data packet and the second frame check sequence.
In this embodiment, referring to fig. 4, fig. 4 is a schematic frame structure diagram of a first sub-data frame in this embodiment, as shown in fig. 4, the data frame header includes a 14-byte ethernet frame header and a 2-byte EtherCAT header, and the first sub-data frame includes the 14-byte ethernet frame header, the 2-byte EtherCAT header, a first data packet, and a 4-byte second frame check sequence FCS.
In an embodiment, after receiving the first data frame, the UPF may first obtain the frame type of the first data frame from the ethernet frame header of the first data frame, and when the 2-byte frame type is Ox88a4, the UPF may determine that the data type of the first data frame is an EtherCAT frame.
After determining that the data type of the first data frame is an EtherCAT frame, the UPF may parse a plurality of first data messages included in EtherCAT data in the first data frame, and then the UPF may multiplex a data frame header in the first data frame, specifically, the UPF may multiplex a 14-byte ethernet frame header and a 2-byte EtherCAT header in the first data frame as the ethernet frame header and the EtherCAT header of each first sub-data frame, respectively, and set each first data message in the plurality of first data messages behind the ethernet frame header and the EtherCAT header of each first sub-data frame, respectively. The UPF may calculate the second frame check sequence using a Cyclic Redundancy Check (CRC) algorithm from a destination address of the ethernet header of each of the first sub data frames to an end of the first data packet. Then, the UPF may encapsulate the ethernet frame header, the EtherCAT header, a first data packet, and the second frame check sequence to generate a first sub data frame.
303. And acquiring service quality indication information and a tunnel identifier corresponding to each first sub data frame.
In this embodiment of the application, after the UPF generates a plurality of first sub data frames according to the first data frame, where each of the first sub data frames includes one first data packet, it needs to obtain quality of service (QoS) indication information and one tunnel identifier corresponding to each of the first sub data frames.
In this embodiment, the QoS indication information may indicate a priority of the first sub data frame.
In one embodiment, the QoS indication information may include at least one of a quality of service flow identification (QoS flow ID, QFI), QoS flow description information, a quality of service class identification (QCI), a 5G quality of service indication (5G QoS indicator, 5QI), and a quality of service parameter. Wherein the quality of service parameter includes at least one of Allocation and Reservation Priority (ARP), guaranteed bandwidth, Maximum Flow Bit Rate (MFBR), and Guaranteed Flow Bit Rate (GFBR).
In the embodiment of the application, the UPF may obtain a corresponding relationship between the QoS indication information and the first sub-data frames, and after the UPF generates a plurality of first sub-data frames, the UPF may determine the QoS indication information corresponding to each of the plurality of first sub-data frames by traversing the corresponding relationship between the QoS indication information and the first sub-data frames.
It should be noted that, in a scenario where the EtherCAT frame does not include the VLAN tag, the UPF may obtain a correspondence between the QoS indication information and a slave station address included in the first sub-data frame, where one QoS indication information corresponds to one slave station address, and the UPF may determine, by traversing the correspondence between the QoS indication information and the slave station address included in the first sub-data frame, the QoS indication information corresponding to each of the plurality of first sub-data frames.
It should be noted that, in a scenario where the EtherCAT frame includes a VLAN tag, the UPF may obtain a correspondence between the QoS indication information and the slave station address included in the first sub-data frame and the VLAN tag included in the first data frame, where one piece of QoS indication information corresponds to one slave station address and one VLAN tag, and the UPF may determine, by traversing the correspondence between the QoS indication information and the slave station address included in the first sub-data frame and the VLAN tag included in the first data frame, the QoS indication information corresponding to each of the first sub-data frames in the plurality of first sub-data frames.
In an embodiment, the UPF may obtain the correspondence between the QoS indication information and the first sub data frame in the following six manners, which will be described separately below.
The SMF may receive a plurality of slave station addresses from a Home Subscriber Server (HSS), a Unified Data Manager (UDM) node, or an Application Function (AF) node. In the scenario where the EtherCAT frame includes a VLAN tag, the SMF may also receive multiple VLAN tags from the HSS, UDM node, or AF node, where one slave address corresponds to one VLAN tag.
In a scenario where the EtherCAT frame does not include a VLAN tag, the SMF transmits a plurality of slave station addresses to the UPF, the UPF may generate QoS indication information corresponding to each slave station address, and taking the QoS indication information as a QoS flow identifier QFI as an example, the UPF may correspond different slave station addresses to different QFIs, for example, the plurality of slave station addresses are a slave station address a, a slave station address B, a slave station address C, a slave station address D, a slave station address E, and a slave station address F, the UPF may correspond the slave station address a to QFI1, the slave station address B to QFI2, the slave station address C to QFI3, the slave station address D to QFI4, the slave station address E to QFI5, and the slave station address F to QFI 6.
It should be noted that the above-mentioned QFI definition is only an illustration, and in practical applications, the UPF may determine the QFI corresponding to different slave station addresses according to actual needs.
In a scenario where the EtherCAT frame includes a VLAN tag, the SMF transmits a plurality of slave station addresses and a plurality of VLAN tags to the UPF, one slave station address corresponds to one VLAN tag, and the UPF may generate QoS indication information corresponding to each slave station address and VLAN tag. In this embodiment, as long as at least one of the slave station address and the VLAN tag is different, the UPF may generate different QoS indication information correspondingly. For example, if two slave addresses are the same, but VLAN tags corresponding to the two slave addresses are different, the UPF generates different QoS indication information.
For example, when receiving SMF transmission, the UPF receives slave address a, VLAN tag1, slave address a, VLAN tag2, slave address B, VLAN tag1, slave address B, VLAN tag2, slave address C, and VLAN tag3, where slave address a corresponds to VLAN tag1, slave address a corresponds to VLAN tag2, slave address B corresponds to VLAN tag1, slave address B corresponds to VLAN tag2, and slave address C corresponds to VLAN tag 3. The UPF may correspond slave address a and VLAN tag1 to QFI1, slave address a and VLAN tag2 to QFI2, slave address B and VLAN tag1 to QFI3, slave address B and VLAN tag2 to QFI4, and slave address C and VLAN tag3 to QFI 5.
In a scene that the EtherCAT frame does not include the VLAN tag, because the UPF establishes a corresponding relationship between each slave station address and the QoS indication information, after generating a plurality of first sub-data frames, the UPF may analyze the slave station address in each first sub-data frame, where one sub-data frame corresponds to one slave station address, and the UPF may obtain the QoS indication information corresponding to each first sub-data frame according to the established corresponding relationship between each slave station address and the QoS indication information.
Taking the example that the slave station address a corresponds to QFI1, the slave station address B corresponds to QFI2, the slave station address C corresponds to QFI3, the slave station address D corresponds to QFI4, the slave station address E corresponds to QFI5, and the slave station address F corresponds to QFI6, the UPF generates a first sub data frame 1 and a first sub data frame 2, and resolves that the first sub data frame 1 includes the slave station address B, and the first sub data frame 2 includes the slave station address D, the UPF may determine that the first sub data frame 1 corresponds to QFI2 and the first sub data frame 2 corresponds to QFI 4.
In a scene that the EtherCAT frame includes a VLAN tag, because the UPF establishes a corresponding relationship between each slave station address and the VLAN tag and QoS indication information, after generating a plurality of first sub-data frames, the UPF may analyze the slave station address in each sub-data frame and the VLAN tag in the first data frame, where one sub-data frame corresponds to one slave station address and one VLAN tag, and the UPF may obtain the QoS indication information corresponding to each first sub-data frame according to the established corresponding relationship between each slave station address and the VLAN tag and the QoS indication information.
Taking the example that the slave station address a and the VLAN tag1 correspond to QFI1, the slave station address a and the VLAN tag2 correspond to QFI2, the slave station address B and the VLAN tag1 correspond to QFI3, the slave station address B and the VLAN tag2 correspond to QFI4, and the slave station address C and the VLAN tag3 correspond to QFI5, the UPF generates a first sub data frame 1 and a first sub data frame 2, resolves that the first sub data frame 1 includes the slave station address a, the first sub data frame 2 includes the slave station address B, and the first data frame includes the VLAN tag1, the UPF may determine that the first sub data frame 1 corresponds to QFI1 and the first sub data frame 2 corresponds to QFI 3.
Secondly, the SMF may receive a plurality of slave station addresses from the HSS, UDM node or AF node. In the scenario where the EtherCAT frame includes a VLAN tag, the SMF may also receive multiple VLAN tags from the HSS, UDM node, or AF node, where one slave address corresponds to one VLAN tag.
Unlike the above embodiment, the SMF does not transmit a plurality of slave station addresses, or a plurality of slave station addresses and a plurality of VLAN tags to the UPF, but directly establishes a correspondence relationship between the plurality of slave station addresses, or a plurality of slave station addresses and a plurality of VLAN tags and the QoS indication information.
After establishing the correspondence between the QoS indication information and the slave station addresses or the slave station addresses and the VLAN tags, the SMF may transmit the correspondence between the QoS indication information and the slave station addresses or the VLAN tags to the UPF.
Thirdly, the SMF can receive the corresponding relation between a plurality of slave station addresses or a plurality of slave station addresses and a plurality of VLAN tags and QoS indication information from the HSS, the UDM node or the AF node.
After receiving the correspondence between the plurality of slave station addresses or the plurality of slave station addresses and the plurality of VLAN tags and the QoS indication information, the SMF may transmit the correspondence between the plurality of slave station addresses or the plurality of slave station addresses and the plurality of VLAN tags and the QoS indication information to the UPF.
And fourthly, the UPF can receive a plurality of slave station addresses or a plurality of slave station addresses and a plurality of VLAN tags from the HSS, the UDM node or the AF node.
After receiving the plurality of slave station addresses, or the plurality of slave station addresses and the plurality of VLAN tags, the UPF may establish a correspondence relationship between the plurality of slave station addresses, or the plurality of slave station addresses and the plurality of VLAN tags and the QoS indication information.
And fifthly, the UPF can receive the corresponding relation between the plurality of slave station addresses or the plurality of slave station addresses and the plurality of VLAN tags and the QoS indication information from the HSS, the UDM node or the AF node.
And sixthly, the UPF can obtain the corresponding relation between the plurality of slave station addresses or the plurality of slave station addresses and the plurality of VLAN tags and the QoS indication information through network initialization.
The UPF can receive a data packet from the Ethernet, wherein a destination address included in the data packet is a multicast Media Access Control (MAC) address, a source address is a MAC address of a sending node, the data packet further includes a plurality of VLAN tags, each VLAN tag corresponds to a terminal device, the UPF sends the data packet to a plurality of terminal devices, after each terminal device receives the data packet, whether the data packet is for itself or not is judged according to the source address of the data packet and the VLAN tag, if the data packet is for itself, feedback is performed, the feedback is a fourth data frame, the destination address in the fourth data frame is the source address of the received data packet, and the source address in the feedback data packet is a slave station address of the terminal device. In a scenario where the EtherCAT frame includes the VLAN tag, the UPF may establish a correspondence between the addresses of the multiple slave stations, the multiple VLAN tags, and the QoS indication information according to the received multiple fourth data frames. In a scenario where the EtherCAT frame does not include the VLAN tag, the UPF may establish a correspondence between addresses of the multiple slave stations and the QoS indication information according to the received multiple fourth data frames.
In one embodiment, the UPF may create a tunnel for each end device session to transport data. In another embodiment, the UPF may further obtain a tunnel identifier corresponding to each of the first sub data frames.
In this embodiment of the application, the UPF may obtain a correspondence between the tunnel identifier and the first sub data frame, and after the UPF generates the plurality of first sub data frames, the UPF may determine, by traversing the correspondence between the tunnel identifier and the first sub data frame, a tunnel identifier corresponding to each of the plurality of first sub data frames, specifically, the UPF may obtain a correspondence between the tunnel identifier and a slave station address included in the first sub data frame, and further determine, by using the correspondence between the tunnel identifier and the slave station address included in the first sub data frame, a tunnel identifier corresponding to each of the first sub data frames.
In a scene that the EtherCAT frame includes a VLAN tag, the UPF may obtain a correspondence between a tunnel identifier and a slave station address included in the first sub-data frame and the VLAN tag included in the first data frame, where one tunnel identifier corresponds to one slave station address and one VLAN tag, and the UPF may determine the tunnel identifier corresponding to each first sub-data frame through the correspondence between the tunnel identifier and the slave station address included in the first sub-data frame and the VLAN tag included in the first data frame.
In one embodiment, the tunnel identification may be a tunnel ID, or a tunnel endpoint identification TEID, or the like.
It should be noted that, in an embodiment, the UPF may further maintain a mapping table, where the mapping table is used to indicate a correspondence relationship between multiple slave station addresses, multiple VLAN tags, multiple QoS indication information, and multiple tunnel identifiers, and referring to table 1, table 1 is an illustration of a mapping table maintained for the first network.
TABLE 1
Figure BDA0001982177700000221
The header in the mapping table shown in table 1 includes a source address, a destination address, a slave station address, a VLAN tag, a frame type, a QFI, and a tunnel ID, and it is understood that the header type shown in table 1 is only an illustration, and the mapping table may also include a slave station address, a frame type, a QFI, and a tunnel ID.
Optionally, the UPF may obtain QoS indication information and a tunnel identifier corresponding to each first sub data frame according to a mapping table, where the mapping table is used to indicate a correspondence between the plurality of first sub data frames, the plurality of QoS indication information, and the plurality of tunnel identifiers. The UPF may determine, through the mapping table, QoS indication information corresponding to each first sub-data frame, and determine a tunnel identifier corresponding to each first sub-data frame. For example, after receiving the first data frame, the UPF may determine that the frame type of the first data frame is an EtherCAT frame by using the frame type of Ox88a4 in the first data frame, and generate a plurality of first sub data frames according to the first data frame. And then resolving the slave station address in each first sub data frame and the VLAN tag in the first data frame, and determining the QFI serial number and the tunnel ID corresponding to each slave station address and the VLAN tag through a mapping table.
In the above example, the UPF may complete the parsing of the slave station address and the VLAN tag when generating the plurality of first sub data frames from the first data frame, and the present embodiment is not limited thereto.
304. The first network device sends the plurality of first sub-data frames and the plurality of service quality indication information corresponding to the plurality of first sub-data frames to a second network device in a corresponding plurality of tunnels according to a plurality of tunnel identifiers corresponding to the plurality of first sub-data frames, wherein one tunnel identifier corresponds to one tunnel.
In this embodiment of the application, the second network device may be a base station (e.g., a base station BS, a base station NodeB, an evolved node b eNodeB or eNB, a base station gbnodeb or gNB in a fifth generation 5G communication system, a base station in a future communication system, an access node in a WiFi system, a wireless relay node, a wireless backhaul node), and the like, which are not limited herein.
In one embodiment, the first network device may send a plurality of the QoS indication information and the plurality of the first sub data frames to a plurality of second network devices, and each of the plurality of second network devices may receive at least one of the QoS indication information and the at least one of the first sub data frames sent by the first network device.
In this embodiment of the present application, after obtaining QoS indication information and a tunnel identifier corresponding to each first sub data frame, a UPF needs to send a plurality of QoS indication information and a plurality of first sub data frames to a second network device in a corresponding tunnel according to a plurality of tunnel identifiers, where each tunnel identifier in the plurality of tunnel identifiers corresponds to one first sub data frame.
In the embodiment of the present application, a corresponding relationship exists between the first sub data frame and the tunnel identifier, and a corresponding relationship exists between the first sub data frame and the QoS indication information, and on the tunnel corresponding to each tunnel identifier, the UPF may send the corresponding first sub data frame and the QoS indication information to the second network device.
In this embodiment of the application, the QoS indication information may indicate a priority of transmission of each first sub data frame of the base station, and the second network device may perform QoS control on each first sub data frame according to the priority indicated by the QoS indication information.
In the embodiment of the application, the tunnel identifier and the terminal identifier have a corresponding relationship. Optionally, the second network device may maintain a mapping table, where the mapping table includes a correspondence between a plurality of tunnel identifiers and a plurality of terminal identifiers during downlink data transmission, where one tunnel identifier corresponds to one terminal identifier, and after receiving the first sub-data frame in a tunnel corresponding to one tunnel identifier, the second network device may determine the terminal identifier corresponding to the tunnel identifier according to the mapping table.
In one embodiment, the terminal identity may be a cell radio network temporary identity (C-RNTI). Specifically, after the second network device receives the first sub data frame through the tunnel, and the tunnel identifier corresponding to the tunnel corresponds to a terminal identifier, the second network device may send the first sub data frame to the terminal corresponding to the terminal identifier.
In this embodiment, a second network device receives, at multiple tunnels, multiple first sub-data frames sent by a first network device and multiple pieces of QoS indication information corresponding to the multiple first sub-data frames, where one tunnel receives one first sub-data frame and one piece of the QoS indication information corresponding to the first sub-data frame, and after the first sub-data frame includes a data frame header and one first data packet, because there is a correspondence between a tunnel identifier and a terminal identifier, the second network device knows the terminal identifier corresponding to each first sub-data frame and the QoS indication information corresponding to each first sub-data frame, and then the second network device may send the corresponding first sub-data frame to the terminal device corresponding to the terminal identifier in a unicast manner through a priority indicated by the QoS indication information.
305. And the second network equipment sends the plurality of first sub data frames to a plurality of terminal equipment according to the plurality of QoS indication information, wherein one first sub data frame is sent to one terminal equipment.
In this embodiment of the application, optionally, the second network device may send the corresponding first sub data frame to the terminal device corresponding to the terminal identifier in a unicast manner through the priority indicated by the QoS indication information, optionally, the second network device may send one first sub data frame to each terminal device in the plurality of terminal devices, and the second network device may also send a plurality of first sub data frames to each terminal device in the plurality of terminal devices.
It should be noted that, in a scenario where the second network device is a CU-DU architecture, the second network device may include a CU node and a plurality of DU nodes, where each DU may cover a different terminal device, in an embodiment, the CU node may receive, at a plurality of tunnels, a plurality of first sub data frames and a plurality of QoS indication information sent by the first network device, and the CU node may determine a second tunnel identifier according to the QoS indication information and the tunnel identifier corresponding to each first sub data frame, where the second tunnel identifier is a tunnel identifier for data transmission between the CU node and the DU node, and there is a mapping relationship between the second tunnel identifier and the tunnel identifier of the tunnel for data transmission between the UPF and the CU node and the QoS indication information, and since the terminal device may be covered by different DU nodes, the CU node may send each first sub data frame and the corresponding QoS indication information to the DU covered by the corresponding terminal device through the tunnel indicated by the second tunnel identifier And the node further may send the first sub data frame to the corresponding terminal device according to the correspondence between the second tunnel identifier and the terminal identifier.
It should be noted that the QoS indication information may be directly indicated by the second tunnel identifier, and the CU node may only send each first sub-data frame to the DU node covered with the corresponding terminal device through the tunnel indicated by the second tunnel identifier without sending the corresponding QoS indication information to the DU node, and further, the DU node may send the first sub-data frame to the corresponding terminal device according to the correspondence between the second tunnel identifier and the terminal identifier.
In a scenario where the second network device is a CU-CP/CU-UP/DU architecture, the second network device may include a CU-CP/CU-UP node and a plurality of DU nodes, where each DU may cover a different terminal device, in one embodiment, the CU-UP may receive a plurality of first sub data frames and a plurality of QoS indication information sent by the first network device in a plurality of tunnels, and the CU-UP may determine a second tunnel identifier according to the QoS indication information and a tunnel identifier corresponding to each first sub data frame, where the second tunnel identifier is a tunnel identifier for data transmission between the CU-UP and the DU nodes, and there is a mapping relationship between the second tunnel identifier and the QoS indication information of the tunnel for data transmission between the UPF and the CU nodes, since the terminal device may be covered by a different DU node, the CU-UP may send each first sub-data frame and the corresponding QoS indication information to the DU node covered with the corresponding terminal device through the tunnel indicated by the second tunnel identifier, and further, the DU node may send the first sub-data frame to the corresponding terminal device according to the correspondence between the second tunnel identifier and the terminal identifier.
In this embodiment, a terminal device receives a first sub data frame sent by a second network device, where the first sub data frame includes a first data packet, and the first data packet belongs to a first data frame, and the first data frame includes a plurality of first data packets.
306. And the terminal equipment generates a second sub data frame according to the first sub data frame, wherein the second sub data frame comprises a second data message.
In this embodiment, after receiving the first sub data frame sent by the second network device, the terminal device may analyze and process the first sub data frame to obtain a processed second sub data frame. Specifically, the terminal device may perform operations of local reading (read local), local writing (write local), and local event (event local) on the received first sub-data frame, where the local reading is for the terminal device to read data from a local memory area, the local writing is for the terminal device to write data in the local memory area, and the local event is for the terminal device to execute a certain event after obtaining an indication of the event.
In one embodiment, the second sub data frame includes: a data frame header, one of the second data packets, and a third frame check sequence.
In this embodiment, referring to fig. 5, fig. 5 is a frame structure schematic diagram of a second sub-data frame in this embodiment, as shown in fig. 5, the second sub-data frame may include a 14-byte ethernet frame header, a 2-byte EtherCAT header, a second data message, and a 4-byte third frame check sequence FCS, where the second data message is obtained after the terminal device UE processes the first sub-data frame, the third frame check sequence is calculated by the terminal device UE from a destination address of the ethernet frame header of the second sub-data frame to an end of the second data message, and the second sub-data frame is calculated by using a Cyclic Redundancy Check (CRC) algorithm, and the ethernet frame header, the EtherCAT header, a second data message, and the third frame check sequence may be encapsulated by the terminal device UE to generate the second sub-data frame.
It should be noted that, in a communication scenario of EtherCAT, a data frame header in the first sub data frame and a data frame header in the second sub data frame may be the same, and in other scenarios, the data frame header in the first sub data frame and the data frame header in the second sub data frame may be different, for example, a source address of the data frame header of the second sub data frame may be a destination address of the data frame header in the first sub data frame, and a destination address of the data frame header of the second sub data frame may be a source address of the data frame header in the first sub data frame.
307. And the terminal equipment sends the second sub data frame to second network equipment.
In this embodiment, optionally, after generating a second sub data frame according to the first sub data frame, the terminal device needs to send the second sub data frame to a second network device. And a second network device receives a plurality of second sub data frames sent by a plurality of terminal devices, wherein each of the plurality of second sub data frames comprises a second data message, and one second sub data frame is generated by one terminal device according to one first sub data frame.
308. And the second network equipment sends the plurality of second sub data frames to the first network equipment, so that the first network equipment generates a second data frame according to the plurality of second sub data frames, wherein the second data frame comprises a plurality of second data messages.
In this embodiment, optionally, after the terminal device sends the second sub data frame to a second network device, the second network device receives a plurality of second sub data frames sent by the terminal device, where each of the plurality of second sub data frames includes a second data packet, and the plurality of second sub data frames are generated by the plurality of terminal devices according to the plurality of first sub data frames, and send the plurality of second sub data frames to the UPF.
In an embodiment, the second network device receives a plurality of second sub data frames sent by a plurality of terminal devices, where one of the plurality of second sub data frames corresponds to one of the plurality of terminal devices, and each terminal device corresponds to one terminal identifier. In this embodiment, the second network device may maintain a mapping table, where the mapping table includes a correspondence between each of the plurality of terminal identifiers and the tunnel ID during uplink transmission, and after receiving a second sub data frame sent by one terminal device, the second network device may determine the tunnel ID corresponding to the terminal identifier through the correspondence between each of the plurality of terminal identifiers and the tunnel ID, and send the second sub data frame to the first network device through the tunnel corresponding to the tunnel ID.
It should be noted that the tunnel ID used for transmitting data from the first network device to the second network device in the downlink transmission process may be the same as or different from the tunnel ID used for transmitting data from the second network device to the first network device in the uplink transmission process.
In one embodiment, the second network device may send the plurality of second sub data frames to the first network device within a preset time.
In an embodiment, the preset time may be a time counted from the reception of multiple first sub data frames sent by the UPF by the second network device, in this embodiment, the second network device starts to count the time counted from the reception of the multiple first sub data frames sent by the UPF, sends multiple second sub data frames sent by the terminal device and received within the preset time to the UPF, and stops sending the second sub data frames to the UPF when the preset time is reached.
In an embodiment, the preset time may be set to be a time counted from when the second network device receives a first second sub data frame sent by the terminal device, in this embodiment, the second network device starts to count from when the first second sub data frame sent by the terminal device is received, sends a plurality of second sub data frames sent by the terminal device and received within the preset time to the UPF, and stops sending the second sub data frames to the UPF when the preset time is reached.
In one embodiment, the second network device may be preconfigured with a preset time, and in another embodiment, the second network device may receive the preset time from other network devices, which is not limited herein.
309. And the first network equipment generates a second data frame according to the plurality of second sub data frames, wherein the second data frame comprises the plurality of second data messages.
In this embodiment of the application, optionally, after the second network device sends the plurality of second sub data frames to the UPF, the UPF receives the plurality of second sub data frames, and in an embodiment, the first network device may receive the plurality of second sub data frames sent by the plurality of second network devices. After receiving a plurality of second sub data frames, the first network device may generate a second data frame according to the plurality of second sub data frames, where the second data frame includes the plurality of second data packets.
In one embodiment, the second data frame comprises: and the data frame header, the plurality of second data messages and the fourth frame check sequence.
In this embodiment, referring to fig. 6, fig. 6 is a schematic frame structure diagram of a second data frame in this embodiment, as shown in fig. 6, the second data frame may include a 14-byte ethernet frame header, a 2-byte EtherCAT header, a plurality of the second data messages, and a 4-byte fourth frame check sequence FCS.
In an embodiment, after receiving the plurality of second sub-data frames, the UPF may parse a second data packet included in each of the plurality of second sub-data frames, and after obtaining the plurality of second data packets, the UPF may multiplex a 14-byte ethernet frame header and a 2-byte EtherCAT header in the first data frame as the ethernet frame header and the EtherCAT header of the second data frame, and set the second data packet included in each of the plurality of second sub-data frames respectively after the ethernet frame header and the EtherCAT header. The UPF may calculate the fourth frame check sequence using a Cyclic Redundancy Check (CRC) algorithm from the destination address of the ethernet frame header to the end of the last second data packet. Then, the UPF may encapsulate the ethernet frame header, the EtherCAT header, the plurality of second data messages, and the fourth frame check sequence to generate the second data frame.
It should be noted that, in some scenarios, the UPF may not multiplex the ethernet frame header of 14 bytes in the second sub-data frame, but use the source address in the ethernet frame header of the second sub-data frame as the destination address of the second data frame, and use the destination address in the ethernet frame header of the second sub-data frame as the source address of the second data frame, which is equivalent to that the UPF exchanges the source address and the destination address in the ethernet frame header of the second sub-data frame.
In an embodiment, the UPF may receive a plurality of second sub data frames sent by the second network device within a preset time.
In one embodiment, the preset time may be a maximum waiting time from when the UPF sends the plurality of first sub data frames to the second network device until the UPF generates the second data frame according to the plurality of second sub data frames.
In this embodiment, the UPF starts timing from sending a plurality of first sub data frames to the second network device, generates a second data frame from the second sub data frames received within a preset time, and sends the second data frame to the external ethernet network when the preset time is reached.
In an embodiment, the preset time may be a maximum waiting time from the time when the UPF receives the second sub data frame sent by the first second network device until the UPF generates the second data frame according to the plurality of second sub data frames.
In this embodiment, the UPF starts timing from the received second sub data frame sent by the first second network device, generates a second data frame from the second sub data frame received within the preset time, and sends the second data frame to the external ethernet when the preset time is reached, it should be noted that when the preset time is reached and a part of the second sub data frame is not received, the UPF determines that the second data frame that is not received loses packet.
It should be noted that the preset time may be a maximum waiting time from any time node to the time when the UPF generates the second data frame according to the plurality of second sub data frames, and may be selected according to a requirement in an actual application, which is not limited herein.
In an embodiment, the UPF may pre-configure itself with a preset time, or may receive the preset time from another network device (e.g., SMF), which is not limited herein.
In an embodiment, the first data frame includes a plurality of first data packets, and the plurality of first data packets are arranged in the first data frame according to a preset sequence. Correspondingly, the second data frame includes a plurality of second data messages, and the plurality of second data messages are arranged in the second data frame according to a preset sequence.
It should be noted that the preset order may be a setting order of slave station addresses in data messages, for example, the first data frame includes a first data message a, a first data message B, a first data message C, and a first data message D, where the first data message a includes the slave station address a, the first data message B includes the slave station address B, the first data message C includes the slave station address C, and the first data message D includes the slave station address D, and is set according to the order of the first data message a, the first data message B, the first data message C, and the first data message D, that is, the preset order is from the slave station address a, the slave station address B, the slave station address C to the slave station address D. The terminal device receiving the first data message a generates a second data message a ', the terminal device receiving the first data message B generates a second data message B', the terminal device receiving the first data message C generates a second data message C ', and the terminal device receiving the first data message D generates a second data message D'. If the UPF receives the second data message a ', the second data message B', the second data message C ', and the second data message D', since the second data message a 'includes the slave station address a, the second data message B' includes the slave station address B, the second data message C 'includes the slave station address C, and the second data message D' includes the slave station address D, the UPF may set the plurality of second data messages in the second data frame in the order of the second data message a ', the second data message B', the second data message C ', and the second data message D'.
310. The first network device transmits the second data frame.
In this embodiment of the application, optionally, after generating the second data frame according to the plurality of second sub-data frames, the first network device may send the second data frame to an ethernet, so as to implement adaptation of a wireless network and an EtherCAT protocol.
In this embodiment, the UPF receives a first data frame, where the first data frame includes a plurality of first data packets. And the UPF generates a plurality of first sub data frames according to the first data frame, wherein each first sub data frame in the plurality of first sub data frames comprises a first data message. And the UPF acquires the service quality indication information and the tunnel identifier corresponding to each first sub data frame. The UPF sends the plurality of first sub-data frames and the plurality of service quality indication information corresponding to the plurality of first sub-data frames to a second network device in a plurality of corresponding tunnels according to a plurality of tunnel identifiers corresponding to the plurality of first sub-data frames, wherein one tunnel identifier corresponds to one tunnel, and through the above manner, the cellular network can analyze the data frames comprising a plurality of data messages, and further the cellular network can identify and process the data frames of the wired protocol.
Optionally, the second network device may send the plurality of first sub-data frames to a plurality of terminal devices according to the plurality of QoS indication information, where one first sub-data frame is sent to one terminal device; the terminal equipment generates a second sub data frame according to the first sub data frame, wherein the second sub data frame comprises a second data message; the terminal equipment sends the second sub data frame to second network equipment; the second network equipment sends the plurality of second sub data frames to the UPF, so that the UPF generates a second data frame according to the plurality of second sub data frames, wherein the second data frame comprises a plurality of second data messages; the UPF generates a second data frame according to the plurality of second sub data frames, wherein the second data frame comprises the plurality of second data messages; and the UPF sends the second data frame to the Ethernet. After receiving a data frame comprising a plurality of data messages, the UPF analyzes the data frame and generates a plurality of sub-data frames, determines QoS indication information and tunnel identification corresponding to each sub-data frame, and sends the QoS indication information and the data frame to the base station through corresponding tunnels, the base station can send the corresponding sub-data frame to corresponding terminal equipment according to the QoS indication information, in the process of downlink transmission, the UPF generates a plurality of first sub-data frames through the first data frame, so that the second network equipment can send each first sub-data frame to the corresponding terminal equipment, in the process of uplink transmission, the UPF can receive a plurality of second sub-data frames sent by the plurality of terminal equipment and forwarded by the second network equipment, generates a second data frame according to the plurality of second sub-data frames, and sends the second data frame to the Ethernet, in the communication scene of the EtherCAT protocol, the transmission delay is greatly reduced, the adaptation of the wireless network and the EtherCAT is realized.
In another embodiment of the present invention, please refer to fig. 7, a data transmission method according to an embodiment of the present invention may include:
701. the first network equipment receives a first data frame, wherein the first data frame comprises a plurality of first data messages.
The detailed description of step 701 may refer to step 301 in fig. 3, and is not repeated here.
702. And the first network equipment acquires QoS indication information corresponding to the first data frame.
Different from the embodiment corresponding to fig. 3, in the embodiment of the present application, the UPF does not generate a plurality of first sub data frames according to the first data frame, but directly obtains one piece of QoS indication information corresponding to the first data frame.
In one embodiment, the SMF may generate QoS indication information corresponding to the first data frame and transmit the QoS indication information corresponding to the first data frame to the first network device.
In one embodiment, the first network device may generate QoS indication information corresponding to the first data frame.
In another embodiment, the first network device may further obtain a QoS indication information and a tunnel identifier corresponding to each first data packet, in this embodiment, the UPF obtains a QoS indication information and a tunnel identifier corresponding to each first data packet, and since each first data packet includes a slave station address, it is equivalent to the UPF determining a QoS indication information and a tunnel identifier corresponding to each slave station address in the plurality of first data packets.
703. And the first network equipment sends the QoS indication information and the first data frame to second network equipment, so that the second network equipment sends the first data frame to a plurality of terminal equipment through multicast or broadcast according to the QoS indication information.
In this embodiment of the application, the UPF may send the QoS indication information and the first data frame to the second network device through a preconfigured interface, where the preconfigured interface may instruct the base station to transmit data on a broadcast or multicast channel, and after receiving the first data frame through the preconfigured interface, the second network device may send the first data frame on the broadcast or multicast channel.
In this embodiment of the present application, the second network device receives the QoS indication information and the first data frame sent by the UPF, where the first data frame includes a plurality of first data packets.
It should be noted that, in another embodiment, if the first network device obtains one QoS indication information and one tunnel identifier corresponding to each first data packet in the first data frame, the first network device may send, according to a plurality of tunnel identifiers corresponding to a plurality of first data packets, the plurality of first data frames and a plurality of pieces of service quality indication information corresponding to the plurality of first data frames to the second network device in the corresponding plurality of tunnels, where the one tunnel identifier corresponds to one tunnel.
In this embodiment of the present application, a second network device receives, at a plurality of corresponding tunnels, a plurality of first data frames sent by a first network device according to a plurality of tunnel identifiers corresponding to a plurality of first data packets and a plurality of pieces of qos indication information corresponding to the plurality of first data frames, where one tunnel identifier of the plurality of tunnel identifiers corresponds to one tunnel, and the first data frame includes the plurality of first data packets.
704. And the second network equipment sends the first data frame to terminal equipment through multicast or broadcast according to the QoS indication information, wherein one first data frame is sent to one terminal equipment.
In this embodiment, after receiving the first data frame, the second network device may send the first data frame to the terminal device on a broadcast or multicast channel according to the QoS indication information.
In this embodiment, compared with the embodiment corresponding to fig. 3, the UPF does not generate a plurality of first sub data frames according to the first data frame, and the second network device does not know the slave station address included in the first data frame, so that after receiving the first data frame, the second network device needs to send the first data frame to the terminal device through a broadcast or multicast channel.
It should be noted that, in a scenario where the second network device is in a CU-DU architecture, the CU node may receive the one piece of QoS indication information and the first data frame sent by the UPF, and the CU node may send the first data frame and the QoS indication information to multiple DU nodes, and further, each DU node may send the first data frame to the overlaid terminal device in a multicast or broadcast manner.
It should be noted that, in a scenario where the second network device is in a CU-CP/CU-UP/DU architecture, the CU-UP may receive the one QoS indication information and the first data frame sent by the UPF, and the CU-UP may send the first data frame and the QoS indication information to a plurality of DU nodes, and further, each DU node may send the first data frame to an overlay terminal device in a multicast or broadcast manner.
In the embodiment of the application, a terminal device receives a first data frame sent by a second network device, where the first data frame includes a plurality of first data packets.
It should be noted that, in another embodiment, if the first network device obtains one QoS indication information and one tunnel identifier corresponding to each first data packet in the first data frame, the second network device may send, by unicast, the first data frame to the plurality of terminal devices corresponding to the plurality of terminal identifiers through the priority indicated by the QoS indication information, because the tunnel identifier may indicate the terminal identifier and the second network device knows the correspondence between the first data frame and the terminal identifier after the corresponding plurality of tunnels receive the plurality of first data frames sent by the first network device according to the plurality of tunnel identifiers corresponding to the plurality of first data packets and the plurality of service quality indication information corresponding to the plurality of first data frames. That is, the same data frame is sent to a plurality of terminal devices corresponding to a plurality of terminal identifiers.
705. And the terminal equipment generates a first sub data frame according to the first data frame, wherein the first sub data frame comprises the first data message.
In this embodiment of the present application, optionally, after receiving a first data frame sent by a second network device through a multicast or broadcast channel, a terminal device needs to analyze the first data frame, and determine that a first data packet containing an address of its slave station is a first data packet to be processed, where in an embodiment, the first data frame includes: the data frame header, the plurality of first data messages and the first frame check sequence; the first sub data frame includes: the data frame header, the first data packet and the second frame check sequence.
In this embodiment, referring to fig. 4, as shown in fig. 4, the first sub data frame may include a 14-byte ethernet frame header, a 2-byte EtherCAT header, a first data packet, and a 4-byte frame check sequence FCS.
In an embodiment, after receiving the first data frame, the terminal device may parse the first data frame, and determine that the first data packet including the slave station address of the terminal device is the first data packet to be processed. The terminal device may multiplex the ethernet frame header of 14 bytes and the EtherCAT header of 2 bytes in the first data frame as the ethernet frame header and the EtherCAT header of the first sub-data frame, respectively, and set the first data packet to be processed behind the ethernet frame header and the EtherCAT header of the first sub-data frame, respectively. The terminal device may calculate the second frame check sequence using a CRC algorithm from the destination address of the ethernet frame header of the first sub data frame to the end of the first data packet. And then the terminal device can package the ethernet frame header, the EtherCAT header, the first data packet to be processed and the second frame check sequence to generate a first sub data frame.
706. And the terminal equipment generates a second sub data frame according to the first sub data frame, wherein the second sub data frame comprises a second data message.
The detailed description of step 706 can refer to step 306 in fig. 3, and is not repeated here.
707. And the terminal equipment sends the second sub data frame to the second network equipment.
The detailed description of step 707 may refer to step 307 in fig. 3, and is not repeated here.
708. And the second network equipment sends the plurality of second sub data frames to the first network equipment, so that the first network equipment generates a second data frame according to the plurality of second sub data frames, wherein the second data frame comprises a plurality of second data messages.
The detailed description of step 708 can refer to step 308 in fig. 3, and is not repeated here.
709. And the first network equipment generates a second data frame according to the plurality of second sub data frames, wherein the second data frame comprises the plurality of second data messages.
The detailed description of step 709 can refer to step 309 in fig. 3, and is not repeated here.
710. The first network device transmits the second data frame.
In this embodiment of the application, optionally, after generating the second data frame according to the plurality of second sub-data frames, the first network device may send the second data frame to an ethernet, so as to implement adaptation of a wireless network and an EtherCAT protocol.
In this embodiment, a UPF receives a first data frame, where the first data frame includes a plurality of first data packets; the UPF acquires QoS indication information corresponding to the first data frame; and the UPF sends the QoS indication information and the first data frame to a second network device, so that the second network device sends the first data frame to a plurality of terminal devices through multicast or broadcast according to the QoS indication information. By the method, the cellular network can analyze the data frames comprising the plurality of data messages, and then the cellular network can identify and process the data frames of the wired protocol.
Optionally, the second network device may send the first data frame to a plurality of terminal devices by multicast or broadcast according to the QoS indication information, where one first data frame is sent to one terminal device; the terminal equipment generates a first sub data frame according to the first data frame, wherein the first sub data frame comprises the first data message; the terminal equipment generates a second sub data frame according to the first sub data frame, wherein the second sub data frame comprises a second data message; the terminal equipment sends the second sub data frame to the second network equipment; the second network equipment sends the plurality of second sub data frames to the UPF; the UPF generates a second data frame according to the plurality of second sub data frames, wherein the second data frame comprises the plurality of second data messages; and the UPF sends the second data frame, on one hand, the second network equipment sends the first data frame to the corresponding terminal equipment UE on a multicast or broadcast channel, on the other hand, the first network equipment can receive a plurality of second sub data frames sent by the plurality of terminal equipment, generate the second data frame according to the plurality of second sub data frames and send the second data frame to the Ethernet, so that in the communication scene of the EtherCAT protocol, the transmission delay is greatly reduced, and the adaptation of the wireless network and the EtherCAT is realized. Different from the embodiment corresponding to fig. 3, in the embodiment, because the UPF does not generate the first data frame into the plurality of first sub-data frames in the embodiment, the generation overhead of an additional ethernet frame header, an EtherCAT header, and a frame check sequence is saved, and the second network device sends the data frame to the terminal device in a multicast or broadcast manner, which reduces the signaling overhead of unicast transmission in the embodiment corresponding to fig. 3.
In another embodiment of the present invention, please refer to fig. 8, a data transmission method according to an embodiment of the present invention may include:
801. the first network equipment receives a first data frame, wherein the first data frame comprises a plurality of first data messages.
The detailed description of step 801 may refer to step 701 in fig. 7, and is not repeated here.
802. And the first network equipment acquires QoS indication information corresponding to the first data frame.
The detailed description of step 802 may refer to step 702 in fig. 7, and is not repeated here.
803. And the first network equipment sends the QoS indication information and the first data frame to second network equipment, so that the second network equipment sends the first data frame to terminal equipment through multicast or broadcast according to the QoS indication information.
The detailed description of step 803 may refer to step 703 in fig. 7, which is not described herein again.
804. And the second network equipment sends the first data frame to terminal equipment through multicast or broadcast according to the QoS indication information, wherein one first data frame is sent to one terminal equipment.
The detailed description of step 804 can refer to step 704 in fig. 7, and is not repeated here.
805. And the terminal equipment generates a third data frame according to the first data frame, wherein the third data frame comprises a second data message and at least one first data message.
The difference between the embodiment of the present application and the embodiment corresponding to fig. 7 is that after receiving a first data frame, a terminal device does not generate a first sub data frame according to the first data frame, but directly generates a third data frame, where the third data frame includes a second data message and at least one first data message. Specifically, after receiving the first data frame, the terminal device may analyze the first data frame, determine that the first data packet including the slave station address of the terminal device is the first data packet to be processed, and then the terminal device may directly process the analyzed first data packet and obtain the processed second data packet. And then the terminal equipment replaces the first data message containing the slave station address in the first data frame with the second data message, and does not process the first data message not containing the slave station address. And then calculating a fifth frame check sequence by using a Cyclic Redundancy Check (CRC) algorithm from the destination address of the Ethernet frame header to the final end of the second data message, and setting the fifth frame check sequence at the tail part of the third data frame.
In one embodiment, the third data frame includes: the data frame header, at least one of the first data packet, one of the second data packets, and the fifth frame check sequence, it should be noted that the third data frame is compared with the first data frame, and only one of the first data packets in the first data frame is replaced with the second data packet.
In this embodiment of the application, referring to fig. 9, fig. 9 is a schematic diagram of a frame structure of a third data frame in this embodiment of the application, as shown in fig. 9, in a scenario of EtherCAT, the data frame header may include an ethernet frame header and an EtherCAT header, and specifically, the third data frame may include a 14-byte ethernet frame header, a 2-byte EtherCAT header, at least one of the first data packet, one of the second data packet, and a 4-byte fifth frame check sequence FCS. It should be noted that the frame bit of the third data packet shown in fig. 9 is only one example, and in practical application, the terminal device may select the frame bit belonging to itself to process, so as to obtain the third data packet with the corresponding frame bit.
806. And the terminal equipment sends the third data frame to second network equipment.
In this embodiment of the application, optionally, after the terminal device generates the third data frame according to the first data frame, the terminal device needs to send the third data frame to the second network device.
And the second network equipment receives a plurality of third data frames sent by a plurality of terminal equipment.
807. The second network device transmits the plurality of third data frames to the first network device.
In this embodiment of the application, optionally, after the terminal device sends the third data frame to the second network device, the second network device receives a plurality of third data frames sent by a plurality of terminal devices, and sends the plurality of third data frames to the UPF.
808. And the first network equipment generates a second data frame according to the plurality of third data frames, wherein the second data frame comprises the plurality of second data messages.
In this embodiment, optionally, the UPF receives a plurality of third data frames sent by the second network device, where each of the plurality of third data frames is generated by the terminal device according to the first data frame and sent to the second network device, and after each of the plurality of third data frames includes one second data packet and at least one first data packet, may generate a second data frame according to the plurality of third data frames.
In an embodiment, referring to fig. 10, fig. 10 is a schematic diagram of a generation process of a second data frame, as shown in fig. 10, after receiving a plurality of third data frames, the UPF may parse the plurality of third data frames and obtain a second data message obtained after each third data message is processed by the terminal device. Then, the UPF may multiplex the ethernet frame header of 14 bytes and the EtherCAT header of 2 bytes in the third data frame as the ethernet frame header and the EtherCAT header of the second data frame, and set the plurality of second data messages respectively after the ethernet frame header and the EtherCAT header. The UPF may calculate the fourth frame check sequence using a Cyclic Redundancy Check (CRC) algorithm from the destination address of the ethernet frame header to the last end of the last second data packet. The UPF may then encapsulate the ethernet frame header, the EtherCAT header, the plurality of second data messages, and the fourth frame check sequence to generate a second data frame.
It should be noted that, in some scenarios, the UPF may also not multiplex the 14-byte ethernet frame header in the third data frame, but use the source address in the ethernet frame header of the third data frame as the destination address of the second data frame, and use the destination address in the ethernet frame header of the third data frame as the source address of the second data frame.
It should be noted that the first data frame includes a plurality of first data packets, and the plurality of first data packets are arranged in the first data frame according to a preset sequence; correspondingly, the second data frame includes a plurality of second data messages, and the plurality of second data messages are arranged in the second data frame according to the preset sequence.
809. The first network device transmits the second data frame.
In this embodiment of the application, optionally, after generating the second data frame according to the plurality of third data frames, the first network device may send the second data frame to the ethernet, so as to implement adaptation of the wireless network and the EtherCAT protocol.
In this embodiment, a UPF receives a first data frame, where the first data frame includes a plurality of first data packets; the UPF acquires QoS indication information corresponding to the first data frame; the UPF sends the QoS indication information and the first data frame to a second network device, so that the second network device sends the first data frame to a terminal device through multicast or broadcast according to the QoS indication information.
Optionally, the second network device may send the first data frame to the terminal device by multicast or broadcast according to the QoS indication information, where one first data frame is sent to one terminal device; the terminal equipment generates a third data frame according to the first data frame, wherein the third data frame comprises a second data message and at least one first data message; the terminal equipment sends the third data frame to second network equipment; the second network equipment sends a plurality of third data frames to the UPF; the UPF generates a second data frame according to the third data frames, wherein the second data frame comprises the second data messages; and the UPF sends the second data frame. On one hand, the second network device sends the first data frame to the corresponding terminal device on the multicast or broadcast channel, and particularly in the communication scene of the EtherCAT protocol, the transmission delay is greatly reduced. Different from the embodiment corresponding to fig. 3, because the UPF in this embodiment does not generate the first data frame into multiple first sub-data frames, the generation overhead of an additional ethernet frame header, an EtherCAT header, and a frame check sequence is further saved, and different from the embodiment corresponding to fig. 7, because the terminal device in this embodiment does not need to unpack the first data frame to generate the first sub-data frame, it only needs to process the data packet belonging to itself in the first data frame according to the processing logic of the EtherCAT protocol, and the applicability of the scheme is improved.
In one example of an application scenario architecture, a data transmission system includes a terminal device 101 and a Radio Access Network (RAN) device 102; in one example, the access network device 102 is the second network device in the following embodiments. Wherein, the terminal device 101 and the access network device 102 can be wirelessly connected. Under the application scenario architecture, the access network device 102 has the function of the core network device 103 shown in fig. 1, and the access network device 102 may be configured to manage the terminal device 101 and provide a gateway for communicating with an external network.
In another embodiment of the present invention, please refer to fig. 11, a data transmission method according to an embodiment of the present invention may include:
1101. the second network equipment receives the first data frame, and the first data frame comprises a plurality of first data messages;
taking the second network device as an example of the base station, in this embodiment of the present application, the base station receives the first data frame, where the first data frame includes a plurality of first data packets. Alternatively, the base station may receive the first data frame from the ethernet.
1102. And the second network equipment generates a plurality of first sub data frames according to the first data frame, wherein each first sub data frame comprises one first data message.
As to how the base station generates the plurality of first sub data frames according to the first data frame, reference may be made to step 302 in the embodiment corresponding to fig. 3, and the base station may perform the action performed by the UPF in step 302, which is not described herein again.
1103. And the second network equipment acquires a piece of QoS indication information and a terminal identification corresponding to each first sub data frame.
In this embodiment, the first data frame includes a plurality of slave station addresses, where the slave station addresses are slave station addresses in an EtherCAT scenario, and in a scenario of a cellular network, the second network device cannot send the first sub data frame to the corresponding terminal device according to the slave station addresses, so that the second network device needs to obtain addresses (terminal identifiers) of the slave station addresses in the scenario of the cellular network, and the optional second network device may obtain a terminal identifier of QoS indication information corresponding to each first sub data frame according to a mapping table, where the mapping table includes correspondence between the plurality of first sub data frames, the plurality of QoS indication information, and the plurality of terminal identifiers, and each first sub data frame in the plurality of first sub data frames corresponds to one QoS indication information and one terminal identifier. That is, the second network device may maintain a mapping table in advance, where the mapping table includes a correspondence between the slave station address of the EtherCAT frame and the terminal identifier in the cellular network.
Optionally, the terminal identity may be a C-RNTI.
Optionally, the second network device may receive a plurality of fourth data frames sent by the plurality of terminal devices, where each of the fourth data frames includes a slave station address; generating a mapping table, wherein the mapping table comprises a corresponding relation among a plurality of slave station addresses, a plurality of QoS indication information and a plurality of terminal identifications, each slave station address in the plurality of slave station addresses corresponds to one QoS indication information and one terminal identification, and each slave station address in the plurality of slave station addresses belongs to one first sub-data frame.
In the scenario where the EtherCAT frame includes a VLAN tag, in this embodiment, the second network device may receive a data packet from the ethernet, wherein the destination address included in the data packet is a multicast Media Access Control (MAC) address, the source address is a MAC address of the sending node, the data packet further includes a plurality of VLAN tags, each VLAN tag corresponds to a terminal device, the second network device sends the data packet to the plurality of terminal devices, after each terminal device receives the data packet, whether the data packet is intended for itself is judged according to the source address of the data packet and the VLAN tag, and if the destination address is the address of the slave station of the terminal equipment, feeding back a fourth data frame, wherein the destination address in the fourth data frame is the source address of the received data packet, and the source address in the feedback data frame is the address of the slave station of the terminal equipment. The second network device may establish a correspondence relationship between a plurality of slave station addresses, a plurality of QoS indication information, and a plurality of terminal identifiers according to the received plurality of fourth data frames, where the terminal identifier is a terminal identifier of a terminal device corresponding to the slave station address.
1104. And the second network equipment sends the plurality of first sub data frames to a plurality of terminal equipment corresponding to a plurality of terminal identifications according to a plurality of QoS indication information, wherein one first sub data frame is sent to one terminal equipment.
In this embodiment, each of the plurality of first sub-data frames includes a slave station address, and the base station may obtain a terminal identifier corresponding to each slave station address.
After determining a piece of QoS indication information corresponding to each of the first sub data frames, the base station may send the plurality of first sub data frames to a plurality of terminal devices corresponding to a plurality of terminal identifiers in a unicast manner according to priorities indicated by the plurality of QoS indication information.
In this embodiment, a terminal device receives a first sub data frame sent by a second network device, where the first sub data frame includes a first data packet, and the first data packet belongs to a first data frame, and the first data frame includes a plurality of first data packets.
It should be noted that, in a scenario where the second network device is a CU-DU architecture, the second network device may include a CU node and a plurality of DU nodes, where each DU may cover a different terminal device, in an embodiment, the CU node may receive the first data frame and generate a plurality of first sub data frames according to the first data frame, then the CU node obtains one piece of QoS indication information corresponding to each first sub data frame, then the CU node may determine a second tunnel identifier according to the QoS indication information corresponding to each first sub data frame, where the second tunnel identifier is a tunnel identifier for data transmission between the CU node and the DU nodes, and the second tunnel identifier has a mapping relationship with the QoS indication information, and since the terminal device may be covered by a different DU node, the CU node may send each first sub data frame and the corresponding QoS indication information to the DU node covered with the corresponding terminal device through a tunnel indicated by the second tunnel identifier, further, the DU node may send the first sub data frame to the corresponding terminal device according to the correspondence between the second tunnel identifier and the terminal identifier.
It should be noted that the QoS indication information may be directly indicated by the second tunnel identifier, and the CU node may only send each first sub-data frame to the DU node covered with the corresponding terminal device through the tunnel indicated by the second tunnel identifier without sending the corresponding QoS indication information to the DU node, and further, the DU node may send the first sub-data frame to the corresponding terminal device according to the correspondence between the second tunnel identifier and the terminal identifier.
In a scenario where the second network device is a CU-CP/CU-UP/DU architecture, the second network device may include a CU-CP/CU-UP node and a plurality of DU nodes, where each DU may cover a different terminal device, in an embodiment, the CU-UP may receive the first data frame and generate a plurality of first sub-data frames according to the first data frame, and then the CU-UP obtains one piece of QoS indication information corresponding to each first sub-data frame, and then the CU-UP may determine a second tunnel identifier according to the QoS indication information corresponding to each first sub-data frame, where the second tunnel identifier is a tunnel identifier for data transmission between the CU-UP and the DU nodes, and the second tunnel identifier has a mapping relationship with the QoS indication information, and since the terminal device may be covered by a different DU node, the CU-UP may send each first sub-data frame and the corresponding QoS indication information to the DU node covered with the corresponding terminal device through the tunnel indicated by the second tunnel identifier, and further, the DU node may send the first sub-data frame to the corresponding terminal device according to the correspondence between the second tunnel identifier and the terminal identifier.
1105. And the terminal equipment generates a second sub data frame according to the first sub data frame, wherein the second sub data frame comprises a second data message.
The detailed description of step 1105 may refer to step 306 in the embodiment corresponding to fig. 3, and is not described herein again.
1106. And the terminal equipment sends the second sub data frame to second network equipment.
The detailed description of step 1106 can refer to step 307 in the corresponding embodiment of fig. 3, and is not repeated here.
In one embodiment, the second sub data frame includes: and the data frame header, the second data message and the third frame check sequence.
1107. And the second network equipment generates a second data frame according to the plurality of second sub data frames, wherein the second data frame comprises the plurality of second data messages.
In this embodiment, optionally, the base station receives a plurality of second sub data frames sent by the terminal device, and generates a second data frame according to the plurality of second sub data frames, where the second data frame includes the plurality of second data packets.
In one embodiment, the second data frame comprises: and the data frame header, the plurality of second data messages and the fourth frame check sequence.
In one embodiment, the base station may receive a plurality of second data frames sent by the terminal device within a preset time.
In one embodiment, the preset time may be a maximum waiting time from the transmission of the plurality of first sub data frames from the base station to the terminal device until the base station generates the second data frame according to the plurality of second sub data frames.
In an embodiment, the preset time may be a maximum waiting time from the second sub data frame received by the base station and sent by the first terminal device until the base station generates the second data frame according to the plurality of second sub data frames.
It should be noted that the preset time may be a maximum waiting time from any time node until the base station generates the second data frame according to the plurality of second sub data frames, and may be selected according to a requirement in an actual application, which is not limited herein.
In one embodiment, the base station may pre-configure itself for a preset time, which is not limited herein.
In an embodiment, the first data frame includes a plurality of first data packets, and the plurality of first data packets are arranged in the first data frame according to a preset sequence.
Correspondingly, the second data frame includes a plurality of second data messages, and the plurality of second data messages are arranged in the second data frame according to the preset sequence.
1108. The second network device transmits the second data frame.
In this embodiment of the application, optionally, after the second network device generates the second data frame according to the plurality of second sub-data frames, the second network device may send the second data frame to the ethernet, so as to implement adaptation of the wireless network and the EtherCAT protocol.
In this embodiment, a second network device receives a first data frame, where the first data frame includes a plurality of first data packets, and the second network device generates a plurality of first sub data frames according to the first data frame, for example, using the second network device as a base station, where each of the plurality of first sub data frames includes one first data packet; the second network equipment acquires a QoS indication message and a terminal identifier corresponding to each first sub data frame; the second network device sends the plurality of first sub data frames to a plurality of terminal devices corresponding to a plurality of terminal identifications according to a plurality of QoS indication information, wherein one first sub data frame is sent to one terminal device.
Optionally, the terminal device may generate a second sub data frame according to the first sub data frame, where the second sub data frame includes a second data packet; the terminal equipment sends the second sub data frame to second network equipment; and the second network equipment generates a second data frame according to the plurality of second sub data frames, wherein the second data frame comprises the plurality of second data messages, and the second network equipment sends the second data frame. In the downlink transmission process, the second network device generates a plurality of first sub data frames by the first data frames and sends each first sub data frame to the corresponding terminal device, in the uplink transmission process, the second network device can receive a plurality of second sub data frames sent by the plurality of terminal devices and forwarded by the second network device, generate a second data frame according to the plurality of second sub data frames and send the second data frame to the Ethernet, in the communication scene of the EtherCAT protocol, the transmission delay is greatly reduced, and the adaptation of the wireless network and the EtherCAT is realized.
In another embodiment of the present invention, please refer to fig. 12, a data transmission method according to an embodiment of the present invention may include:
1201. the second network equipment receives a first data frame, wherein the first data frame comprises a plurality of first data messages.
The detailed description of step 1201 may refer to step 1101 in the embodiment corresponding to fig. 11, and is not repeated here.
1202. And the second network equipment acquires QoS indication information corresponding to the first data frame.
Different from the embodiment corresponding to fig. 11, in the embodiment of the present application, the base station does not generate a plurality of first sub data frames according to the first data frame, but directly obtains one piece of QoS indication information corresponding to the first data frame.
1203. And the second network equipment sends the first data frame to terminal equipment through multicast or broadcast according to the QoS indication information, wherein one first data frame is sent to one terminal equipment.
In the embodiment of the application, a terminal device receives a first data frame sent by a second network device, where the first data frame includes a plurality of first data packets.
In another embodiment, the second network device may obtain one piece of QoS indication information and one piece of terminal identification corresponding to each first data packet in the plurality of first data packets.
After determining a piece of QoS indication information and a piece of terminal identifier corresponding to each of the first sub-data frames, the base station may send a plurality of the first data frames to a plurality of terminal devices corresponding to a plurality of terminal identifiers in a unicast manner according to priorities indicated by a plurality of the QoS indication information. That is, the same data frame (first data frame) is sent to a plurality of terminal devices corresponding to a plurality of terminal identifications.
In this embodiment, the terminal device may receive a first data frame sent by a second network device, where the first data frame includes a plurality of first data packets.
It should be noted that, in a scenario where the second network device is in a CU-DU architecture, the CU node receives the first data frame, acquires one piece of QoS indication information corresponding to the first data frame, and then the CU node may send the first data frame and the QoS indication information to the plurality of DU nodes, and further, each DU node may send the first data frame to the covered terminal device in a multicast or broadcast manner.
In a scenario that the second network device is of a CU-CP/CU-UP/DU architecture, the CU-UP may receive a first data frame, then the CU-UP obtains one piece of QoS indication information corresponding to the first data frame, then the CU-UP may send the first data frame and the QoS indication information to a plurality of DU nodes, and then each DU node may send the first data frame to an overlay terminal device in a multicast or broadcast manner.
1204. And the terminal equipment generates a first sub data frame according to the first data frame, wherein the first sub data frame comprises the first data message.
The detailed description of step 1204 may refer to step 705 in the corresponding embodiment of fig. 7, and is not repeated here.
1205. And the terminal equipment generates a second sub data frame according to the first sub data frame, wherein the second sub data frame comprises a second data message.
The detailed description of step 1205 can refer to step 706 in the embodiment corresponding to fig. 7, and is not repeated here.
1206. And the terminal equipment sends the second sub data frame to the second network equipment.
The detailed description of step 1206 can refer to step 707 in the corresponding embodiment of fig. 7, and is not repeated here.
1207. And the second network equipment generates a second data frame according to the plurality of second sub data frames, wherein the second data frame comprises the plurality of second data messages.
The detailed description of step 1207 may refer to step 1107 in the embodiment corresponding to fig. 11, and is not described herein again.
1208. The second network device transmits the second data frame.
In this embodiment of the application, optionally, after the second network device generates the second data frame according to the plurality of second sub-data frames, the second network device may send the second data frame to the ethernet, so as to implement adaptation of the wireless network and the EtherCAT protocol.
In the embodiment of the application, a second network device receives a first data frame, where the first data frame includes a plurality of first data packets; the second network equipment acquires QoS indication information corresponding to the first data frame; and the second network equipment sends the first data frame to the terminal equipment through multicast or broadcast according to the QoS indication information, wherein one first data frame is sent to one terminal equipment, and through the mode, the cellular network can analyze the data frames comprising a plurality of data messages, and further the cellular network can identify and process the data frames of the wired protocol.
Optionally, the terminal device may generate a first sub data frame according to the first data frame, where the first sub data frame includes one first data packet; the terminal equipment generates a second sub data frame according to the first sub data frame, wherein the second sub data frame comprises a second data message; the terminal equipment sends the second sub data frame to the second network equipment; the second network device generates a second data frame according to the plurality of second sub data frames, wherein the second data frame comprises the plurality of second data messages; the second network device transmits the second data frame. On one hand, the second network device sends the first data frame to the corresponding terminal device UE through a multicast or broadcast channel, and on the other hand, the second network device may receive a plurality of second sub data frames sent by the plurality of terminal devices, generate a second data frame according to the plurality of second sub data frames, and send the second data frame to the ethernet. Different from the embodiment corresponding to fig. 11, in this embodiment, the second network device does not generate the first data frame into the plurality of first sub-data frames, so that the generation overhead of an additional ethernet frame header, an EtherCAT header, and a frame check sequence is saved, and the second network device sends the data frame to the terminal device in a multicast or broadcast manner, so that the signaling overhead of unicast transmission in the embodiment corresponding to fig. 11 is reduced.
In another embodiment of the present invention, please refer to fig. 13, a data transmission method according to an embodiment of the present invention may include:
1301. the second network equipment receives a first data frame, wherein the first data frame comprises a plurality of first data messages.
The step 1301 may refer to step 1201 in the embodiment corresponding to fig. 12, and details thereof are not repeated herein.
1302. And the second network equipment acquires QoS indication information corresponding to the first data frame.
The detailed description of step 1302 may refer to step 1202 in the embodiment corresponding to fig. 12, and is not repeated here.
1303. And the second network equipment sends the first data frame to the terminal equipment through multicast or broadcast according to the QoS indication information, wherein one first data frame is sent to one terminal equipment.
The detailed description of step 1303 may refer to step 1203 in the embodiment corresponding to fig. 12, and is not repeated here.
1304. And the terminal equipment generates a third data frame according to the first data frame, wherein the third data frame comprises a second data message and at least one first data message.
The detailed description of step 1304 may refer to step 805 in the embodiment corresponding to fig. 8, and is not repeated herein.
1305. And the terminal equipment sends the third data frame to second network equipment.
The detailed description of step 1305 may refer to step 806 in the embodiment corresponding to fig. 8, and is not repeated here.
1306. And the second network equipment generates a second data frame according to the plurality of third data frames, wherein the second data frame comprises the plurality of second data messages.
In this embodiment of the application, after receiving the plurality of third data frames, the base station may generate a second data frame according to the plurality of third data frames.
In an embodiment, optionally, after receiving the plurality of third data frames, the base station may analyze the plurality of third data frames, and obtain a second data message obtained after each third data message is processed by the terminal device. Then, the base station may multiplex the ethernet frame header of 14 bytes and the EtherCAT header of 2 bytes in the first data frame as the ethernet frame header and the EtherCAT header of the second data frame, and set the plurality of second data messages respectively after the ethernet frame header and the EtherCAT header. The base station may calculate the fourth frame check sequence using a Cyclic Redundancy Check (CRC) algorithm from the destination address of the ethernet frame header to the last end of the last second data packet. The base station may then encapsulate the ethernet frame header, the EtherCAT header, the plurality of second data messages, and the fourth frame check sequence to generate a second data frame.
1307. The second network device transmits the second data frame.
In this embodiment of the application, optionally, after the second network device generates the second data frame according to the plurality of third data frames, the second network device may send the second data frame to the ethernet, so as to implement adaptation of the wireless network and the EtherCAT protocol.
In this embodiment, a second network device receives a first data frame, where the first data frame includes a plurality of first data packets; the second network equipment acquires QoS indication information corresponding to the first data frame; and the second network equipment sends the first data frame to the terminal equipment through multicast or broadcast according to the QoS indication information, wherein one first data frame is sent to one terminal equipment, and through the mode, the cellular network can analyze the data frames comprising a plurality of data messages, and further the cellular network can identify and process the data frames of the wired protocol.
Optionally, the terminal device may generate a third data frame according to the first data frame, where the third data frame includes a second data packet and at least one first data packet; the terminal equipment sends the third data frame to second network equipment; the second network equipment generates a second data frame according to the plurality of third data frames, wherein the second data frame comprises the plurality of second data messages; the second network device transmits the second data frame. On one hand, the second network device sends the first data frame to the corresponding terminal device on the multicast or broadcast channel, and particularly in the communication scene of the EtherCAT protocol, the transmission delay is greatly reduced. Different from the embodiment corresponding to fig. 11, because the UPF in this embodiment does not generate the first data frame into the plurality of first sub-data frames, the generation overhead of the additional ethernet frame header, EtherCAT header, and frame check sequence is further saved, and different from the embodiment corresponding to fig. 12, because the terminal device in this embodiment does not need to unpack the first data frame, the data processing overhead of the terminal device is reduced.
Next, referring to fig. 14, an embodiment of the present application further provides a network device 1400, where the network device 1400 may be a UPF, and the network device 1400 includes a receiving module 1401, a processing module 1402, an obtaining module 1404, and a sending module 1403. Wherein:
a receiving module 1401, configured to execute step 301 in fig. 3, step 701 in fig. 7, and step 801 in fig. 8;
a processing module 1402, configured to perform step 302 in fig. 3;
an obtaining module 1404, configured to perform step 303 in fig. 3, step 702 in fig. 7, and step 802 in fig. 8;
a sending module 1403, configured to execute step 304 in fig. 3, step 703 in fig. 7, and step 803 in fig. 8.
Optionally, the receiving module 1401 is further configured to execute step 308 in fig. 3, step 708 in fig. 7, and step 807 in fig. 8.
Optionally, the processing module 1402 is further configured to execute step 309 in fig. 3, step 709 in fig. 7, and step 808 in fig. 8.
Optionally, the sending module 1403 is further configured to execute step 310 in fig. 3, step 710 in fig. 7, and step 809 in fig. 8.
The embodiment of the present application further provides a network device 1500, where the network device 1500 may be a base station, and the network device 1500 includes a receiving module 1501 and a sending module 1503. Wherein: a receiving module 1501, configured to perform step 304 in fig. 3, step 703 in fig. 7, step 803 in fig. 8, step 1101 in fig. 11, step 1201 in fig. 12, and step 1301 in fig. 13;
a sending module 1503, configured to execute step 305 in fig. 3, step 704 in fig. 7, step 804 in fig. 8, step 1104 in fig. 11, step 1203 in fig. 12, and step 1303 in fig. 13.
Optionally, the network device 1500 further includes a processing module 1502 configured to execute step 1102 in fig. 11, step 1107 in fig. 11, step 1207 in fig. 12, and step 1306 in fig. 13.
Optionally, the network device 1500 further includes an obtaining module 1504, configured to execute step 1103 in fig. 11, step 1202 in fig. 12, and step 1302 in fig. 13.
Optionally, the receiving module 1501 is further configured to execute step 307 in fig. 3, step 707 in fig. 7, step 806 in fig. 8, step 1106 in fig. 11, step 1206 in fig. 12, and step 1305 in fig. 13;
optionally, the sending module 1503 is further configured to execute step 308 in fig. 3, step 708 in fig. 7, step 807 in fig. 8, step 1108 in fig. 11, step 1208 in fig. 12, and step 1307 in fig. 13.
Next, referring to fig. 16, an embodiment of the present application further provides a terminal device 1600, which includes a receiving module 1601. Wherein:
the receiving module 1601 is configured to perform step 305 in fig. 3, step 704 in fig. 7, step 804 in fig. 8, step 1104 in fig. 11, step 1203 in fig. 12, and step 1303 in fig. 13;
optionally, the terminal device 1600 further includes a processing module 1602, configured to execute step 306 in fig. 3, step 705 in fig. 7, step 706, step 805 in fig. 8, step 1105 in fig. 11, step 1204 in fig. 12, step 1205, and step 1304 in fig. 13;
optionally, the terminal device 1600 further includes a sending module 1603, configured to execute step 307 in fig. 3, step 707 in fig. 7, step 806 in fig. 8, step 1106 in fig. 11, step 1206 in fig. 12, and step 1305 in fig. 13.
In the above embodiments, the processing module may be implemented by a processor, the receiving module may be implemented by a receiver or a receiving circuit or an input interface, and the transmitting module may be implemented by a transmitter or a transmitting circuit or an output interface.
Fig. 17 is a schematic structural diagram of a terminal device according to an embodiment of the present application. The terminal device can be applied to the system shown in fig. 1, and performs the functions of the terminal device in the above method embodiment. For convenience of explanation, fig. 17 shows only main components of the terminal device. As shown in fig. 17, the terminal apparatus 1700 includes a processor, a memory, a control circuit, an antenna, and an input-output device. The processor is mainly configured to process the communication protocol and the communication data, control the entire terminal device, execute a software program, and process data of the software program, for example, to support the terminal device to perform the actions described in the above method embodiments, such as receiving a usage threshold of a wake-up signal, and determine whether to monitor the wake-up signal according to the usage threshold and the eDRX cycle. The memory is mainly used for storing software programs and data, for example, storing the usage threshold of the wake-up signal described in the above embodiments. The control circuit is mainly used for converting baseband signals and radio frequency signals and processing the radio frequency signals. The control circuit and the antenna together, which may also be called a transceiver, are mainly used for transceiving radio frequency signals in the form of electromagnetic waves. Input and output devices, such as touch screens, display screens, keyboards, etc., are used primarily for receiving data input by a user and for outputting data to the user.
When the terminal device is turned on, the processor can read the software program in the storage unit, interpret and execute the instruction of the software program, and process the data of the software program. When data needs to be sent wirelessly, the processor outputs a baseband signal to the radio frequency circuit after performing baseband processing on the data to be sent, and the radio frequency circuit performs radio frequency processing on the baseband signal and sends the radio frequency signal outwards in the form of electromagnetic waves through the antenna. When data is sent to the terminal equipment, the radio frequency circuit receives radio frequency signals through the antenna, converts the radio frequency signals into baseband signals and outputs the baseband signals to the processor, and the processor converts the baseband signals into the data and processes the data.
Those skilled in the art will appreciate that fig. 17 shows only one memory and one processor for ease of illustration. In an actual terminal device, there may be multiple processors and multiple memories. The memory may also be referred to as a storage medium or a storage device, and the like, which is not limited in this embodiment of the present application.
As an alternative implementation manner, the processor may include a baseband processor and/or a central processing unit, where the baseband processor is mainly used to process the communication protocol and the communication data, and the central processing unit is mainly used to control the whole terminal device, execute a software program, and process data of the software program. The processor in fig. 17 may integrate the functions of the baseband processor and the central processing unit, and those skilled in the art will understand that the baseband processor and the central processing unit may also be independent processors, and are interconnected through a bus or the like. Those skilled in the art will appreciate that the terminal device may include a plurality of baseband processors to accommodate different network formats, the terminal device may include a plurality of central processors to enhance its processing capability, and various components of the terminal device may be connected by various buses. The baseband processor can also be expressed as a baseband processing circuit or a baseband processing chip. The central processing unit can also be expressed as a central processing circuit or a central processing chip. The function of processing the communication protocol and the communication data may be built in the processor, or may be stored in the storage unit in the form of a software program, and the processor executes the software program to realize the baseband processing function.
In the embodiment of the present application, an antenna and a control circuit having a transceiving function may be regarded as the transceiving unit 1701 of the terminal device 1700, for example, for supporting the terminal device to perform the aforementioned receiving function and transmitting function. A processor having processing functionality is considered to be processing unit 1702 of terminal device 1700. As shown in fig. 17, the terminal apparatus 1700 includes a transceiving unit 1701 and a processing unit 1702. A transceiver unit is also referred to as a transceiver, a transceiving device, etc. Alternatively, a device for implementing a receiving function in the transceiver unit 1701 may be regarded as a receiving unit, and a device for implementing a transmitting function in the transceiver unit 1701 may be regarded as a transmitting unit, that is, the transceiver unit 1701 includes a receiving unit and a transmitting unit, the receiving unit may also be referred to as a receiver, an input port, a receiving circuit, and the like, and the transmitting unit may be referred to as a transmitter, a transmitting circuit, and the like.
The processing unit 1702 may be configured to execute the instructions stored in the memory, so as to control the transceiver unit 1701 to receive and/or transmit signals, thereby implementing the functions of the terminal device in the above-described method embodiments. As an implementation, the function of the transceiver unit 1701 may be realized by a transceiver circuit or a chip dedicated to transceiving.
Fig. 18 is a schematic structural diagram of a network device according to an embodiment of the present application, for example, a schematic structural diagram of a base station. As shown in fig. 18, the base station can be applied to the system shown in fig. 1, and performs the functions of the second network device in the above method embodiment. The base station 1800 may include one or more radio frequency units, such as a Remote Radio Unit (RRU) 1801 and one or more baseband units (BBUs) (also referred to as digital units, DUs) 1802. The RRU 1801 may be referred to as a transceiver unit, transceiver circuit, or transceiver, etc., and may include at least one antenna 18011 and a radio frequency unit 18012. The RRU 1801 is mainly used for transceiving radio frequency signals and converting radio frequency signals and baseband signals. The BBU 1802 section is mainly used for performing baseband processing, controlling a base station, and the like. The RRU 1801 and the BBU 1802 may be physically disposed together or may be physically disposed separately, that is, a distributed base station.
The BBU 1802 is a control center of a base station, and may also be referred to as a processing unit, and is mainly used for performing baseband processing functions, such as channel coding, multiplexing, modulation, spreading, and the like. For example, the BBU (processing unit) 1802 can be used to control the base station to perform the operation flow of the above-described method embodiment with respect to the second network device.
In an example, the BBU 1802 may be formed by one or more boards, where the boards may jointly support a radio access network (e.g., an LTE network) with a single access indication, or may respectively support radio access networks of different access schemes (e.g., an LTE network, a 5G network, or other networks). The BBU 1802 further includes a memory 18021 and a processor 18022, the memory 18021 being configured to store necessary instructions and data. The processor 18022 is configured to control the base station to perform necessary actions, for example, to control the base station to perform the operation procedure related to the second network device in the above method embodiment. The memory 18021 and the processor 18022 may serve one or more boards. That is, the memory and processor may be provided separately on each board. Multiple boards may share the same memory and processor. In addition, each single board can be provided with necessary circuits.
Fig. 19 is a schematic structural diagram of a UPF according to an embodiment of the present invention. As shown in fig. 19, the UPF 1900 includes: a transmitter 1901a, a receiver 1901b, a processor 1902, a memory 1903 and a bus system 1904;
the memory 1903 stores programs. In particular, the program may include program code including computer operating instructions. The memory 1903 may be a Random Access Memory (RAM) or a non-volatile memory (non-volatile memory), such as at least one disk memory. Only one memory is shown in the figure, but of course, the memory may be provided in plural numbers as necessary. The memory 1903 may also be memory within the processor 1902.
The memory 1903 stores the following elements, executable modules or data structures, or a subset thereof, or an expanded set thereof:
and (3) operating instructions: including various operational instructions for performing various operations.
Operating the system: including various system programs for implementing various basic services and for handling hardware-based tasks.
The processor 1902 controls the operation of the UPF 1900, and the processor 1902 may also be referred to as a Central Processing Unit (CPU). In a particular application, the various components of the UPF 1900 are coupled together by a bus system 1904, wherein the bus system 1904 may include a power bus, a control bus, a status signal bus, and the like, in addition to a data bus. For clarity of illustration, however, the various buses are designated in the figure as the bus system 1904. For ease of illustration, it is only schematically drawn in fig. 19.
The methods disclosed in the embodiments of the present application may be implemented in the processor 1902, or implemented by the processor 1902. The processor 1902 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by instructions in the form of hardware, integrated logic circuits, or software in the processor 1902. The processor 1902 may be a general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components. The various methods, steps, and logic blocks disclosed in the embodiments of the present application may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the memory 1903, and the processor 1902 reads the information in the memory 1903 and, in conjunction with its hardware, performs the method steps performed by the UPF above.
The present application also provides a system comprising the aforementioned one or more first network devices, one or more second network devices, and one or more terminal devices.
It should be noted that the processor in the embodiments of the present application may be an integrated circuit chip having signal processing capability. In implementation, the steps of the above method embodiments may be performed by integrated logic circuits of hardware in a processor or instructions in the form of software. The processor may be a general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, or discrete hardware components. The various methods, steps, and logic blocks disclosed in the embodiments of the present application may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in a memory, and a processor reads information in the memory and completes the steps of the method in combination with hardware of the processor.
It will be appreciated that the memory in the embodiments of the subject application can be either volatile memory or nonvolatile memory, or can include both volatile and nonvolatile memory. The non-volatile memory may be a read-only memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an electrically Erasable EPROM (EEPROM), or a flash memory. Volatile memory can be Random Access Memory (RAM), which acts as external cache memory. By way of example, but not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic Random Access Memory (SDRAM), double data rate SDRAM, enhanced SDRAM, SLDRAM, Synchronous Link DRAM (SLDRAM), and direct rambus RAM (DR RAM). It should be noted that the memory of the systems and methods described herein is intended to comprise, without being limited to, these and any other suitable types of memory.
The present application further provides a computer-readable medium, on which a computer program is stored, where the computer program is executed by a computer to implement the communication method in any of the above method embodiments.
The embodiment of the present application further provides a computer program product, and when executed by a computer, the computer program product implements the communication method described in any of the above method embodiments.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored on a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website, computer, server, or data center to another website, computer, server, or data center via wire (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a magnetic tape), an optical medium (e.g., a Digital Video Disk (DVD)), or a semiconductor medium (e.g., a Solid State Disk (SSD)), among others.
The embodiment of the application also provides a processing device, which comprises a processor and an interface; the processor is configured to execute the communication method according to any one of the above method embodiments.
It should be understood that the processing device may be a chip, the processor may be implemented by hardware or software, and when implemented by hardware, the processor may be a logic circuit, an integrated circuit, or the like; when implemented in software, the processor may be a general-purpose processor implemented by reading software code stored in a memory, which may be integrated in the processor, located external to the processor, or stand-alone.
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present application. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. It should be understood that, in the various embodiments of the present application, the sequence numbers of the above-mentioned processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
Additionally, the terms "system" and "network" are often used interchangeably herein. The term "and/or" herein is merely an association describing an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
It should be understood that in the embodiment of the present application, "B corresponding to a" means that B is associated with a, from which B can be determined. It should also be understood that determining B from a does not mean determining B from a alone, but may be determined from a and/or other information.
Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the examples described in connection with the embodiments disclosed herein may be embodied in electronic hardware, computer software, or combinations of both, and that the components and steps of the examples have been described in a functional general in the foregoing description for the purpose of illustrating clearly the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of a unit is merely a logical division, and an actual implementation may have another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may also be an electric, mechanical or other form of connection.
Units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiments of the present application.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
Through the above description of the embodiments, those skilled in the art will clearly understand that the present application can be implemented in hardware, firmware, or a combination thereof. When implemented in software, the functions described above may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a computer. Taking this as an example but not limiting: computer-readable media can include RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. Furthermore, the method is simple. Any connection is properly termed a computer-readable medium. For example, if software is transmitted from a website, a server, or other remote source using a coaxial cable, a fiber optic cable, a twisted pair, a Digital Subscriber Line (DSL), or a wireless technology such as infrared, radio, and microwave, the coaxial cable, the fiber optic cable, the twisted pair, the DSL, or the wireless technology such as infrared, radio, and microwave are included in the fixation of the medium. Disk and disc, as used herein, includes Compact Disc (CD), laser disc, optical disc, Digital Versatile Disc (DVD), floppy disk and blu-ray disc where disks usually reproduce data magnetically, while discs reproduce data optically with lasers. Combinations of the above should also be included within the scope of computer-readable media.
In short, the above description is only a preferred embodiment of the present disclosure, and is not intended to limit the scope of the present disclosure. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (26)

1. A method of data transmission, comprising:
receiving a first data frame, wherein the first data frame comprises a plurality of first data messages;
generating a plurality of first sub data frames according to the first data frame, wherein the plurality of first sub data frames comprise the plurality of first data messages, and each of the plurality of first sub data frames comprises one first data message;
acquiring service quality indication information and a tunnel identifier corresponding to each first sub data frame;
and sending the plurality of first sub-data frames and the plurality of service quality indication information corresponding to the plurality of first sub-data frames to a second network device in a corresponding plurality of tunnels according to a plurality of tunnel identifiers corresponding to the plurality of first sub-data frames, wherein one tunnel identifier corresponds to one tunnel.
2. The method of claim 1, further comprising:
receiving a plurality of second sub data frames sent by the second network device, wherein each of the plurality of second sub data frames comprises a second data message, and the plurality of second sub data frames are generated by a plurality of terminal devices according to the plurality of first sub data frames and sent to the second network device;
generating a second data frame according to the plurality of second sub data frames, wherein the second data frame comprises a plurality of second data messages;
and transmitting the second data frame.
3. The method of claim 1 or 2, wherein the obtaining a qos indicator and a tunnel identifier corresponding to each first sub-data frame comprises:
and acquiring a service quality indication message and a tunnel identifier corresponding to each first sub data frame according to a mapping table, wherein the mapping table is used for indicating the corresponding relation among the plurality of first sub data frames, the plurality of service quality indication messages and the plurality of tunnel identifiers.
4. The method of claim 3, further comprising:
receiving a plurality of fourth data frames transmitted by the second network device, wherein each fourth data frame comprises a slave station address;
and generating a mapping table, wherein the mapping table is used for indicating the corresponding relation among a plurality of slave station addresses, a plurality of pieces of service quality indication information and a plurality of tunnel identifiers, and each first sub data frame comprises one slave station address in the plurality of slave station addresses.
5. The method of claim 1, wherein the first data frame comprises: a data frame header and a plurality of first data messages;
the first sub data frame includes: the data frame header and the first data packet.
6. The method of claim 2, wherein the receiving the plurality of second sub data frames transmitted by the second network device comprises:
and receiving a plurality of second sub data frames sent by the second network equipment within preset time.
7. The method of claim 2 or 6, wherein the second sub data frame comprises: a data frame header and one of the second data packets;
the second data frame includes: the data frame header and the plurality of second data messages.
8. A method of data transmission, comprising:
receiving a plurality of first sub data frames and a plurality of service quality indication information corresponding to the first sub data frames, where the plurality of first sub data frames are sent by a first network device, the plurality of first sub data frames are generated according to a first data frame, the first data frame includes a plurality of first data packets, and the plurality of first sub data frames include the plurality of first data packets;
and sending a plurality of first sub data frames to a plurality of terminal devices according to a plurality of service quality indication information, wherein one first sub data frame is sent to one terminal device.
9. The method of claim 8, further comprising:
receiving a plurality of second sub data frames sent by a plurality of terminal devices, wherein each of the plurality of second sub data frames comprises a second data message, and one second sub data frame is generated by one terminal device according to one first sub data frame;
and sending the plurality of second sub data frames to the first network device, so that the first network device generates a second data frame according to the plurality of second sub data frames, wherein the second data frame comprises a plurality of second data messages.
10. The method of claim 8 or 9, wherein the first data frame comprises: a data frame header and a plurality of first data messages;
the first sub data frame includes: the data frame header and the first data packet.
11. The method of claim 9, wherein sending the plurality of second sub data frames to the first network device comprises:
and sending the plurality of second sub data frames to the first network equipment within a preset time.
12. The method of claim 9 or 11, wherein the second sub data frame comprises: the data frame header and the second data message;
the second data frame includes: the data frame header and the plurality of second data messages.
13. A first network device, comprising:
a receiving module, configured to receive a first data frame, where the first data frame includes a plurality of first data packets;
a processing module, configured to generate a plurality of first sub data frames according to the first data frame, where the plurality of first sub data frames include the plurality of first data packets, and each of the plurality of first sub data frames includes one first data packet;
the acquisition module is used for acquiring service quality indication information and a tunnel identifier which respectively correspond to each first sub data frame;
a sending module, configured to send, according to a plurality of tunnel identifiers corresponding to the plurality of first sub-data frames, the plurality of first sub-data frames and a plurality of pieces of the qos indicating information corresponding to the plurality of first sub-data frames to a second network device in a corresponding plurality of tunnels, where one tunnel identifier corresponds to one tunnel.
14. The network device according to claim 13, wherein the receiving module is further configured to receive a plurality of second sub data frames sent by the second network device, each of the plurality of second sub data frames includes a second data packet, and the plurality of second sub data frames are generated by the plurality of terminal devices according to the plurality of first sub data frames and sent to the second network device;
the processing module is further configured to generate a second data frame according to the plurality of second sub data frames, where the second data frame includes a plurality of second data packets;
the sending module is further configured to send the second data frame.
15. The network device according to claim 13 or 14, wherein the obtaining module is configured to obtain the qos indicator and the tunnel id corresponding to each first sub data frame according to a mapping table, where the mapping table is used to indicate a corresponding relationship among the plurality of first sub data frames, the plurality of qos indicator and the plurality of tunnel ids.
16. The network device of claim 15, wherein the receiving module is further configured to receive a plurality of fourth data frames transmitted by the second network device, each of the fourth data frames including a slave station address;
the processing module is further configured to generate a mapping table, where the mapping table is used to indicate a correspondence between a plurality of slave station addresses, a plurality of pieces of service quality indication information, and a plurality of tunnel identifiers, and each of the plurality of slave station addresses belongs to one first sub data frame.
17. The network device of claim 13, wherein the first data frame comprises: a data frame header and a plurality of first data messages;
the first sub data frame includes: the data frame header and the first data packet.
18. The network device of claim 14, wherein the receiving module is further configured to receive a plurality of second sub data frames sent by the second network device, and includes: and receiving a plurality of second sub data frames sent by the second network equipment within preset time.
19. The network device of claim 14 or 18, wherein the second sub data frame comprises: a data frame header and one of the second data packets;
the second data frame includes: the data frame header and the plurality of second data messages.
20. A second network device, comprising:
a receiving module, configured to receive, at multiple tunnels, multiple first sub data frames and multiple pieces of service quality indication information corresponding to the multiple first sub data frames, where one of the first sub data frames and one of the service quality indication information corresponding to the first sub data frame are received at one of the tunnels, the first sub data frame includes a data header and a first data packet, the multiple first sub data frames are generated according to a first data frame, the first data frame includes multiple first data packets, and the multiple first sub data frames include the multiple first data packets;
a sending module, configured to send a plurality of the first sub-data frames to a plurality of terminal devices according to a plurality of the qos indicator information, where one of the first sub-data frames is sent to one of the terminal devices.
21. The network device according to claim 20, wherein the receiving module is further configured to receive a plurality of second sub data frames sent by a plurality of terminal devices, each of the plurality of second sub data frames including a second data packet, where one of the second sub data frames is generated by one of the terminal devices according to one of the first sub data frames;
the sending module is further configured to send the plurality of second sub data frames to the first network device, so that the first network device generates a second data frame according to the plurality of second sub data frames, where the second data frame includes a plurality of second data packets.
22. The network device of claim 20 or 21, wherein the first sub data frame comprises: a header of the data frame and one of the first data packets.
23. The network device of claim 21, wherein the sending module is configured to send the plurality of second sub data frames to the first network device within a preset time.
24. The network device of claim 21 or 23, wherein the second sub data frame comprises: the data frame header and the second data message;
the second data frame includes: the data frame header and the plurality of second data messages.
25. A computer readable storage medium for storing program instructions, which when run on a computer, cause the computer to perform the method of any one of claims 1 to 12.
26. A communication system comprising a first network device according to any of claims 13 to 19 and a second network device according to any of claims 20 to 24.
CN201910158720.3A 2019-02-28 2019-02-28 Data transmission method and network equipment Active CN111628957B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910158720.3A CN111628957B (en) 2019-02-28 2019-02-28 Data transmission method and network equipment
PCT/CN2019/126654 WO2020173190A1 (en) 2019-02-28 2019-12-19 Data transmission method and network device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910158720.3A CN111628957B (en) 2019-02-28 2019-02-28 Data transmission method and network equipment

Publications (2)

Publication Number Publication Date
CN111628957A CN111628957A (en) 2020-09-04
CN111628957B true CN111628957B (en) 2021-10-01

Family

ID=72239086

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910158720.3A Active CN111628957B (en) 2019-02-28 2019-02-28 Data transmission method and network equipment

Country Status (2)

Country Link
CN (1) CN111628957B (en)
WO (1) WO2020173190A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114915518A (en) * 2021-02-07 2022-08-16 华为技术有限公司 Message transmission method, system and equipment
CN115396369A (en) * 2021-05-21 2022-11-25 华为技术有限公司 Method, system and network equipment for processing message
CN114465981B (en) * 2021-12-29 2023-04-11 华为技术有限公司 Data transmission method and communication device
CN116455833B (en) * 2023-06-19 2023-09-01 杭州禾芯半导体有限公司 EtherCAT network and link expansion method and device thereof
CN117880117A (en) * 2024-03-12 2024-04-12 泉州华中科技大学智能制造研究院 EtherCAT virtual slave station implementation method for virtual debugging

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101005445A (en) * 2006-01-18 2007-07-25 华为技术有限公司 Method for mapping service flow to service transmission path and optical network terminal
US7272137B2 (en) * 2001-05-14 2007-09-18 Nortel Networks Limited Data stream filtering apparatus and method
CN105992273A (en) * 2015-02-26 2016-10-05 中国移动通信集团公司 Method and device for providing relay access service in LTE network, and relay terminal
CN108012338A (en) * 2016-11-02 2018-05-08 中兴通讯股份有限公司 Data transmission method, device, application and base station
CN108924876A (en) * 2017-03-24 2018-11-30 华为技术有限公司 Data transmission method, access network equipment, terminal and communication system

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7925162B2 (en) * 2003-07-03 2011-04-12 Soto Alexander I Communication system and method for an optical local area network
CN111865906A (en) * 2015-07-17 2020-10-30 华为技术有限公司 Message transmission method, device and system
CN105187283A (en) * 2015-08-21 2015-12-23 中国科学院计算技术研究所 Industrial control network slave station communication method and device based on EtherCAT protocol
US20180145919A1 (en) * 2016-11-23 2018-05-24 Qualcomm Incorporated Wi-fi link aggregation
CN107181663A (en) * 2017-06-28 2017-09-19 联想(北京)有限公司 A kind of message processing method, relevant device and computer-readable recording medium
CN108616453B (en) * 2018-04-20 2020-12-18 联想(北京)有限公司 Method, device and system for network equipment
CN109151916B (en) * 2018-08-28 2023-06-20 北京佰才邦技术股份有限公司 Network transmission method, device and system for mobile network service

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7272137B2 (en) * 2001-05-14 2007-09-18 Nortel Networks Limited Data stream filtering apparatus and method
CN101005445A (en) * 2006-01-18 2007-07-25 华为技术有限公司 Method for mapping service flow to service transmission path and optical network terminal
CN105992273A (en) * 2015-02-26 2016-10-05 中国移动通信集团公司 Method and device for providing relay access service in LTE network, and relay terminal
CN108012338A (en) * 2016-11-02 2018-05-08 中兴通讯股份有限公司 Data transmission method, device, application and base station
CN108924876A (en) * 2017-03-24 2018-11-30 华为技术有限公司 Data transmission method, access network equipment, terminal and communication system

Also Published As

Publication number Publication date
CN111628957A (en) 2020-09-04
WO2020173190A1 (en) 2020-09-03

Similar Documents

Publication Publication Date Title
CN111628957B (en) Data transmission method and network equipment
CN109302372B (en) Communication method, device and storage medium
WO2019128873A1 (en) Beam training method and relevant device
WO2020164613A1 (en) Relay communication method and apparatus
CN109005562B (en) Method, device and system for transmitting data
CN109219157B (en) Network mode configuration method and device
US11968565B2 (en) User plane information reporting method and apparatus
WO2021128932A1 (en) Uplink srs transmission method and device, and storage medium
CN113746585B (en) Time service method and communication device
WO2021036813A1 (en) Data transmission method and apparatus, device and storage medium
US11528640B2 (en) Base station device, and method for transmitting data and signal
US10939485B2 (en) Mechanism for realizing LWA/LWIP aggregator function
WO2021069552A1 (en) Identifying time sensitive network streams within a 3gpp qos flow
CN114467288A (en) Data packet transmission method and device
JP2023545794A (en) Traffic forwarding in unified access and backhaul communications
US10813087B2 (en) Apparatus and method
US20220322140A1 (en) Communication method and apparatus
US20220182910A1 (en) Data Processing Method, Apparatus, And System
WO2018210020A1 (en) Data transmission method, system, and device
WO2023236065A1 (en) Configuration of time sensitive networking
WO2024093933A1 (en) Data transmission method and communication apparatus
US20220248192A1 (en) Communication method, apparatus, and system
WO2024067194A1 (en) Communication method, communication apparatus and communication system
JP2018191147A (en) Control method
WO2021102841A1 (en) Data transmission method and apparatus based on network slicing, and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant