CN112534789B - Method and communication equipment for compressing and decompressing Ethernet frame - Google Patents

Method and communication equipment for compressing and decompressing Ethernet frame Download PDF

Info

Publication number
CN112534789B
CN112534789B CN201880096284.5A CN201880096284A CN112534789B CN 112534789 B CN112534789 B CN 112534789B CN 201880096284 A CN201880096284 A CN 201880096284A CN 112534789 B CN112534789 B CN 112534789B
Authority
CN
China
Prior art keywords
ethernet frame
indication information
information
length
starting position
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201880096284.5A
Other languages
Chinese (zh)
Other versions
CN112534789A (en
Inventor
唐海
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Publication of CN112534789A publication Critical patent/CN112534789A/en
Application granted granted Critical
Publication of CN112534789B publication Critical patent/CN112534789B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/40Network security protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W80/00Wireless network protocols or protocol adaptations to wireless operation
    • H04W80/02Data link layer protocols

Landscapes

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

Abstract

A method and a communication device for compressing and decompressing Ethernet frames are provided, wherein the method for compressing the Ethernet frames comprises the following steps: the method comprises the steps that a first device determines the starting position of a first part in an Ethernet frame, and the first device compresses the first part and a second part in the Ethernet frame according to the starting position of the first part; wherein a starting position of the first portion is located after a starting position of the second portion. In this embodiment of the present application, after the compression end device determines the start position of the first portion in the ethernet frame, the first portion and the second portion in the ethernet frame may be distinguished based on the start position of the first portion, so as to implement respective compression of the first portion and the second portion.

Description

Method and communication equipment for compressing and decompressing Ethernet frame
Technical Field
The embodiments of the present invention relate to the field of communications, and in particular, to a method and a communication device for compressing and decompressing ethernet frames.
Background
In a Long Term Evolution (LTE) system, a Protocol Data Unit (PDU) session is of an Internet Protocol (IP) type.
In a New Radio (NR) system, not only an IP packet type is supported, but also an Ethernet (Ethernet) frame type is introduced.
How to realize the transmission of the two types of PDUs is an urgent problem to be solved.
Disclosure of Invention
A method and communication device for compressing and decompressing Ethernet frames are provided, which can realize the compression and decompression of a first part and a second part in the Ethernet frames respectively.
In a first aspect, a method for compressing ethernet frames is provided, including:
the first device determines a starting position of a first part in the Ethernet frame;
the first device compresses the first part and a second part in the Ethernet frame respectively according to the starting position of the first part;
wherein a starting position of the first portion is located after a starting position of the second portion.
In a second aspect, a method for decompressing an ethernet frame is provided, including:
the second device receives and decompresses the ethernet frame from the first device;
the second device determines a starting position of a first part in the Ethernet frame;
the second device acquires the first part and a second part in the Ethernet frame according to the starting position of the first part;
wherein a starting position of the first portion is located after a starting position of the second portion.
In a third aspect, a communication device is provided, configured to perform the method in the first aspect or its implementation manners. In particular, the communication device comprises functional modules for performing the methods of the first aspect or its implementations described above.
In a fourth aspect, a communication device is provided for performing the method of the second aspect or its implementations. In particular, the communication device comprises functional modules for performing the methods of the second aspect or its implementations described above.
In a fifth aspect, a communication device is provided that includes a processor and a memory. The memory is configured to store a computer program, and the processor is configured to call and execute the computer program stored in the memory to perform the method in the first aspect or each implementation manner thereof.
In a sixth aspect, a communications device is provided that includes a processor and a memory. The memory is used for storing a computer program, and the processor is used for calling and running the computer program stored in the memory to execute the method of the second aspect or each implementation manner thereof.
In a seventh aspect, a chip is provided for implementing the method in any one of the first to second aspects or its implementation manners. Specifically, the chip includes: a processor, configured to call and run a computer program from a memory, so that a device in which the chip is installed performs the method in any one of the first aspect to the second aspect or the implementation manners thereof.
In an eighth aspect, a computer-readable storage medium is provided for storing a computer program, the computer program causing a computer to perform the method of any one of the first to second aspects or implementations thereof.
In a ninth aspect, there is provided a computer program product comprising computer program instructions to cause a computer to perform the method of any one of the first to second aspects or implementations thereof.
A tenth aspect provides a computer program that, when run on a computer, causes the computer to perform the method of any one of the first to second aspects or implementations thereof.
Based on the above technical solution, after the compression end device determines the start position of the first portion in the ethernet frame, the first portion and the second portion in the ethernet frame may be distinguished based on the start position of the first portion, thereby implementing the respective compression of the first portion and the second portion. Accordingly, the decompressing-side device may distinguish and obtain the first subsection and the second subsection in the ethernet frame based on the starting position of the first subsection in the ethernet frame before or after the ethernet frame is decompressed.
Drawings
Fig. 1 is an example of an application scenario of the present invention.
Fig. 2 is a schematic flow chart of a method of compressing ethernet frames in an embodiment of the present invention.
Fig. 3 is a schematic diagram of a frame format provided in an embodiment of the present application.
Fig. 4 is a schematic diagram of another frame format provided in an embodiment of the present application.
Fig. 5 is a schematic diagram of another frame format provided in an embodiment of the present application.
Fig. 6 is a schematic flow chart of a method of decompressing an ethernet frame according to an embodiment of the present application.
Fig. 7 is a schematic block diagram of a communication device of an embodiment of the present invention.
Fig. 8 is a schematic block diagram of another communication device of an embodiment of the present invention.
Fig. 9 is a schematic block diagram of yet another communication device of an embodiment of the present invention.
FIG. 10 is a schematic block diagram of a chip of an embodiment of the invention.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The technical scheme of the embodiment of the application can be applied to various communication systems, for example: a Global System for Mobile communications (GSM) System, a Code Division Multiple Access (CDMA) System, a Wideband Code Division Multiple Access (WCDMA) System, a General Packet Radio Service (GPRS), a Long Term Evolution (Long Term Evolution, LTE) System, an LTE Frequency Division Duplex (FDD) System, an LTE Time Division Duplex (TDD), a Universal Mobile Telecommunications System (UMTS), a Worldwide Interoperability for Microwave Access (WiMAX) communication System, or a 5G System.
Illustratively, a communication system 100 applied in the embodiment of the present application is shown in fig. 1. The communication system 100 may include a terminal device 110, and the terminal device 110 may be located within the coverage area of an access network device 120. As used herein, "terminal equipment" includes, but is not limited to, connections via wireline, such as Public Switched Telephone Network (PSTN), digital Subscriber Line (DSL), digital cable, direct cable connection; and/or another data connection/network; and/or via a Wireless interface, e.g., for a cellular Network, a Wireless Local Area Network (WLAN), a digital television Network such as a DVB-H Network, a satellite Network, an AM-FM broadcast transmitter; and/or means of another terminal device arranged to receive/transmit communication signals; and/or Internet of Things (IoT) devices. A terminal device arranged to communicate over a wireless interface may be referred to as a "wireless communication terminal", "wireless terminal", or "mobile terminal". Examples of mobile terminals include, but are not limited to, satellite or cellular telephones; personal Communications System (PCS) terminals that may combine a cellular radiotelephone with data processing, facsimile and data Communications capabilities; PDAs that may include radiotelephones, pagers, internet/intranet access, web browsers, notepads, calendars, and/or Global Positioning System (GPS) receivers; and conventional laptop and/or palmtop receivers or other electronic devices that include a radiotelephone transceiver. Terminal Equipment may refer to an access terminal, user Equipment (UE), subscriber unit, subscriber station, mobile station, remote terminal, mobile device, user terminal, wireless communication device, user agent, or User Equipment. An access terminal may be a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, a Personal Digital Assistant (PDA), a handheld device with Wireless communication capability, a computing device or other processing device connected to a Wireless modem, a vehicle mounted device, a wearable device, a terminal device in a 5G network or a terminal device in a future evolved PLMN, etc.
The communication system 100 may include an access network device 120, and the access network device 120 may be a device that communicates with a terminal device 110 (or referred to as a communication terminal, a terminal). Access network device 120 may provide communication coverage for a particular geographic area and may communicate with terminal devices located within the coverage area. Optionally, the Access Network device 120 may be a Base Transceiver Station (BTS) in a GSM system or a CDMA system, a Base Station (NodeB, NB) in a WCDMA system, an evolved Node B (eNB or eNodeB) in an LTE system, or a wireless controller in a Cloud Radio Access Network (CRAN), or the Network device may be a Mobile switching center, a relay Station, an Access point, a vehicle-mounted device, a wearable device, a hub, a switch, a bridge, a router, a Network-side device in a 5G Network, or a Network device in a Public Land Mobile Network (PLMN) for future evolution, or the like.
The wireless communication system 100 also includes a core network device 130 in communication with the access network device. Alternatively, the core network device 130 may be a 5G core network device, for example, an Access and Mobility Management Function (AMF), which is responsible for Access and Mobility Management and has functions of authenticating, switching, updating location, and the like for a user. Also for example, the Session Management Function (SMF) is responsible for Session Management, including establishment, modification, release, and the like of a Packet Data Unit (PDU) Session. For another example, a User Plane Function (UPF) is responsible for forwarding user data. The core network device may be a core network device of an LTE system or another system.
Alternatively, the 5G system or the 5G network may also be referred to as a New Radio (NR) system or an NR network.
It should be understood that the terms "system" and "network" are often used interchangeably herein. The term "and/or" herein is merely an association describing an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
Alternatively, the embodiments of the present application may be used in a public land network or a local network.
Wherein, the public land network can be a public land network based on PLMN.
The local network may also be referred to as a local area network or a private network, and the local network is usually disposed in an office scene, a home scene, and a factory, and more effective and safe management can be realized, and the local network is usually disposed by a local user or a manager. Typically, authorized access-capable users have access to the local network.
The local network may be managed or governed by the public land network, but may not be. Optionally, the local network may use an unlicensed frequency band for communication, or may share a licensed frequency band with a public land network. Alternatively, the home network may be a network belonging to the 3GPP category. The core network of the local network may be an NR or LTE core network, and the local network may be accessed to the core network through an NR access network, an LTE access network, or Wireless Fidelity (WiFi). Alternatively, in the embodiment of the present application, the public land network and the local network may share a core network, and the access network is independent; alternatively, the access networks may be shared, while the core networks are independent; alternatively, the access network and the core network may be shared; alternatively, neither the access network nor the core network is shared. Optionally, in this embodiment of the present application, multiple or multiple local networks may share a core network, while the access networks are independent; alternatively, the access networks may be shared, while the core networks are independent; alternatively, the access network and the core network may be shared; alternatively, neither the access network nor the core network are shared.
Fig. 2 is a schematic flow chart diagram of a method 200 of compressing ethernet frames according to an embodiment of the present application. The method 200 includes at least some of the following. The method 200 may be used, among other things, for compression-end devices. Optionally, the method 200 may be used for downlink transmission and may also be used for uplink transmission. When the first device is used for downlink transmission, the first device may be a network side device (e.g., an access network device or a core network device), and the second device may be a terminal device. For uplink transmission, the first device may be a terminal device, and the second device may be a network side device (e.g., an access network device or a core network device).
As shown in fig. 2, the method 200 includes:
s210, the first device determines a start position of a first portion in the ethernet frame.
S220, the first device compresses the first part and the second part in the Ethernet frame according to the starting position of the first part respectively;
wherein a starting position of the first portion is located after a starting position of the second portion.
Optionally, in some embodiments of the present application, the first portion is a header of a data portion of the ethernet frame, and the second portion is the header of the ethernet frame.
For example, the first portion is a header of an IP packet.
For another example, the second portion is a header of an Ethernet.
Optionally, in some embodiments of the present application, the second portion comprises the first portion.
Optionally, in some embodiments of the present application, the first portion and the second portion are adjacent.
In other words, the first portion and the second portion may be in a parallel relationship or an inclusive relationship in the ethernet frame. This is not particularly limited in the embodiments of the present application.
In this embodiment, after determining the start position of the first portion in the ethernet frame, the compression end device may distinguish the first portion from the second portion in the ethernet frame based on the start position of the first portion, thereby implementing compression of the first portion and/or the second portion, respectively. Accordingly, the decompressing-side device may distinguish and obtain the first part and/or the second part in the ethernet frame based on the starting position of the first part in the ethernet frame before or after decompressing the ethernet frame.
It should be understood that the specific contents of the first portion and the second portion are not additionally limited in the embodiments of the present application. For example, in other alternative embodiments, the starting position of the first portion precedes the starting position of the second portion, whereby the first device may compress and decompress the first portion and/or the second portion, respectively, based on the starting position of the second portion.
For ease of understanding, the following describes exemplary formats of ethernet frames that can be used in embodiments of the present application with reference to the drawings.
In one embodiment of the present application, the Ethernet frame may be an Ethernet II frame type. For example, as shown in fig. 3, the ethernet frame may include a header of the ethernet frame and a data part of the ethernet frame, wherein the header of the ethernet frame may include a destination address, a source address, and a type, and the data part of the ethernet frame may include data. There are two more parts, preamble and Frame Check Sequence (FCS), that are not transmitted in a 5G network.
Further, in the frame format shown in fig. 3, the embodiment of the present application does not limit the specific position of the header of the data portion.
For example, in one embodiment of the present application, the header of the ethernet frame may include the header of the data portion.
For another example, in another embodiment of the present application, the data portion may include a header of the data portion.
For another example, in another embodiment of the present application, the header of the data section may be located between the header of the ethernet frame and the data section.
In another embodiment of the present application, the ethernet frame may be an IEEE 802.3 SNAP frame type. For example, as shown in fig. 4, the ethernet frame may include a header of the ethernet frame, which may include a destination address, a source address, and a length, and a data part of the ethernet frame, which may include data. There may additionally be two parts, namely preamble and FCS, that are not transmitted in a 5G network.
Similarly, in the frame format shown in fig. 4, the specific position of the header of the data portion is not limited in the embodiment of the present application.
It should be understood that the frame format of the ethernet frame shown in fig. 3 and fig. 4 is only an example, and should not be construed as limiting the embodiments of the present application. For example, as shown in fig. 5, in other alternative embodiments, a Virtual Local Area Network (VLAN) field may be added to the frame format shown in fig. 4, and the VLAN field is used to indicate information about a VLAN.
It should also be understood that various implementations of the embodiments of the present application may also be applied to other types of frames besides ethernet frames, and for brevity, the embodiments of the present application are not described herein again.
A specific implementation of S210 will be described below.
In S210, the first device may compress the first part and/or the second part based on a sub-protocol (profile) Identifier (Identifier, ID), may compress the first part and/or the second part and/or the data part based on a sub-protocol (profile) Identifier (Identifier, ID), and may compress the first part and/or the second part and/or the data part together based on a sub-protocol (profile) Identifier (Identifier, ID). This is not particularly limited in the embodiments of the present application.
It should be understood that the first partially based sub-protocol ID and the second partially based sub-protocol ID may be the same, and that the first partially based sub-protocol ID and the second partially based sub-protocol ID may not be the same. This is not particularly limited in the embodiments of the present application.
It should also be understood that the sub-protocol IDs mentioned in the embodiments of the present application may indicate compression objects and compression policies.
Wherein the compression object may correspond to a protocol employed by the data portion and/or to an ethernet frame type employed by the header (second portion) and/or whether the header (second portion) includes a VLAN field. The compression policy may indicate how compression is to be implemented.
Optionally, in this embodiment of the present application, the protocol used by the data portion may include, but is not limited to:
encapsulating Security Payload (ESP), internet Protocol (IP), user Datagram Protocol (UDP), real-time Transport Protocol (RTP), and the like, and the compression policy may include RFC 5225, RFC 6846, RFC 3095, RFC 4815, and the like.
Optionally, in this embodiment of the present application, the types of the ethernet frame may include, but are not limited to:
the frame types of the Institute of Electrical and Electronics Engineers (IEEE) IEEE 802.3 Service Access Point (SAP) and Ethernet II may include other frame types, and the embodiment of the present invention is not particularly limited thereto. Alternatively, the ethernet frame differentiation may be made by whether or not the VLAN field is included.
The sub-protocol IDs of the embodiments of the present application are exemplarily described below with reference to table 1.
TABLE 1
Sub-protocol ID Compression object (Usage) Compression strategy (Reference)
0x0000 Without compression RFC 5795
0x0001 RTP/UDP/IP RFC 3095,RFC 4815
0x0002 UDP/IP RFC 3095,RFC 4815
0x0003 ESP/IP RFC 3095,RFC 4815
0x0004 IP RFC 3843,RFC 4815
0x0006 TCP/IP RFC 6846
0x0101 RTP/UDP/IP RFC 5225
0x0102 UDP/IP RFC 5225
0x0103 ESP/IP RFC 5225
0x0104 IP RFC 5225
As shown in table 1, the compression object of one sub-protocol ID may correspond to one or more protocols, and the corresponding compression policy may be one or more. For example, the protocol corresponding to the compression object of 0x0004 is IP, and the compression policy of 0x0004 may include RFC 3843 and RFC 4815.
It should be understood that table 1 is only one example of the present application and should not be construed as limiting the embodiments of the present application. For example, in other alternative embodiments, one sub-protocol ID may correspond to either an included or an excluded VLAN field, or both.
It should also be understood that the compression operation of the first device may be performed by a Packet Data Convergence Protocol (PDCP) layer or entity of the first device, or may be performed by a new layer, or a PDU layer. The method is used for supporting the use of different compression objects and compression strategies according to configured sub-protocol IDs for different Data Radio Bearers (DRBs), QOS flows and PDU sessions.
A specific implementation manner of determining the start position of the first portion in the ethernet frame by the first device according to the embodiment of the present application is described below.
The first embodiment is as follows:
and the first equipment determines the starting position of the first part according to the frame format information of the Ethernet frame.
For example, the first device may determine the start position of the first portion according to format information of an ethernet frame specified by a protocol. For another example, the first device may determine the starting position of the first portion according to format information of an ethernet frame configured by the network. For another example, the first device may determine the starting position of the first portion according to format information of an ethernet frame negotiated by the first device and the second device.
Example two:
the first device determines the length of the second portion, and then the first device determines the starting position of the first portion according to the length of the second portion.
An implementation of the first device determining the length of the second portion in this embodiment is described below.
As an embodiment, the first device may determine the length of the second portion according to frame format information of the ethernet frame.
For example, the first device may determine the length of the second portion according to format information of an ethernet frame specified by a protocol. For another example, the first device may determine the length of the second portion according to format information of an ethernet frame configured by the network. For another example, the first device may determine the length of the second portion according to format information of an ethernet frame negotiated by the first device and the second device.
As another embodiment, the first device generates and transmits first indication information indicating a length of the second portion. Specifically, after the first device generates the first indication information, the first device sends the first indication information to a second device.
For example, the first indication information is specifically used to indicate the length of the second portion in the ethernet frame, and/or the first indication information is specifically used to indicate the length of the second portion in the compressed ethernet frame, and/or the first indication information is specifically used to indicate the length of the compressed second portion in the compressed ethernet frame.
Optionally, the compressed ethernet frame includes the first indication information.
In this embodiment of the present application, the first device is a compression end, that is, after the compression end determines and generates first indication information used for indicating the length of the second portion, the first indication information is sent to a decompression end, and the decompression end may determine the length of the second portion according to the first indication information. In other words, the first device may generate the first indication information before compressing the ethernet frame, or may generate the first indication information after compressing the ethernet frame, which is not specifically limited in this embodiment of the application.
Since the first indication information is information generated by the compression end and sent to the decompression end, the first device in this embodiment may be a network device or a terminal device, that is, the specific type of the first device is not limited in this embodiment.
As another embodiment, the first device determines the length of the second portion based on second indication information.
For example, the second indication information is specifically used for indicating the fixed length of the second part in the ethernet frame, and/or the second indication information is specifically used for indicating the fixed length of the second part in the compressed ethernet frame, and/or the second indication information is specifically used for indicating the fixed length of the compressed second part in the compressed ethernet frame.
Optionally, the second indication information may be preconfigured information.
For example, the compression end and the decompression end both determine the length of the second part through the second indication information.
Optionally, the second indication information is configured through radio resource control RRC signaling.
For example, assuming that the first device is a terminal device, the terminal device may determine the length of the second portion according to second indication information sent by a network device.
For another example, assuming that the first device is a network device, the network device may generate the second indication information and send the second indication information to a terminal device, so that the terminal device compresses or decompresses an ethernet frame according to the second indication information after receiving the second indication information. Meanwhile, the network device may compress or decompress the ethernet frame directly according to the second indication information.
Since the second indication information may be transmitted in a semi-static configuration or dynamic configuration manner, in this embodiment of the application, the second indication information may be further associated with at least one of the following information:
quality of service (QoS) flows, protocol Data Unit (PDU) sessions, and Data Radio Bearers (DRBs).
In other words, the first device needs to determine the second indication information before determining the length of the second portion. Specifically, the first device determines first information in a plurality of information, wherein the plurality of information corresponds to at least one indication information; and the first equipment determines the indication information corresponding to the first information as the second indication information. Then, the first device determines the length of the second portion according to the second indication information.
For example, taking the first information as the QoS flow as an example, the first device determines the first QoS flow among a plurality of QoS flows, where the plurality of QoS flows correspond to at least one indication information, and the first device determines the indication information corresponding to the first QoS flow as the second indication information.
For another example, taking the first information as the PDU session as an example, the first device determines the first PDU session in a plurality of PDU sessions, where the plurality of PDU sessions correspond to at least one piece of indication information, and the first device determines the indication information corresponding to the first PDU session as the second indication information.
For another example, taking the first information as the DRB, the first device determines a first DRB among a plurality of DRBs, where the plurality of DRBs correspond to at least one piece of indication information, and the first device determines the indication information corresponding to the first DRB as the second indication information.
It should be understood that, in the embodiments of the present application, different information in the plurality of information corresponds to the same or different indication information.
For example, different ones of the plurality of QoS flows may correspond to the same or different indication information.
For another example, different ones of the plurality of PDU sessions correspond to the same or different indication information.
For another example, different DRBs in the plurality of DRBs correspond to the same or different indication information.
Optionally, in some embodiments of the present application, the ethernet frame after compression includes identification information of the first information.
Therefore, after the first device sends the compressed ethernet frame to the second device, the second device may determine the first information from the plurality of information according to that the compressed ethernet frame includes the identification information of the first information, and further determine the second indication information corresponding to the first information according to the first information.
It should be understood that, in the embodiment of the present application, a specific implementation manner of determining, by the first terminal device, the starting position of the first portion according to the starting position of the second portion and the length of the second portion is not limited.
For example, the start position of the second portion is the start position of the ethernet frame.
Thus, the first device may determine a position after the start position of the ethernet frame by a distance of the length of the second portion as the start position of the first portion directly.
It should be understood that the above-mentioned embodiment is only an example of the present application, and should not be construed as limiting the embodiments of the present application.
For example, in other alternative embodiments, the start position of the second portion and the start position of the ethernet frame are spaced apart by a fixed length. Thus, the first device may determine the length of the second portion and the position of the fixed length after the start position of the ethernet frame as the start position of the first portion.
It should also be understood that the embodiments of the present application do not limit the specific embodiment of the length of the second portion.
For example, the length of the second part may be the number of bits occupied by the second part in the ethernet frame, that is, the first device may determine or indicate the length of the second part directly through the number of bits occupied by the second part in the ethernet frame.
For another example, the length of the second portion may be a percentage of the ethernet frame occupied by the second portion, i.e. the first device may directly determine or represent the length of the second portion by the percentage of the ethernet frame occupied by the second portion.
The preferred embodiments of the present application have been described in detail with reference to the accompanying drawings, however, the present application is not limited to the details of the above embodiments, and various simple modifications can be made to the technical solution of the present application within the technical idea of the present application, and these simple modifications are all within the protection scope of the present application.
For example, the various features described in the foregoing detailed description may be combined in any suitable manner without contradiction, and various combinations that may be possible are not described in this application in order to avoid unnecessary repetition.
For example, various embodiments of the present application may be arbitrarily combined with each other, and the same should be considered as the disclosure of the present application as long as the concept of the present application is not violated.
It should be understood that, in the various method embodiments of the present application, the sequence numbers of the above-mentioned processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
The method of compressing ethernet frames according to an embodiment of the present application is described in detail above from the perspective of the first device compressing the first section and the second section in conjunction with fig. 2 to 5, and the method of decompressing ethernet frames according to an embodiment of the present application is described below from the perspective of the second device in conjunction with fig. 6.
Fig. 6 shows a schematic flow diagram of a method 300 of decompressing an ethernet frame according to an embodiment of the present application.
The method 200 may be performed by a decompression device as shown in fig. 1. As shown in fig. 6, the method 300 includes:
s310, the second device receives and decompresses the Ethernet frame from the first device;
s320, the second device determines the starting position of the first part in the Ethernet frame;
s330, the second device obtains the first part and the second part in the Ethernet frame according to the initial position of the first part; wherein a starting position of the first portion is located after a starting position of the second portion.
Optionally, in some embodiments of the present application, the second device determines a start position of the first portion according to frame format information of the ethernet frame.
Optionally, in some embodiments of the present application, the second device determines a length of the second portion; the second device determines a starting position of the first portion based on a length of the second portion.
For example, the second device determines the length of the second portion according to frame format information of the ethernet frame.
For another example, the second device receives first indication information sent by the first device, where the first indication information is used to indicate the length of the second portion. Optionally, the first indication information is specifically used to indicate a length of the second portion in the ethernet frame, and/or the first indication information is specifically used to indicate a length of the second portion in the compressed ethernet frame, and/or the first indication information is specifically used to indicate a length of the compressed second portion in the compressed ethernet frame. Optionally, the compressed ethernet frame includes the first indication information.
For another example, the second device determines the length of the second portion based on the second indication information. Optionally, the second indication information is specifically used to indicate a fixed length of the second part in the ethernet frame, and/or the second indication information is specifically used to indicate a fixed length of the second part in the compressed ethernet frame, and/or the second indication information is specifically used to indicate a fixed length of the compressed second part in the compressed ethernet frame. Optionally, the second indication information is pre-configuration information, or the second indication information is configured through radio resource control RRC signaling.
Further, the second device determines the first information in a plurality of information, wherein the plurality of information corresponds to at least one indication information; and the second equipment determines the indication information corresponding to the first information as the second indication information.
In the embodiment of the present application, the first information includes, but is not limited to, at least one of the following information:
quality of service QoS flows, protocol data unit PDU sessions and data radio bearers DRB.
In the embodiment of the present application, different information in the plurality of information corresponds to the same or different indication information.
In this embodiment of the application, the compressed ethernet frame may include identification information of the first information.
Optionally, in some embodiments of the present application, the second device determines the starting position of the first portion according to the starting position of the second portion and the length of the second portion. Optionally, the start position of the second portion is a start position of the ethernet frame.
Optionally, in some embodiments of the present application, the second device may determine, as the length of the second portion, a number of bits occupied by the second portion in the ethernet frame.
Optionally, in some embodiments of the present application, the first portion is a header of a data portion of the ethernet frame, and the second portion is the header of the ethernet frame.
Optionally, in some embodiments of the present application, the second portion comprises the first portion.
Optionally, in some embodiments of the present application, the first portion and the second portion are adjacent.
It should be understood that, for brevity, the steps in the method 300 for decompressing ethernet frames by the second device may refer to the corresponding steps in the method 200 for compressing ethernet frames by the first device, and are not described herein again.
Method embodiments of the present application are described in detail above with reference to fig. 1 to 6, and apparatus embodiments of the present application are described in detail below with reference to fig. 7 to 10.
Fig. 7 is a schematic block diagram of a communication device 400 of an embodiment of the present application.
Specifically, as shown in fig. 7, the communication device 400 may include:
a determining unit 410, configured to determine a starting position of a first portion in the ethernet frame;
a compressing unit 420, configured to compress the first part and the second part in the ethernet frame according to the starting position of the first part, respectively;
wherein a starting position of the first portion is located after a starting position of the second portion.
Optionally, in some embodiments of the present application, the determining unit 410 is specifically configured to:
and determining the starting position of the first part according to the frame format information of the Ethernet frame.
Optionally, in some embodiments of the present application, the determining unit 410 is specifically configured to:
determining a length of the second portion;
determining a starting position of the first portion according to the length of the second portion.
Optionally, in some embodiments of the present application, the determining unit 410 is specifically configured to:
determining the length of the second portion according to frame format information of the Ethernet frame.
Optionally, in some embodiments of the present application, the communication device further includes:
a communication unit, configured to generate and send first indication information, where the first indication information is used to indicate a length of the second portion.
Optionally, in some embodiments of the present application, the first indication information is specifically used to indicate a length of the second portion in the ethernet frame, and/or the first indication information is specifically used to indicate a length of the second portion in the compressed ethernet frame, and/or the first indication information is specifically used to indicate a length of the compressed second portion in the compressed ethernet frame.
Optionally, in some embodiments of the present application, the compressed ethernet frame includes the first indication information.
Optionally, in some embodiments of the present application, the determining unit 410 is specifically configured to:
determining a length of the second portion based on the second indication information.
Optionally, in some embodiments of the present application, the second indication information is specifically used for indicating a fixed length of the second part in the ethernet frame, and/or the second indication information is specifically used for indicating a fixed length of the second part in the compressed ethernet frame, and/or the second indication information is specifically used for indicating a fixed length of the compressed second part in the compressed ethernet frame.
Optionally, in some embodiments of the present application, the second indication information is pre-configuration information, or the second indication information is configured through radio resource control, RRC, signaling.
Optionally, in some embodiments of the present application, the determining unit 410 is further configured to:
determining first information in a plurality of information, wherein the plurality of information corresponds to at least one indication information;
and determining the indication information corresponding to the first information as the second indication information.
Optionally, in some embodiments of the present application, the first information includes at least one of the following information:
quality of service, qoS, flows, protocol data unit, PDU, sessions, and data radio bearers, DRBs.
Optionally, in some embodiments of the present application, different information in the plurality of information corresponds to the same or different indication information.
Optionally, in some embodiments of the present application, the compressed ethernet frame includes identification information of the first information.
Optionally, in some embodiments of the present application, the determining unit 410 is specifically configured to:
determining a starting position of the first portion according to a starting position of the second portion and a length of the second portion.
Optionally, in some embodiments of the present application, the start position of the second portion is a start position of the ethernet frame.
Optionally, in some embodiments of the present application, the determining unit 410 is specifically configured to:
determining the number of bits occupied by the second portion in the Ethernet frame.
Optionally, in some embodiments of the present application, the first portion is a header of a data portion of the ethernet frame, and the second portion is a header of the ethernet frame.
Optionally, in some embodiments of the present application, the second portion comprises the first portion.
Optionally, in some embodiments of the present application, the first portion and the second portion are adjacent.
It is to be understood that apparatus embodiments and method embodiments may correspond to one another and that similar descriptions may refer to method embodiments. Specifically, the communication device 400 shown in fig. 7 may correspond to a corresponding main body executing the method 200 in the embodiment of the present application, and the foregoing and other operations and/or functions of each unit in the communication device 400 are respectively for implementing corresponding flows in each method in fig. 2, and are not described again here for brevity.
Fig. 8 is a schematic block diagram of a communication device 500 of an embodiment of the present application.
As shown in fig. 8, the communication device 500 may include:
a decompression unit 510 for receiving and decompressing ethernet frames from the first device;
a determining unit 520, configured to determine a starting position of a first portion in the ethernet frame;
an obtaining unit 530, configured to obtain the first portion and a second portion in the ethernet frame according to a starting position of the first portion;
wherein a starting position of the first portion is located after a starting position of the second portion.
Optionally, in some embodiments of the present application, the determining unit 520 is specifically configured to:
and determining the starting position of the first part according to the frame format information of the Ethernet frame.
Optionally, in some embodiments of the present application, the determining unit 520 is specifically configured to:
determining a length of the second portion;
determining a starting position of the first portion according to the length of the second portion.
Optionally, in some embodiments of the present application, the determining unit 520 is specifically configured to:
determining the length of the second portion according to frame format information of the Ethernet frame.
Optionally, in some embodiments of the present application, the obtaining unit 530 is further configured to:
and receiving first indication information sent by the first device, wherein the first indication information is used for indicating the length of the second part.
Optionally, in some embodiments of the present application, the first indication information is specifically used to indicate a length of the second portion in the ethernet frame, and/or the first indication information is specifically used to indicate a length of the second portion in the compressed ethernet frame, and/or the first indication information is specifically used to indicate a length of the compressed second portion in the compressed ethernet frame.
Optionally, in some embodiments of the present application, the compressed ethernet frame includes the first indication information.
Optionally, in some embodiments of the present application, the determining unit 520 is specifically configured to:
determining a length of the second portion based on the second indication information.
Optionally, in some embodiments of the present application, the second indication information is specifically used for indicating a fixed length of the second part in the ethernet frame, and/or the second indication information is specifically used for indicating a fixed length of the second part in the compressed ethernet frame, and/or the second indication information is specifically used for indicating a fixed length of the compressed second part in the compressed ethernet frame.
Optionally, in some embodiments of the present application, the second indication information is pre-configuration information, or the second indication information is configured through radio resource control, RRC, signaling.
Optionally, in some embodiments of the present application, the obtaining unit 530 is further configured to:
determining first information in a plurality of information, wherein the plurality of information corresponds to at least one indication information;
and determining the indication information corresponding to the first information as the second indication information.
Optionally, in some embodiments of the present application, the first information includes at least one of the following information:
quality of service QoS flows, protocol data unit PDU sessions and data radio bearers DRB.
Optionally, in some embodiments of the present application, different information in the plurality of information corresponds to the same or different indication information.
Optionally, in some embodiments of the present application, the ethernet frame after compression includes identification information of the first information.
Optionally, in some embodiments of the present application, the determining unit 520 is specifically configured to:
and determining the starting position of the first part according to the starting position of the second part and the length of the second part.
Optionally, in some embodiments of the present application, the starting position of the second portion is a starting position of the ethernet frame.
Optionally, in some embodiments of the present application, the determining unit 520 is specifically configured to:
determining the number of bits occupied by the second portion in the Ethernet frame.
Optionally, in some embodiments of the present application, the first portion is a header of a data portion of the ethernet frame, and the second portion is a header of the ethernet frame.
Optionally, in some embodiments of the present application, the second portion comprises the first portion.
Optionally, in some embodiments of the present application, the first portion and the second portion are adjacent.
It is to be understood that apparatus embodiments and method embodiments may correspond to one another and that similar descriptions may refer to method embodiments. Specifically, the communication device 500 shown in fig. 8 may correspond to a corresponding main body in executing the method 300 of the embodiment of the present application, and the foregoing and other operations and/or functions of each unit in the communication device 500 are respectively for implementing corresponding flows in each method in fig. 6, and are not described herein again for brevity.
The communication device of the embodiment of the present application is described above from the perspective of functional modules in conjunction with fig. 7 and 8. It should be understood that the functional modules may be implemented by hardware, by instructions in software, or by a combination of hardware and software modules.
Specifically, the steps of the method embodiments in the present application may be implemented by integrated logic circuits of hardware in a processor and/or instructions in the form of software, and the steps of the method disclosed in conjunction with the embodiments in the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor.
Alternatively, the software modules may be located in random access memory, flash memory, read only memory, programmable read only memory, electrically erasable programmable memory, registers, and the like, as is well known in the art. The storage medium is located in a memory, and a processor reads information in the memory and completes the steps in the above method embodiments in combination with hardware thereof.
For example, in the embodiment of the present application, the determining unit 410 and the compressing unit 5420 shown in fig. 7 may be implemented by a processor, and the decompressing unit 510, the determining unit 520, and the obtaining unit 530 shown in fig. 8 may be implemented by a processor.
Fig. 9 is a schematic configuration diagram of a communication apparatus 600 according to an embodiment of the present application. The communication device 600 shown in fig. 9 includes a processor 610, and the processor 610 can call and run a computer program from a memory to implement the method in the embodiment of the present application.
Optionally, as shown in fig. 9, the communication device 600 may further include a memory 620. The memory 620 may be used to store instructions and codes, instructions, etc. that may be executed by the processor 610. From the memory 620, the processor 610 may call and run a computer program to implement the method in the embodiment of the present application.
The memory 620 may be a separate device from the processor 610 or may be integrated into the processor 610.
Optionally, as shown in fig. 9, the communication device 600 may further include a transceiver 630, and the processor 610 may control the transceiver 630 to communicate with other devices, and specifically, may transmit information or data to the other devices or receive information or data transmitted by the other devices.
The transceiver 630 may include a transmitter and a receiver, among others. The transceiver 630 may further include one or more antennas.
Optionally, the communication device 600 may be a compression end or a decompression end in the embodiments of the present application.
Optionally, the communication device 600 may be a network device or a terminal device according to the embodiment of the present application.
It should be understood that the various components in the communication device 600 are connected by a bus system that includes a power bus, a control bus, and a status signal bus in addition to a data bus.
In addition, an embodiment of the present application further provides a chip, which may be an integrated circuit chip, and has signal processing capability, and may implement or execute the methods, steps, and logic block diagrams disclosed in the embodiment of the present application.
Alternatively, the chip may be applied to various communication devices, so that the communication device mounted with the chip can execute the methods, steps and logic blocks disclosed in the embodiments of the present application.
Fig. 10 is a schematic structural diagram of a chip according to an embodiment of the present application.
The chip 700 shown in fig. 10 includes a processor 710, and the processor 710 can call and run a computer program from a memory to implement the method in the embodiment of the present application.
Optionally, as shown in fig. 10, the chip 700 may further include a memory 720. From the memory 720, the processor 710 can call and run a computer program to implement the method in the embodiment of the present application. The memory 720 may be used to store instructions and codes, instructions, etc. that may be executed by the processor 710.
The memory 720 may be a separate device from the processor 710, or may be integrated into the processor 710.
Optionally, the chip 700 may further include an input interface 730. The processor 710 may control the input interface 730 to communicate with other devices or chips, and in particular, may obtain information or data transmitted by other devices or chips.
Optionally, the chip 700 may further include an output interface 740. The processor 710 may control the output interface 740 to communicate with other devices or chips, and in particular, may output information or data to the other devices or chips.
Optionally, the chip may be applied to the compression end in the embodiment of the present application, and the chip may implement a corresponding process implemented by the first device in each method in the embodiment of the present application, and for brevity, details are not described here again.
Optionally, the chip may be applied to the decompression end in the embodiment of the present application, and the chip may implement the corresponding process implemented by the second device in each method in the embodiment of the present application, and for brevity, details are not described here again.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as a system-on-chip, a system-on-chip or a system-on-chip, etc. It will also be appreciated that the various components in the chip 700 are connected by a bus system that includes a power bus, a control bus, and a status signal bus in addition to a data bus.
The processor may include, but is not limited to:
general purpose processors, digital Signal Processors (DSPs), application Specific Integrated Circuits (ASICs), field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, and the like.
The processor may be used to implement or perform the methods, steps, and logic blocks disclosed in the embodiments of the present application. The steps of the method disclosed in connection with the embodiments of the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, eprom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in a memory, and a processor reads information in the memory and completes the steps of the method in combination with hardware of the processor.
The memory includes, but is not limited to:
volatile memory and/or non-volatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of example, but not limitation, many forms of RAM are available, such as Static random access memory (Static RAM, SRAM), dynamic Random Access Memory (DRAM), synchronous Dynamic random access memory (Synchronous DRAM, SDRAM), double Data Rate Synchronous Dynamic random access memory (DDR SDRAM), enhanced Synchronous SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), and Direct Rambus RAM (DR RAM).
It should be noted that the memory of the systems and methods described herein is intended to comprise, without being limited to, these and any other suitable types of memory.
The embodiment of the application also provides a computer readable storage medium for storing the computer program. The computer readable storage medium stores one or more programs, the one or more programs comprising instructions, which when executed by a portable electronic device comprising a plurality of applications, enable the portable electronic device to perform the methods of the illustrated embodiments of methods 300-500.
Optionally, the computer-readable storage medium may be applied to the network device in the embodiment of the present application, and the computer program enables a computer to execute corresponding processes implemented by the network device in the methods in the embodiment of the present application, which are not described herein again for brevity.
Optionally, the computer-readable storage medium may be applied to the mobile terminal/terminal device in the embodiment of the present application, and the computer program enables the computer to execute the corresponding process implemented by the mobile terminal/terminal device in each method in the embodiment of the present application, which is not described herein again for brevity.
The embodiment of the application also provides a computer program product which comprises a computer program.
Optionally, the computer program product may be applied to the network device in the embodiment of the present application, and the computer program enables the computer to execute the corresponding process implemented by the network device in each method in the embodiment of the present application, which is not described herein again for brevity.
Optionally, the computer program product may be applied to the mobile terminal/terminal device in the embodiment of the present application, and the computer program enables the computer to execute the corresponding process implemented by the mobile terminal/terminal device in each method in the embodiment of the present application, which is not described herein again for brevity.
The embodiment of the application also provides a computer program. The computer program, when executed by a computer, enables the computer to perform the methods of the illustrated embodiments of methods 300-500.
Optionally, the computer program may be applied to the network device in the embodiment of the present application, and when the computer program runs on a computer, the computer is enabled to execute the corresponding process implemented by the network device in each method in the embodiment of the present application, and for brevity, details are not described here again.
An embodiment of the present application further provides a communication system, which may include a terminal device 810 as shown in fig. 8 and a network device 820 as shown in fig. 8. The terminal device 810 may be configured to implement corresponding functions implemented by the terminal device in the methods xx through xx, and the network device 820 may be configured to implement corresponding functions implemented by the network device in the methods xx through xx, which are not described herein again for brevity.
It should be noted that the term "system" or the like in this document may also be referred to as "network management architecture" or "network system" or the like.
It is also to be understood that the terminology used in the description of the embodiments and the appended claims is for the purpose of describing particular embodiments only, and is not intended to be limiting of the embodiments.
For example, as used in the examples of this application and the appended claims, the singular forms "a," "an," "the," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
Those of skill in the art would appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the embodiments of the present application.
If implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially implemented or make a contribution to the prior art, or may be implemented in the form of a software product stored in a storage medium and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: u disk, removable hard disk, read only memory, random access memory, magnetic or optical disk, etc. for storing program codes.
It can be clearly understood by those skilled in the art that, for convenience and simplicity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways.
For example, the division of a unit or a module or a component in the above-described device embodiments is only one logical function division, and there may be other divisions in actual implementation, for example, a plurality of units or modules or components may be combined or may be integrated into another system, or some units or modules or components may be omitted, or not executed.
Also for example, the units/modules/components described above as separate/display components may or may not be physically separate, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the units/modules/components can be selected according to actual needs to achieve the purposes of the embodiments of the present application.
Finally, it should be noted that the above shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The above description is only a specific implementation of the embodiments of the present application, but the scope of the embodiments of the present application is not limited thereto, and any person skilled in the art can easily conceive of changes or substitutions within the technical scope of the embodiments of the present application, and all the changes or substitutions should be covered by the scope of the embodiments of the present application. Therefore, the protection scope of the embodiments of the present application shall be subject to the protection scope of the claims.

Claims (86)

1. A method of compressing ethernet frames, comprising:
the first device determines a starting position of a first part in the Ethernet frame;
the first device compresses the first part and a second part in the Ethernet frame according to the starting position of the first part respectively;
wherein a starting position of the first portion is located after a starting position of the second portion.
2. The method of claim 1, wherein the first device determining a starting location of a first portion of an ethernet frame comprises:
and the first equipment determines the starting position of the first part according to the frame format information of the Ethernet frame.
3. The method of claim 1, wherein the first device determining a starting location of a first portion of an ethernet frame comprises:
the first device determining a length of the second portion;
the first device determines a starting position of the first portion based on a length of the second portion.
4. The method of claim 3, wherein the first device determines the length of the second portion, comprising:
the first device determines the length of the second portion according to frame format information of the ethernet frame.
5. The method of claim 3, further comprising:
the first device generates and transmits first indication information, wherein the first indication information is used for indicating the length of the second part.
6. The method according to claim 5, wherein the first indication information is specifically used for indicating the length of the second portion in the ethernet frame, and/or the first indication information is specifically used for indicating the length of the second portion in the compressed ethernet frame, and/or the first indication information is specifically used for indicating the length of the compressed second portion in the compressed ethernet frame.
7. The method of claim 5, wherein the compressed Ethernet frame comprises the first indication information.
8. The method of claim 3, wherein the first device determines the length of the second portion, comprising:
the first device determines the length of the second portion according to second indication information.
9. The method according to claim 8, wherein the second indication information is specifically for indicating a fixed length of the second part in the ethernet frame, and/or wherein the second indication information is specifically for indicating a fixed length of the second part in the compressed ethernet frame, and/or wherein the second indication information is specifically for indicating a fixed length of the compressed second part in the compressed ethernet frame.
10. The method of claim 8, wherein the second indication information is pre-configuration information, or wherein the second indication information is configured through Radio Resource Control (RRC) signaling.
11. The method of claim 8, further comprising:
the first equipment determines first information in a plurality of information, wherein the plurality of information corresponds to at least one piece of indication information;
and the first equipment determines the indication information corresponding to the first information as the second indication information.
12. The method of claim 11, wherein the first information comprises at least one of:
quality of service QoS flows, protocol data unit PDU sessions and data radio bearers DRB.
13. The method of claim 11, wherein different information in the plurality of information corresponds to the same or different indication information.
14. The method of claim 11, wherein the compressed ethernet frame comprises identification information of the first information.
15. The method of any one of claims 3 to 14, wherein the first device determines the starting position of the first portion from the length of the second portion, comprising:
the first device determines a starting position of the first portion based on a starting position of the second portion and a length of the second portion.
16. The method of claim 15, wherein the start position of the second portion is a start position of the ethernet frame.
17. The method of any of claims 3 to 14, wherein the first device determines the length of the second portion, comprising:
the first device determines the number of bits occupied by the second portion in the ethernet frame.
18. The method according to any of claims 1 to 14, wherein the first portion is a header of a data portion of the ethernet frame and the second portion is a header of the ethernet frame.
19. The method of claim 18, wherein the second portion comprises the first portion.
20. The method of claim 18, wherein the first portion and the second portion are adjacent.
21. A method for decompressing ethernet frames, comprising:
the second device receives and decompresses the ethernet frame from the first device;
the second device determines a starting position of a first part in the Ethernet frame;
the second device acquires the first part and a second part in the Ethernet frame according to the starting position of the first part;
wherein a starting position of the first portion is located after a starting position of the second portion.
22. The method of claim 21, wherein the second device determining a starting location of the first portion of the ethernet frame comprises:
and the second equipment determines the starting position of the first part according to the frame format information of the Ethernet frame.
23. The method of claim 21, wherein the second device determining a starting location of the first portion of the ethernet frame comprises:
the second device determining a length of the second portion;
the second device determines a starting position of the first portion based on a length of the second portion.
24. The method of claim 23, wherein the second device determines the length of the second portion, comprising:
the second device determines the length of the second portion according to frame format information of the ethernet frame.
25. The method of claim 23, further comprising:
and the second equipment receives first indication information sent by the first equipment, wherein the first indication information is used for indicating the length of the second part.
26. The method according to claim 25, wherein the first indication information is specifically used for indicating the length of the second portion in the ethernet frame, and/or the first indication information is specifically used for indicating the length of the second portion in the compressed ethernet frame.
27. The method of claim 25, wherein the compressed ethernet frame comprises the first indication information.
28. The method of claim 23, wherein the second device determines the length of the second portion, comprising:
the second device determines a length of the second portion based on the second indication information.
29. The method according to claim 28, wherein the second indication information is specifically for indicating a fixed length of the second part in the ethernet frame, and/or wherein the second indication information is specifically for indicating a fixed length of the second part in the compressed ethernet frame, and/or wherein the second indication information is specifically for indicating a fixed length of the compressed second part in the compressed ethernet frame.
30. The method of claim 28, wherein the second indication information is pre-configuration information, or wherein the second indication information is configured through Radio Resource Control (RRC) signaling.
31. The method of claim 28, further comprising:
the second equipment determines first information in a plurality of information, wherein the plurality of information corresponds to at least one piece of indication information;
and the second equipment determines the indication information corresponding to the first information as the second indication information.
32. The method of claim 31, wherein the first information comprises at least one of:
quality of service QoS flows, protocol data unit PDU sessions and data radio bearers DRB.
33. The method of claim 31, wherein different information of the plurality of information corresponds to the same or different indication information.
34. The method of claim 31, wherein the compressed ethernet frame comprises identification information of the first information.
35. The method of any one of claims 23 to 34, wherein the second device determines the starting position of the first portion based on the length of the second portion, comprising:
the second device determines a starting position of the first portion based on a starting position of the second portion and a length of the second portion.
36. The method of claim 35, wherein the start position of the second portion is a start position of the ethernet frame.
37. The method of any one of claims 23 to 34, wherein the second device determines the length of the second portion, comprising:
the second device determines the number of bits occupied by the second portion in the ethernet frame.
38. The method according to any of claims 21 to 34, wherein the first portion is a header of a data portion of the ethernet frame and the second portion is a header of the ethernet frame.
39. The method of claim 38, wherein the second portion comprises the first portion.
40. The method of claim 38, wherein the first portion and the second portion are adjacent.
41. A communication device, comprising:
a determining unit, configured to determine a start position of a first portion in the ethernet frame;
a compressing unit, configured to compress the first portion and a second portion of the ethernet frame according to a start position of the first portion, respectively;
wherein a starting position of the first portion is located after a starting position of the second portion.
42. The communications device of claim 41, wherein the determining unit is specifically configured to:
and determining the starting position of the first part according to the frame format information of the Ethernet frame.
43. The communications device according to claim 41, wherein said determining unit is specifically configured to:
determining a length of the second portion;
determining a starting position of the first portion according to the length of the second portion.
44. The communications device of claim 43, wherein the determining unit is specifically configured to:
determining the length of the second portion according to frame format information of the Ethernet frame.
45. The communications device of claim 43, further comprising:
a communication unit, configured to generate and send first indication information, where the first indication information is used to indicate a length of the second portion.
46. The communication device according to claim 45, wherein the first indication information is specifically configured to indicate a length of the second portion in the Ethernet frame, and/or the first indication information is specifically configured to indicate a length of the second portion in the compressed Ethernet frame, and/or the first indication information is specifically configured to indicate a length of the compressed second portion in the compressed Ethernet frame.
47. The communications device of claim 45, wherein the compressed Ethernet frame includes the first indication information.
48. The communications device of claim 43, wherein the determining unit is specifically configured to:
determining a length of the second portion based on the second indication information.
49. The communication device according to claim 48, wherein the second indication information is specifically for indicating a fixed length of the second portion in the Ethernet frame, and/or wherein the second indication information is specifically for indicating a fixed length of the second portion in the compressed Ethernet frame, and/or wherein the second indication information is specifically for indicating a fixed length of the compressed second portion in the compressed Ethernet frame.
50. The communications device of claim 48, wherein the second indication information is pre-configuration information, or the second indication information is configured through Radio Resource Control (RRC) signaling.
51. The communications device of claim 48, wherein said determining unit is further configured to:
determining first information in a plurality of information, wherein the plurality of information corresponds to at least one indication information;
and determining the indication information corresponding to the first information as the second indication information.
52. The communications device of claim 51, wherein the first information comprises at least one of:
quality of service, qoS, flows, protocol data unit, PDU, sessions, and data radio bearers, DRBs.
53. The communications device of claim 51, wherein different ones of the plurality of messages correspond to the same or different indication messages.
54. The communications device of claim 51, wherein the compressed Ethernet frame includes identification information for the first information.
55. The communication device according to any of claims 43 to 54, wherein the determining unit is specifically configured to:
determining a starting position of the first portion according to a starting position of the second portion and a length of the second portion.
56. The communications device of claim 55, wherein the start position of the second portion is a start position of the Ethernet frame.
57. The communication device according to any of claims 43 to 54, wherein the determining unit is specifically configured to:
determining the number of bits occupied by the second portion in the Ethernet frame.
58. The communications device of any one of claims 41 to 54, wherein the first portion is a header of a data portion of the Ethernet frame and the second portion is a header of the Ethernet frame.
59. The communications device of claim 58, wherein the second portion comprises the first portion.
60. The communications device of claim 58, wherein said first portion and said second portion are adjacent.
61. A communication device, comprising:
a decompression unit for receiving and decompressing the ethernet frame from the first device;
a determining unit, configured to determine a starting position of a first portion in the ethernet frame;
an obtaining unit, configured to obtain the first part and a second part in the ethernet frame according to a start position of the first part;
wherein a starting position of the first portion is located after a starting position of the second portion.
62. The communications device of claim 61, wherein the determining unit is specifically configured to:
and determining the starting position of the first part according to the frame format information of the Ethernet frame.
63. The communications device according to claim 61, wherein said determining unit is specifically configured to:
determining a length of the second portion;
determining a starting position of the first portion according to the length of the second portion.
64. The communications device according to claim 63, wherein said determining unit is specifically configured to:
determining the length of the second portion according to frame format information of the Ethernet frame.
65. The communications device of claim 63, wherein said obtaining unit is further configured to:
and receiving first indication information sent by the first device, wherein the first indication information is used for indicating the length of the second part.
66. The communication device according to claim 65, wherein the first indication information is specifically configured to indicate a length of the second portion in the Ethernet frame, and/or the first indication information is specifically configured to indicate a length of the second portion in the compressed Ethernet frame, and/or the first indication information is specifically configured to indicate a length of the compressed second portion in the compressed Ethernet frame.
67. The communications device of claim 65, wherein the compressed Ethernet frame includes the first indication information.
68. The communication device according to claim 63, wherein the determining unit is specifically configured to:
determining a length of the second portion based on the second indication information.
69. The communication device according to claim 68, wherein the second indication information is specifically for indicating a fixed length of the second part in the Ethernet frame, and/or wherein the second indication information is specifically for indicating a fixed length of the second part in the compressed Ethernet frame, and/or wherein the second indication information is specifically for indicating a fixed length of the compressed second part in the compressed Ethernet frame.
70. The communications device of claim 68, wherein the second indication information is pre-configuration information or the second indication information is configured through Radio Resource Control (RRC) signaling.
71. The communications device of claim 68, wherein said obtaining unit is further configured to:
determining first information in a plurality of information, wherein the plurality of information corresponds to at least one indication information;
and determining the indication information corresponding to the first information as the second indication information.
72. The communications device of claim 71, wherein said first information comprises at least one of:
quality of service QoS flows, protocol data unit PDU sessions and data radio bearers DRB.
73. The communications device of claim 71, wherein different ones of the plurality of messages correspond to the same or different indication information.
74. The communications device of claim 71, wherein the compressed Ethernet frame includes identification information for the first information.
75. The communication device according to any of claims 63 to 74, wherein the determining unit is specifically configured to:
and determining the starting position of the first part according to the starting position of the second part and the length of the second part.
76. The communications device of claim 75, wherein the start position of the second portion is a start position of the Ethernet frame.
77. The communication device according to any of claims 63 to 74, wherein the determining unit is configured to:
determining the number of bits occupied by the second portion in the Ethernet frame.
78. The communications device of any one of claims 61 to 74, wherein the first portion is a header of a data portion of the Ethernet frame and the second portion is a header of the Ethernet frame.
79. The communications device of claim 78, wherein said second portion comprises said first portion.
80. The communications device of claim 78, wherein said first portion and said second portion are adjacent.
81. A communication device, comprising:
a processor, a memory for storing a computer program, and a transceiver, the processor for invoking and executing the computer program stored in the memory to perform the method of any one of claims 1-20.
82. A communication device, comprising:
a processor, a memory for storing a computer program, and a transceiver, the processor for invoking and executing the computer program stored in the memory to perform the method of any of claims 21-40.
83. A chip, comprising:
a processor for calling and running a computer program from a memory so that a device on which the chip is installed performs the method of any one of claims 1 to 20.
84. A chip, comprising:
a processor for calling and running a computer program from a memory so that a device on which the chip is installed performs the method of any one of claims 21 to 40.
85. A computer-readable storage medium for storing a computer program which causes a computer to perform the method of any one of claims 1 to 20.
86. A computer-readable storage medium for storing a computer program which causes a computer to perform the method of any one of claims 21 to 40.
CN201880096284.5A 2018-11-14 2018-11-14 Method and communication equipment for compressing and decompressing Ethernet frame Active CN112534789B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/115336 WO2020097809A1 (en) 2018-11-14 2018-11-14 Method for compressing and decompressing ethernet frame and communication device

Publications (2)

Publication Number Publication Date
CN112534789A CN112534789A (en) 2021-03-19
CN112534789B true CN112534789B (en) 2022-12-27

Family

ID=70730196

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201880096284.5A Active CN112534789B (en) 2018-11-14 2018-11-14 Method and communication equipment for compressing and decompressing Ethernet frame

Country Status (2)

Country Link
CN (1) CN112534789B (en)
WO (1) WO2020097809A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8391148B1 (en) * 2007-07-30 2013-03-05 Rockstar Consortion USLP Method and apparatus for Ethernet data compression
CN103825869A (en) * 2012-11-19 2014-05-28 中兴通讯股份有限公司 Compression and decompression method for Ethernet message header, and compression and decompression device thereof
CN108781213A (en) * 2016-03-14 2018-11-09 华为技术有限公司 A kind of methods, devices and systems being used for transmission data

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2876972B1 (en) * 2012-09-07 2016-09-07 Huawei Technologies Co., Ltd. Air interface transmission method and relevant device and system
US9485687B2 (en) * 2013-02-15 2016-11-01 Exalt Wireless, Inc. Selective compression in a wireless communication system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8391148B1 (en) * 2007-07-30 2013-03-05 Rockstar Consortion USLP Method and apparatus for Ethernet data compression
CN103825869A (en) * 2012-11-19 2014-05-28 中兴通讯股份有限公司 Compression and decompression method for Ethernet message header, and compression and decompression device thereof
CN108781213A (en) * 2016-03-14 2018-11-09 华为技术有限公司 A kind of methods, devices and systems being used for transmission data

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Ethernet Header Compression;CATT;《3GPP TSG RAN WG2 Meeting #104 R2-1816362》;20181102;全文 *

Also Published As

Publication number Publication date
CN112534789A (en) 2021-03-19
WO2020097809A1 (en) 2020-05-22

Similar Documents

Publication Publication Date Title
CN113541910B (en) Processing method and device for header compression
CN111741479B (en) Strategy determination method and device, terminal, chip and computer storage medium
CN113207133B (en) Method and apparatus for wireless communication
CN112929949A (en) Wireless communication method and communication device
CN111837419B (en) Data transmission method, terminal equipment and network equipment
CN114172970A (en) Method for transmitting data, sending end equipment and receiving end equipment
CN114363420B (en) Communication method, terminal device and network device
CN113115361A (en) Method, device, chip and computer program for compressing Ethernet frame header
CN112534789B (en) Method and communication equipment for compressing and decompressing Ethernet frame
CN112586032B (en) Wireless communication method and communication device
CN112673601B (en) Method and device for processing frame header and communication equipment
CN112740730B (en) Wireless communication method, terminal equipment and access network equipment
CN112243576B (en) Information transmission method and device and communication equipment
CN112868249B (en) Wireless communication method, terminal equipment and access network equipment
CN114342462B (en) Wireless communication method and device

Legal Events

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