WO2020063709A1 - 用于以太网数据的通信方法和装置 - Google Patents
用于以太网数据的通信方法和装置 Download PDFInfo
- Publication number
- WO2020063709A1 WO2020063709A1 PCT/CN2019/108019 CN2019108019W WO2020063709A1 WO 2020063709 A1 WO2020063709 A1 WO 2020063709A1 CN 2019108019 W CN2019108019 W CN 2019108019W WO 2020063709 A1 WO2020063709 A1 WO 2020063709A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- data packet
- ethernet
- terminal device
- ethernet data
- network device
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W28/00—Network traffic management; Network resource management
- H04W28/02—Traffic management, e.g. flow control or congestion control
- H04W28/06—Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L5/00—Arrangements affording multiple use of the transmission path
- H04L5/0091—Signaling for the administration of the divided path
- H04L5/0094—Indication of how sub-channels of the path are allocated
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L5/00—Arrangements affording multiple use of the transmission path
- H04L5/0001—Arrangements for dividing the transmission path
- H04L5/0014—Three-dimensional division
- H04L5/0016—Time-frequency-code
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L5/00—Arrangements affording multiple use of the transmission path
- H04L5/003—Arrangements for allocating sub-channels of the transmission path
- H04L5/0053—Allocation of signaling, i.e. of overhead other than pilot signals
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W28/00—Network traffic management; Network resource management
- H04W28/02—Traffic management, e.g. flow control or congestion control
- H04W28/0268—Traffic management, e.g. flow control or congestion control using specific QoS parameters for wireless networks, e.g. QoS class identifier [QCI] or guaranteed bit rate [GBR]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W72/00—Local resource management
- H04W72/04—Wireless resource allocation
- H04W72/044—Wireless resource allocation based on the type of the allocated resource
- H04W72/0446—Resources in time domain, e.g. slots or frames
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W72/00—Local resource management
- H04W72/04—Wireless resource allocation
- H04W72/044—Wireless resource allocation based on the type of the allocated resource
- H04W72/0453—Resources in frequency domain, e.g. a carrier in FDMA
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W72/00—Local resource management
- H04W72/04—Wireless resource allocation
- H04W72/044—Wireless resource allocation based on the type of the allocated resource
- H04W72/0466—Wireless resource allocation based on the type of the allocated resource the resource being a scrambling code
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W72/00—Local resource management
- H04W72/20—Control channels or signalling for resource management
- H04W72/23—Control channels or signalling for resource management in the downlink direction of a wireless link, i.e. towards a terminal
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/04—Protocols for data compression, e.g. ROHC
Definitions
- the present application relates to the field of communications, and more particularly, to a communication method and apparatus for Ethernet data.
- Ethernet is a local area network communication technology.
- Current industrial scenarios use wired Ethernet to transmit data.
- data transmitted based on Ethernet communication technology can be referred to simply as Ethernet data.
- Ethernet data can also be transmitted through wireless communication.
- the console sends instructions to the machine equipment through the wireless network, and the machine equipment performs corresponding actions and reports its own status information to the server based on the received instructions.
- the present application provides a communication method and device for Ethernet data, which can perform wireless communication of Ethernet data.
- a communication method for Ethernet data including:
- the terminal device receives downlink control information DCI from a network device, the DCI is scrambled by using a first wireless network temporary identifier RNTI, the first RNTI is an RNTI for an Ethernet data packet, and the DCI includes an instruction for carrying the Ethernet Information of time-frequency resources of network data packets;
- the method for processing Ethernet data in the embodiment of the present application can scramble DCI through an RNTI specifically for Ethernet data, which can reduce interference to terminal devices other than terminal devices that need to receive other types of data. It realizes the transmission of Ethernet data in wireless networks, and also improves the transmission performance of Ethernet data.
- the receiving, by the terminal device, the Ethernet data packet from the network device includes:
- a system information block SIB from the network device on a time-frequency resource indicated by the DCI, and the SIB includes the Ethernet data packet.
- the first RNTI is an RNTI for an Ethernet data packet of a broadcast type or a multicast type.
- the DCI includes first information, and the first information is used to indicate that the data packet scheduled by the DCI is a broadcast type Ethernet data packet or a multicast type Ethernet data packet.
- the packet header of the Ethernet data packet does not include a broadcast type media intervention control MAC address.
- the method further includes:
- the terminal device sends a media intervention control MAC address associated with the terminal device to the network device.
- the sending, by the terminal device, the MAC address to the network device includes:
- the terminal device sends a non-access stratum NAS message to the network device, and the NAS message includes the MAC address.
- the method further includes:
- the terminal device receives a request message from the network device, and the request message is used to request the MAC address associated with the terminal device.
- the sending, by the terminal device, the MAC address to the network device includes:
- the terminal device When the MAC address associated with the terminal device changes, the terminal device sends the changed MAC address to the network device.
- the method further includes:
- compression capability information is used to indicate N types of Ethernet compression capabilities supported by the terminal device, where N is an integer greater than or equal to 1;
- the terminal device decompresses the Ethernet data packet, wherein the Ethernet data packet is generated based on a parameter of the first Ethernet compression capability.
- the Ethernet data packet includes a first header, the first header includes a first context identifier, and the first context identifier is used to identify the first context information; the method further includes :
- the decompressing the Ethernet data packet by the terminal device includes:
- the terminal device decompresses the Ethernet data packet according to the first context information.
- a communication method for Ethernet data includes:
- the network device sends downlink control information DCI to the terminal device.
- the DCI is scrambled using a first wireless network temporary identifier RNTI.
- the first RNTI is an RNTI for an Ethernet data packet.
- the DCI includes an instruction for carrying the Ethernet.
- the network device sends the Ethernet data packet to the terminal device on the time-frequency resource.
- the sending, by the network device, the Ethernet data packet to the terminal device includes:
- the network device sends a system information block SIB to the terminal device on the time-frequency resource, and the SIB includes the Ethernet data packet.
- the first RNTI is an RNTI for a broadcast type or a multicast type Ethernet data packet.
- the DCI includes first information, and the first information is used to indicate that the data packet scheduled by the DCI is a broadcast type Ethernet data packet or a multicast type Ethernet data packet.
- the network device is an access network device, and a public service quality Qos flow is established between the access network device and the core network device;
- the method further includes:
- the network device receives the Ethernet data packet from the public Qos stream.
- the method further includes:
- the network device receives a media intervention control MAC address associated with the terminal device from the terminal device.
- the receiving, by the network device, the MAC address from the terminal device includes:
- the network device receives a non-access stratum NAS message from the terminal device, and the NAS message includes the MAC address.
- the method further includes:
- the network device sends a request message to the terminal device, where the request message is used to request the MAC address associated with the terminal device.
- the method further includes:
- the network device Sending, by the network device, compression configuration information to the terminal device, where the compression configuration information is used to indicate a parameter of a first Ethernet compression capability, and the N types of Ethernet compression capabilities include the first Ethernet compression capability;
- the network device generates the Ethernet data packet according to the parameter of the first Ethernet compression capability.
- the Ethernet data packet includes a first header, the first header includes a first context identifier, and the first context identifier is used to identify the first context information.
- a communication method for Ethernet data includes:
- the terminal device receives a system information block SIB from a network device, the SIB includes an Ethernet data packet;
- the method for processing Ethernet data packets provided in the embodiments of the present application can send a broadcast-type Ethernet data packet through the SIB to efficiently notify the terminal device to receive the Ethernet data packet and improve transmission efficiency.
- the method further includes:
- the terminal device Receiving, by the terminal device, a paging message from the network device, the paging message includes indication information, and the indication information is used to indicate that the SIB includes the Ethernet data packet.
- the sending mechanism of the paging message can be effectively used, that is, the terminal device receives the paging message within a period of time to detect whether there is a message for itself, reducing the design complexity. , Can also improve the reliability of the terminal device receiving data packets.
- the method includes:
- the terminal device receives downlink control information DCI from the network device, the DCI is scrambled by using a first wireless network temporary identifier RNTI, the first RNTI is an RNTI for an Ethernet data packet, and the DCI includes an instruction for indicating Carries information of time-frequency resources of the Ethernet data packet.
- the DCI includes first information
- the first information is used to indicate that the data packet scheduled by the DCI is a broadcast type Ethernet data packet or a multicast type Ethernet data packet.
- the packet header of the Ethernet data packet does not include a broadcast-type media intervention control MAC address.
- the method further includes:
- the terminal device sends a media intervention control MAC address associated with the terminal device to the network device.
- the sending, by the terminal device, the MAC address to the network device includes:
- the terminal device sends a non-access stratum NAS message to the network device, and the NAS message includes the MAC address.
- the method further includes:
- the terminal device receives a request message from the network device, and the request message is used to request the MAC address associated with the terminal device.
- the sending, by the terminal device, the MAC address to the network device includes:
- the terminal device When the MAC address associated with the terminal device changes, the terminal device sends the changed MAC address to the network device.
- the method further includes:
- compression capability information is used to indicate N types of Ethernet compression capabilities supported by the terminal device, where N is an integer greater than or equal to 1;
- the terminal device decompresses the Ethernet data packet, wherein the Ethernet data packet is generated based on a parameter of the first Ethernet compression capability.
- the Ethernet data packet includes a first header, the first header includes a first context identifier, and the first context identifier is used to identify the first context information; the method further includes :
- the decompressing the Ethernet data packet by the terminal device includes:
- the terminal device decompresses the Ethernet data packet according to the first context information.
- a communication method for Ethernet data includes:
- the network device generates a system information block SIB, where the SIB includes an Ethernet data packet;
- the network device sends the SIB.
- the method further includes:
- the network device sends a paging message to the terminal device, where the paging message includes indication information, and the indication information is used to indicate that the SIB includes the Ethernet data packet.
- the method includes:
- the network device sends downlink control information DCI to the terminal device, the DCI is scrambled with a first wireless network temporary identifier RNTI, the first RNTI is an RNTI for an Ethernet data packet, and the DCI includes an instruction for indicating Carries information of time-frequency resources of the Ethernet data packet.
- the DCI includes first information, and the first information is used to indicate that the data packet scheduled by the DCI is a broadcast type Ethernet data packet or a multicast type Ethernet data packet.
- the packet header of the Ethernet data packet does not include a broadcast type media intervention control MAC address.
- the method further includes:
- the receiving, by the network device, the media intervention control MAC address associated with the terminal device from the terminal device includes:
- the network device receives a non-access stratum NAS message from the terminal device, and the NAS message includes the MAC address.
- the method further includes:
- the network device sends a request message to the terminal device, where the request message is used to request the MAC address associated with the terminal device.
- the method further includes:
- the network device Sending, by the network device, compression configuration information to the terminal device, where the compression configuration information is used to indicate a parameter of a first Ethernet compression capability, and the N types of Ethernet compression capabilities include the first Ethernet compression capability;
- the network device generates the Ethernet data packet according to the parameter of the first Ethernet compression capability.
- the Ethernet data packet includes a first header, the first header includes a first context identifier, and the first context identifier is used to identify the first context information.
- a communication method for Ethernet data includes:
- the terminal device receives a request message from a network device, the request message is used to request a media intervention control MAC address associated with the terminal device;
- the sending, by the terminal device, the MAC address to the network device includes:
- the terminal device sends a non-access stratum NAS message, and the NAS message includes the MAC address.
- the network device can send the terminal device with the request information for requesting the MAC address of the terminal device, so that the terminal device can report the MAC address to the network device in time.
- the network The device can learn the MAC address of the terminal device in time, thereby facilitating data transmission.
- a communication method for Ethernet data includes:
- the network device sends a request message to the terminal device, where the request message is used to request a media intervention control MAC address associated with the terminal device;
- the network device receives the MAC address from the terminal device.
- the receiving, by the network device, the MAC address from the terminal device includes:
- the network device receives a non-access stratum NAS message from the terminal device, and the NAS message includes the MAC address.
- a communication method for Ethernet data includes:
- the terminal device sends the changed MAC address to the network device.
- the terminal device sending the changed MAC address to the network device includes:
- the terminal device sends a non-access stratum NAS message, and the NAS message includes the changed MAC address.
- a communication method for Ethernet data includes:
- the access network device receives the Ethernet data packet sent by the core network device from the public quality of service Qos flow;
- the access network device sends the Ethernet data packet in a broadcast mode or a multicast mode.
- an apparatus for Ethernet data for performing a method in any possible implementation manner in any of the foregoing aspects.
- the apparatus includes a unit for performing a method in any one of the possible implementation manners of the foregoing aspects.
- the apparatus includes a transceiver, a memory, and a processor.
- the transceiver, the memory, and the processor communicate with each other through an internal connection path.
- the memory is used to store instructions.
- the processor is used to execute the instructions stored in the memory to control the receiver to receive signals and to control the transmitter to send signals. And when the processor executes the instructions stored in the memory, the processor is caused to execute the method in any one of the possible implementation manners in any of the foregoing aspects.
- a computer program product includes computer program code that, when the computer program code is executed by a computer, causes the computer to execute the methods in the above aspects.
- a computer-readable medium for storing a computer program, the computer program including instructions for performing the methods in the above aspects.
- a chip including a processor, configured to call and execute instructions stored in the memory from a memory, so that a communication device installed with the chip executes the methods in the above aspects.
- another chip including: an input interface, an output interface, a processor, and a memory.
- the input interface, the output interface, the processor, and the memory are connected through an internal connection path.
- the processor is configured to execute code in the memory, and when the code is executed, the processor is configured to execute the methods in the foregoing aspects.
- FIG. 1 is a schematic structural diagram of a mobile communication system applicable to an embodiment of the present application.
- FIG. 2 is another schematic structural diagram of a mobile communication system applicable to an embodiment of the present application.
- FIG. 3 is a schematic diagram of an EtherCAT frame according to an embodiment of the present application.
- FIG. 4 is a schematic interaction diagram of a communication method for Ethernet data according to an embodiment of the present application.
- FIG. 5 is a schematic diagram of a frame format of a first Ethernet data packet according to an embodiment of the present application.
- FIG. 6 is a schematic diagram of a frame format of a second Ethernet data packet according to an embodiment of the present application.
- FIG. 7 is a schematic diagram of a frame format of a data packet for carrying feedback information according to an embodiment of the present application.
- FIG. 8 is a schematic interaction diagram of another communication method for Ethernet data according to an embodiment of the present application.
- FIG. 9 is a schematic interaction diagram of another communication method for Ethernet data according to an embodiment of the present application.
- FIG. 10 is a schematic interaction diagram of another communication method for Ethernet data according to an embodiment of the present application.
- FIG. 11 is a schematic interaction diagram of another communication method for Ethernet data according to an embodiment of the present application.
- FIG. 12 is a schematic interaction diagram of another communication method for Ethernet data according to an embodiment of the present application.
- FIG. 13 is a transition diagram of an Ethernet compressed state according to an embodiment of the present application.
- FIG. 14 is an apparatus for Ethernet data provided by an embodiment of the present application.
- FIG. 15 is another apparatus for Ethernet data provided by an embodiment of the present application.
- GSM global mobile communication
- CDMA code division multiple access
- WCDMA broadband code division multiple access
- GPRS general packet radio service
- LTE long term evolution
- FDD frequency division duplex
- TDD Time Division Duplex
- UMTS Universal Mobile Telecommunications System
- WiMAX Global Interoperability for Microwave Access
- the network device in the embodiment of the present application may be a device for communicating with a terminal device.
- the network equipment may be a global mobile communication (GSM) system or a base station (BTS) in code division multiple access (CDMA), or a broadband code division multiple access (wideband code division multiple access, WCDMA) base station (NodeB, NB), can also be evolved base station (evolved NodeB, eNB or eNodeB) in the LTE system, or a cloud radio access network (cloud radio access network (CRAN) scenario; or the network device may be a relay station, an access point, an in-vehicle device, a wearable device, a network device in a future 5G network, or a network device in a future evolved PLMN network;
- the network device may also be a core network device, where the core network device may be a control plane and user plane (CU) network element, or a control plane function network element CU in a CU separation scenario.
- -CP for example,
- the terminal device in the embodiments of the present application may refer to user equipment, access terminal, user unit, user station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication device, user agent or
- the user device may also be a robot, an operation arm, or the like, which is not limited in this embodiment of the present application.
- the terminal device or the network device includes a hardware layer, an operating system layer running on the hardware layer, and an application layer running on the operating system layer.
- This hardware layer includes hardware such as a central processing unit (CPU), a memory management unit (MMU), and a memory (also called main memory).
- the operating system may be any one or more computer operating systems that implement business processing through processes, such as a Linux operating system, a Unix operating system, an Android operating system, an iOS operating system, or a windows operating system.
- This application layer contains applications such as browsers, address books, word processing software, and instant messaging software.
- the embodiment of the present application does not specifically limit the specific structure of the execution subject of the method provided by the embodiment of the present application, as long as the program that records the code of the method provided by the embodiment of the application can be run to provide the program according to the embodiment of the application.
- the communication may be performed by using the method described above.
- the method execution subject provided in the embodiments of the present application may be a terminal device or a network device, or a function module in the terminal device or the network device that can call a program and execute the program.
- various aspects or features of the application may be implemented as a method, apparatus, or article of manufacture using standard programming and / or engineering techniques.
- article of manufacture encompasses a computer program accessible from any computer-readable device, carrier, or medium.
- computer-readable media may include, but are not limited to: magnetic storage devices (eg, hard disks, floppy disks, or magnetic tapes, etc.), optical disks (eg, compact discs (CD), digital versatile discs (DVD) Etc.), smart cards and flash memory devices (for example, erasable programmable read-only memory (EPROM), cards, sticks or key drives, etc.).
- various storage media described herein may represent one or more devices and / or other machine-readable media used to store information.
- machine-readable medium may include, but is not limited to, wireless channels and various other media capable of storing, containing, and / or carrying instruction (s) and / or data.
- FIG. 1 is a schematic structural diagram of a mobile communication system applicable to an embodiment of the present application.
- FIG. 1 is a mobile communication system of a ring network.
- the mobile communication system includes a control device 110, an access network device 120, and at least one terminal device (such as a terminal device 131 to a terminal device 134 in FIG. 1). ).
- the terminal device 131 and the terminal device 134 are wirelessly connected to the access network device 120.
- the terminal device 132 and the terminal device 133 are connected to the access network device 120 through the terminal device 131 and the terminal device 134.
- the terminal may be Device 131 or terminal device 134 is understood as a transit device.
- the transmission path of the downlink data may be access network device 120—terminal device 131—terminal device 132, terminal device 131 can be understood as a transit device, or the transmission path of downlink data can also be access network device 120—terminal device 134—terminal device 133—terminal device 132, and terminal device 134 and terminal device 133 can be understood as transit devices.
- the access network device 120 is connected to the control device 110 in a wireless or wired manner.
- the control device 110 and the access network device 120 may be separate physical devices, or may be a function of the control device 110 and the access network device.
- the logical functions of 120 are integrated on the same physical device, and may also be a physical device that integrates part of the functions of the control device 110 and part of the functions of the access network device 120.
- the terminal equipment can be fixed or removable.
- FIG. 1 is only a schematic diagram, and the communication system may further include other network devices, such as a wireless relay device and a wireless backhaul device, which are not shown in FIG. 1.
- the embodiments of the present application do not limit the number of control devices, access network devices, and terminal devices included in the mobile communication system.
- FIG. 2 is another schematic structural diagram of a mobile communication system applicable to an embodiment of the present application.
- FIG. 2 is a star-shaped mobile communication system including a control device 210, an access network device 220, and at least one terminal device (such as the terminal device 231 to the terminal device 234 in FIG. 2). ).
- the access network device 220 is connected to any terminal device in a wireless manner, and the access network device 220 is connected to the control device 210 in a wireless or wired manner.
- the control device 210 and the access network device 220 may be separate physical devices, or the functions of the control device 210 and the logical functions of the access network device 220 may be integrated on the same physical device, or they may be one Some functions of the control device 210 and some functions of the access network device 220 are integrated on the physical device.
- the terminal equipment can be fixed or removable.
- FIG. 2 is only a schematic diagram, and the communication system may further include other network devices, such as a wireless relay device and a wireless backhaul device, which are not shown in FIG. 2. The embodiments of the present application do not limit the number of control devices, access network devices, and terminal devices included in the mobile communication system.
- the technical solution provided in the embodiments of the present application aims at how to transmit Ethernet data in a wireless network. Based on this, the embodiments of the present application mainly describe the method for transmitting Ethernet data in a wireless network from the following four aspects:
- the second aspect is how to transmit broadcast or multicast Ethernet data
- MAC media access control
- the fourth aspect is how the network equipment locates and searches for the terminal equipment.
- EtherCAT frame is taken as an example to briefly introduce the Ethernet frame format.
- FIG. 3 shows a schematic diagram of an EtherCAT frame.
- the frame format of the EtherCAT frame includes an Ethernet frame header area, an EtherCAT header area, an EtherCAT data area, and a Frame Check Sequence (FCS) area.
- the Ethernet frame header area includes the destination address, source address, and frame type. Among them, the destination address is the MAC address of the receiver, the source address is the MAC address of the sender, and the MAC address is also called the physical address.
- the frame type is used to identify the data field. Included high-level agreements.
- the EtherCAT header area includes EtherCAT data length, reserved bits, and type.
- the EtherCAT data area includes a 2-byte data header and a data area of 44 to 1498 bytes.
- the data area consists of one or more EtherCAT sub-messages, each of which corresponds to an independent device and slave storage area.
- the FCS area is used to verify the integrity of the frame during transmission.
- Table 1 describes the definition of each field in the Ethernet frame header area
- Table 2 describes the definition of each field in the EtherCAT header area
- Table 3 describes the definition of each field in each sub-message in the EtherCAT data area.
- EtherCAT data length EtherCAT data area length, that is, the sum of all sub-message lengths Types of 1: indicates communication with the slave station; the rest are reserved
- the destination address, source address, frame type, and fields in the EtherCAT header area in the EtherCAT frame shown in FIG. 3 are all repeated transmission contents.
- the data length can be derived based on the information of the payload part of the data packet. In fact, it may not be necessary to transmit during the transmission process.
- the first 7 bytes are called a preamble, and the content is a hexadecimal number 0xAA.
- the last 1 byte is a frame start identifier 0xAB, which marks the beginning of the Ethernet frame.
- Preamble characters are used to synchronize the receiving end and prepare to receive data frames.
- the indefinite length data field is a 4-byte frame check sequence (FCS). This is the content required for transmission in the Ethernet and does not need to be carried in the wireless system transmission process.
- the transmission between the terminal device and the network device is taken as an example, and as an example and not limitation, at least one of the following contents may be referred to as context information or static information:
- the compressed Ethernet data mentioned in the embodiments of the present application refers to removing the context information from the data packet, or the compressed Ethernet data refers to information that reduces other fields in the Ethernet data packet except the data area. In order to achieve the purpose of compressing Ethernet data.
- Ethernet data packet in the embodiment of the present application refers to a data packet carried in an ethertype session.
- Ethernet data also refers to an ethertype session. Data.
- the EtherCAT frame format is taken as an example above to briefly introduce the Ethernet frame format.
- the context information of the embodiment of the present application is described below based on various frame formats.
- Frame format 1 Ethernet 802.3 raw frame format
- Table 4 shows the fields in the Ethernet 802.3 raw frame format.
- the context information may include a destination MAC address, a source MAC address, and a type field.
- the total length is the length of the data part, which can be derived from the length of the data part, and does not need to be carried during the transmission process.
- Frame format 2 Ethernet 802.3 SAP type frame format
- Table 5 shows the fields in the Ethernet 802.3 SAP frame format.
- the Ethernet 802.3 SAP type frame format the two bytes of 0xFFFF in the Ethernet 802.3 raw frame are changed to DSAP and SSAP of 1 byte each.
- a 1-byte "control" field is added to form 802.2 Logical Link Control (LLC) header.
- LLC provides connectionless (LLC type 1) and connection-oriented (LLC type 2) network services. Among them, LLC1 is used in Ethernet, and LLC2 is used in IBM network environment system network architecture (SNA) network environment.
- SNA IBM network environment system network architecture
- the newly added 802.2LLC header includes two service access points: source service access point (SSAP) and destination service access point (DSAP). They are used to identify the type of upper layer data carried by the Ethernet frame.
- SSAP source service access point
- DSAP destination service access point
- the hexadecimal number 0x06 represents IP protocol data
- the hexadecimal number 0xE0 represents Novell type protocol data
- the hexadecimal number 0xF0 represents IBM NetBIOS type protocol data.
- the 1-byte "Control" field is basically not used (generally set to 0x03, indicating that the 802.2 unnumbered data format is used for connectionless services).
- the context information may include a destination MAC address, a source MAC address, a DSAP, an SSAP field, and a control field.
- the total length can be derived from the length of the data part, and it is not necessary to carry it.
- Frame format 3 Ethernet 802.3 SNAP type frame format
- Table 6 shows the fields in the Ethernet 802.3 SNAP frame format. Among them, the main difference between the Ethernet 802.3 SNAP type frame format and the Ethernet 802.3 SAP type frame format is:
- the contents of the DSAP and SSAP fields of 2 bytes are fixed, and the value is 0xAA in hexadecimal.
- the SNAP field is added, which consists of the following two items:
- OTI ID Organizationally Unique Identifier
- the 2-byte "type” field is used to identify the type of upper-layer data carried by the Ethernet frame.
- the context information may include a destination MAC address, a source MAC address, a DSAP, an SSAP field, a control field, an OUI ID field, and a type field.
- Frame format 4 Ethernet II frame format
- Table 7 shows the fields in the Ethernet II frame format.
- Ethernet II frame format the minimum length is 64 bytes (6 + 6 + 2 + 46 + 4) and the maximum length is 1518 bytes (6 + 6 + 2 + 1500 + 4).
- the first 12 bytes identify the source node's MAC address and the destination node's MAC address respectively.
- the next two bytes identify the type of upper-layer data carried by the Ethernet packet.
- the hexadecimal number 0x0800 represents IP protocol data
- the hexadecimal number 0x809B represents AppleTalk protocol data
- the hexadecimal number 0x8138 represents Novell type protocol. Data, etc.
- the context information may include a destination MAC address, a source MAC address, and a type field.
- Frame format 5 ethernet frame format
- the context information may include a destination MAC address, a source MAC address, a type field, and a type field of an EtherCAT header area.
- the length field of the EtherCAT header area is the length of all sub-messages, which can be derived from the total length of the message fields.
- the context information may include the destination MAC address, source MAC address, type field, VLAN tag, and EtherCAT header area.
- the type field, or the context information may include a destination MAC address, a source MAC address, and a type field. It can be understood that according to the implementation optimization, the sending end can directly delete the VLAN tag, and it does not need to be stored or sent to the receiving end as part of the context information.
- the context information may include a destination MAC address, a source MAC address, a type field, and a type field in the EetherCAT header area.
- Frame format 6 802.1Q type frame format
- the context information may include a destination MAC address, a source MAC address, a VLAN-1 field, and a type field, or the context information may include a destination MAC address, a source MAC address, and a field type.
- Frame format 7 802.1Q-in-Q frame format
- the context information may include a destination MAC address, a source MAC address, a VLAN-1 field, a VLAN-2 field, and a type field, or the context information may include a destination MAC address, a source MAC address, and a type field.
- Frame format 8 802.3 type frame format
- Table 10 shows the fields in the 802.3 type frame format.
- the context information may include a destination MAC address, a source MAC address, and a length / type field.
- the value of the length field is 0x0000-0x05DC, which is variable. If it is a length field, it is derivable information and need not be carried during transmission. For other values of this field, it has special meaning, which indicates the type of a frame. As static information, it can be used as context information, and it does not need to be carried during transmission.
- FIG. 4 is a schematic interaction diagram of a communication method 300 for Ethernet data according to an embodiment of the present application.
- Method 300 explains how to compress and process Ethernet data from the perspective of uplink transmission.
- the terminal device reports its own Ethernet compression capability to the network device, and the network device configures one or more Ethernet compression capabilities for the terminal device based on the Ethernet compression capability of the terminal device, and the terminal device is based on The Ethernet compression capability configured by the network device compresses the Ethernet data, and sends the compressed data packet to the network device.
- the terminal device sends compression capability information to the network device, where the compression capability information is used to indicate N types of Ethernet compression capabilities supported by the terminal device, where N is an integer greater than or equal to 1.
- the Ethernet compression capability indicates the ability of the terminal device to compress Ethernet data. Specifically, the Ethernet compression capability indicates whether the terminal device can compress the Ethernet data, and if the Ethernet data can be compressed, which types of Ethernet can be compressed? Frame format.
- the compression capability information may include information used to indicate that the compression capability supported by the terminal device is the Ethernet compression capability. In fact, since the terminal The device supports only one type of Ethernet compression capability. Although the compression capability information does not clearly indicate the type of Ethernet compression capability, for a network device, after receiving the compression capability information, it can be sure that the terminal device should It only supports one type of Ethernet compression capability. As for which type of Ethernet compression capability is supported, network devices can know or do not need to know, and will not affect other behaviors of network devices.
- the compression capability information may include information used to indicate N types of Ethernet frame formats supported by the terminal device.
- an Ethernet compression capability can correspond to one Ethernet frame format
- a terminal device reporting N types of Ethernet compression capabilities indicates that the terminal device can compress N Ethernet frame formats.
- the Ethernet frame format may be indicated by a frame format identifier for identifying the Ethernet frame format.
- Ethernet frame format in the 802.3 protocol can include Ethernet 802.3 raw, Ethernet 802.3 SAP or Ethernet 802.3 SNAP, etc .;
- 3 represents 802.1ad (or 802.1Q-In-Q) or vlan stacking Ethernet frame format
- the network device sends compression configuration information to the terminal device, where the compression configuration information is used to indicate a parameter of the first Ethernet compression capability, and the N types of Ethernet compression capabilities include the first Ethernet compression capability.
- the compression configuration information can be understood as the information that the network device enables the Ethernet compression capability for the terminal device. After receiving the compression configuration information, the terminal device knows that it can compress the Ethernet data.
- the network equipment can configure the terminal equipment with Ethernet compression capability based on the performance requirements of the system on the data. For example, if the system does not require high data latency, the compression configuration information can be used to enable the terminal device to enable the Ethernet compression capability. Further, the terminal device can be instructed to enable several types of Ethernet compression capability. If the delay requirement is high, the compression configuration information can be used to enable the terminal device to disable the Ethernet compression capability.
- the network device can configure the Ethernet compression capability according to the device granularity, bearer granularity, logical channel granularity, or QoS flow granularity.
- the compression configuration information is information for all bearers of the terminal device. That is, all bearers of the terminal device use the Ethernet compression capability configured by the compression configuration information.
- the compression configuration information is information carried by a terminal device. That is, the Ethernet compression capability of each bearer of the terminal device is independently configured, and one compression configuration information corresponds to one bearer.
- the compression configuration information is information for a part of the bearers of all bearers of the terminal device. That is, the compression capability of the Ethernet carried by part of the terminal equipment is the same, and one compression configuration information corresponds to the partial bearer.
- the compression configuration information is information for one logical channel of the terminal device. That is, the Ethernet compression capability of each logical channel is independently configured.
- the compression configuration information is information for a quality of service (Qos) stream for a terminal device. That is, the Ethernet compression capability of each Qos stream is independently configured.
- Qos quality of service
- the compression configuration information is not only used to indicate the parameters of the first Ethernet compression capability. If the network device configures the terminal device to compress data using multiple Ethernet compression capabilities, the compression configuration information may also be used to indicate the multiple In the ether compression capability, other parameters of the ether compression capability other than the first ether compression capability. The parameters of the other ether compression capability are similar to the parameters of the first ether compression capability. For simplicity, the embodiment of the present application uses the first ether compression capability. The parameters of the capacity are taken as an example to explain the parameters of the Ethernet compression capacity.
- the compression configuration information may further include instructing the terminal device to perform compression only on an Ethernet frame data packet whose upper layer data type is a non-IP protocol type carried in the Ethernet frame.
- the terminal device may also optionally indicate this capability when reporting.
- the compression configuration information may further include instructing the terminal device to only compress an Ethernet frame data packet whose upper layer data type is an IP protocol type carried in the Ethernet frame.
- the terminal device may also optionally indicate this capability when reporting.
- the terminal device receives the Ethernet compression configuration information, it also receives a header compression (ROHC) compression configuration information.
- a header compression (ROHC) compression configuration information.
- IP header compression is preferred.
- the terminal device may also report whether it supports the capability of performing ROHC and Ethernet head compression at the same time.
- the network device can indicate whether the terminal enables the ROHC and Ethernet header compression functions at the same time according to the capabilities of the terminal.
- the parameter of the first Ethernet compression capability includes an enable parameter, and the enable parameter is used to instruct the terminal device to use the first Ethernet compression capability.
- the enable parameter may be a boolean indication information.
- the first value indicates that the terminal device can use the first Ethernet compression capability, and the second value indicates that the terminal device cannot.
- Use the first Ethernet compression capability if the first Ethernet compression capability is one of the multiple types of Ethernet compression capabilities supported by the terminal device, and the enable parameter can indicate that the terminal device can or cannot use all the Ethernet compression capabilities Capability, the enable parameter may also be a boolean indication information.
- the first value indicates that the terminal device can use the first Ethernet compression capability, and the second value indicates that the terminal device cannot use the first Ethernet compression capability.
- the enable parameter can also instruct the terminal device to close or release or deconfigure the Ethernet compression capability. For example, after the terminal device turns on the Ethernet compression capability, the network device instructs the terminal device to disable the Ethernet compression capability.
- the enable parameter can indicate that the terminal device can compress Ethernet data. As for which Ethernet compression is used, Capabilities may require additional parameter indications.
- the parameter of the first Ethernet compression capability includes a frame format parameter for indicating a first frame format, where the first frame format is a frame format of a first Ethernet data packet.
- the terminal device can know, based on the frame format parameter, that the Ethernet data generated based on the first frame format can be compressed.
- the parameters of the first Ethernet compression capability may not include the enabling parameters, and the terminal device and the network device can negotiate.
- the frame format parameter in the compression configuration information indicates the frame format that the terminal device can compress. In this way, the terminal device can only It is determined through the frame format parameter that the Ethernet data generated based on the first frame format can be compressed.
- the embodiment of the present application also provides a possible implementation manner: the parameter of the first Ethernet compression capability further includes an instruction for indicating the first Algorithm parameters of the compression algorithm in one frame format.
- each frame format corresponds to at least one compression algorithm, and multiple frame formats may also correspond to the same compression algorithm.
- the compression algorithm is used to indicate how to compress the first frame format, or the compression algorithm can indicate which fields in the first frame format can be compressed, or the compression algorithm indicates that the Which fields in the first frame format are used as context information.
- each compression algorithm can correspond to a compression protocol.
- the compression protocol specifically describes the specification information of the compression algorithm, such as the definition of the compression format.
- the configuration information received by the terminal device indicates which fields in the first frame format can be removed and sent directly. For example, in uplink transmission, the source address field information of the Ethernet packet header is deleted and sent.
- the parameters of the first Ethernet compression capability may include at least one of a frame format parameter, a compression protocol parameter, or an algorithm parameter.
- the parameters of the first Ethernet compression capability include any one of two parameters, which compression algorithm is adopted for each frame format may be prescribed by the protocol: if the parameters of the first Ethernet compression capability include the above-mentioned frame format parameters If the terminal device knows that the first frame format is used to compress the Ethernet data, it can directly obtain the compression algorithm corresponding to the first frame format parameter based on the protocol. If the parameters of the first Ethernet compression capability include algorithm parameters, the terminal device knows Algorithm parameters can be obtained based on the protocol specifications for the first frame format corresponding to the algorithm parameters. If the parameters of the first Ethernet compression capability include the compression protocol parameters, the terminal device can determine the compression protocol parameters and can obtain the frame format corresponding to the protocol specifications. Compression algorithm.
- the terminal device In S330, the terminal device generates a first Ethernet data packet according to the parameter of the first Ethernet compression capability.
- the terminal device uses the parameter of the first Ethernet compression capability to compress the Ethernet data, that is, remove the context information (or static information) of the Ethernet data, thereby generating a compressed first Ethernet data packet.
- the first Ethernet data packet may be a PDCP layer data packet or an Ethernet data packet compressed by other protocol layers, which is not limited in this embodiment of the present application.
- the first Ethernet data packet may also be an application layer (or upper layer) of a terminal device, a service data application protocol (SDAP), and a radio link control (RLC). Or MAC layer packets.
- the terminal device sends the first Ethernet data packet to the network device.
- the network device decompresses the first Ethernet data packet.
- the network device In order to interact with other devices, the network device needs to continue to encapsulate the first Ethernet data packet. Therefore, the network device needs to restore the first Ethernet data packet to an uncompressed data packet. In other words, the terminal device needs to be The removed context information is added to the first Ethernet data packet, and a header area of the first Ethernet data packet is restored, thereby completing decompression of the first Ethernet data packet.
- the terminal device reports its own Ethernet compression capability to the network device, and the network device configures one or more types of the terminal device based on the Ethernet compression capability of the terminal device.
- Ethernet compression capability and the terminal device compresses the Ethernet data based on the Ethernet compression capability configured by the network device, and sends the compressed data packet to the network device.
- the network device start the terminal device to use the Ethernet compression capability, it also It enables terminal equipment and network equipment to transmit compressed Ethernet data in a wireless network, which can effectively reduce the waste of resources.
- the embodiment of the present application may not require step S310, that is, the network device does not need to configure the Ethernet compression capability for the terminal device based on the compression capability information received from the terminal device, and may directly configure the Ethernet compression capability for the terminal device.
- the network device may know, through an uncompressed Ethernet data packet sent by the terminal device, that the terminal device only supports one type of Ethernet compression capability, and the terminal device may not be required to report The Ethernet compression capability supported by itself, the network device may send the compression configuration information to the terminal device based on the performance requirements of the system on the data to indicate the only Ethernet compression capability supported by the terminal device.
- the network device may be an access network device or a core network device.
- the terminal device described in the embodiment of the present application receives information from a network device (for example, network device A).
- the terminal device may directly interact with the network device A to receive information.
- the information may be considered as the network device.
- the information generated by A may also be information obtained by network device A from other network devices (for example, recorded as network device B1), and then network device A forwards or transparently transmits the information to the terminal device.
- the information can be considered It is generated by the network device B1 or the network device C1, where the network device B1 receives information from the network device C1.
- the network device receives information from a terminal device.
- the terminal device can directly interact with the network device A, and the network device A directly receives information from the terminal device. It may be that the terminal device sends information to other network devices (for example, network device B1), and network device B1 sends the information directly to network device A or sends the information to network device A through other network devices (for example, network device C1).
- network device B1 sends the information directly to network device A or sends the information to network device A through other network devices (for example, network device C1).
- the network devices are respectively an access network device and a core network device, as an example and not a limitation, a description will be given of transmission paths of compression configuration information and compression capability information.
- the network device is an access network device.
- the access network device generates the compression configuration information.
- Access network equipment obtains compression configuration information from other equipment
- a possible transmission path for compressed configuration information AMF network element ⁇ UPF network element ⁇ access network device ⁇ terminal device.
- the compressed configuration information can be generated by the AMF network element. It can be understood that the access network device
- the compression configuration information is received from the AMF network element or the UPF network element, and the UPF network element forwards or transparently transmits the compression configuration information generated by the AMF network element to the access network device.
- Another possible transmission path for compressed configuration information SMF network element ⁇ UPF network element ⁇ access network device ⁇ terminal device. In this case, the compressed configuration information can be generated by the SMF network element.
- the access network The device receives the compression configuration information from the SMF network element or the UPF network element, and the UPF network element forwards or transparently transmits the compression configuration information generated by the SMF network element to the access network device.
- Another possible transmission path for compressed configuration information UPF network element ⁇ access network device ⁇ terminal device.
- the compressed configuration information can be generated by the UPF network element.
- the access network device is from the UPF network.
- the meta receives compression configuration information.
- one possible transmission path of compression capability information is: terminal device ⁇ access network device; if the device generating the compression configuration information is a core network device, the access network device may The compression capability information is sent to the core network equipment.
- the network device is a core network device
- the terminal device receives information from the network device, and the network device receives information from the terminal device. It can be understood that the UPF network element communicates with the terminal device through the core network device to transmit information,
- the UPF network element generates the compression configuration information.
- UPF network element ⁇ access network device ⁇ terminal device.
- the UPF network element obtains the compression configuration information from other devices.
- AMF network element ⁇ UPF network element ⁇ access network device ⁇ terminal device Another possible transmission path for compressed configuration information: SMF network element ⁇ UPF network element ⁇ access network Device ⁇ Terminal device.
- terminal device When the network device is a UPF network element, one possible transmission path of compression capability information: terminal device ⁇ access network device ⁇ UPF network element; another possible transmission path of compression capability information: terminal device ⁇ access Network access equipment-AMF network element-SMF network element-UPF network element.
- any two devices may transmit compression configuration information through different signaling.
- the AMF network element may send the compression configuration information to the UPF network element through non-access-stratum (NAS) signaling, where the NAS signaling may be a registration response message, a protocol data unit (protocol data unit, PDU) session establishment.
- the AMF network element may also send the compression configuration information to the terminal device through the access network device through NAS signaling.
- the access device sends compression configuration information to the terminal device through RRC signaling or PDCP control signaling.
- a UPF network element may send compression configuration information to a terminal device through other devices through compression signaling in an Ethernet data packet.
- the first Ethernet data packet does not include context information (in order to facilitate the distinction and understanding, it is recorded as the first context information), but in order to enable the network device to obtain the first context information to facilitate the network device Decompress the first Ethernet data packet.
- the first Ethernet data packet includes a first header, the first header includes a first context identifier, and the first context identifier is used to identify the first context information. as well as,
- the method also includes:
- the network device decompressing the first Ethernet data packet includes:
- the network device decompresses the first Ethernet data packet according to the first context information.
- the network device obtains the first context identifier from the first header of the first Ethernet data packet, and obtains the context information corresponding to the first context identifier (that is, the first context information) based on the first context identifier. ) Therefore, the first Ethernet data packet is decompressed based on the first context information, where the first context information may be context information of different frame formats listed above and not listed above.
- the first context identifier is located in a field of the first packet header (for convenience of distinguishing and understanding, it is denoted as field 1), that is, field 1 is used to carry the first context identifier.
- the first header may further include other fields, and each field carries corresponding content.
- the first header further includes at least one of the following fields.
- a field for indicating whether the first Ethernet data packet is compressed (for convenience of distinction and understanding, it is denoted as field 2), where field 2 indicates that the first Ethernet data packet is compressed.
- a field for indicating the compression configuration identifier of the frame format of the first Ethernet data packet (for convenience of distinguishing and understanding, it is recorded as field 3).
- a field for indicating a cyclic redundancy check (cyclic redundancy check, CRC) (for the convenience of distinguishing and understanding, it is recorded as field 4).
- the terminal device can determine which fields the first packet header includes according to field 5, that is, determine the format of the first header, and thus read the content of each field according to the determined format of the first header.
- FIG. 5 is a schematic diagram of a frame format of a first Ethernet data packet according to an embodiment of the present application.
- the first Ethernet data packet includes a data area and a header (that is, a first header) area.
- the first header area includes at least four fields, that is, field 1, field 2, field 3, and field. 4.
- Field 1 carries a first context identifier
- field 2 carries information used to indicate that the first Ethernet data packet is compressed
- field 3 carries a compression configuration identifier
- field 4 carries a CRC.
- the network device can further obtain the corresponding context information through the context identifier, which can effectively ensure that the network device successfully decompresses the Ethernet data. package.
- the network device may obtain the context information corresponding to the first context identifier based on the first context identifier. Specifically, the network device may obtain the context information from the first context identifier and the first context information based on the first context identifier. The first context information is obtained in a first correspondence relationship between the two.
- the embodiments of the present application provide various possible implementation manners. The following describes the specific manner in which the network device obtains the first correspondence relationship.
- the network device obtains the first correspondence relationship from the terminal device. That is, the terminal device generates the first correspondence relationship, and sends the first correspondence relationship to the network device.
- the time sequence in which the terminal device sends the first correspondence may be before the first Ethernet data packet is generated, or after the first Ethernet data packet is generated, as long as the network device decompresses the first Just send the Ethernet packet to the network device.
- the terminal device sends a correspondence relationship between the context identifier and the context information to the network device, and the correspondence relationship includes the first correspondence relationship.
- the correspondence relationship indicates a correspondence relationship between at least one context identifier and at least one context information, and each context identifier corresponds to one context information.
- the following uses the first correspondence relationship as an example to describe the manner in which the terminal device sends the correspondence relationship.
- the terminal device may send the first correspondence relationship to the network device through various forms of signaling, such as radio resource control (radio resource control (RRC) signaling, non-access layer). (non-access-stratum, NAS) signaling or application layer signaling for Ethernet header compression.
- RRC radio resource control
- non-access layer non-access layer
- NAS non-access-stratum
- a network device may correspond to multiple terminal devices, which means that a destination MAC address can correspond to multiple source MAC addresses.
- the destination MAC address and source MAC address belong to the context information.
- the source MAC address and the destination MAC address are not exactly the same.
- a network device corresponds to two terminal devices (terminal device A and terminal device B).
- terminal device A and terminal device B For the same frame format, there will be two context information.
- One context information includes the MAC addresses of the network device and terminal device A, and the other context The information includes the MAC addresses of the network device and the terminal device B.
- a context identifier can be generated in a frame format. For example, if frame format 1 corresponds to two context identifiers and frame format 2 corresponds to two context identifiers, the two context identifiers in frame format 1 may be 0 and 1, and the two context identifiers in frame format 2 may also be 0 and 1. 1.
- the terminal device sends to the network device Information for indicating a frame format (ie, a first frame format) corresponding to the first correspondence relationship.
- the network device can know that the first correspondence relationship is for the correspondence relationship of the first frame format, and store the above-mentioned context identifier for saving the number of bits.
- the first frame format and the first correspondence may be carried in the same information or in different information, which is not limited in the embodiment of the present application.
- the terminal device can also carry a correspondence relationship in the header of the uncompressed Ethernet data packet when sending the uncompressed Ethernet data packet, and the correspondence relationship represents the uncompressed Ethernet data packet.
- the context information and corresponding context identifier of the frame format of the data packet In this way, the network device can obtain the corresponding relationship from the uncompressed Ethernet data packet and store it. In this way, if a subsequent terminal device sends a frame format and the uncompressed
- the compressed Ethernet data packet has the same frame format as the Ethernet data packet, and the network device can directly obtain the context information of the compressed Ethernet data packet based on the correspondence stored in advance, and then successfully decompress the Ethernet data packet.
- the terminal device sends a second Ethernet data packet to the network device, and the second Ethernet data packet includes a second header, and the second header Including the first correspondence.
- the correspondence relationship other than the first correspondence relationship may also be carried by an uncompressed Ethernet data packet.
- the second header further includes a frame format of the second Ethernet data packet, and the frame format of the second Ethernet data packet is similar to the frame format of the second Ethernet data packet.
- the frame format (ie, the first frame format) of the first Ethernet data packet is the same.
- FIG. 6 is a schematic diagram of a frame format of a second Ethernet data packet according to an embodiment of the present application.
- the frame format of the second Ethernet data packet is a frame format of an uncompressed data packet.
- the second Ethernet data packet includes a data area and a header (that is, a second header) area.
- the header area includes at least field 1 and field 5, where field 1 carries the first context identifier and field 5 carries the first context information.
- the second may further include at least one of field 2, field 3, or field 5, where field 2 carries information used to indicate that the second Ethernet data packet is not compressed, and field 3 carries A compression configuration identifier indicating a frame format of the second Ethernet data packet.
- Field 4 carries a CRC.
- the network device and the terminal device are required to jointly maintain the correspondence between the context identifier and the context information.
- the present invention provides a possible implementation manner:
- the network device sends first instruction information to the terminal device, where the first instruction information is used to indicate the maximum number of context information generated by the terminal device.
- the network device obtains the first correspondence relationship from a pre-stored correspondence between at least one context information and at least one context identifier based on the first context identifier, where each context information corresponds to a context identifier.
- the pre-stored correspondence relationship may be prescribed by a system or a protocol, or may be generated in advance by a network device.
- the system or protocol can configure M context information for different compressible frame formats, or the network device can generate M context information based on different compressible frame formats, and for the convenience of query and identification, for Each context information is configured with a corresponding context identifier.
- a related feedback mode is set for whether the network device successfully receives the first correspondence relationship and whether the first Ethernet data packet is successfully decompressed.
- the method further includes:
- the terminal device receives feedback mode information, and the feedback mode information includes any one of the following: a positive acknowledgement (ACK) feedback mode, a negative acknowledgement (NACK) feedback mode, or a no feedback mode.
- ACK positive acknowledgement
- NACK negative acknowledgement
- the ACK feedback mode indicates that if the network device successfully receives the first correspondence relationship, the network device sends feedback information to the terminal device. Conversely, if the network device does not successfully receive the first correspondence relationship, the network device does not send feedback. Information, if the terminal device does not receive the feedback information within a preset time period, it is considered that the network device has not successfully received the first correspondence relationship.
- the NACK feedback mode indicates that if the network device does not successfully receive the first correspondence relationship, the network device sends feedback information to the terminal device. Conversely, if the network device successfully receives the first correspondence relationship, the network device does not send feedback. Information, if the terminal device does not receive the feedback information within a preset time period, it is considered that the network device successfully receives the first correspondence relationship.
- the non-feedback mode indicates that after sending the first correspondence, the terminal device does not pay attention to whether the network device successfully receives the first correspondence, and does not need to receive feedback information sent by the network device.
- the ACK feedback mode indicates that if the network device successfully decompresses the first Ethernet data packet, the network device sends feedback information to the terminal device. Conversely, if the network device does not successfully decompress the first Ethernet data packet, then The network device does not send feedback information, and the terminal device does not receive the feedback information within a preset time, it is considered that the network device has not successfully decompressed the first Ethernet data packet.
- the NACK feedback mode indicates that if the network device does not successfully decompress the first Ethernet data packet, the network device sends feedback information to the terminal device. Conversely, if the network device successfully decompresses the first Ethernet data packet, then The network device does not send feedback information, and the terminal device does not receive the feedback information within a preset time, it is considered that the network device successfully decompresses the first Ethernet data packet.
- the non-feedback mode indicates that after sending the first Ethernet data packet, the terminal device does not care whether the network device successfully decompresses the first Ethernet data packet and does not need to receive feedback information sent by the network device.
- the terminal device may receive other parameters about the no-feedback mode from the configuration information of the network device, such as N and M.
- N represents the number of times that the sending end (for example, the terminal device) sends a non-compressed data packet to start the compressed mode
- M represents the length of time that the sending end (for example, the terminal device) can send the compressed data packet. Send in compressed mode all the time, reset the above information after the timer expires.
- the method further includes:
- the network device sends first feedback information to the terminal device, and the first feedback information is used to instruct the network device to successfully receive the first correspondence relationship.
- the first feedback information may include at least one of the following: the first context identifier or ACK information.
- the first feedback information may further include a sequence of the second Ethernet data packet.
- the network device can also be instructed to successfully receive the first correspondence.
- a data packet for carrying feedback information may be independently designed.
- the first feedback information is carried in a load domain of a data packet sent by a network device.
- FIG. 7 is a schematic diagram of a frame format of a data packet for carrying feedback information according to an embodiment of the present application.
- the data packet includes a packet header and a payload area.
- the packet header may include at least a field for indicating whether the data packet is a data packet of a data type or a data packet of control information, that is, D / C, where: D indicates data, C indicates control information, and includes a type field.
- the type field may be a field used to indicate the feedback information of Ethernet compression, and R indicates a reserved field; the load area is to carry feedback information (for example, the first feedback information )Area.
- the method further includes:
- the network device sends second feedback information to the terminal device, and the second feedback information is used to instruct the network device to successfully decompress the first Ethernet data packet.
- the second feedback information may include at least one of the following: a sequence of the first Ethernet data packet or ACK information.
- a data packet for carrying feedback information may be independently designed.
- the second feedback information is carried in a load domain of a data packet sent by a network device.
- the frame format of the data packet used to carry the feedback information reference may be made to the description in FIG. 7. For brevity, details are not described herein again.
- the terminal device may send indication information to the network device to indicate resetting the compression context.
- the instruction information is used to instruct the network device to delete the context information stored in the network device. It can also be understood that both parties need to renegotiate the compression context information.
- entity refers to a logical entity, which is implemented in the form of a logical instance, and is specifically implemented in software.
- entity refers to a logical entity, which is implemented in the form of a logical instance, and is specifically implemented in software.
- the function of the entity It is assumed that the embodiments of the present application may include a PDCP entity and a compression / decompression entity.
- S310 and / or S320 may be implemented on the PDCP entity
- S330 and / or S350 may be implemented on the compression / decompression entity.
- the PDCP entity After executing the S310 and / or S320, the PDCP entity starts the compression / decompression entity, generates an Ethernet data packet, and sends the Ethernet data packet to the compression / decompression entity of the network device, so that the network device performs the decompression function.
- the embodiments of the present application may all be implemented on a PDCP entity.
- the embodiments of the present application are all implemented in a compression / decompression entity.
- the process of compressing and processing Ethernet data in the embodiment of the present application has been described from the perspective of uplink transmission.
- the process of compressing and processing Ethernet data in the embodiment of the present application will be described from the perspective of downlink transmission.
- the Ethernet data packets and the like are distinguished by the third and fourth.
- the first, second, third, and fourth, etc. are not used to limit their order, and from the downlink, the third and fourth here can be replaced by the first and second.
- FIG. 8 is a schematic interaction diagram of a communication method 400 for Ethernet data according to an embodiment of the present application.
- the terminal device reports its own Ethernet compression capability to the network device, and the network device configures one or more Ethernet compression capabilities for the terminal device based on the Ethernet compression capability of the terminal device, and the network device is based on the configured
- the Ethernet compression capability compresses the Ethernet data and sends the compressed data packets to the terminal device.
- the terminal device sends compression capability information to the network device, where the compression capability information is used to indicate N types of Ethernet compression capabilities supported by the terminal device, where N is an integer greater than or equal to 1.
- the network device sends and receives compression configuration information to the terminal device, where the compression configuration information is used to indicate a parameter of a third Ethernet compression capability, and the N types of Ethernet compression capabilities include the third Ethernet compression capability.
- the network device enables the Ethernet compression information for the terminal device.
- the role of the compression configuration information is slightly different from the specific role of the compression configuration information in uplink transmission. That is, the terminal device receives the compression configuration information. After enabling the Ethernet compression capability, make sure that the network device will send compressed Ethernet data packets in the future, and which Ethernet compression capabilities will be used to compress the Ethernet data packets, in order to be able to decompress the compressed Ethernet data sent by the network device. compression.
- the terminal device enables the Ethernet compression capability, which means that the terminal device can decompress the received compressed Ethernet data.
- a function entity may also be configured for the compression or decompression function. Based on the compression configuration information, the received Ethernet data packet may be directly completed based on the decompression function entity.
- the parameter of the third Ethernet compression capability includes an enable parameter, and the enable parameter is used to instruct the terminal device to use the third Ethernet compression capability.
- enabling parameters For the description of the enabling parameters, refer to the description of the enabling parameters in S320 in method 300.
- the parameter of the third Ethernet compression capability includes a frame format parameter for indicating a third frame format
- the third frame format is a frame format of a third Ethernet data packet.
- the terminal device can know, based on the frame format parameter, that the network device can compress the Ethernet data generated based on the third frame format.
- the parameter of the third Ethernet compression capability may not include the enabling parameter, and the terminal device and the network device can negotiate.
- the frame format parameter in the compression configuration information indicates the frame format that the network device can compress. In this way, the terminal device can only It is determined through the frame format parameter that the Ethernet data generated based on the third frame format can be decompressed.
- the parameter of the third Ethernet compression capability further includes an algorithm parameter used to indicate a compression algorithm of the third frame format.
- the configuration information received by the terminal device indicates which fields in the third frame format have been removed.
- the network device In S430, the network device generates a third Ethernet data packet according to the parameter of the third Ethernet compression capability.
- the network device uses the parameter of the third Ethernet compression capability to compress the Ethernet data, that is, the context information of the Ethernet data packet is removed, thereby generating a compressed third Ethernet data packet.
- the first Ethernet data packet transmitted in the uplink and the third Ethernet data packet transmitted in the downlink may be Ethernet data packets at the PDCP layer or Ethernet data packets at other protocol layers. There are no restrictions on this.
- the network device sends the third Ethernet data packet to the terminal device.
- the terminal device decompresses the third Ethernet data packet.
- the terminal device needs to restore the third Ethernet data packet to an uncompressed data packet.
- the context information removed by the network device needs to be added to the third Ethernet data packet to restore the third Ethernet data packet. Header area of the network data packet, thereby completing decompression for the third Ethernet data packet.
- the terminal device reports its own Ethernet compression capability to the network device, and the network device configures one or more types of the terminal device based on the Ethernet compression capability of the terminal device.
- the Ethernet compression capability can enable the terminal device to enable the decompression function of the Ethernet data packet.
- the terminal device sends the compressed data packet to the network device. It can enable terminal equipment and network equipment to transmit compressed Ethernet data in a wireless network, and can effectively reduce signaling overhead.
- the third Ethernet data packet includes a third header
- the first The three-packet header includes a third context identifier, which is used to identify the third context information
- the method also includes:
- the terminal device decompressing the third Ethernet data packet includes:
- the terminal device decompresses the third Ethernet data packet according to the third context information.
- the terminal device obtains the third context identifier from the third header of the third Ethernet data packet, and obtains the context information corresponding to the third context identifier (that is, the third context information) based on the third context identifier. ) Therefore, the third Ethernet data packet is decompressed based on the third context information, where the third context information may be context information of different frame formats listed above and not listed above.
- the embodiment of the present application further adds a context identifier for identifying the context information to the header of the Ethernet data packet to further enable the terminal device to obtain the corresponding context information through the context identifier, which can effectively ensure that the terminal device successfully decompresses the Ethernet data. package.
- the terminal device may obtain the context information corresponding to the third context identifier based on the third context identifier. Specifically, the terminal device may obtain the context information from the third context identifier and the third context information based on the third context identifier.
- the third context information is obtained in a third correspondence relationship between them.
- the embodiments of the present application provide various possible implementation manners. In the following, the specific manner in which the terminal device obtains the third correspondence relationship is briefly described.
- the terminal device acquires the third correspondence relationship from the network device. That is, the network device generates the third correspondence relationship, and sends the third correspondence relationship to the terminal device.
- the network device sends a correspondence relationship between the context identifier and the context information to the terminal device, and the correspondence relationship includes the third correspondence relationship.
- the correspondence relationship indicates a correspondence relationship between at least one context identifier and at least one context information, and each context identifier corresponds to one context information.
- the following uses the third correspondence relationship as an example to describe a manner in which the network device sends the correspondence relationship.
- the network device may send the third correspondence to the terminal device through various forms of signaling, for example, radio resource control (radio resource control (RRC) signaling).
- RRC radio resource control
- the network device sends to the terminal device.
- Information indicating a frame format (ie, a third frame format) corresponding to the third correspondence relationship In this way, the terminal device can know that the third correspondence relationship is for the correspondence relationship of the third frame format, and store the above-mentioned context identifier for saving the number of bits.
- the third frame format and the third correspondence may be carried in the same information or in different information, which is not limited in the embodiment of the present application.
- the network device can also carry a corresponding relationship in the header of the uncompressed Ethernet data packet when sending the uncompressed Ethernet data packet.
- the uncompressed Ethernet indicated by the correspondence relationship Context information and corresponding context identifier of the frame format of the network data packet.
- the terminal device can obtain the corresponding relationship from the uncompressed Ethernet data packet and store it.
- a subsequent network device sends a frame format and the The compressed Ethernet data packet has the same frame format as the compressed Ethernet data packet.
- the terminal device can directly obtain the context information of the compressed Ethernet data packet based on the correspondence stored in advance, and then successfully decompress the Ethernet data packet.
- the network device sends a fourth Ethernet data packet to the terminal device, where the fourth Ethernet data packet includes a fourth header, and the fourth header
- the network device sends a fourth Ethernet data packet to the terminal device, where the fourth Ethernet data packet includes a fourth header, and the fourth header
- the third correspondence relationship is included.
- the fourth packet header further includes a frame format of the fourth Ethernet data packet, and the frame format of the fourth Ethernet data packet is similar to the frame format of the fourth Ethernet data packet.
- the frame format (ie, the third frame format) of the third Ethernet data packet is the same.
- the network device and the terminal device are required to jointly maintain the correspondence between the context identifier and the context information.
- the present invention provides a possible implementation manner:
- the network device sends first instruction information to the terminal device, where the first instruction information is used to indicate the maximum number of context information generated by the terminal device.
- the terminal device obtains the third correspondence relationship from a pre-stored correspondence between at least one context information and at least one context identifier based on the third context identifier, where each context information corresponds to one context identifier.
- the pre-stored correspondence relationship may be prescribed by the system or protocol, or may be generated in advance by the terminal device.
- the system or protocol can configure M context information for different compressible frame formats, or the terminal device can generate M context information based on different compressible frame formats, and, for convenience of query and identification, for Each context information is configured with a corresponding context identifier.
- a relevant feedback mode is set for whether the terminal device successfully receives the third correspondence relationship and whether the third Ethernet data packet is successfully decompressed.
- the method further includes:
- the network device sends feedback mode information, and the feedback mode information includes any of the following: a positive acknowledgement (ACK) feedback mode, a negative acknowledgement (NACK) feedback mode, or a no feedback mode.
- ACK positive acknowledgement
- NACK negative acknowledgement
- the feedback mode information may be configuration information sent by a network device.
- the ACK feedback mode indicates that if the terminal device successfully receives the third correspondence relationship, the terminal device sends feedback information to the network device. Conversely, if the terminal device does not successfully receive the third correspondence relationship, the terminal device does not send feedback. Information, if the network device does not receive the feedback information within a preset time period, it is considered that the terminal device has not successfully received the third correspondence relationship.
- the NACK feedback mode indicates that if the terminal device does not successfully receive the third correspondence relationship, the terminal device sends feedback information to the network device. Conversely, if the terminal device successfully receives the third correspondence relationship, the terminal device does not send feedback. Information, if the network device does not receive the feedback information within a preset time period, it is considered that the terminal device successfully receives the third correspondence relationship.
- the non-feedback mode indicates that after sending the third correspondence relationship, the network device does not pay attention to whether the terminal device successfully receives the third correspondence relationship and does not need to receive feedback information sent by the terminal device.
- the terminal device may receive other parameters about the no-feedback mode from the configuration information of the network device, such as N and M.
- N represents the number of times that the sender (for example, a network device) sends an uncompressed packet to start the compressed mode
- M represents the length of time that the sender (for example, a network device) can send a compressed packet after the compressed mode is started. Send in compressed mode all the time, reset the above information after the timer expires.
- the ACK feedback mode indicates that if the terminal device successfully decompresses the third Ethernet data packet, the terminal device sends feedback information to the network device. Conversely, if the terminal device does not successfully decompress the third Ethernet data packet, then The terminal device does not send feedback information, and the network device does not receive the feedback information within a preset time period, it is considered that the terminal device has not successfully decompressed the third Ethernet data packet.
- the NACK feedback mode indicates that if the terminal device does not successfully decompress the third Ethernet data packet, the terminal device sends feedback information to the network device. Conversely, if the terminal device successfully decompresses the third Ethernet data packet, then The terminal device does not send feedback information, and the network device does not receive the feedback information within a preset time, it is considered that the terminal device successfully decompresses the third Ethernet data packet.
- the non-feedback mode indicates that after sending the third Ethernet data packet, the network device does not pay attention to whether the terminal device successfully decompresses the third Ethernet data packet and does not need to receive feedback information sent by the terminal device.
- the following uses the ACK feedback mode as an example to describe the process of sending feedback information to the terminal device from the terminal device's reception of the third correspondence relationship and the terminal device's decompression of the third Ethernet data. .
- the method further includes:
- the terminal device sends third feedback information to the network device, and the third feedback information is used to indicate that the terminal device successfully receives the third correspondence relationship.
- the third feedback information may include at least one of the following: the third context identifier or ACK information.
- the third feedback information may further include a sequence of the fourth Ethernet data packet. In this way, it can also indicate that the terminal device successfully receives the third correspondence relationship.
- a data packet for carrying feedback information may be independently designed.
- the third feedback information is carried in a load field of a data packet sent by the terminal device.
- the frame format of the data packet used to carry the feedback information reference may be made to the description of FIG. 7 above. For brevity, details are not described herein again.
- the method further includes:
- the terminal device sends fourth feedback information to the network device, and the fourth feedback information is used to instruct the terminal device to successfully decompress the third Ethernet data packet.
- the fourth feedback information may include at least one of the following: a sequence of the third Ethernet data packet or ACK information.
- a data packet for carrying feedback information may be independently designed.
- the fourth feedback information is carried in a load domain of a data packet sent by the terminal device.
- the frame format of the data packet used to carry the feedback information reference may be made to the description in FIG. 7. For brevity, details are not described herein again.
- the steps in the embodiments of the present application can be implemented on one functional entity or multiple entities.
- the entity refers to a logical entity and is implemented in the form of a logical instance.
- the function of this entity is realized by software. It is assumed that the embodiment of the present application may include a PDCP entity and a compression / decompression entity.
- S410 and / or S420 may be implemented on the PDCP entity, and S430 and / or S450 may be implemented on the compression / decompression entity.
- the PDCP entity After executing S410 and / or S420, the PDCP entity starts the compression / decompression entity, generates an Ethernet data packet, and sends the Ethernet data packet to the compression / decompression entity of the terminal device, so that the terminal device performs the decompression function.
- the embodiments of the present application may all be implemented on a PDCP entity.
- the embodiments of the present application are all implemented in a compression / decompression entity.
- FIG. 9 is a schematic interaction diagram of a communication method 500 for Ethernet data according to an embodiment of the present application.
- the receiving end may be a terminal device and the sending end is a network device; or, the receiving end is a network device and the sending end is a terminal device.
- the sending end generates a fifth Ethernet data packet, where the fifth Ethernet data packet includes a fifth header, the fifth header includes a fifth context identifier, and the fifth context identifier is used to identify the fifth context information;
- the sending end sends a fifth Ethernet data packet to the receiving end.
- the receiving end obtains the fifth context information according to the fifth context identifier.
- the receiving end decompresses the fifth Ethernet data packet according to the fifth context information.
- the sending end can effectively reduce the waste of resources by sending the compressed Ethernet data packet (for example, the fifth Ethernet data packet) to the receiving end, and Adding a context identifier for identifying the context information to the header of the Ethernet data packet enables the receiving end to obtain the corresponding context information through the context identification, which effectively guarantees the probability that the receiving end successfully decompresses the Ethernet data packet.
- the compressed Ethernet data packet for example, the fifth Ethernet data packet
- Adding a context identifier for identifying the context information to the header of the Ethernet data packet enables the receiving end to obtain the corresponding context information through the context identification, which effectively guarantees the probability that the receiving end successfully decompresses the Ethernet data packet.
- the sending end sends a corresponding relationship between the following identifier and the context information to the receiving end, and the corresponding relationship includes a fifth correspondence between the fifth context identifier and the fifth context identifier.
- the sending end sends a sixth Ethernet data packet to the receiving end, the sixth Ethernet data packet includes a sixth header, and the sixth header includes a correspondence between the fifth context identifier and the fifth context information .
- the uncompressed Ethernet data packet (for example, the sixth Ethernet data packet) carries the corresponding relationship, which can reduce signaling overhead and save resources.
- the sixth packet header further includes indication information for indicating a type of a frame format of the sixth Ethernet data packet, and a type of the frame format of the sixth Ethernet data packet is the same as that of the fifth Ethernet data packet.
- the type of frame format is the same.
- the system can be made to establish at least one context identifier for each frame format, and identify context information in each frame format. , Can save the number of bits occupied by the context identifier.
- the method further includes:
- the receiving end sends fifth feedback information to the sending end, and the fifth feedback information is used to indicate that the receiving end successfully receives the corresponding relationship.
- the fifth feedback information includes: a context identifier in the correspondence relationship.
- the fifth feedback information includes a fifth context identifier in the fifth corresponding relationship.
- the method further includes:
- the receiving end sends sixth feedback information to the sending end, and the sixth feedback information is used to indicate that the receiving end successfully decompresses the fifth data packet.
- the sending end is a terminal device, and the receiving end is a network device; and, the method further includes:
- the sending end sends compression capability information to the receiving end, where the compression capability information is used to indicate N types of Ethernet compression capabilities supported by the sending end, where N is an integer greater than or equal to 1;
- the receiving end sends compression configuration information to the receiving end, where the compression configuration information is used to indicate a parameter of a fifth ether compression capability, and the N types of ether compression capabilities include the fifth ether compression capability; and,
- the sending end generates a fifth Ethernet data packet, including:
- the sending end generates the fifth Ethernet data packet according to the parameter of the fifth Ethernet compression capability.
- the sending end is a network device
- the receiving end is a terminal device
- the method further includes:
- the receiving end sends compression capability information to the transmitting end, where the compression capability information is used to indicate N types of Ethernet compression capabilities supported by the receiving end, where N is an integer greater than or equal to 1;
- the sending end sends compression configuration information to the receiving end, where the compression configuration information is used to indicate a parameter of a fifth ether compression capability, and the N types of ether compression capabilities include the fifth ether compression capability; and,
- the sending end generates a fifth Ethernet data packet, including:
- the sending end generates the fifth Ethernet data packet according to the parameter of the fifth Ethernet compression capability.
- the receiving end is a network device
- the transmitting end is a terminal device.
- the method in this embodiment of the present application may refer to the method 300.
- the fifth Ethernet data packet in the method 500 may correspond to the first Ethernet data packet in the method 300
- the fifth header in the method 500 may correspond to the first header in the method 300
- the fifth context identifier in the method 500 may be used to identify the fifth context identifier in the method 500.
- the fifth context information in method 500 may correspond to the first context information in method 300, and the fifth correspondence in method 500 may correspond to the first correspondence in method 300, method
- the sixth Ethernet data packet in 500 may correspond to the second Ethernet data packet in method 300, the sixth header in method 500 may correspond to the second header in method 300, and the fifth feedback information in method 500 may correspond to method
- the first feedback information in 300 and the sixth feedback information in method 500 may correspond to the second feedback information in method 300.
- the receiving end may be a terminal device and the sending end may be a network device.
- the fifth Ethernet data packet in method 500 may correspond to the third Ethernet data packet in method 400
- the fifth header in method 500 may correspond to the third header in method 400
- the fifth context identifier in method 500 May correspond to the third context identifier in method 400
- the fifth context information in method 500 may correspond to the third context information in method 400
- the fifth correspondence in method 500 may correspond to the third correspondence in method 400.
- the sixth Ethernet data packet in 500 may correspond to the fourth Ethernet data packet in method 400
- the sixth header in method 500 may correspond to the fourth header in method 400
- the fifth feedback information in method 500 may correspond to method The third feedback information in 400
- the sixth feedback information in method 500 may correspond to the fourth feedback information in method 400.
- the sender is in the initialization state.
- the initialization state indicates that the sender has configured the related Ethernet compression / decompression function.
- the receiving end may send an Ethernet compression initialization instruction.
- the receiver After receiving the instruction, the receiver starts preparing the Ethernet compression / decompression function. For example, an initialization indication is added to a PDCP subheader or Ethernet compression signaling, MAC signaling, RRC signaling, or NAS signaling. It can be understood that the subsequent Ethernet data packets received by the receiving end need to be processed through the decompression function. The Ethernet packet sent by the sender needs to be processed by the compression function.
- the sending end sends an uncompressed Ethernet data packet, where the uncompressed Ethernet data packet can carry the context information that needs to be stored by the receiving end.
- the sender does not establish context information
- the sending end and the receiving end are out of synchronization
- the sender transitions from the initialized state to the compressed state when any of the following events occur:
- the receiving end may send an Ethernet compression start instruction.
- the receiving end starts the Ethernet compression / decompression function.
- a PDCP subheader or Ethernet compression signaling, MAC signaling, RRC signaling, NAS signaling is added with a start indication. It can be understood that the subsequent Ethernet data packets received by the receiving end need to be processed through the decompression function. The Ethernet packet sent by the sender needs to be processed by the compression function.
- the sender After determining to send the compressed Ethernet data packet, the sender sends the compressed Ethernet data packet.
- the receiving end may send an Ethernet compression suspend instruction, and after receiving the instruction, the sending end performs a suspension of the Ethernet compression behavior.
- an Ethernet compression suspend instruction For example, a PDCP subheader or Ethernet compression signaling, MAC signaling, RRC signaling, NAS signaling is added with an Ethernet compression suspension indication.
- the receiving end may send an Ethernet compression recovery instruction, and after receiving the instruction, the receiving end resumes the Ethernet compression behavior.
- an Ethernet compression recovery indication is added to a PDCP subheader or Ethernet compression signaling, MAC signaling, RRC signaling, and NAS signaling.
- the sender changes from the compression pending state to the initialization state.
- the terminal when the terminal receives an instruction to reset the Ethernet compression cache, the terminal resets the context information of the Ethernet compression cache.
- an Ethernet compression buffer reset indication is added to a PDCP subheader or Ethernet compression signaling, MAC signaling, RRC signaling, or NAS signaling.
- it is used to resynchronize the contexts of both parties when a terminal handover occurs.
- the second aspect describes a solution on how to transmit broadcast type or multicast type Ethernet data packets.
- two types of transmission of broadcast type or multicast type Ethernet data are provided.
- the mode of the package ie, mode A and mode B.
- mode A an RNTI for a broadcast type or multicast type Ethernet data packet is proposed, and a network device sends a broadcast type Ethernet data packet based on the RNTI; in mode B, a system message block (system information (blocks, SIB) to send broadcast Ethernet packets.
- SIB system information
- Broadcast mode When sending a data packet based on the broadcast method, the data packet is sent from a single source to all hosts on the shared Ethernet, and all hosts receiving the data packet must receive and process the data packet.
- the length of the MAC address of a broadcast type Ethernet packet is 48 bits, each bit value is 1, and when displayed in hexadecimal, it is FF-FF-FF-FF-FF- FF.
- Multicast mode When a data packet is sent based on the multicast mode, the data packet is sent from the source device to a group of hosts.
- the multicast mode can be understood as a selective broadcast mode.
- a host belonging to a group is assigned a multicast address. The host listens to a specific multicast address, and receives and processes packets whose destination MAC address is the multicast MAC address.
- an Ethernet data packet sent in a broadcast mode may be referred to as a broadcast type Ethernet data packet
- an Ethernet data packet sent in a multicast manner may be referred to as a multicast type Ethernet.
- the Ethernet data packets sent in unicast mode are called unicast Ethernet packets.
- the RNTI for Ethernet packets of broadcast type can be referred to as the RNTI of the broadcast type
- the RNTI for Ethernet packets of the multicast type can be referred to as the RNTI of the multicast type
- the unicast Ethernet data can be referred
- the RNTI of a packet is simply referred to as a unicast RNTI, and the two descriptions can be replaced with each other.
- broadcast-type or multicast-type data packets need to be sent to multiple terminal devices, for ease of description, any one of the multiple terminal devices is used as an example to describe the embodiment of the present application.
- Network equipment sends broadcast Ethernet packets based on RNTI for broadcast or multicast Ethernet packets
- Mode A may be applicable to a scenario where the terminal device is in a connected state.
- FIG. 10 is a schematic interaction diagram of a communication method 600 for Ethernet data according to an embodiment of the present application.
- the network device sends downlink control information DCI to the terminal device.
- the DCI is scrambled with a first wireless network temporary identifier (RNTI).
- the first RNTI is an RNTI for an Ethernet data packet, and the DCI It includes information used to indicate the time-frequency resources carrying the Ethernet data packet.
- the network device sends the Ethernet data packet to the terminal device.
- the terminal device receives the Ethernet data packet from the network device based on the time-frequency resources indicated by the DCI.
- the first RNTI may be an RNTI of a non-unicast type.
- the first RNTI may be directed to a multicast type Ethernet data packet, may also be directed to a broadcast type Ethernet data packet, or may be directed to another type of Ethernet data packet, which is not limited in the embodiment of the present application.
- the scheduling information ie, DCI
- the scheduling information for scheduling unicast type Ethernet data packets is scrambled with a second RNTI, a first RNTI is newly introduced, and the non-unicast type Ethernet is scrambled with the first RNTI.
- the DCI of the packet is scrambled with the packet.
- the first RNTI may be used to scramble the DCI that schedules a non-unicast type Ethernet data packet.
- the terminal device is detecting and receiving the After the DCI, it can be confirmed that the Ethernet data packets scheduled by the DCI will receive the Ethernet data packets on the time-frequency resources indicated by the DCI.
- the first RNTI is dedicated to receiving a non-unicast type Ethernet data packet, and can be understood as an identifier of a terminal device in the signal information between the terminal device and the network device.
- This identifier can be pre-configured on the terminal device, it can be agreed by the protocol, or it can be received by the terminal device from the network device.
- the identifier For the case where the identifier is an agreement, only terminal devices supporting the Ethernet type use the identifier to receive downlink scheduling information (for example, DCI); for the case where the identifier is configured, only the terminal device receiving the identifier receives the identifier for receiving Downlink scheduling information; for a case where the identifier is received by a terminal device from a network device, the terminal device receives the identifier through a dedicated or broadcast message.
- downlink scheduling information for example, DCI
- the terminal device receiving the identifier receives the identifier for receiving Downlink scheduling information
- the terminal device receives the identifier through a dedicated or broadcast message.
- the first RNTI is an RNTI for an Ethernet data packet of a broadcast type or a multicast type.
- the broadcast type RNTI for example, RNTI1
- RNTI2 a multicast-type RNTI
- the terminal device can receive both the DCI scrambled with RNTI 1 and the DCI scrambled with RNTI 2 and determine the type of the Ethernet data packet based on the scrambled identifier, that is, the broadcast type or the multicast type Ethernet data. package.
- Other types of Ethernet packets can be transmitted and received in the same way.
- RNTI there are multiple types of RNTI reserved in the system.
- a network device sends an Ethernet data packet, it can select a corresponding one from the reserved RNTI based on the type of the Ethernet data packet.
- the RNTI of the packet type scrambles the DCI.
- a broadcast type RNTI for example, RNTI1
- RNTI2 RNTI2
- RNTI2 RNTI2
- the content related to the first RNTI is described from the broadcast-type RNTI and the multicast-type RNTI.
- the first RNTI is a broadcast type RNTI
- the first RNTI is a broadcast-type RNTI
- a terminal device in a cell in the broadcast range monitors the DCI scrambled by the first RNTI. After receiving the DCI, it will receive it on the time-frequency resource indicated by the DCI. Ethernet packets.
- the first RNTI is a broadcast-type RNTI
- the MAC address in the broadcast-type Ethernet packet is fixed, for example, FF-FF-FF-FF-FF-FF, in this case, it is not necessary to add this broadcast type MAC address to the data packet. Therefore, the embodiment of the present application provides a possible implementation manner:
- the first RNTI is an RNTI for a broadcast-type Ethernet data packet, and the packet header of the Ethernet data packet does not include a broadcast-type media intervention control MAC address.
- the DCI includes first information, and the first information is used to indicate that the data packet scheduled by the DCI is a broadcast type Ethernet data packet.
- the first RNTI is a multicast type RNTI
- At least one multicast type RNTI can be configured for the terminal devices of at least one group, and the terminal devices of one group correspond to one multicast type RNTI. If the first RNTI is a multicast-type RNTI, a terminal device in a group corresponding to the first RNTI monitors the first RNTI. After receiving the DCI, it will receive Ethernet on the time-frequency resource indicated by the DCI. Network packets.
- the DCI includes first information, and the first information is used to indicate that the data packet scheduled by the DCI is a multicast type Ethernet data packet.
- the communication method for Ethernet data in the embodiment of the present application through a scrambled DCI specifically targeted at a broadcast type or a multicast type RNTI, can reduce other than the terminal equipment that needs to receive the broadcast type or the multicast type.
- the interference of terminal equipment improves the transmission performance of Ethernet data.
- the Ethernet data packet when the Ethernet data packet is a multicast type Ethernet data packet, if the multicast MAC address corresponds to the RNTI, that is, if the terminal device can determine the multicast address according to the multicast type RNTI
- the header of the Ethernet data packet may not include the MAC address of the multicast type.
- an RNTI is set for each multicast group to scramble the DCI where the scheduling information of the data packet of at least one terminal device in each multicast group is located. In this way, the terminal devices in the multicast group can The RNTI corresponding to the multicast group determines the multicast group corresponding to the RNTI so that the MAC address may not be carried in the header of the Ethernet data packet.
- a public network in order to facilitate the access network device to identify which type of Ethernet data packet is received from the core network device, a public network can be established between the access network device and the core network device.
- a quality of service (QoS) flow is a Qos flow used to carry broadcast-type or multicast-type Ethernet data packets.
- QoS quality of service
- the public Qos flow is a Qos flow used to carry broadcast-type or multicast-type Ethernet data packets.
- the network device is an Ethernet data packet received from the public Qos stream, it is considered that the received Ethernet data packet needs the network device to send to the terminal device through broadcast or multicast.
- the time-frequency resource carrying the Ethernet data packet may not be indicated in the DCI
- the first RNTI is used to scramble the DCI
- the time-frequency resource carrying the Ethernet data packet is indicated through the SIB.
- the terminal device The Ethernet data packet is received according to the DCI and SIB.
- the terminal device may send feedback information to the network device. How to send feedback information is an example and not a limitation.
- the terminal device may control the physical uplink shared channel (PUSCH) or physical uplink according to a pre-configured sequence.
- the channel (physical uplink, control channel, PUCCH) and other uplink channels send feedback.
- the pre-configured order has two meanings:
- the terminal device will occupy a sending feedback resource and send feedback information after receiving the Ethernet data packet.
- the feedback resource may be determined in any of the following ways:
- the terminal device obtains the feedback resource according to the location mapping of the wireless frame where the Ethernet data packet is located; or,
- the terminal device obtains the feedback resource according to the location mapping of the initial radio frame where the Ethernet data packet is located; or,
- the terminal device obtains the feedback resource according to the location mapping of the ending radio frame where the Ethernet data packet is located; or,
- the terminal device is mapped according to the control channel element (control channel element, CCE) position of the DCI used for scheduling the Ethernet data packet.
- control channel element control channel element, CCE
- Network equipment sends broadcast type Ethernet packets via SIB
- FIG. 11 is a schematic interaction diagram of a communication method 700 for Ethernet data according to an embodiment of the present application.
- the network device sends a paging message, where the paging message includes indication information, and the indication information is used to indicate that the SIB includes the Ethernet data packet.
- the indication information is used to indicate that the type of the SIB is a SIB type including an Ethernet data packet; or the indication information is used to notify a terminal device that the network device sends an Ethernet data packet in the SIB.
- the network device In S710, the network device generates a SIB, and the SIB includes an Ethernet data packet.
- the SIB may also indicate an Ethernet frame format, a virtual network label, and / or a service virtual network label.
- the network device sends the SIB to the terminal device.
- the network device may not send the instruction information or send the instruction information in a paging message, and the terminal device may directly receive the SIB message.
- the communication method for Ethernet data provided in the embodiment of the present application sends a broadcast-type Ethernet data packet through the SIB to efficiently notify the terminal device to receive the Ethernet data packet, thereby improving transmission efficiency.
- the sending mechanism of the paging message can be effectively used, that is, the terminal device receives the paging message within a period of time to detect whether there is a message for itself, which reduces the design.
- the complexity can also improve the reliability of data packets received by the terminal device.
- the MAC addresses in broadcast Ethernet packets are fixed.
- the FF-FF-FF-FF-FF-FF-FF mentioned above It is not necessary to add this broadcast type MAC address in the data packet. Therefore, the embodiment of the present application provides a possible implementation manner:
- the header of the Ethernet data packet does not include a broadcast-type media intervention control MAC address.
- mode B in the same way as A, if the network device is an access network device, a public Qos flow can be established between the access network device and the core network device. If the access network device receives the public Qos flow, , It is considered that the received Ethernet data packet needs to be sent by the network device to the terminal device in a broadcast or multicast manner. In addition, in order for the network device to know whether the terminal device successfully received the Ethernet data packet, the terminal device can send feedback information to the network device. For details on how to send the feedback information, refer to the related description in Mode A. For simplicity, I won't repeat them here.
- Mode A and Mode B may be used in combination.
- the network device sends downlink control information DCI to the terminal device.
- the DCI is scrambled with a first wireless network temporary identifier RNTI.
- the first RNTI is an RNTI for an Ethernet data packet, and the DCI includes an instruction for carrying the Ethernet data packet.
- the network device sends a SIB to the terminal device, and the SIB includes the Ethernet data packet;
- the terminal device receives the SIB from the network device based on the time-frequency resources indicated by the DCI. That is, in this way, Ethernet data packets can be carried through the SIB.
- the first RNTI reference may be made to the description of the first RNTI in Mode A, and details are not described herein again.
- the third aspect proposes a scheme of how to report the MAC address.
- the third aspect may be used in combination with at least one of the first aspect or the second aspect, or may be used alone.
- the terminal device may send the MAC address in three cases, and the three cases are described separately below.
- the terminal device reports the MAC address after receiving the request information sent by the network device
- FIG. 12 is a schematic interaction diagram of a communication method 800 for Ethernet data according to an embodiment of the present application.
- the network device sends a request message for requesting a media intervention control MAC address associated with the terminal device
- the terminal device sends a MAC address to the network device. .
- the MAC address associated with the terminal device may include the MAC address of the terminal device itself, or the MAC addresses of other terminal devices connected to the terminal device by wire or wirelessly.
- a terminal device associated with the terminal device is an associated terminal.
- the terminal device needs to report the MAC address associated with the terminal device, because, for example, in a network system shown in FIG. 1, one terminal device may be connected to multiple terminal devices.
- the terminal device 131 is not only connected to the terminal device. 132 connection, but also with other terminal devices.
- Terminal device 132 and other terminal devices need terminal device 131 to forward data for it.
- terminal devices 131 also needs to report the MAC addresses of other terminal devices connected to it to the network device.
- the network device may be an access network device or a core network device.
- the access network device may send dedicated RRC signaling to request the terminal device to report the MAC address used by the terminal device; if the network device is a core network device, Then the core network device can send a dedicated NAS signaling requesting the terminal device to report the MAC address used.
- the request information may be a MAC type identification query request of the terminal device.
- the network device can send the terminal device with the request information for the MAC address of the terminal device, so that the terminal device can report the MAC address to the network device in time.
- the network device can learn the MAC address of the terminal device in time, thereby facilitating data transmission.
- the terminal device sends a non-access stratum NAS message, and the NAS message includes the response information.
- the MAC address of the terminal device can be reported to the network device (for example, the core network device) through the NAS message.
- the core network device can report the received MAC The address is sent to the access network device.
- the NAS message may be a tracking area update (TAU) or a PDU session establishment request.
- the terminal device may report the MAC address to the core network device through a service request message or a PDN connection establishment request message.
- the core network device may send the received MAC address to the access network device.
- the terminal device changes the MAC address to the network device.
- the network card of an Ethernet device connected to a terminal device through a wire is replaced, the MAC address is generally changed. In this way, the terminal device needs to update the MAC address. Therefore, the replaced MAC address needs to be reported to the network device.
- the terminal device periodically reports the MAC address associated with the terminal device
- the period for periodically reporting may be configured by a network device through a timer, or may be configured by a terminal device through a timer.
- the terminal device can report the MAC address to the network device through dedicated RRC signaling or dedicated NAS signaling.
- the MAC address is indicated in a location area update message (tracking area update (TAU)).
- TAU tracking area update
- the newly added MAC address is indicated in the TAU request message.
- the fourth aspect describes how the network device locates and searches for the terminal device.
- the network device sends a paging message to the terminal device, where the paging message carries the MAC address of the terminal device that needs to be paged, and the terminal device can determine whether to receive the MAC address from the received paging message. For its own MAC address or whether it is the MAC address of another terminal device connected to the terminal device, specifically, the terminal device can determine whether the received MAC address matches the MAC address provided or assigned by a higher layer. If they match, then When the MAC address is transferred to a higher layer, the terminal device initiates an RRC connection establishment request or a connection restoration request, or the terminal device notifies other terminal devices to initiate an RRC connection establishment request or a connection restoration request.
- the second aspect is used in combination with the first aspect.
- the broadcast type or multicast type Ethernet data packet described in the second aspect may be the third Ethernet data packet in the method 400 in the first aspect, or may be sent in the method 500.
- the fifth Ethernet packet in the case where the end is a network device.
- the first aspect describes how to compress and process Ethernet data packets
- the second aspect explains that if the Ethernet data packet is a broadcast type or multicast type Ethernet data packet, it can be passed through the second aspect.
- Mode A and Mode B send the Ethernet data packet.
- the third aspect is used in combination with the first aspect.
- the terminal device reports the MAC address.
- the network device is sending an Ethernet data packet (for example, the third Ethernet data packet in method 400).
- the fifth Ethernet data packet when the sending end of the method 500 is a network device
- the reported MAC address is carried in the context information corresponding to the Ethernet data packet, and the corresponding context carried in the Ethernet data packet
- the context identifier of the information; or, the reported MAC address is carried in the Ethernet data packet (for example, the fourth Ethernet data packet in method 400 or the sixth Ethernet data packet when the sending end is a network device in method 500) )in.
- the third aspect is used in combination with the second aspect.
- the terminal device reports the MAC address.
- the network device will report the MAC address when sending broadcast or multicast Ethernet packets. The address is carried in an Ethernet packet.
- the third aspect is used in combination with the second aspect and the first aspect.
- the broadcast type or multicast type Ethernet data packet may be the third Ethernet data packet or the fourth Ethernet data packet in the method 400 in the first aspect. It may be the fifth Ethernet data packet or the sixth Ethernet data packet when the sending end is a network device in the method 500.
- the Ethernet data packet is the third Ethernet data packet in the method 400 or the fifth Ethernet data packet when the sending end of the method 500 is a network device
- the reported MAC address may be carried in the corresponding Ethernet data packet.
- the context information and the context identifier of the corresponding context information carried in the Ethernet data packet; in the case where the Ethernet data packet is the fourth Ethernet data packet in method 400 or the sending end of method 500 is a network device, for six Ethernet data packets, the reported MAC address can be carried in the Ethernet data packet.
- the fourth aspect is used in combination with the first aspect, the second aspect, or the third aspect, and can be used to find a terminal in any scenario of the first aspect, the second aspect, or the third aspect when the network device is in an abnormal situation. device.
- the communication method for Ethernet data according to the embodiment of the present application is described in detail above with reference to FIG. 1 to FIG. 13.
- the communication method for Ethernet data according to the embodiment of the application is described in detail below with reference to FIGS. 14 to 15. Device.
- FIG. 14 shows an apparatus 1400 for Ethernet data according to an embodiment of the present application.
- the apparatus 1400 may be a terminal device or a chip in the terminal device.
- the apparatus 1400 may be a network device or a chip in the network device.
- the device 1400 includes a transceiver unit 1410 and a processing unit 1420.
- the apparatus 1400 is configured to execute each process and step corresponding to a terminal device in the foregoing method 300.
- the transceiver unit 1410 is configured to receive compression configuration information from a network device, where the compression configuration information is used to indicate a parameter of a first Ethernet compression capability; and the processing unit 1420 is configured to generate a parameter according to the parameter of the first Ethernet compression capability.
- a first Ethernet data packet; the transceiver unit 1410 is further configured to send the first Ethernet data packet to the network device.
- the transceiver unit 1410 is further configured to send compression capability information to the network device, where the compression capability information is used to indicate N types of Ethernet compression capabilities supported by the device, and the N types of Ethernet compression capabilities include In the first Ethernet compression capability, N is an integer greater than or equal to 1.
- the parameter of the first Ethernet compression capability includes an enable parameter, and the enable parameter is used to instruct the device to use the first Ethernet compression capability.
- the parameters of the first Ethernet compression capability include: a frame format parameter indicating a first frame format, or an algorithm parameter indicating a compression algorithm of the first frame format, where the first frame format is Frame format of the first Ethernet data packet.
- the first Ethernet data packet includes a first header
- the first header includes a first context identifier
- the first context identifier is used to identify the first context information.
- the transceiver unit 1410 is further configured to: send a first correspondence between the first context identifier and the first context information to the network device.
- the transceiver unit 1410 is further configured to send a second Ethernet data packet to the network device, where the second Ethernet data packet includes a second header, and the second header includes the first corresponding packet. relationship.
- the second header further includes a frame format of the second Ethernet data packet, and a frame format of the second Ethernet data packet is the same as a frame format of the first Ethernet data packet.
- the transceiver unit 1410 is further configured to send a correspondence between the context identifier and the context information to the network device, where the correspondence includes the first correspondence.
- the transceiver unit 1410 is further configured to receive first feedback information from the network device, where the first feedback information is used to indicate that the network device successfully receives the first correspondence relationship.
- the first feedback information includes: the first context identifier.
- the transceiver unit 1410 is further configured to receive second feedback information from the network device, where the second feedback information is used to instruct the network device to successfully decompress the first Ethernet data packet.
- the apparatus 1400 is configured to execute each process and step corresponding to the network device in the foregoing method 300.
- the transceiver unit 1410 is configured to send compression configuration information to a terminal device, where the compression configuration information is used to indicate a parameter of a first Ethernet compression capability, and receive a first Ethernet data packet, where the first Ethernet data packet is based on The parameters of the first Ethernet compression capability are generated; the processing unit 1420 is configured to: decompress the first Ethernet data packet.
- the transceiver unit 1410 is further configured to receive compression capability information from the terminal device, where the compression capability information is used to indicate N types of Ethernet compression capabilities supported by the terminal device, and the N types of Ethernet compression capabilities Including the first Ethernet compression capability, N is an integer greater than or equal to 1.
- the parameter of the first Ethernet compression capability includes an enable parameter, and the enable parameter is used to instruct the terminal device to use the first Ethernet compression capability.
- the parameters of the first Ethernet compression capability include a frame format parameter indicating a first frame format and / or an algorithm parameter indicating a compression algorithm of the first frame format, and the first frame format is the first Frame format of an Ethernet packet.
- the first Ethernet data packet includes a first header, the first header includes a first context identifier, and the first context identifier is used to identify the first context information; and the processing unit 1420 further And configured to: obtain the first context information according to the first context identifier; and decompress the first Ethernet data packet according to the first context information.
- the transceiver unit 1410 is further configured to receive a first correspondence between the first context identifier and the first context information from the terminal device.
- the transceiver unit 1410 is further configured to receive a second Ethernet data packet from the terminal device, the second Ethernet data packet includes a second header, and the second header includes the first corresponding packet. relationship.
- the second header further includes a frame format of the second Ethernet data packet, and a frame format of the second Ethernet data packet is the same as a frame format of the first Ethernet data packet.
- the transceiver unit 1410 is further configured to: receive a correspondence between a context identifier and context information from the terminal device, where the correspondence includes the first correspondence.
- the transceiver unit 1410 is further configured to send first feedback information to the terminal device, where the first feedback information is used to indicate that the apparatus successfully receives the first correspondence relationship.
- the first feedback information includes: the first context identifier.
- the transceiver unit 1410 is further configured to send second feedback information to the terminal device, where the second feedback information is used to indicate that the device successfully decompresses the first Ethernet data packet.
- the apparatus 1400 is configured to execute each process and step corresponding to a terminal device in the foregoing method 400.
- the transceiver unit 1410 is configured to receive compression configuration information from a network device, where the compression configuration information is used to indicate a parameter of a third Ethernet compression capability, to receive a third Ethernet data packet from the network device, and the third Ethernet The data packet is generated based on the parameter of the third Ethernet compression capability; the processing unit 1420 is configured to: decompress the third Ethernet data packet.
- the transceiver unit 1410 is further configured to send compression capability information to the network device, where the compression capability information is used to indicate N types of Ethernet compression capabilities supported by the device, and the N types of Ethernet compression capabilities include In the third Ethernet compression capability, N is an integer greater than or equal to 1.
- the parameter of the third Ethernet compression capability includes an enable parameter, and the enable parameter is used to instruct the device to use the third Ethernet compression capability.
- the parameters of the third Ethernet compression capability include: a frame format parameter indicating a third frame format, or an algorithm parameter indicating a compression algorithm of a third frame format, the third frame format is A frame format of the third Ethernet data packet.
- the third Ethernet data packet includes a third header, the third header includes a third context identifier, and the third context identifier is used to identify third context information; and the processing unit 1420 further And configured to: obtain the third context information according to the third context identifier; and decompress the third Ethernet data packet according to the third context information.
- the transceiver unit 1410 is further configured to: receive a third correspondence relationship between the third context identifier and the third context information from the network device.
- the transceiver unit 1410 is further configured to receive a fourth Ethernet data packet from the network device, the fourth Ethernet data packet includes a fourth header, and the fourth header includes the third corresponding header. relationship.
- the fourth header further includes a frame format of the fourth Ethernet data packet, and a frame format of the fourth Ethernet data packet is the same as a frame format of the third Ethernet data packet.
- the transceiver unit 1410 is further configured to: receive a correspondence between a context identifier and context information from the network device, where the correspondence includes the third correspondence.
- the transceiver unit 1410 is further configured to send third feedback information to the network device, where the third feedback information is used to indicate that the apparatus successfully receives the third correspondence relationship.
- the third feedback information includes: the third context identifier.
- the transceiver unit 1410 is further configured to send fourth feedback information to the network device, where the fourth feedback information is used to indicate that the device successfully decompresses the third Ethernet data packet.
- the apparatus 1400 is configured to execute each process and step corresponding to a network device in the foregoing method 400.
- the transceiver unit 1410 is configured to: send the compression configuration information to the terminal device, where the compression configuration information is used to indicate a parameter of the third Ethernet compression capability; and the processing unit 1420 is configured to: A third Ethernet data packet; the transceiver unit 1410 is further configured to send the third Ethernet data packet to the terminal device.
- the transceiver unit 1410 is further configured to receive compression capability information from the terminal device, where the compression capability information is used to indicate N types of Ethernet compression capabilities supported by the terminal device, and the N types of Ethernet compression capabilities Including the third Ethernet compression capability, N is an integer greater than or equal to 1.
- the parameter of the third Ethernet compression capability includes an enable parameter, and the enable parameter is used to instruct the terminal device to use the third Ethernet compression capability.
- the parameter of the third Ethernet compression capability includes a frame format parameter indicating a third frame format and / or an algorithm parameter indicating a compression algorithm of the third frame format, and the third frame format is the first Frame format for three Ethernet packets.
- the third Ethernet data packet includes a third header
- the third header includes a third context identifier
- the third context identifier is used to identify the third context information.
- the transceiver unit 1410 is further configured to: send a third correspondence relationship between the third context identifier and the third context information to the terminal device.
- the transceiver unit 1410 is further configured to send a fourth Ethernet data packet to the terminal device, the fourth Ethernet data packet includes a fourth header, and the fourth header includes the third corresponding packet. relationship.
- the fourth header further includes a frame format of the fourth Ethernet data packet, and a frame format of the fourth Ethernet data packet is the same as a frame format of the third Ethernet data packet.
- the transceiver unit 1410 is further configured to send a correspondence between the context identifier and the context information to the terminal device, where the correspondence includes the third correspondence.
- the transceiver unit 1410 is further configured to receive third feedback information from the terminal device, where the third feedback information is used to indicate that the terminal device successfully receives the third correspondence relationship.
- the third feedback information includes: the third context identifier.
- the transceiver unit 1410 is further configured to receive fourth feedback information from the terminal device, where the fourth feedback information is used to instruct the terminal device to successfully decompress the third Ethernet data packet.
- the device 1400 is configured to execute various processes and steps corresponding to the sending end in the foregoing method 500.
- the processing unit 1420 is configured to generate a fifth Ethernet data packet, where the fifth Ethernet data packet includes a fifth header, the fifth header includes a fifth context identifier, and the fifth context identifier is used to identify a fifth Context information; the transceiver unit 1410 is configured to: send a fifth Ethernet data packet to the receiving end.
- the transceiver unit 1410 is further configured to send a correspondence between the following identifier and the context information to the receiving end, where the correspondence includes the fifth context identifier and the first context identifier of the fifth context identifier. Five correspondences.
- the transceiver unit 1410 is further configured to: send a sixth Ethernet data packet to the receiving end, the sixth Ethernet data packet includes a sixth header, and the sixth header includes the fifth context A correspondence relationship with the fifth context information is identified.
- the sixth packet header further includes indication information used to indicate a type of a frame format of the sixth Ethernet data packet, and a type of the frame format of the sixth Ethernet data packet is the same as the fifth Ethernet data packet.
- the type of frame format of the network packet is the same.
- the transceiver unit 1410 is further configured to receive fifth feedback information from the receiving end, where the fifth feedback information is used to indicate that the receiving end successfully receives the corresponding relationship.
- the fifth feedback information includes: a context identifier in the corresponding relationship.
- the transceiver unit 1410 is further configured to receive sixth feedback information from the receiving end, where the sixth feedback information is used to indicate that the receiving end successfully decompresses the fifth data packet.
- the device is a terminal device, and the receiving end is a network device; and the transceiver unit 1410 is further configured to:
- the transceiver unit 1410 is further configured to send compression capability information to the receiving end, where the compression capability information is used to indicate N types of Ethernet compression capabilities supported by the device, and the N types of Ethernet compression capabilities include In the fifth ether compression capability, N is an integer greater than or equal to 1.
- the device is a network device, and the receiving end is a terminal device; and the transceiver unit 1410 is further configured to send the compression configuration information to the receiving end, where the compression configuration information is used to indicate a fifth Parameters of ether compression capacity;
- the transceiver unit 1410 is further configured to receive compression capability information from the receiving end, where the compression capability information is used to indicate N types of Ethernet compression capabilities supported by the receiving end, and the N types of Ethernet compression capabilities Including the fifth ether compression capability, N is an integer greater than or equal to 1.
- the device 1400 is configured to execute each process and step corresponding to the receiving end in the foregoing method 500.
- the transceiver unit 1410 is configured to receive a fifth Ethernet data packet, where the fifth Ethernet data packet includes a fifth header, the fifth header includes a fifth context identifier, and the fifth context identifier is used to identify a fifth Context information; the processing unit 1420 is configured to: obtain the fifth context information according to the fifth context identifier; the processing unit 1420 is further configured to: decompress the fifth Ethernet data according to the fifth context information package.
- the transceiver unit 1410 is further configured to: receive a correspondence between a context identifier and context information, where the correspondence includes a fifth correspondence between the fifth context identifier and the fifth context identifier; and
- the processing unit 1420 is specifically configured to obtain the fifth context information according to the fifth context identifier and the fifth correspondence relationship.
- the transceiver unit 1410 is further configured to receive a sixth Ethernet data packet, where the sixth Ethernet data packet includes a sixth header, and the sixth header includes the fifth context identifier and the fifth context.
- the processing unit 1420 is specifically configured to obtain the fifth context information according to the fifth context identifier and the fifth corresponding relationship.
- the sixth packet header further includes indication information used to indicate a type of a frame format of the sixth Ethernet data packet, and a type of the frame format of the sixth Ethernet data packet is the same as the fifth Ethernet data packet.
- the type of frame format of the network packet is the same.
- the transceiver unit 1410 is further configured to send fifth feedback information, where the fifth feedback information is used to indicate that the device successfully receives the corresponding relationship.
- the fifth feedback information includes: a context identifier in the corresponding relationship.
- the transceiver unit 1410 is further configured to send sixth feedback information, where the sixth feedback information is used to indicate that the device successfully decompresses the fifth data packet.
- the device is a network device, and the sending end is a terminal device; and the transceiver unit 1410 is further configured to:
- the transceiver unit 1410 is further configured to receive compression capability information from the sending end, where the compression capability information is used to indicate N types of Ethernet compression capabilities supported by the sending end, and the N types of Ethernet compression capabilities Including the fifth ether compression capability, N is an integer greater than or equal to 1.
- the device is a terminal device, and the transmitting end is a network device; and the transceiver unit 1410 is further configured to receive compression configuration information from the transmitting end, where the compression configuration information is used to indicate a fifth A parameter of the Ethernet compression capability, wherein the fifth Ethernet data packet is generated based on the parameter of the fifth Ethernet compression capability.
- the transceiver unit 1410 is further configured to receive compression capability information from the sending end, where the compression capability information is used to indicate N types of Ethernet compression capabilities supported by the sending end, and the N types of Ethernet compression capabilities Including the fifth ether compression capability, N is an integer greater than or equal to 1.
- the apparatus 1400 is configured to execute each process and step corresponding to a terminal device in the foregoing method 600.
- the transceiver unit 1410 is configured to receive downlink control information DCI from a network device.
- the DCI is scrambled by using a first wireless network temporary identifier RNTI.
- the first RNTI is an RNTI for an Ethernet data packet.
- Information indicating time-frequency resources carrying the Ethernet data packet; the transceiver unit 1410 is further configured to: receive the Ethernet data packet from the network device on the time-frequency resource indicated by the DCI.
- the transceiver unit 1410 is specifically configured to receive a system information block SIB from the network device on the time-frequency resource indicated by the DCI, where the SIB includes the Ethernet data packet.
- the first RNTI is an RNTI for a broadcast type or multicast type Ethernet data packet.
- the DCI includes first information, and the first information is used to indicate that the data packet scheduled by the DCI is a broadcast type Ethernet data packet or a multicast type Ethernet data packet.
- the packet header of the Ethernet data packet does not include a broadcast type media intervention control MAC address.
- the transceiver unit 1410 is further configured to send a media intervention control MAC address associated with the device to the network device.
- the transceiver unit 1410 is specifically configured to send a non-access stratum NAS message to the network device, where the NAS message includes the MAC address.
- the transceiver unit 1410 is further configured to receive a request message from the network device, where the request message is used to request the MAC address associated with the device.
- the transceiver unit 1410 is further configured to: when the MAC address associated with the device changes, send the changed MAC address to the network device.
- the transceiver unit 1410 is further configured to send compression capability information to the network device, where the compression capability information is used to indicate N types of Ethernet compression capabilities supported by the device, where N is an integer greater than or equal to ;
- the apparatus further includes: The processing unit 1420 is configured to decompress the Ethernet data packet, where the Ethernet data packet is generated based on a parameter of the first Ethernet compression capability.
- the Ethernet data packet includes a first header, the first header includes a first context identifier, and the first context identifier is used to identify the first context information; and the transceiver unit 1410 is further configured to: Obtaining the first context information by using the first context identifier; and the processing unit 1420 is specifically configured to: decompress the Ethernet data packet according to the first context information.
- the apparatus 1400 is configured to execute each process and step corresponding to the network device in the foregoing method 600.
- the transceiver unit 1410 is configured to send downlink control information DCI to a terminal device.
- the DCI is scrambled by using a first wireless network temporary identifier RNTI.
- the first RNTI is an RNTI for an Ethernet data packet.
- Information indicating the time-frequency resource carrying the Ethernet data packet; the transceiver unit 1410 is further configured to send the Ethernet data packet to the terminal device on the time-frequency resource.
- the transceiver unit 1410 is specifically configured to send a system information block SIB to the terminal device on the time-frequency resource, where the SIB includes the Ethernet data packet.
- the first RNTI is an RNTI for a broadcast type or a multicast type Ethernet data packet.
- the DCI includes first information, and the first information is used to indicate that the data packet scheduled by the DCI is a broadcast type Ethernet data packet or a multicast type Ethernet data packet.
- the apparatus is an access network device, and a public service quality Qos flow is established between the access network device and the core network device; and the transceiver unit 1410 is further configured to: from the public Qos flow Receiving the Ethernet data packet.
- the transceiver unit 1410 is further configured to receive, from the terminal device, a media intervention control MAC address associated with the terminal device.
- the transceiver unit 1410 is specifically configured to receive a non-access stratum NAS message from the terminal device, where the NAS message includes the MAC address.
- the transceiver unit 1410 is further configured to send a request message to the terminal device, where the request message is used to request the MAC address associated with the terminal device.
- the transceiver unit 1410 is further configured to receive compression capability information from the terminal device, where the compression capability information is used to indicate N types of Ethernet compression capabilities supported by the terminal device, where N is greater than or equal to 1 An integer; sending compression configuration information to the terminal device, where the compression configuration information is used to indicate a parameter of the first Ethernet compression capability, the N types of Ethernet compression capabilities include the first Ethernet compression capability; the device further includes: The processing unit 1420 is configured to generate the Ethernet data packet according to the parameter of the first Ethernet compression capability.
- the Ethernet data packet includes a first header, the first header includes a first context identifier, and the first context identifier is used to identify the first context information.
- the apparatus 1400 is configured to execute each process and step corresponding to a terminal device in the foregoing method 700.
- the transceiver unit 1410 is configured to receive a system information block SIB from a network device, where the SIB includes an Ethernet data packet; and the processing unit 1420 is configured to obtain the Ethernet data packet from the SIB.
- the transceiver unit 1410 is further configured to receive a paging message from the network device, where the paging message includes indication information, and the indication information is used to indicate that the SIB includes the Ethernet data packet.
- the transceiver unit 1410 is further configured to receive downlink control information DCI from the network device, the DCI is scrambled by using a first wireless network temporary identifier RNTI, and the first RNTI is for an Ethernet data packet. RNTI, the DCI includes information for indicating a time-frequency resource carrying the Ethernet data packet.
- the DCI includes first information, and the first information is used to indicate that the data packet scheduled by the DCI is a broadcast type Ethernet data packet or a multicast type Ethernet data packet.
- the packet header of the Ethernet data packet does not include a broadcast type media intervention control MAC address.
- the transceiver unit 1410 is further configured to send a media intervention control MAC address associated with the device to the network device.
- the transceiver unit 1410 is specifically configured to send a non-access stratum NAS message to the network device, where the NAS message includes the MAC address.
- the transceiver unit 1410 is further configured to receive a request message from the network device, where the request message is used to request the MAC address associated with the device.
- the transceiver unit 1410 is specifically configured to: when the MAC address associated with the device changes, send the changed MAC address to the network device.
- the transceiver unit 1410 is further configured to send compression capability information to the network device, where the compression capability information is used to indicate N types of Ethernet compression capabilities supported by the device, where N is an integer greater than or equal to 1.
- the compression configuration information is used to indicate a parameter of a first Ethernet compression capability, the N types of Ethernet compression capabilities including the first Ethernet compression capability; and the processing unit 1420 It is also used to decompress the Ethernet data packet, wherein the Ethernet data packet is generated based on a parameter of the first Ethernet compression capability.
- the Ethernet data packet includes a first header, the first header includes a first context identifier, and the first context identifier is used to identify the first context information; and the transceiver unit 1410 is further configured to: Obtaining the first context information by using the first context identifier; and the processing unit 1420 is specifically configured to: decompress the Ethernet data packet according to the first context information.
- the apparatus 1400 is configured to execute each process and step corresponding to a network device in the foregoing method 700.
- the processing unit 1420 is configured to generate a system information block SIB, where the SIB includes an Ethernet data packet; and the transceiver unit 1410 is configured to send the SIB.
- the transceiver unit 1410 is further configured to send a paging message to the terminal device, where the paging message includes indication information, and the indication information is used to indicate that the SIB includes the Ethernet data packet.
- the transceiver unit 1410 is further configured to send downlink control information DCI to the terminal device, where the DCI is scrambled with a first wireless network temporary identifier RNTI, and the first RNTI is for an Ethernet data packet.
- RNTI the DCI includes information for indicating a time-frequency resource carrying the Ethernet data packet.
- the DCI includes first information, and the first information is used to indicate that the data packet scheduled by the DCI is a broadcast type Ethernet data packet or a multicast type Ethernet data packet.
- the packet header of the Ethernet data packet does not include a broadcast type media intervention control MAC address.
- the transceiver unit 1410 is further configured to receive, from the terminal device, a media intervention control MAC address associated with the terminal device.
- the transceiver unit 1410 is specifically configured to receive a non-access stratum NAS message from the terminal device, where the NAS message includes the MAC address.
- the transceiver unit 1410 is further configured to send a request message to the terminal device, where the request message is used to request the MAC address associated with the terminal device.
- the transceiver unit 1410 is further configured to receive compression capability information from the terminal device, where the compression capability information is used to indicate N types of Ethernet compression capabilities supported by the terminal device, where N is greater than or equal to 1 Integer
- the processing unit 1420 is further configured to: : Generating the Ethernet data packet according to a parameter of the first Ethernet compression capability.
- the Ethernet data packet includes a first header, the first header includes a first context identifier, and the first context identifier is used to identify the first context information.
- the apparatus 1400 is configured to execute each process and step corresponding to a terminal device in the foregoing method 800.
- the transceiver unit 1410 is configured to receive a request message from a network device, where the request message is used to request a media intervention control MAC address associated with the device; the transceiver unit 1410 is further configured to: send the MAC to the network device address.
- the transceiver unit 1410 is specifically configured to send a non-access stratum NAS message, where the NAS message includes the MAC address.
- the apparatus 1400 is configured to execute each process and step corresponding to the network device in the foregoing method 800.
- the sending and receiving unit 1410 is configured to send a request message to the terminal device, where the request message is used to request a media intervention control MAC address associated with the terminal device; the sending and receiving unit 1410 is further configured to receive the terminal device from the terminal device. MAC address.
- the transceiver unit 1410 is specifically configured to receive a non-access stratum NAS message from the terminal device, where the NAS message includes the MAC address.
- the device 1400 here is embodied in the form of a functional unit.
- the term "unit” herein may refer to an application-specific integrated circuit (ASIC), an electronic circuit, a processor (such as a shared processor, a proprietary processor, or a group of processors) for executing one or more software or firmware programs. Processors, etc.) and memory, merge logic, and / or other suitable components that support the functions described.
- ASIC application-specific integrated circuit
- processor such as a shared processor, a proprietary processor, or a group of processors
- processors such as a shared processor, a proprietary processor, or a group of processors
- memory merge logic, and / or other suitable components that support the functions described.
- the device 1400 may be specifically a terminal device or a network device (as a sending end or a receiving end respectively) in the foregoing embodiment, and the device 1400 may be used to execute the foregoing method embodiment
- the processes and / or steps corresponding to the terminal device or the network device are not repeated here in order to avoid repetition.
- the apparatus 1400 of each of the foregoing solutions has a function of implementing corresponding steps performed by a terminal device or a network device (as a sending end or a receiving end, respectively) in the foregoing method; the functions may be implemented by hardware, or may be implemented by hardware executing corresponding software.
- the hardware or software includes one or more modules corresponding to the above functions; for example, the transmitting unit may be replaced by a transmitter, the receiving unit may be replaced by a receiver, and other units, such as a determining unit, may be replaced by a processor and executed separately. Sending and receiving operations and related processing operations in various method embodiments.
- the device in FIG. 14 may also be a chip or a chip system, for example, a system on chip (SoC).
- the receiving unit and the transmitting unit may be the transceiver circuit of the chip, which is not limited herein.
- FIG. 15 shows another apparatus 1500 for Ethernet data provided by an embodiment of the present application.
- the device 1500 includes a processor 1510, a transceiver 1520, and a memory 1530.
- the processor 1510, the transceiver 1520, and the memory 1530 communicate with each other through an internal connection path.
- the memory 1530 is used to store instructions.
- the processor 1510 is used to execute the instructions stored in the memory 1530 to control the transceiver 1520 to send signals and / Or receive a signal.
- the apparatus 1500 is configured to execute each process and step corresponding to a terminal device in the foregoing method 300.
- the transceiver 1520 is configured to receive compression configuration information from a network device, where the compression configuration information is used to indicate a parameter of a first Ethernet compression capability; and the processor 1510 is configured to: according to the parameter of the first Ethernet compression capability Generating a first Ethernet data packet; the transceiver 1520 is further configured to: send the first Ethernet data packet to the network device.
- the apparatus 1500 is configured to execute each process and step corresponding to the network device in the foregoing method 300.
- the transceiver 1520 is configured to send compression configuration information to a terminal device, where the compression configuration information is used to indicate a parameter of a first Ethernet compression capability, and receive a first Ethernet data packet, where the first Ethernet data packet is based on The first Ethernet compression capability parameter is generated; the processor 1510 is configured to: decompress the first Ethernet data packet.
- the apparatus 1500 is configured to execute each process and step corresponding to a terminal device in the foregoing method 400.
- the transceiver 1520 is configured to receive compression configuration information from a network device, where the compression configuration information is used to indicate a parameter of a third Ethernet compression capability, to receive a third Ethernet data packet from the network device, and the third Ethernet The data packet is generated based on the parameter of the third Ethernet compression capability; the processor 1510 is configured to: decompress the third Ethernet data packet.
- the apparatus 1500 is configured to execute each process and step corresponding to a network device in the foregoing method 400.
- the transceiver 1520 is configured to send compression configuration information to a terminal device, where the compression configuration information is used to indicate a parameter of a third Ethernet compression capability; and the processor 1510 is configured to generate, according to the parameter of the third Ethernet compression capability, A third Ethernet data packet; the transceiver 1520 is further configured to: send the third Ethernet data packet to the terminal device.
- the device 1500 is configured to execute various processes and steps corresponding to the sending end in the foregoing method 500.
- the processor 1510 is configured to generate a fifth Ethernet data packet, where the fifth Ethernet data packet includes a fifth header, the fifth header includes a fifth context identifier, and the fifth context identifier is used to identify a fifth Context information; the transceiver 1520 is configured to: send a fifth Ethernet data packet to the receiving end.
- the device 1500 is configured to execute various processes and steps corresponding to the receiving end in the foregoing method 500.
- the transceiver 1520 is configured to receive a fifth Ethernet data packet, where the fifth Ethernet data packet includes a fifth header, the fifth header includes a fifth context identifier, and the fifth context identifier is used to identify a fifth Context information; the processor 1510 is configured to: obtain the fifth context information according to the fifth context identifier; the processor 1510 is further configured to: decompress the fifth Ethernet data according to the fifth context information package.
- the apparatus 1500 is configured to execute each process and step corresponding to a terminal device in the foregoing method 600.
- the transceiver 1520 is configured to receive downlink control information DCI from a network device, the DCI is scrambled by using a first wireless network temporary identifier RNTI, the first RNTI is an RNTI for an Ethernet data packet, and the DCI includes Information indicating the time-frequency resource carrying the Ethernet data packet; the transceiver 1520 is further configured to: receive the Ethernet data packet from the network device on the time-frequency resource indicated by the DCI.
- the apparatus 1500 is configured to execute each process and step corresponding to the network device in the foregoing method 600.
- the transceiver 1520 is configured to send downlink control information DCI to a terminal device, where the DCI is scrambled with a first wireless network temporary identifier RNTI, the first RNTI is an RNTI for an Ethernet data packet, and the DCI includes Information indicating time-frequency resources carrying the Ethernet data packet; the transceiver 1520 is further configured to send the Ethernet data packet to the terminal device on the time-frequency resource.
- the apparatus 1500 is configured to execute each process and step corresponding to a terminal device in the foregoing method 700.
- the transceiver 1520 is configured to receive a system information block SIB from a network device, where the SIB includes an Ethernet data packet; and the processor 1510 is configured to: obtain the Ethernet data packet from the SIB.
- the apparatus 1500 is configured to execute each process and step corresponding to a network device in the foregoing method 700.
- the processor 1510 is configured to generate a system information block SIB, where the SIB includes an Ethernet data packet; and the transceiver 1520 is configured to: send the SIB.
- the apparatus 1500 is configured to execute each process and step corresponding to a terminal device in the foregoing method 800.
- the transceiver 1520 is configured to receive a request message from a network device, where the request message is used to request a media intervention control MAC address associated with the device; the transceiver 1520 is further configured to send the MAC to the network device address.
- the apparatus 1500 is configured to execute each process and step corresponding to the network device in the foregoing method 800.
- the transceiver 1520 is configured to send a request message to the terminal device, where the request message is used to request a media intervention control MAC address associated with the terminal device; the transceiver 1520 is further configured to receive the terminal device from the terminal device MAC address.
- the disclosed systems, devices, and methods may be implemented in other ways.
- the device embodiments described above are only schematic.
- the division of the unit is only a logical function division.
- multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not implemented.
- the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, which may be electrical, mechanical or other forms.
- the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, may be located in one place, or may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objective of the solution of this embodiment.
- each functional unit in each embodiment of the present application may be integrated into one processing unit, or each of the units may exist separately physically, or two or more units may be integrated into one unit.
- the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium.
- the technical solution of this application is essentially a part that contributes to the existing technology or a part of the technical solution can be embodied in the form of a software product.
- the computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in the embodiments of the present application.
- the aforementioned storage media include: U disks, mobile hard disks, read-only memories (ROMs), random access memories (RAMs), magnetic disks or compact discs and other media that can store program codes .
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
Description
名称 | 含义 |
目的地址 | 接收方MAC地址 |
源地址 | 发送方MAC地址 |
帧类型 | 0x88A4 |
名称 | 含义 |
EtherCAT数据长度 | EtherCAT数据区长度,即,所有子报文长度的总和 |
类型 | 1:表示与从站通信;其余保留 |
名称 | 含义 |
命令 | 寻址方式和读写方式 |
索引 | 帧编码 |
地址区 | 从站地址 |
长度 | 报文数据区长度 |
R | 保留位 |
M | 后续报文标志 |
状态位 | 中断到来标志 |
数据区 | 子报文数据结构,用户定义 |
WKC | 工作计数器 |
6字节 | 6字节 | 2字节 | 46-1500字节 | 4字节 |
目标MAC地址 | 源MAC地址 | 类型 | 数据 | FCS |
6字节 | 6字节 | 2字节 | 46-1498字节 | 4字节 |
目标MAC地址 | 源MAC地址 | 长度/类型 | 数据 | FCS |
Claims (44)
- 一种用于以太网数据的通信方法,其特征在于,所述方法包括:终端设备从网络设备接收下行控制信息DCI,所述DCI采用第一无线网络临时标识RNTI加扰,所述第一RNTI是针对以太网数据包的RNTI,所述DCI包括用于指示承载所述以太网数据包的时频资源的信息;所述终端设备在所述DCI所指示的时频资源上从所述网络设备接收所述以太网数据包。
- 根据权利要求1所述的方法,其特征在于,所述终端设备从所述网络设备接收所述以太网数据包,包括:所述终端设备在所述DCI所指示的时频资源上从所述网络设备接收系统信息块SIB,所述SIB包括所述以太网数据包。
- 根据权利要求1或2所述的方法,其特征在于,所述第一RNTI是针对广播类型或组播类型的以太数据包的RNTI。
- 根据权利要求1至3中任一项所述的方法,其特征在于,所述DCI包括第一信息,所述第一信息用于指示所述DCI调度的数据包为广播类型的以太网数据包或组播类型的以太网数据包。
- 根据权利要求1至4中任一项所述的方法,其特征在于,所述方法还包括:所述终端设备向所述网络设备发送与所述终端设备关联的媒体介入控制MAC地址。
- 根据权利要求5所述的方法,其特征在于,所述终端设备向所述网络设备发送所述MAC地址,包括:所述终端设备向所述网络设备发送非接入层NAS消息,所述NAS消息包括所述MAC地址。
- 根据权利要求5或6所述的方法,其特征在于,所述方法还包括:所述终端设备从所述网络设备接收请求消息,所述请求消息用于请求与所述终端设备关联的所述MAC地址。
- 根据权利要求5或6所述的方法,其特征在于,所述终端设备向所述网络设备发送所述MAC地址,包括:当与所述终端设备关联的MAC地址发生变化,则所述终端设备向所述网络设备发送变化后的所述MAC地址。
- 根据权利要求1至8中任一项所述的方法,其特征在于,所述方法还包括:所述终端设备向所述网络设备发送压缩能力信息,所述压缩能力信息用于指示所述终端设备支持的N种以太压缩能力,N为大于或等于1的整数;所述终端设备从所述网络设备接收压缩配置信息,所述压缩配置信息用于指示第一以太压缩能力的参数,所述N种以太压缩能力包括所述第一以太压缩能力;以及,所述终端设备解压缩所述以太网数据包,其中,所述以太网数据包是基于所述第一以太网压缩能力的参数生成的。
- 根据权利要求9所述的方法,其特征在于,所述以太网数据包包括第一包头,所 述第一包头包括第一上下文标识,所述第一上下文标识用于标识第一上下文信息;所述方法还包括:所述终端设备根据所述第一上下文标识,获取所述第一上下文信息;以及,所述终端设备解压缩所述以太网数据包,包括:所述终端设备根据所述第一上下文信息,解压缩所述以太网数据包。
- 一种用于以太网数据的通信方法,其特征在于,所述方法包括:网络设备向终端设备发送下行控制信息DCI,所述DCI采用第一无线网络临时标识RNTI加扰,所述第一RNTI是针对以太网数据包的RNTI,所述DCI包括用于指示承载所述以太网数据包的时频资源的信息;所述网络设备在所述时频资源上向所述终端设备发送所述以太网数据包。
- 根据权利要求11所述的方法,其特征在于,所述网络设备向所述终端设备发送所述以太网数据包,包括:所述网络设备在所述时频资源上向所述终端设备发送系统信息块SIB,所述SIB包括所述以太网数据包。
- 根据权利要求11或12所述的方法,其特征在于,所述第一RNTI是针对广播类型或组播类型的以太网数据包的RNTI。
- 根据权利要求11至13中任一项所述的方法,其特征在于,所述DCI包括第一信息,所述第一信息用于指示所述DCI调度的数据包为广播类型的以太网数据包或组播类型的以太网数据包。
- 根据权利要求11至14中任一项所述的方法,其特征在于,所述网络设备为接入网设备,所述接入网设备与核心网设备之间建立有公共服务质量Qos流;以及,所述方法还包括:所述网络设备从所述公共Qos流接收所述以太网数据包。
- 根据权利要求11至15中任一项所述的方法,其特征在于,所述方法还包括:所述网络设备从所述终端设备接收与所述终端设备关联的媒体介入控制MAC地址。
- 根据权利要求16所述的方法,其特征在于,所述网络设备从所述终端设备接收所述MAC地址,包括:所述网络设备从所述终端设备接收非接入层NAS消息,所述NAS消息包括所述MAC地址。
- 根据权利要求16或17所述的方法,其特征在于,所述方法还包括:所述网络设备向所述终端设备发送请求消息,所述请求消息用于请求与所述终端设备关联的所述MAC地址。
- 根据权利要求11至18中任一项所述的方法,其特征在于,所述方法还包括:所述网络设备从所述终端设备接收压缩能力信息,所述压缩能力信息用于指示所述终端设备支持的N种以太压缩能力,N为大于或等于1的整数;所述网络设备向所述终端设备发送压缩配置信息,所述压缩配置信息用于指示第一以太压缩能力的参数,所述N种以太压缩能力包括所述第一以太压缩能力;所述网络设备根据所述第一以太压缩能力的参数,生成所述以太网数据包。
- 根据权利要求19所述的方法,其特征在于,所述以太网数据包包括第一包头, 所述第一包头包括第一上下文标识,所述第一上下文标识用于标识第一上下文信息。
- 一种用于以太网数据的装置,其特征在于,所述装置包括:收发单元,用于从网络设备接收下行控制信息DCI,所述DCI采用第一无线网络临时标识RNTI加扰,所述第一RNTI是针对以太网数据包的RNTI,所述DCI包括用于指示承载所述以太网数据包的时频资源的信息;所述收发单元还用于:在所述DCI所指示的时频资源上从所述网络设备接收所述以太网数据包。
- 根据权利要求21所述的装置,其特征在于,所述收发单元具体用于:在所述DCI所指示的时频资源上从所述网络设备接收系统信息块SIB,所述SIB包括所述以太网数据包。
- 根据权利要求21或22所述的装置,其特征在于,所述第一RNTI是针对广播类型或组播类型的以太数据包的RNTI。
- 根据权利要求21至23中任一项所述的装置,其特征在于,所述DCI包括第一信息,所述第一信息用于指示所述DCI调度的数据包为广播类型的以太网数据包或组播类型的以太网数据包。
- 根据权利要求21至24中任一项所述的装置,其特征在于,所述收发单元还用于:向所述网络设备发送与所述装置关联的媒体介入控制MAC地址。
- 根据权利要求25所述的装置,其特征在于,所述收发单元具体用于:向所述网络设备发送非接入层NAS消息,所述NAS消息包括所述MAC地址。
- 根据权利要求25或26所述的装置,其特征在于,所述收发单元还用于:从所述网络设备接收请求消息,所述请求消息用于请求与所述装置关联的所述MAC地址。
- 根据权利要求25或26所述的装置,其特征在于,所述收发单元还用于:当与所述装置关联的MAC地址发生变化,向所述网络设备发送变化后的所述MAC地址。
- 根据权利要求21至28中任一项所述的装置,其特征在于,所述收发单元还用于:向所述网络设备发送压缩能力信息,所述压缩能力信息用于指示所述装置支持的N种以太压缩能力,N为大于或等于1的整数;从所述网络设备接收压缩配置信息,所述压缩配置信息用于指示第一以太压缩能力的参数,所述N种以太压缩能力包括所述第一以太压缩能力;以及,所述装置还包括:处理单元,用于解压缩所述以太网数据包,其中,所述以太网数据包是基于所述第一以太网压缩能力的参数生成的。
- 根据权利要求29所述的装置,其特征在于,所述以太网数据包包括第一包头,所述第一包头包括第一上下文标识,所述第一上下文标识用于标识第一上下文信息;所述收发单元还用于:根据所述第一上下文标识,获取所述第一上下文信息;以及,所述处理单元具体用于:根据所述第一上下文信息,解压缩所述以太网数据包。
- 一种用于以太网数据的装置,其特征在于,所述装置包括:收发单元,用于向终端设备发送下行控制信息DCI,所述DCI采用第一无线网络临时标识RNTI加扰,所述第一RNTI是针对以太网数据包的RNTI,所述DCI包括用于指示承载所述以太网数据包的时频资源的信息;所述收发单元还用于:在所述时频资源上向所述终端设备发送所述以太网数据包。
- 根据权利要求31所述的装置,其特征在于,所述收发单元具体用于:在所述时频资源上向所述终端设备发送系统信息块SIB,所述SIB包括所述以太网数据包。
- 根据权利要求31或32所述的装置,其特征在于,所述第一RNTI是针对广播类型或组播类型的以太网数据包的RNTI。
- 根据权利要求31至33中任一项所述的装置,其特征在于,所述DCI包括第一信息,所述第一信息用于指示所述DCI调度的数据包为广播类型的以太网数据包或组播类型的以太网数据包。
- 根据权利要求31至34中任一项所述的装置,其特征在于,所述装置为接入网设备,所述接入网设备与核心网设备之间建立有公共服务质量Qos流;以及,所述收发单元还用于:从所述公共Qos流接收所述以太网数据包。
- 根据权利要求31至35中任一项所述的装置,其特征在于,所述收发单元还用于:从所述终端设备接收与所述终端设备关联的媒体介入控制MAC地址。
- 根据权利要求36所述的装置,其特征在于,所述收发单元具体用于:从所述终端设备接收非接入层NAS消息,所述NAS消息包括所述MAC地址。
- 根据权利要求36或37所述的装置,其特征在于,所述收发单元还用于:向所述终端设备发送请求消息,所述请求消息用于请求与所述终端设备关联的所述MAC地址。
- 根据权利要求31至38中任一项所述的装置,其特征在于,所述收发单元还用于:从所述终端设备接收压缩能力信息,所述压缩能力信息用于指示所述终端设备支持的N种以太压缩能力,N为大于或等于1的整数;向所述终端设备发送压缩配置信息,所述压缩配置信息用于指示第一以太压缩能力的参数,所述N种以太压缩能力包括所述第一以太压缩能力;所述装置还包括:处理单元,用于根据所述第一以太压缩能力的参数,生成所述以太网数据包。
- 根据权利要求39所述的装置,其特征在于,所述以太网数据包包括第一包头,所述第一包头包括第一上下文标识,所述第一上下文标识用于标识第一上下文信息。
- 一种用于以太网数据的装置,其特征在于,包括处理器,用于从存储器中调用并运行所述存储器中存储的指令,使得所述装置执行如权利要求1至10任一项所述的方法。
- 一种用于以太网数据的装置,其特征在于,包括处理器,用于从存储器中调用并运行所述存储器中存储的指令,使得所述装置执行如权利要求11至20任一项所述的方法。
- 一种计算机存储介质,用于存储程序,该程序被处理器调用时,如权利要求1至 10任一项所述的方法被执行。
- 一种计算机存储介质,用于存储程序,该程序被处理器调用时,如权利要求11至20中任一项所述的方法被执行。
Priority Applications (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
EP19868002.7A EP3849148B1 (en) | 2018-09-28 | 2019-09-26 | Communication method and apparatus for ethernet data |
JP2021516888A JP7210710B2 (ja) | 2018-09-28 | 2019-09-26 | イーサネット(登録商標)データの通信方法及び装置 |
CA3114267A CA3114267A1 (en) | 2018-09-28 | 2019-09-26 | Communication method and apparatus for ethernet data |
US17/213,970 US20210219173A1 (en) | 2018-09-28 | 2021-03-26 | Communication Method and Apparatus for Ethernet Data |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811142736.7A CN110972282B (zh) | 2018-09-28 | 2018-09-28 | 用于以太网数据的通信方法和装置 |
CN201811142736.7 | 2018-09-28 |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US17/213,970 Continuation US20210219173A1 (en) | 2018-09-28 | 2021-03-26 | Communication Method and Apparatus for Ethernet Data |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2020063709A1 true WO2020063709A1 (zh) | 2020-04-02 |
Family
ID=69949847
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2019/108019 WO2020063709A1 (zh) | 2018-09-28 | 2019-09-26 | 用于以太网数据的通信方法和装置 |
Country Status (6)
Country | Link |
---|---|
US (1) | US20210219173A1 (zh) |
EP (1) | EP3849148B1 (zh) |
JP (1) | JP7210710B2 (zh) |
CN (1) | CN110972282B (zh) |
CA (1) | CA3114267A1 (zh) |
WO (1) | WO2020063709A1 (zh) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020077543A1 (zh) * | 2018-10-16 | 2020-04-23 | Oppo广东移动通信有限公司 | 一种处理帧头的方法及装置、通信设备 |
WO2020155115A1 (zh) * | 2019-02-01 | 2020-08-06 | Oppo广东移动通信有限公司 | 一种头压缩的处理方法及装置、通信设备 |
JP6926158B2 (ja) * | 2019-08-09 | 2021-08-25 | シャープ株式会社 | 端末装置、基地局装置、および通信方法 |
WO2021253432A1 (zh) * | 2020-06-19 | 2021-12-23 | Oppo广东移动通信有限公司 | 无线通信方法、压缩端和解压缩端 |
WO2022027691A1 (zh) * | 2020-08-07 | 2022-02-10 | 华为技术有限公司 | 一种通信方法及装置 |
CN117082565A (zh) * | 2022-05-09 | 2023-11-17 | 维沃移动通信有限公司 | 数据传输方法、信息发送方法、终端及网络侧设备 |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2015142469A2 (en) * | 2014-03-20 | 2015-09-24 | Intel IP Corporation | Methods, systems, and devices for modulation and coding scheme signaling for common control channel |
WO2016145371A2 (en) * | 2015-03-11 | 2016-09-15 | Phluido, Inc. | Distributed radio access network with adaptive fronthaul |
Family Cites Families (21)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9094943B2 (en) | 2008-09-19 | 2015-07-28 | Qualcomm Incorporated | Network and mobile device initiated quality of service |
US8867355B2 (en) * | 2009-07-14 | 2014-10-21 | Broadcom Corporation | MoCA multicast handling |
CN102647768B (zh) * | 2011-02-18 | 2014-06-18 | 电信科学技术研究院 | 基于lte-lan的报文转发方法及装置 |
US20130039291A1 (en) * | 2011-08-12 | 2013-02-14 | Research In Motion Limited | Design on Enhanced Control Channel for Wireless System |
CN103634882A (zh) * | 2012-08-27 | 2014-03-12 | 电信科学技术研究院 | 一种无线网络临时标识的传输方法和设备 |
WO2014110773A1 (zh) * | 2013-01-17 | 2014-07-24 | 华为技术有限公司 | 一种数据包处理方法和装置 |
GB2510358A (en) * | 2013-01-31 | 2014-08-06 | Eip | Configuring layer 2 data compression between a UE and base station in LTE. |
US9622233B1 (en) * | 2014-06-16 | 2017-04-11 | Sprint Spectrum L.P. | Dynamic use of orthogonal coding to manage control channel capacity |
CN104079488B (zh) * | 2014-07-22 | 2017-03-29 | 武汉虹信通信技术有限责任公司 | 基于以太网二层头压缩的传输设备及方法 |
US10219310B2 (en) | 2014-12-12 | 2019-02-26 | Alcatel Lucent | WiFi boost with LTE IP anchor |
WO2016105568A1 (en) * | 2014-12-23 | 2016-06-30 | Interdigital Patent Holdings, Inc. | Methods for wifi integration in cellular systems |
WO2016152912A1 (ja) | 2015-03-26 | 2016-09-29 | 株式会社Nttドコモ | 通信システムおよび通信方法 |
US9979557B2 (en) * | 2015-08-10 | 2018-05-22 | Hughes Network Systems, Llc | Carrier grade Ethernet layer 2 over layer 3 satellite backbones (L2oL3SB) |
JP6776243B2 (ja) * | 2015-08-11 | 2020-10-28 | 京セラ株式会社 | 通信方法、基地局及び無線端末 |
TWI751147B (zh) * | 2016-03-30 | 2022-01-01 | 美商內數位專利控股公司 | 無線傳輸/接收單元及其執行方法 |
CN107426785A (zh) | 2016-05-23 | 2017-12-01 | 中国移动通信有限公司研究院 | 一种数据传输方法及装置 |
CN106358317B (zh) * | 2016-09-21 | 2019-07-09 | 深圳震有科技股份有限公司 | 一种实现lte空中接口组播的方法和系统 |
US11191007B2 (en) * | 2016-09-28 | 2021-11-30 | Idac Holdings, Inc. | Methods and systems for beamformed system information transmission |
EP3599789B1 (en) | 2017-03-22 | 2024-02-14 | Sony Group Corporation | Terminal device, base station device, communication method, and storage medium |
US10855814B2 (en) * | 2017-10-20 | 2020-12-01 | Comcast Cable Communications, Llc | Non-access stratum capability information |
US11863983B2 (en) * | 2018-08-20 | 2024-01-02 | Apple Inc. | Provisioning of VLAN IDs in 5G systems |
-
2018
- 2018-09-28 CN CN201811142736.7A patent/CN110972282B/zh active Active
-
2019
- 2019-09-26 EP EP19868002.7A patent/EP3849148B1/en active Active
- 2019-09-26 WO PCT/CN2019/108019 patent/WO2020063709A1/zh unknown
- 2019-09-26 JP JP2021516888A patent/JP7210710B2/ja active Active
- 2019-09-26 CA CA3114267A patent/CA3114267A1/en active Pending
-
2021
- 2021-03-26 US US17/213,970 patent/US20210219173A1/en not_active Abandoned
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2015142469A2 (en) * | 2014-03-20 | 2015-09-24 | Intel IP Corporation | Methods, systems, and devices for modulation and coding scheme signaling for common control channel |
WO2016145371A2 (en) * | 2015-03-11 | 2016-09-15 | Phluido, Inc. | Distributed radio access network with adaptive fronthaul |
Non-Patent Citations (3)
Title |
---|
See also references of EP3849148A4 |
VIVO: "Ll impacts on DL/UL intra-UE prioritization/multiplexing", 3GPP TSG RAN MEETING #81, RP-181660, 13 September 2018 (2018-09-13), XP051512940 * |
ZTE: "Clarification of NRS presence", 3GPP TSG RAN WG1 MEETING #88BIS, RL-1705482, 7 April 2017 (2017-04-07), XP051250938 * |
Also Published As
Publication number | Publication date |
---|---|
JP7210710B2 (ja) | 2023-01-23 |
CN110972282A (zh) | 2020-04-07 |
EP3849148A4 (en) | 2021-10-27 |
US20210219173A1 (en) | 2021-07-15 |
CA3114267A1 (en) | 2020-04-02 |
JP2022501921A (ja) | 2022-01-06 |
CN110972282B (zh) | 2022-05-24 |
EP3849148B1 (en) | 2024-08-21 |
EP3849148A1 (en) | 2021-07-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2020063707A1 (zh) | 用于以太网数据的通信方法和装置 | |
WO2020063709A1 (zh) | 用于以太网数据的通信方法和装置 | |
EP3852403A1 (en) | Communication method and apparatus | |
JP5904347B2 (ja) | データ通信方法、装置、およびシステム | |
RU2767321C1 (ru) | Способ и устройство для беспроводной связи | |
WO2014026370A1 (zh) | 数据传输方法及装置 | |
WO2022205234A1 (zh) | 一种通信方法及装置 | |
EP3860075B1 (en) | Ethernet frame header compression processing method, device and chip and computer program | |
WO2021244356A1 (zh) | 数据传输方法及装置 | |
WO2021087923A1 (zh) | 一种传输信息的方法和装置 | |
WO2012110004A1 (zh) | 基于lte-lan的报文转发方法及装置 | |
WO2023015420A1 (zh) | 数据传输方法及装置 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 19868002 Country of ref document: EP Kind code of ref document: A1 |
|
ENP | Entry into the national phase |
Ref document number: 3114267 Country of ref document: CA Ref document number: 2021516888 Country of ref document: JP Kind code of ref document: A |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
ENP | Entry into the national phase |
Ref document number: 2019868002 Country of ref document: EP Effective date: 20210406 |