Data transmission method and related device
Patent Information
- Application Number
- CN202280102335.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-27
- Publication Date
- 2025-07-15
AI Technical Summary
In existing communication systems with high bit error rates, there is a waste of performance in signal transmission of optical fiber communications and wireless communications, resulting in a decrease in throughput on the wireless side, and the bit error rate threshold on the optical side is higher than that on the wireless side, limiting the capacity of the communication system. promote.
Check bits and coding bits are added to the data packet to ensure the reliability of the transmission of header information. The receiving end performs error correction through coding bits and transmits the data part after successful verification, reducing the probability of header information verification failure.
It effectively solves the problem of wireless side throughput decline, improves the reliability and efficiency of data transmission, avoids packet discarding in high transmission capacity scenarios, and improves the overall performance of the communication system.
Smart Images

Figure CN120322984A_ABST
Abstract
Description
Data transmission method and related device Technical Field
[0001] The present application relates to the field of communications, and in particular to a data transmission method and related devices. Background Art
[0002] In existing communication systems, fiber-optic and wireless communications coexist. Optical signals in optical fibers and electrical signals in wireless communications are converted using optoelectronic conversion modules. However, during signal transmission, different communication types have different requirements for bit error rates. For example, the bit error threshold for fiber-optic communications is lower than that for wireless communications. This results in performance degradation on the wireless side and limits increases in communication system capacity.
[0003] Summary of the Invention
[0004] The present application provides a data transmission method and related devices to solve the problem of decreased wireless side throughput under high bit error rate conditions.
[0005] In the first aspect, a data transmission method is provided, which can be applied to a first communication device. For example, the method can be executed by an access network device, or it can be executed by a component configured in the access network device (such as a chip, a chip system, etc.), or it can be implemented by a logic module or software that can realize all or part of the functions of the access network device. This application does not limit this.
[0006] Exemplarily, the method includes: obtaining a first data packet, the first data packet including first header information; processing the first header information to obtain second header information, the second header information including information obtained by encoding the first header information and a first check bit, the first check bit being generated based on the first header information.
[0007] The first header information is located in the message header of the first data packet, and the first header information can also be called the header information of the first data packet.
[0008] The first check bit is used by the receiving end (the second communication device in this application) to determine whether the first header information has been successfully received. For example, the first check bit can be a cyclic redundancy check (CRC) bit, a parity check bit, or a Hamming code bit.
[0009] Illustratively, the second header information includes the first header information, a first check bit, and a first coding bit. The first coding bit is obtained by encoding the first header information and the first check bit using a first coding method by the first communication device, and is used by the receiving end to perform error correction on the received first header information.
[0010] The first encoding method may include any one of the following: Hamming code encoding, cyclic code encoding, low-density parity check code encoding or other linear block code encoding.
[0011] Based on this method, the first communication device adds a first check bit and a first coding bit to the first header information in the acquired first data packet. Since the first coding bit can be used by the receiving end to correct errors in the received first header information, when the receiving end receives the second header information, it corrects the first header information based on the first coding bit in the second header information and verifies the corrected first header information using the first check bit. If the verification is successful, the header information has been successfully received, and the first data can be transmitted to the wireless side. In this way, even in high transmission capacity scenarios, the probability of header information verification failure can be reduced, thereby solving the problem of reduced throughput on the wireless side.
[0012] In combination with the first aspect, in some implementations of the first aspect, obtaining the first data packet includes: encapsulating the first data based on the first protocol to obtain the first data packet, wherein the first data packet also includes the first data.
[0013] The first protocol in this application includes the enhanced Common Public Radio Interface (EPRI) protocol and the Common Public Interface (CPII) protocol, or other evolved fronthaul interface protocols.
[0014] It should be understood that, during downlink transmission, the first data in this application may be data obtained by the first communication device encoding user data and / or control signaling and other information from the core network; during uplink transmission, the first data in this application may be air interface data received by the first communication device from the terminal side, where the air interface data refers to data encoded by the terminal side for user data and / or control signaling and other information, and transmitted to the first communication device via the air interface. It should be noted that the encoding here refers to wireless side encoding.
[0015] In combination with the first aspect, in certain implementations of the first aspect, the method further includes: encapsulating the second data packet based on the second protocol to obtain a third data packet, the third data packet including third header information and the second data packet, the second data packet including the second header information and the first data, the third header information including address information; and sending the third data packet.
[0016] The second protocol in this application includes the Ethernet protocol.
[0017] It should be understood that the third header information is located in the message header of the third data packet, and the second data packet is located in the data portion (also referred to as the data field) of the third data packet.
[0018] The address information in this application may include a source address and a destination address.
[0019] In combination with the first aspect, in certain implementations of the first aspect, obtaining a first data packet includes: encapsulating the first data based on a first protocol to obtain a second data packet, wherein the second data packet includes third header information and the first data; encapsulating the second data packet based on a second protocol to obtain the first data packet, wherein the first data packet also includes a second data packet, and the first header information includes address information.
[0020] It should be understood that the third header information is located in the message header of the second data packet, and the first data is located in the data portion of the second data packet. The second data packet is located in the data portion of the first data packet. The third header information can also be referred to as the header information of the second data packet.
[0021] In combination with the first aspect, in some implementations of the first aspect, the method further includes: sending a third data packet, where the third data packet includes the second header information and the second data packet.
[0022] It should be understood that the second header information is located in the message header of the third data packet, and the second data packet is located in the data portion of the third data packet. The second header information can also be referred to as the header information of the third data packet.
[0023] In combination with the first aspect, in certain implementations of the first aspect, obtaining the first data packet includes: encapsulating the first data based on the first protocol to obtain a fourth data packet, the fourth data packet including fourth header information and the first data; processing the fourth header information to obtain third header information, the third header information including information obtained by encoding the fourth header information and a second check bit, the second check bit being generated based on the fourth header information; encapsulating the second data packet based on the second protocol to obtain the first data packet, the first data packet also including the second data packet, the second data packet including the third header information and the first data.
[0024] It should be understood that the fourth header information is located in the header of the fourth data packet, and the first data is located in the data portion of the fourth data packet. The third header information is located in the header of the second data packet, and the first data is located in the data portion of the second data packet. The second data packet is located in the header of the first data packet. The fourth header information can also be referred to as the header information of the fourth data packet. The third header information can also be referred to as the header information of the second data packet.
[0025] The second check bit is used by the receiving end (the second communication device in this application) to determine whether the first header information has been successfully received. For example, the second check bit can be a CRC bit, a parity check code bit, or a Hamming code bit.
[0026] Illustratively, the third header information includes the fourth header information, the second check bit, and the second coded bit. The second coded bit is obtained by encoding the fourth header information and the second check bit using the second coding method by the first communication device, and is used by the receiving end to perform error correction on the received fourth header information.
[0027] The second encoding method may include any of the following: Hamming code, cyclic code, low-density parity check code, or other linear block code. However, it should be understood that the first encoding method and the second encoding method may be the same or different.
[0028] In combination with the first aspect, in some implementations of the first aspect, the method further includes: sending a third data packet, where the third data packet includes the second header information and the second data packet.
[0029] It should be understood that the second header information is located in the message header of the third data packet, and the second data packet is located in the data portion of the datagram of the third data packet. The second header information can also be referred to as the header information of the third data packet.
[0030] In combination with the first aspect, in some implementations of the first aspect, the method further includes: encoding the third data packet to obtain an encoded third data packet; and sending the third data packet includes: sending the encoded third data packet.
[0031] Exemplarily, the first communication device encoding the third data packet includes: the first communication device encoding the third data packet using a third encoding method, wherein the third encoding method may be the same as or different from the first encoding method or the second encoding method.
[0032] In combination with the first aspect, in some implementations of the first aspect, the first check bit includes at least one of the following: a cyclic redundancy check code bit, a parity check bit, or a Hamming code bit.
[0033] In combination with the first aspect, in certain implementations of the first aspect, the type of the first check bit and the type of the second check bit are the same or different.
[0034] In combination with the first aspect, in some implementations of the first aspect, the first protocol includes an enhanced Common Public Radio Interface protocol and a Common Public Interface protocol, and the second protocol includes an Ethernet protocol.
[0035] In combination with the first aspect, in certain implementations of the first aspect, the bit error threshold of the first data and the bit error threshold of the first header information are different.
[0036] It should be understood that the bit error rate threshold of the first data may be greater than the bit error rate threshold of the first header information. For example, the bit error rate threshold of the first data may be 1e-5 (or expressed as 1×10 -5 ), the bit error rate threshold of the first header information can be 1e-12 or expressed as 1×10 -12 ).
[0037] Based on this, the present application only adds check bits and coding bits to the header information, which can improve the transmission reliability of the header information so that the receiving end can successfully receive the header information.
[0038] In combination with the first aspect, in certain implementations of the first aspect, the second header information includes first header information, a first check bit, and a first coding bit, and the first coding bit is generated by the first header information and the first check bit based on a first coding method.
[0039] In combination with the first aspect, in some implementations of the first aspect, the first encoding method includes any one of the following: Hamming code encoding, cyclic code encoding, or low-density parity-check code encoding.
[0040] On the second aspect, a data transmission method is provided, which can be applied to a second communication device. For example, it can be executed by an access network device, or it can be executed by a component configured in the access network device (such as a chip, a chip system, etc.), or it can be implemented by a logic module or software that can realize all or part of the functions of the access network device. This application does not limit this.
[0041] Exemplarily, the method includes: receiving a third data packet, the third data packet including second header information and a second data packet, the second header information including information obtained by encoding the first header information and a first check bit, the first check bit being generated based on the first header information; decoding and verifying the first header information; and obtaining the second data packet if the first header information is successfully verified.
[0042] Exemplarily, the second communication device decodes the second header information to obtain the first header information and the first check bit.
[0043] Exemplarily, the second communication device verifies the first header information, including: the second communication device verifies the obtained first header information and the first check bit according to the same algorithm as the first communication device side calculates the first check bit; if the verification is successful, the second communication device successfully receives the first header information.
[0044] Based on this method, the first communication device adds a first check bit and a first coding bit to the first header information in the acquired first data packet. Since the first coding bit can be used by the receiving end to correct errors in the received first header information, when the receiving end receives the second header information, it corrects the first header information based on the first coding bit in the second header information and verifies the corrected first header information using the first check bit. If the verification is successful, the header information has been successfully received, and the first data can be transmitted to the wireless side. In this way, even in high transmission capacity scenarios, the probability of header information verification failure can be reduced, thereby solving the problem of reduced throughput on the wireless side.
[0045] In combination with the second aspect, in certain implementations of the second aspect, the first data packet containing the first header information is obtained by encapsulating the second data packet based on a second protocol.
[0046] In combination with the second aspect, in certain implementations of the second aspect, the second data packet includes third header information and first data, the third header information includes information obtained by encoding the fourth header information and the second check bit, and the second check bit is generated based on the fourth header information.
[0047] In combination with the second aspect, in some implementations of the second aspect, the method further includes: decoding and verifying the fourth header information; and if the fourth header information is successfully verified, sending the first data to the wireless side.
[0048] Exemplarily, the second communication device verifies the fourth header information and the second check bit according to the same algorithm as that used by the first communication device to calculate the second check bit. If the verification is successful, the second communication device has successfully received the fourth header information.
[0049] In combination with the second aspect, in some implementations of the second aspect, the fourth data packet containing the fourth header information is obtained by encapsulating the first data based on the first protocol.
[0050] In combination with the second aspect, in some implementations of the second aspect, the second data packet includes third header information and the first data, and the second data packet is obtained by encapsulating the first data based on the first protocol.
[0051] In combination with the second aspect, in some implementations of the second aspect, the method further includes: sending the first data to a wireless side.
[0052] It should be understood that during downlink transmission, the second communication device sends the first data to the terminal; during uplink transmission, the second communication device sends the first data to the core network.
[0053] In combination with the second aspect, in certain implementations of the second aspect, the type of the first check bit and the type of the second check bit are the same or different.
[0054] In combination with the second aspect, in certain implementations of the second aspect, the first check bit includes at least one of the following: a cyclic redundancy check code, a parity check, or a Hamming code.
[0055] In combination with the second aspect, in some implementations of the second aspect, the receiving of the third data packet includes: receiving the encoded third data packet; the method further includes: decoding the encoded third data packet to obtain the third data packet.
[0056] In combination with the second aspect, in some implementations of the second aspect, the first protocol includes an enhanced Common Public Radio Interface protocol and a Common Public Interface protocol, and the second protocol includes an Ethernet protocol.
[0057] It should be noted that the description of the first data packet, the second data packet, the third data packet and the fourth data packet involved in any possible implementation of the second aspect can refer to the relevant description in the first aspect and will not be repeated here.
[0058] In a third aspect, a data transmission method is provided, the method including: a first communication device obtains a first data packet, the first data packet includes first header information and a second data packet; the first communication device processes the first header information to obtain second header information, the second header information includes information obtained by encoding the first header information and a first check bit, and the first check bit is generated based on the first header information; the first communication device sends a third data packet to a second communication device, the third data packet includes the second header information; the second communication device decodes and verifies the second data packet; if the verification of the second data packet is successful, the second communication device obtains the second data packet.
[0059] Based on this method, the first communication device adds a first check bit and a first coding bit to the first header information in the acquired first data packet. Since the first coding bit can be used by the receiving end to correct errors in the received first header information, when the receiving end receives the second header information, it corrects the first header information based on the first coding bit in the second header information, so that the corrected first header information can pass the first check bit verification. If the verification is successful, the first data can be transmitted to the wireless side. In this way, even in high transmission capacity scenarios, the probability of header information verification failure can be reduced, thereby solving the problem of reduced throughput on the wireless side.
[0060] In a fourth aspect, a communication device is provided, comprising: a module for executing the method in any possible implementation of any of the above aspects. Specifically, the device comprises a module for executing the method in any possible implementation of any of the above aspects.
[0061] In one design, the communication device may include a module corresponding to each of the methods / operations / steps / actions described in any of the above aspects. The module may be a hardware circuit, software, or a combination of hardware circuit and software.
[0062] In another design, the communication device is a communication chip, which may include an input circuit or interface for sending information or data, and an output circuit or interface for receiving information or data.
[0063] In another design, the communication apparatus is a first communication device, which may include a transmitter for sending information or data and a receiver for receiving information or data.
[0064] In another design, the communication apparatus is a second communication device, which may include a transmitter for sending information or data and a receiver for receiving information or data.
[0065] In a fifth aspect, another communication device is provided, comprising a processor for causing the communication device to execute a method in any possible implementation of any of the above aspects by executing a computer program and / or through a logic circuit.
[0066] Optionally, the communication device further includes a memory for storing a computer program and / or a configuration file of the logic circuit.
[0067] It should be understood that there may be one or more processors and one or more memories.
[0068] Optionally, the communication device further includes a communication interface for inputting and / or outputting signals.
[0069] In a sixth aspect, a communication system is provided, comprising a communication device for implementing the above-mentioned first aspect or any possible implementation method of the first aspect; or, comprising a communication device for implementing the above-mentioned second aspect or any possible implementation method of the second aspect.
[0070] In one possible design, the communication system may also include other devices that interact with the first communication device and / or the second communication device in the solution provided in the embodiment of the present application.
[0071] In a seventh aspect, a computer program product is provided, comprising: a computer program (also referred to as code, or instruction), which, when executed, enables a computer to execute a method in any possible implementation of any of the above aspects.
[0072] In an eighth aspect, a computer-readable storage medium is provided, which stores a computer program (also referred to as code, or instructions) which, when run on a computer, enables the computer to execute a method in any possible implementation of any of the above aspects. BRIEF DESCRIPTION OF THE DRAWINGS
[0073] FIG1 is a schematic diagram of a communication scenario applicable to an embodiment of the present application;
[0074] FIG2 is a schematic structural diagram of an access network device;
[0075] FIG3 is a schematic diagram of a frame structure of a data packet;
[0076] FIG4 is a schematic flow chart of a data transmission method provided in an embodiment of the present application;
[0077] FIG5 is a schematic diagram of fields included in a first data packet provided in an embodiment of the present application;
[0078] FIG6 is a schematic diagram of fields included in another first data packet provided in an embodiment of the present application;
[0079] FIG7 is a schematic diagram of fields included in another first data packet provided in an embodiment of the present application;
[0080] FIG8 is a schematic flowchart of another data transmission method provided in an embodiment of the present application;
[0081] FIG9 is a schematic diagram of fields included in a data packet 2 provided in an embodiment of the present application;
[0082] FIG10 is a schematic diagram of fields included in a data packet 4 provided in an embodiment of the present application;
[0083] FIG11 is a schematic flow chart of another data transmission method provided in an embodiment of the present application;
[0084] FIG12 is a schematic diagram of fields included in a data packet 3 provided in an embodiment of the present application;
[0085] FIG13 is a schematic flowchart of another data transmission method provided in an embodiment of the present application;
[0086] FIG14 is a schematic diagram of fields included in another data packet 3 provided in an embodiment of the present application;
[0087] FIG15 is a schematic block diagram of a communication device provided in an embodiment of the present application;
[0088] FIG16 is a schematic block diagram of another communication device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0089] The technical solution in this application will be described below with reference to the accompanying drawings.
[0090] The technical solution provided in this application can be applied to various communication systems, such as: long term evolution (LTE) system, LTE frequency division duplex (FDD) system, LTE time division duplex (TDD) system, universal mobile telecommunications system (UMTS), new radio (NR) system and other fifth generation (5G) mobile communication systems, as well as the next generation mobile communication system evolved from the 5G communication system.
[0091] To facilitate understanding of the embodiments of the present application, a communication system applicable to the embodiments of the present application is first introduced in detail with reference to FIG1 .
[0092] Figure 1 is a schematic diagram of a communication system applicable to the method of an embodiment of the present application. As shown in Figure 1, the communication system 1000 includes a radio access network (RAN) 100 and a core network (CN) 200. Optionally, the communication system 10 may also include the Internet 300. The RAN 100 includes at least one RAN node (such as 110a and 110b in Figure 1, collectively referred to as 110) and at least one terminal (such as 120a-120j in Figure 1, collectively referred to as 120). The terminal is connected to the radio access network equipment via wireless means, and the radio access network equipment is connected to the core network via wireless or wired means. The RAN 100 may also include other RAN nodes, such as wireless relay equipment and / or wireless backhaul equipment (not shown in Figure 1). The terminal 120 is connected to the RAN node 110 via wireless means. The RAN node 110 is connected to the core network 200 via wireless or wired means. The core network device in the core network 200 and the RAN node 110 in the RAN 100 may be different physical devices, or may be the same physical device that integrates core network logical functions and radio access network logical functions.
[0093] It should be understood that FIG1 is only an example, and the communication system 1000 may also include other network devices, such as wireless relay devices and wireless backhaul devices.
[0094] A terminal is a device with wireless transceiver functions, and may also be called: user equipment (UE), mobile station (MS), mobile terminal (MT), access terminal, user unit, user station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication equipment, user agent or user device, etc.
[0095] A terminal may be a device that provides voice and / or data connectivity to a user, for example, a handheld device or a vehicle-mounted device with a wireless connection function. At present, some examples of terminals are: mobile phones, tablet computers, laptop computers, PDAs, mobile internet devices (MIDs), wearable devices, VR devices, augmented reality (AR) devices, wireless terminals in industrial control, wireless terminals in self-driving, wireless terminals in remote medical surgery, wireless terminals in smart grids, wireless terminals in transportation safety, wireless terminals in smart cities, wireless terminals in smart homes, sensor terminals, perception terminals, communication and perception integrated devices, cellular phones, cordless phones, session initiation protocol (SIP) phones, wireless local loop (WLL) stations, personal digital assistants (PDAs), handheld devices with wireless communication capabilities, computing devices or other processing devices connected to wireless modems, vehicle-mounted devices, drones, wearable devices, terminals in 5G networks or future evolved public land mobile communication networks (PLMNs). The embodiments of the present application do not limit the specific technology, device form and name adopted by the terminal.
[0096] The RAN 100 may be a cellular system related to the Third Generation Partnership Project (3GPP), such as a 4G or 5G mobile communication system, or a future-oriented evolution system (e.g., a 6G mobile communication system). The RAN 100 may also be an open access network (O-RAN or ORAN), a cloud radio access network (CRAN), or a communication system that integrates two or more of the above systems.
[0097] RAN node 110, sometimes also referred to as access network equipment, RAN entity, or access node, constitutes part of the communication system and facilitates wireless access for terminals. Multiple RAN nodes 110 in communication system 1000 can be of the same type or different types. In some scenarios, the roles of RAN node 110 and terminal 120 are relative. For example, network element 120i in Figure 1 can be a helicopter or drone, which can be configured as a mobile base station. For terminal 120j accessing RAN 100 via network element 120i, network element 120i is a base station; however, for base station 110a, network element 120i is a terminal. RAN node 110 and terminal 120 are sometimes referred to as communication devices. For example, network elements 110a and 110b in Figure 1 can be understood as communication devices with base station functionality, and network elements 120a-120j can be understood as communication devices with terminal functionality.
[0098] In one possible scenario, a RAN node may be a base station, an evolved NodeB (eNodeB), an access point (AP), a transmission reception point (TRP), a next-generation NodeB (gNB), a next-generation base station in a sixth-generation (6G) mobile communication system, or a base station in a future mobile communication system. A RAN node may be a macro base station (such as 110a in Figure 1 ), a micro base station or an indoor station (such as 110b in Figure 1 ), a relay node or a donor node, or a radio controller in a centralized radio access network (CRAN) scenario. Alternatively, a RAN node may be a server, a wearable device, a vehicle, or an onboard device. For example, the access network device in vehicle-to-everything (V2X) technology may be a roadside unit (RSU).
[0099] In another possible scenario, multiple RAN nodes collaborate to assist the terminal in achieving wireless access, and different RAN nodes respectively implement part of the functions of the base station. For example, the RAN node can be a centralized unit (CU), a distributed unit (DU), a CU-control plane (CP), a CU-user plane (UP), or a radio unit (RU). The CU and DU can be set separately, or they can be included in the same network element, such as a baseband unit (BBU). The RU can be included in a radio frequency device or radio frequency unit, such as a remote radio unit (RRU), an active antenna unit (AAU), or a remote radio head (RRH).
[0100] In different systems, CU (or CU-CP and CU-UP), DU or RU may also have different names, but those skilled in the art can understand their meanings. For example, in the ORAN system, CU may also be called O-CU (Open CU), DU may also be called O-DU, CU-CP may also be called O-CU-CP, CU-UP may also be called O-CU-UP, and RU may also be called O-RU. Any unit of CU (or CU-CP, CU-UP), DU and RU in this application can be implemented by a software module, a hardware module, or a combination of a software module and a hardware module.
[0101] In some embodiments, an access network device may include one or more CUs, one or more DUs, and one or more RUs. The CU is used to connect to the core network and one or more DUs, and a DU can be connected to one or more RUs. The functions of the DU and the RU can be configured in a variety of ways according to the design. For example, the DU is configured to implement baseband functions, and the RU is configured to implement mid-RF functions. For another example, the DU is configured to implement high-layer functions in the physical (PHY) layer, and the RU is configured to implement low-layer functions in the PHY layer or to implement the low-layer functions and RF functions. The high-layer functions in the physical layer may include a part of the functions of the physical layer, which is closer to the media access control (MAC) layer, and the low-layer functions in the physical layer may include another part of the functions of the physical layer, which is closer to the mid-RF side.
[0102] In the above example, there is an interface between the DU and RU, which can be called a fronthaul interface. Depending on the functions of the DU and RU and / or the segmentation method, the interface between the DU and RU can support one or more types, for example, the common public radio interface (CPRI), the enhanced common public radio interface (eCPRI), or other evolved interfaces.
[0103] Exemplarily, if the fronthaul interface between the DU and the RU is CPRI, the DU is configured to implement one or more baseband functions, and the RU is configured to implement one or more RF functions. If the fronthaul interface between the DU and the RU is eCPRI, relative to CPRI, part of the downlink and / or uplink baseband functions are moved from the DU to the RU for implementation. The division method between the DU and the RU is different, corresponding to different types (category, referred to as Cat) of eCPRI. It can be understood that there may be other division methods between the DU and the RU, that is, there may be other types of eCPRI.
[0104] In one possible design, the DU can be located in the BBU and the RU can be located in the RRU / AAU / RRH. In this scenario, the interface between the BBU and the RRU / AAU / RRH can also be called the fronthaul interface. To implement the fronthaul interface, the BBU and RRU / AAU / RRH can be connected through a fronthaul network, or the DU and RU can be connected through a fronthaul network. The fronthaul network includes but is not limited to: direct fiber connection and wavelength division network. The processing unit for implementing baseband functions in the BBU is called a baseband high layer (BBH) unit, and the processing unit for implementing baseband functions in the RRU / AAU / RRH is called a baseband low layer (BBL) unit.
[0105] The following uses the access network equipment including DU and RU as an example to introduce the structure of the access network equipment in conjunction with Figure 2.
[0106] Figure 2 is a schematic diagram of the architecture of an access network device. As shown in Figure 2, the DU and RU are connected via optical fiber, and the RU is connected to a wireless channel. It should be understood that the access network device architecture shown in Figure 2 is only an example and should not constitute any limitation on this application.
[0107] The following takes downlink transmission as an example, and combines the architecture shown in Figure 2 to introduce the processing flow of downlink data. For example, when the access network device obtains downlink data, the DU of the access network device first encodes the downlink data on the wireless side to obtain the first data, and then uses the CPRI (or eCPRI) protocol and the Ethernet protocol to encapsulate the first data in sequence to obtain the data packet to be transmitted; then generates check bits based on the data packet to be transmitted, and performs optical side encoding on the data packet to be transmitted with the check bits added to obtain the encoded data packet; finally, performs electrical-to-optical conversion on the encoded data packet to obtain an optical signal, and sends the optical signal to the RU through the optical fiber. After receiving the optical signal, the RU performs optical-to-electrical conversion, decoding and verification in sequence; after successful verification, the first data in the data packet to be transmitted is transmitted to the wireless side, and the wireless side performs wireless side decoding to obtain the downlink data.
[0108] In combination with the architecture shown in Figure 2, taking the eCPRI protocol used between DU and RU as an example, Figure 3 is a schematic diagram of the frame structure of a message generated by the DU transmitting the first data to the RU according to the eCPRI protocol. As shown in Figure 3, taking the DU sending the first data to the RU as an example, the DU generates a first message according to the eCPRI protocol, the data part in the first message includes the first data, and the message header in the first message includes indication information, wherein the indication information may include control data and other service data. Based on the first message, the DU further generates a second message according to the Ethernet protocol, wherein the first message is located in the data part of the second message, and the message header of the second message includes address information, and the address information is the source address and the destination address. It can be understood that the first data can be user data information or service information, etc., which can be placed in the payload part of the frame. The DU sends a second message to the RU.
[0109] It should be understood that the above-mentioned message header can also be called a packet header, or header information, or other names, and this application does not limit this.
[0110] As shown in Figure 2, the access network equipment and terminals of the communication system use both optical fiber and wireless communication during data transmission. To meet user demands for network access bandwidth, the bandwidth of the wireless access network has been upgraded from the existing 64-transmission receiver unit (TR) 100 megabytes (MByte) to 128TR 400M. As the bandwidth on the wireless side increases, the impact of fiber dispersion also increases, resulting in excessively high bit error rates for signals transmitted through the fiber. Even after error correction, the optical side still cannot meet signal quality requirements, preventing data from being transmitted to the wireless side and causing a decrease in throughput on the wireless side.
[0111] Currently, the requirements for bit error rate on the optical side and the wireless side are decoupled. That is, the optical side ensures that the signal provided to the wireless side is error-free, while the decoding on the wireless side only ensures the performance of the wireless side. The two are not jointly optimized, resulting in performance waste. For example, the bit error rate threshold on the optical side is 1e-12 (or expressed as 1×10 -12 ), while the wireless side bit error rate threshold is only 1e-5 (or expressed as 1×10 -5 ).
[0112] In some implementations, high-speed transmission can be achieved by replacing modems with higher-bandwidth ones and using digital signal processing to compensate for transmission impairments and reduce bit error rates. However, this approach requires a separate chip, which consumes more energy and is more expensive.
[0113] In other embodiments, high-speed transmission can be achieved by reducing the bit error rate on the optical side. Referring to the example shown in FIG2 , the first data is framed and encapsulated using the eCPRI protocol and the Ethernet protocol. The resulting data packet contains, in addition to the first data, header information. This information requires high transmission reliability. After reducing the bit error rate on the optical side, this header information may fail verification, causing the entire data packet to be discarded. This prevents the first data from being transmitted to the wireless side, resulting in a decrease in throughput on the wireless side.
[0114] Therefore, this application hopes to solve the problem of decreased throughput on the wireless side without increasing deployment costs and directly improving the transmission rate.
[0115] In view of this, an embodiment of the present application proposes a data transmission method and related devices, in which the sending end adds check bits and coding bits to the header information of the obtained data packet to ensure that the header information can be transmitted almost losslessly without adding check bits to the data part of the data packet to be transmitted. Therefore, when the receiving end receives the data packet to be transmitted, it can use the coding bits to correct the received header information, and then verify the error-corrected header information, without verifying the data part to be transmitted. After the header information is successfully verified, the receiving end can directly transmit the data part to the wireless side, and the wireless side will perform error correction. In this way, even in the scenario of high transmission capacity, the probability of failure of header information verification can be reduced, thereby solving the problem of decreased throughput on the wireless side.
[0116] In order to clearly describe the technical solutions of the embodiments of the present application, the following points are first explained.
[0117] First, in the embodiments described below, various terms and abbreviations, such as header information, CRC, and eCPRI, are provided for ease of description and should not be construed as limiting this application. This application does not preclude the possibility of defining other terms in existing or future protocols that can achieve the same or similar functions.
[0118] Second, the first, second, and various numerical numbers in the embodiments shown below are merely distinctions for ease of description and are not intended to limit the scope of the embodiments of the present application. For example, they distinguish different data packets and different header information.
[0119] Third, "at least one" means one or more, and "more" means two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following items" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b and c can mean: a, or b, or c, or a and b, or a and c, or b and c, or a, b and c, where a, b, c can be single or multiple.
[0120] Fourth, words such as "exemplarily" or "for example" mean an example, instance, or illustration. Any embodiment or design described in this application as "exemplary" or "for example" should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete way.
[0121] The data transmission method provided by the embodiment of the present application is described in detail below in conjunction with Figures 4 to 10. The method can be applied to the communication system 100 shown in Figure 1 and the access network device shown in Figure 2, but the embodiment of the present application is not limited thereto.
[0122] In the flowchart shown in Figure 4, the method is described from the perspective of a communication device. The communication device may be the DU shown in Figure 2, or the RU shown in Figure 2, for example, the first communication device may be the DU, and the second communication device may be the RU; or the first communication device is the RU, and the second communication device is the DU. It should be understood that although the embodiment shown in Figure 4 is described using a communication device as an example, it does not constitute any limitation on the execution subject of the method. As long as the program that records the code of the method provided in the embodiment of the present application can be run, the method provided in the embodiment of the present application can be executed. For example, the communication device can also be replaced by a component configured in a terminal device or a network device (such as a chip, a chip system, etc.), or other functional modules that can call and execute a program.
[0123] Figure 4 is a schematic diagram of a data transmission method 400 provided in an embodiment of the present application. As shown in Figure 4 , the method 400 may include S401 and S402 . The steps shown in Figure 4 are described in detail below.
[0124] S401: A first communication device obtains a first data packet, where the first data packet includes first header information.
[0125] Exemplarily, the first communication device may obtain the first data packet through the following three implementation methods.
[0126] In a first approach, the first communication device encapsulates the first data based on the first protocol to obtain a first data packet, which also includes the first data.
[0127] Exemplarily, the first protocol includes an enhanced Common Public Radio Interface (EPRI) protocol and a Common Public Interface (CPII) protocol, or other evolved fronthaul interface protocols.
[0128] Exemplarily, the first header information includes indication information. The indication information may include real-time control data and other service data, etc., for annotating and explaining the first data, for example, indicating the length of the first data, the version of the first protocol, or the message type.
[0129] It should be understood that during downlink transmission, the first data may be data obtained by the first communications device encoding user data and / or control signaling information from the core network; during uplink transmission, the first data may be air interface data received by the first communications device from the terminal side, where the air interface data refers to data generated by the terminal side encoding user data and / or control signaling information and transmitted to the first communications device via the air interface. It should be noted that the encoding here refers to wireless-side encoding.
[0130] The processing flow of the first method can be shown in FIG5 . The first communication device encapsulates the first data using the first protocol to obtain a first data packet. The data field in the first data packet is the first data, and the message header is the first header information.
[0131] In the second method, the first communication device may obtain the first data packet by including the following two steps I and II:
[0132] 1) The first communication device encapsulates the first data based on the first protocol to obtain a second data packet, where the second data packet includes third header information and the first data.
[0133] Exemplarily, the third header information includes indication information. For a description of the indication information, refer to the relevant description in the first approach.
[0134] For the description of the first data and the first protocol, please refer to the relevant description in method 1, which will not be repeated here.
[0135] II) The first communication device encapsulates the second data packet based on the second protocol to obtain a first data packet, which also includes the second data packet.
[0136] Exemplarily, the second protocol includes an Ethernet protocol.
[0137] Exemplarily, the first header information includes address information, and the address information may include a source address and a destination address.
[0138] It should be understood that the data field in the first data packet includes the second data packet, and the message header includes the first header information.
[0139] The processing flow of the second method can be shown in Figure 6. The first communication device encapsulates the first data using the first protocol to obtain a second data packet. The data field in the second data packet is the first data, and the message header is the third header information. The first communication device encapsulates the second data packet using the second protocol to obtain a first data packet. The data field in the first data packet is the second data packet, and the message header is the first header information.
[0140] Mode three: the first communication device may obtain the first data packet by including the following three steps I-III.
[0141] 1) The first communication device encapsulates the first data based on the first protocol to obtain a fourth data packet, where the fourth data packet includes fourth header information and the first data.
[0142] For the description of the first protocol and the first data, please refer to the relevant description in the first method, which will not be repeated here.
[0143] Exemplarily, the fourth header information includes indication information. For a description of the indication information, refer to the description in the first approach.
[0144] II) The first communication device processes the fourth header information to obtain third header information, where the third header information includes information obtained by encoding the fourth header information and a second check bit, where the second check bit is generated based on the fourth header information.
[0145] It should be understood that the second check bit is obtained by the first communication device using a certain algorithm to calculate the fourth header information, and is used by the receiving end (the second communication device in this application) to determine whether the third header information is successfully received.
[0146] Exemplarily, the second check bits may include at least one of the following: cyclic redundancy check (CRC) bits, parity check code bits, or Hamming code bits.
[0147] Exemplarily, the first communication device processes the fourth header information, including: generating a second parity bit based on the fourth header information and appending the second parity bit to the end of the fourth header information; encoding the fourth header information and the second parity bit using a second coding method to obtain a second coded bit, and appending the second coded bit to the end of the second parity bit to obtain the aforementioned third header information. In other words, the third header information includes the fourth header information, the second parity bit, and the second coded bit. The second coded bit is used by the receiving end to perform error correction on the received fourth header information.
[0148] Exemplarily, the second encoding mode may include any one of the following: Hamming code encoding, cyclic code encoding (Bose–Chaudhuri–Hocquenghem codes, BCH), low density parity check code (LDPC) encoding or other linear block code encoding.
[0149] III) The first communication device encapsulates the second data packet based on the second protocol to obtain a first data packet. The first data packet also includes the second data packet, and the second data packet includes the third header information and the first data.
[0150] Exemplarily, the first header information includes address information. For a description of the address information, reference may be made to the relevant description in the second approach.
[0151] For the description of the second protocol, please refer to the relevant description in Method 2, which will not be repeated here.
[0152] It should be understood that the data field in the first data packet includes the second data packet, and the message header includes the first header information.
[0153] The processing flow of method three can be shown in Figure 7. The first communication device uses the first protocol to encapsulate the first data to obtain a fourth data packet, the data field in the fourth data packet is the first data, and the message header is the fourth header information; the first communication device generates a check bit for the fourth header information in the fourth data packet to obtain a second check bit, and encodes the fourth header information and the second check bit according to the second encoding method to obtain a second coding bit, and places the fourth header information, the second check bit and the second coding bit in the message header of the second data packet, and the first data is placed in the data part of the second data packet to obtain a second data packet; the first communication device uses the second protocol to encapsulate the second data packet to obtain a first data packet, the data field in the first data packet is the second data packet, and the message header is the first header information.
[0154] S402: The first communication device processes the first header information to obtain second header information, where the second header information includes information obtained by encoding the first header information and the first check bit.
[0155] The first check bit is generated based on the first header information. Exemplarily, the first check bit is obtained by the first communication device using an algorithm to calculate the fourth header information, and is used by the receiving end (the second communication device in this application) to determine whether the first header information has been successfully received.
[0156] The first check bit may include at least one of the following: a cyclic redundancy check code bit, a parity check code bit, or a Hamming code bit. However, it should be understood that the type of the first check bit and the type of the second check bit may be the same or different.
[0157] Exemplarily, the first communication device processes the first header information, including: generating a first parity bit based on the first header information and appending the first parity bit to the end of the first header information; encoding the first header information and the first parity bit using a first coding method to obtain a first coded bit, and appending the first coded bit to the end of the first parity bit to obtain the aforementioned second header information. In other words, the second header information includes the first header information, the first parity bit, and the first coded bit. The first coded bit is used by the receiving end to perform error correction on the received second header information.
[0158] Exemplarily, the first encoding method may include any of the following: Hamming code, cyclic code, low-density parity check code, or other linear block code. However, it should be understood that the first encoding method and the second encoding method may be the same or different.
[0159] In an embodiment of the present application, the first communication device adds a first check bit and a first coding bit to the first header information in the acquired first data packet. Since the first coding bit can be used by the receiving end to perform error correction on the received first header information, when the receiving end receives the second header information, it can perform error correction on the first header information based on the first coding bit in the second header information, so that the error-corrected first header information can pass the check of the first check bit. If the check is successful, the first data can be transmitted to the wireless side. In this way, even in a high transmission capacity scenario, the probability of header information check failure can be reduced, thereby solving the problem of reduced throughput on the wireless side.
[0160] As an optional embodiment, the method 400 further includes: S403, the first communication device encapsulates the second data packet based on the second protocol to obtain a third data packet.
[0161] The third data packet includes third header information and a second data packet, and the second data packet includes second header information and first data.
[0162] For example, the third header information includes address information. For a description of the address information, refer to the second method in S401.
[0163] For the description of the second protocol, please refer to the second method in S401, and for the description of the second header information, please refer to S402, which will not be repeated here.
[0164] It should be noted that whether the first communication device executes S403 can be determined based on the manner in which the first communication device obtains the first data packet. For example, if the first communication device obtains the first data packet using the method described in Method 1 above, the first communication device proceeds to S403 after executing S402. If the first communication device obtains the first data packet using the method described in Method 2 or Method 3 above, the first communication device may not execute S403 after executing S402.
[0165] As an optional embodiment, the method 400 further includes: S404: the first communication device sends a third data packet, and correspondingly, the second communication device receives the third data packet.
[0166] Optionally, the first communication device obtains the first data packet using method 1 and executes S403 after executing S402 to obtain a third data packet including the third header information and the second data packet. For descriptions of the third header information and the second data packet, refer to the description of method 1 in S401.
[0167] Optionally, the first communication device obtains the first data packet using method 2 or method 3, and executes S402 to obtain a third data packet including the second header information and the second data packet. For a description of the second header information and the second data packet, refer to the description of method 2 or method 3 in S401, and will not be repeated here.
[0168] In the embodiment of the present application, when the transmission capacity of the fronthaul link remains unchanged, the first communication device can add redundancy to the header of the third data packet by compressing the data field in the third data packet to place the second check bit and the second coding bit; or by increasing the transmission capacity of the fronthaul link, for example, speeding up the serializer and deserializer (SerDes) (SerDes is a high-speed electrical interface) and optical module in the first communication device, and adding redundancy to the header of the third data packet to place the second check bit and the second coding bit.
[0169] As an optional embodiment, the method 400 further includes: S405, the second communication device verifies the first header information; S406, if the verification is successful, the second communication device sends the first data to the wireless side.
[0170] Optionally, before S405, the method 400 further includes: the second communication device decapsulating the third data packet to obtain third header information and a second data packet, the second data packet including the second header information and the first data, the second header information including the first header information, the first check bit, and the first coding bit; the second communication device decoding the second data packet to obtain a decoded second data packet; and the second communication device decapsulating the decoded second data packet to obtain the first header information, the first check bit, and the first data. It should be understood that the header information of the decoded second data packet does not include the first coding bit.
[0171] In the embodiment of the present application, during downlink transmission, the second communication device sends the first data to the terminal; during uplink transmission, the second communication device sends the first data to the core network.
[0172] As an optional embodiment, the method 400 further includes: S407, the second communication device verifies the first header information; S408, if the verification is successful, obtains a second data packet.
[0173] Optionally, before S407, the method 400 further includes: the second communication device decoding the third data packet to obtain a decoded third data packet; and the second communication device decapsulating the decoded third data packet to obtain first header information, a first check bit, and the second data packet. It should be understood that the header information of the decoded third data packet does not include the first bit.
[0174] In an embodiment of the present application, the second communication device verifies the first header information, including: the second communication device verifies the obtained first header information and the first check bit according to the same algorithm as the first communication device side calculates the first check bit. If the verification is successful, the second communication device successfully receives the first header information.
[0175] It should be noted that the second communication device may only execute S405 and S406, or only execute S407 and S408. The specific set of steps executed by the second communication device may be determined based on the header information and data information included in the received third data packet. For example, if the third data packet received in S404 includes third header information and a second data packet, then S405 and S406 are executed after S404. If the third data packet received in S404 includes second header information and a second data packet, then S407 and S408 are executed after S404.
[0176] As an optional embodiment, the second data packet includes third header information and first data, and the second data packet is obtained by the first communication device encapsulating the first data based on the first protocol; the method 400 also includes: the second communication device decapsulates the second data packet to obtain the third header information and the first data; the second communication device sends the first data to the wireless side.
[0177] For the description of the first data, the first protocol and the third header information, reference may be made to the relevant description of the second method in S401, which will not be repeated here.
[0178] As an optional embodiment, the second data packet includes third header information and first data, and the third header information includes information obtained by the first communication device encoding the fourth header information and the second check bit; the method 400 also includes: the second communication device verifies the fourth header information; if the verification is successful, the first data is sent to the wireless side.
[0179] Optionally, before the second communication device verifies the fourth header information, the method 400 also includes: the second communication device decodes the second data packet to obtain a decoded second data packet; the second communication device decapsulates the decoded second data packet to obtain the fourth header information, the second check bit and the first data.
[0180] It should be understood that the decoded second data packet does not include the second coded bits.
[0181] For the description of the first data, the third header information and the fourth header information, reference may be made to the relevant description of the third method in S401, which will not be repeated here.
[0182] In an embodiment of the present application, the second communication device verifies the fourth header information, including: the second communication device verifies the obtained fourth header information and the second check bit according to the same algorithm as the second check bit calculated by the first communication device side. If the verification is successful, the second communication device successfully receives the fourth header information.
[0183] As an optional embodiment, method 400 further includes: the first communication device encoding the third data packet to obtain an encoded third data packet; and the first communication device sending the third data packet includes: the first communication device sending the encoded third data packet. Correspondingly, the second communication device receiving the third data packet includes: the first communication device receiving the encoded third data packet and decoding the encoded third data packet to obtain the third data packet.
[0184] Exemplarily, the first communication device encoding the third data packet includes: the first communication device encoding the third data packet using a third encoding method. The third encoding method may be the same as or different from the first encoding method or the second encoding method; or, because a bit error rate threshold of the first data is relatively low, the third encoding method may be encoded using a coding method with a simple algorithm.
[0185] As an optional embodiment, the bit error threshold of the first data and the bit error threshold of the first header information are different.
[0186] For example, the bit error rate threshold of the first data may be 1e-5 (or expressed as 1×10 -5 ), the bit error rate threshold of the first header information can be 1e-12 or expressed as 1×10 -12 ).
[0187] The following describes the data transmission method provided by this application based on the embodiment shown in Figure 4 and taking downlink transmission as an example, in conjunction with Figures 8 to 14. The content already described in the embodiment shown in Figure 4 is not repeated here. In the data transmission method shown in Figures 8 to 14, the DU is used as the first communication device and the RU is used as the second communication device.
[0188] The following takes the example of the first communication device obtaining the first data packet using the third method as an example, and describes in detail the data transmission method provided by the embodiment of the present application in conjunction with Figure 8. In the embodiment shown in Figure 8, data packet 1 is the fourth data packet in the above-mentioned method 3, data packet 2 is the second data packet in the above-mentioned method 3, data packet 3 is the first data packet in the above-mentioned method 3, and data packet 4 is the third data packet in the above-mentioned method 3. In the embodiment shown in Figure 8, header information 1 is the fourth header information in the above-mentioned method 3, header information 2 is the third header information in the above-mentioned method 3, header information 3 is the first header information in the above-mentioned method 3, and header information 4 is the second header information in the above-mentioned method 3.
[0189] Fig. 8 is a schematic flow chart of another data transmission method 800 provided by an embodiment of the present application. As shown in Fig. 8 , the method 800 may include the following steps.
[0190] S801: DU obtains first data.
[0191] The first data in the embodiment of the present application may be data obtained by DU encoding user data and / or control signaling and other information from the core network.
[0192] S802 , the DU encapsulates the first data using the first protocol to obtain data packet 1 .
[0193] For the description of the first protocol, reference may be made to the description of the first protocol in S401 .
[0194] The data packet 1 may include first data and header information 1, and the header information 1 includes indication information.
[0195] For the description of the indication information, please refer to the description of the indication information in S401.
[0196] S803 , the DU generates a second check bit based on the indication information, and encodes the indication information and the second check bit using a second encoding method to obtain data packet 2 .
[0197] It should be understood that the second check bit is obtained by the DU using a certain algorithm to calculate the indication information, and the second check bit is used by the receiving end to determine whether the indication information is successfully received.
[0198] Data packet 2 may include first data and header information 2. Header information 2 includes indication information, a second check bit, and a second coding bit. The second coding bit is obtained by the DU encoding the indication information and the second check bit, and is used by the receiving end to correct errors in the received indication information.
[0199] The processing flow of S802 and S803 can be shown in Figure 9. The DU encapsulates the first data using the first protocol to obtain data packet 1. The data field in data packet 1 is the first data, and the message header is the indication information. The DU generates parity bits for the indication information in the first data packet to obtain second parity bits, encodes the indication information and the second parity bits according to the second encoding method to obtain second coded bits, and places the indication information, the second parity bits, and the second coded bits in the message header of data packet 2. The first data is placed in the data portion of data packet 2, ultimately obtaining data packet 2.
[0200] S804 , the DU encapsulates the data packet 2 using the second protocol to obtain the data packet 3 .
[0201] For the description of the second protocol, please refer to the relevant description in S401.
[0202] Data packet 3 may include data packet 2 and header information 3, where data packet 2 is located in the data portion of data packet 3, and header information 3 is the header information of data packet 3. Header information 3 includes address information. For example, the address information may include a source address and a destination address.
[0203] S805 , the DU generates a first check bit based on the address information, and encodes the address information and the first check bit using a first encoding method to obtain a data packet 4 .
[0204] It should be understood that the first check bit is obtained by the DU using a certain algorithm to calculate the address information, and the first check bit is used by the receiving end to determine whether the address information is successfully received.
[0205] Data packet 4 may include data packet 2 and header information 4. The header information 4 includes address information, a first check bit, and a first coding bit. The first coding bit is obtained by the DU encoding the address information and the first check bit, and is used by the receiving end to correct errors in the received address information.
[0206] For the description of the first encoding method, please refer to the description in S401 and will not be repeated here.
[0207] The processing flow of S804 and S805 can be shown in Figure 10. The DU encapsulates data packet 2 using the second protocol to obtain data packet 3. The data field in data packet 3 is data packet 2, and the message header is address information. The DU generates parity bits for the address information in data packet 3 to obtain a first parity bit, and encodes the address information and the first parity bit according to the first encoding method to obtain a first coded bit. The address information, the first parity bit, and the first coded bit are placed in the message header of data packet 4. Data packet 2 is placed in the data portion of data packet 4, ultimately obtaining data packet 4. The fields included in data packet 2 can be seen in Figure 9 and will not be repeated here.
[0208] Optionally, when the transmission capacity of the fronthaul link remains unchanged, the DU can compress the data field of the data packet 3 to add redundancy to the header of the data packet 3 to place the first check bit and the first coding bit; or by increasing the transmission capacity of the fronthaul link, for example, speeding up the SerDes and optical modules in the DU, and adding redundancy to the header of the data packet 3 to place the first check bit and the first coding bit.
[0209] S806, DU sends data packet 4 to RU.
[0210] Correspondingly, the RU receives the data packet 4.
[0211] In a specific implementation, the optical module in the DU converts the electrical signal carrying the data packet 4 into an optical signal, and transmits the optical signal to the RU through the optical fiber.
[0212] Similarly, correspondingly, the optical module of the RU receives the optical signal, performs the inverse operation of the above specific implementation method, and obtains data packet 4.
[0213] Then continue to execute the following S807 to S812.
[0214] In one possible implementation, method 800 further includes: the DU encoding data packet 4 using a second encoding method to obtain an encoded data packet 4; and the DU sending data packet 4 to the RU includes: the DU sending the encoded data packet 4 to the RU. Correspondingly, the RU receives the encoded data packet 4 and decodes the encoded data packet 4 to obtain data packet 4.
[0215] The second encoding method may be the same as or different from the second encoding method or the first encoding method; or, since the bit error rate threshold of the first data is low, the second encoding method may be encoded using some encoding methods with simple algorithms.
[0216] S807 , RU decodes data packet 4 to obtain decoded data packet 4 .
[0217] For the description of data packet 4, please refer to the above S805 and will not be repeated here.
[0218] S808 , the RU decapsulates the decoded data packet 4 to obtain the address information, the first check bit, and the data packet 2 .
[0219] S809: The RU uses the first check bit to check the address information.
[0220] If the verification succeeds, the process continues with S810 to S812. If the verification fails, the RU discards the data packet 4.
[0221] Exemplarily, the RU verifies the received address information and the first check bit according to the same algorithm as that used by the DU to calculate the first check bit. If the verification succeeds, the RU successfully receives the address information.
[0222] S810 , the RU decodes the data packet 2 to obtain a decoded data packet 2 .
[0223] For the description of data packet 2, please refer to the above S803 and will not be repeated here.
[0224] S811, RU decapsulates the decoded data packet 2 to obtain indication information, the second check bit and the first data.
[0225] S812: The RU uses the second check bit to check the indication information.
[0226] If the verification succeeds, the RU transmits the first data to the wireless side, which decodes and verifies the first data. If the verification fails, the RU discards the data packet 4.
[0227] Exemplarily, the RU verifies the received indication information and the second check bit according to the same algorithm as that used by the DU to calculate the second check bit. If the verification succeeds, the RU successfully receives the indication information.
[0228] Since the optical side has higher requirements for the transmission reliability of address information and indication information, and lower requirements for the transmission reliability of the first data. Therefore, in a scenario with a high bit error rate, if the DU sends the data packet to be transmitted with the added check bits and coding bits to the RU, and the RU decodes (this application may also be referred to as error correction) and verifies the entire data packet, there may be a situation where the first data verification is successful, but the indication information or address information verification fails, so that the RU discards the entire data packet. Based on the method provided in the embodiment of the present application, the DU no longer adds check bits to the entire data packet, but only adds check bits and coding bits to the address information and indication information with higher transmission reliability requirements to improve the transmission reliability of these two information. In this way, when the RU receives the data packet, it can only decode and verify the address information and indication information. After the two are successfully verified, the first data can be directly transmitted to the wireless side, and the wireless side decodes and verifies the obtained high-error first data. Since the possibility of successful verification of the address information and indication information in the method provided in the present application is higher than the possibility of successful verification of the entire packet, the method provided in the embodiment of the present application can effectively solve the problem of decreased throughput on the wireless side in scenarios with high bit error rates.
[0229] The following takes the example of a first communication device obtaining a first data packet using method 2 as an example, and describes in detail the data transmission method provided by an embodiment of the present application in conjunction with Figure 11. In the embodiment shown in Figure 11, data packet 1 is the second data packet in the above method 2, data packet 2 is the first data packet in the above method 2, and data packet 3 is the third data packet in the above method 2. In the embodiment shown in Figure 11, header information 1 is the third header information in the above method 2, header information 2 is the first header information in the above method 2, and header information 3 is the second header information in the above method 2.
[0230] Figure 11 is a schematic flow chart of another data transmission method 1100 provided in an embodiment of the present application. As shown in Figure 11, the method 1100 may include the following steps.
[0231] S1101, DU obtains first data.
[0232] For the description of the first data, please refer to the description in S801.
[0233] S1102 , the DU encapsulates the first data using the first protocol to obtain data packet 1 .
[0234] For the description of the first protocol and the first data packet, refer to the description in S802.
[0235] S1103 , the DU encapsulates the data packet 1 using the second protocol to obtain the data packet 2 .
[0236] For the description of the second protocol, please refer to the description in S802.
[0237] Data packet 2 may include data packet 1 and header information 2, and header information 2 includes address information.
[0238] S1104, the DU generates a first check bit based on the address information, and encodes the address information and the first check bit using a first encoding method to obtain data packet 3.
[0239] Data packet 3 may include data packet 1 and header information 3, where data packet 1 is located in the data portion of data packet 3. Header information 3 includes address information, a first check bit, and a first coding bit.
[0240] For the description of the first encoding mode, the first check bit and the first encoding bit, reference may be made to the description in S805 and will not be repeated here.
[0241] The processing flow from S1102 to S1104 can be shown in Figure 12. The DU encapsulates the first data using the first protocol to obtain data packet 1. The data field in data packet 1 is the first data, and the message header is the indication information. The DU encapsulates data packet 1 using the second protocol to obtain data packet 2. The data field in data packet 2 is data packet 1, and the message header is the address information. The DU generates a parity bit for the address information in data packet 2 to obtain a first parity bit, encodes the address information and the first parity bit according to the first encoding method to obtain a first coded bit, and places the address information, the first parity bit, and the first coded bit in the message header of data packet 3. Data packet 1 is placed in the data portion of data packet 3, ultimately obtaining data packet 3.
[0242] S1105, DU sends data packet 3 to RU.
[0243] Correspondingly, the RU receives the data packet 3.
[0244] In a specific implementation, the optical module in the DU converts the electrical signal carrying the data packet 3 into an optical signal, and transmits the optical signal to the RU through the optical fiber.
[0245] Similarly, correspondingly, the optical module of the RU receives the optical signal, performs the inverse operation of the above specific implementation method, and obtains data packet 3.
[0246] Then continue to execute the following S1106 to S1109.
[0247] In one possible implementation, method 1100 further includes: the RU encoding data packet 3 using a third encoding method to obtain an encoded data packet 3; and the DU sending data packet 3 to the RU includes: the DU sending the encoded data packet 3 to the RU. Correspondingly, the RU receives the encoded data packet 3 and decodes the encoded data packet 3 to obtain data packet 3.
[0248] For the description of the third encoding method, please refer to the description in S806 and will not be repeated here.
[0249] S1106 , RU decodes data packet 3 to obtain decoded data packet 3 .
[0250] For the description of data packet 3, please refer to the above S1104.
[0251] S1107 , the RU decapsulates data packet 3 to obtain address information, the first check bit, and data packet 1 .
[0252] S1108: The RU uses the first check bit to check the address information.
[0253] If the verification succeeds, the process continues with S1109. If the verification fails, the RU discards the data packet 3.
[0254] Regarding the verification of the address information, please refer to the description in S809 and will not be repeated here.
[0255] S1109, RU decapsulates data packet 1 to obtain header information 1 and first data.
[0256] Afterwards, the RU transparently transmits the first data to the wireless side, and the wireless side decodes and verifies the first data.
[0257] In the embodiment of the present application, the bit error rate thresholds of the first data and the address information are the same. For example, the bit error rate threshold of the first data may be 1e-5, and the bit error rate threshold of the address information may be 1e-12.
[0258] Since the optical side has higher requirements for the transmission reliability of address information and lower requirements for the transmission reliability of the first data. Therefore, in a scenario with a high bit error rate, if the DU sends the data packet to be transmitted with the added check bits and coding bits to the RU, and the RU decodes (this application may also be referred to as error correction) and verifies the entire data packet, there may be a situation where the first data verification is successful, but the address information verification fails, so that the RU discards the entire data packet. Based on the method provided in the embodiment of the present application, the DU no longer adds check bits to the entire data packet, but only adds check bits and coding bits to the address information with higher transmission reliability requirements to improve the transmission reliability of the address information. In this way, when the RU receives the data packet, it can only decode and verify the address information. After the verification is successful, the first data can be directly transmitted to the wireless side, and the wireless side decodes and verifies the obtained high-error first data. Since the possibility of successful address information verification in the method provided in the present application is higher than the possibility of successful verification of the entire packet, the method provided in the embodiment of the present application can effectively solve the problem of decreased throughput on the wireless side in scenarios with high bit error rates.
[0259] The following takes the example of a first communication device obtaining a first data packet using method 1 as an example, and describes in detail the data transmission method provided by an embodiment of the present application in conjunction with FIG13. In the embodiment shown in FIG13, data packet 1 is the first data packet in the above-mentioned method 1, data packet 2 is the second data packet in the above-mentioned method 1, and data packet 3 is the third data packet in the above-mentioned method 1. In the embodiment shown in FIG13, header information 1 is the first header information in the above-mentioned method 1, header information 2 is the second header information in the above-mentioned method 1, and header information 3 is the third header information in the above-mentioned method 1.
[0260] Figure 13 is a schematic flow chart of another data transmission method 1300 provided in an embodiment of the present application. As shown in Figure 13, the method 1300 may include the following steps.
[0261] S1301: DU obtains first data.
[0262] For the description of the first data, please refer to the description in S801.
[0263] S1302: DU encapsulates the first data using the first protocol to obtain data packet 1.
[0264] For the description of the first protocol and data packet 1, please refer to the description in S802.
[0265] S1303: The DU generates a first check bit based on the indication information, and encodes the indication information and the first check bit using a first encoding method to obtain data packet 2.
[0266] For the description of the first encoding mode, the second check bit and the data packet 2, please refer to the description in S803.
[0267] S1304: DU encapsulates data packet 2 using the second protocol to obtain data packet 3.
[0268] For a description of the second protocol and data packet 3, please refer to S804.
[0269] The processing flow from S1302 to S1304 can be shown in Figure 14. The DU uses the first protocol to encapsulate the first data to obtain data packet 1. The data field in data packet 1 is the first data, and the message header is the indication information; the DU generates a check bit for the indication information in data packet 1 to obtain the first check bit, and encodes the indication information and the first check bit according to the first encoding method to obtain the first coding bit, and places the indication information, the first check bit and the first coding bit in the message header of data 2, and the first data is placed in the data part of data packet 2 to obtain data packet 2; the DU uses the second protocol to encapsulate data packet 2 to obtain data packet 3. The data field in data packet 3 is data packet 2, and the message header is address information.
[0270] S1305: DU sends data packet 3 to RU.
[0271] Correspondingly, the RU receives the data packet 3.
[0272] In a specific implementation, the optical module in the DU converts the electrical signal carrying the data packet 3 into an optical signal, and transmits the optical signal to the RU through the optical fiber.
[0273] Similarly, correspondingly, the optical module of the RU receives the optical signal, performs the inverse operation of the above specific implementation method, and obtains data packet 3.
[0274] Then continue to execute the following S1306 to S1309.
[0275] In one possible implementation, method 1300 further includes: the RU encoding data packet 3 using a third encoding method to obtain an encoded data packet 3; and the DU sending data packet 3 to the RU includes: the DU sending the encoded data packet 3 to the RU. Correspondingly, the RU receives the encoded data packet 3 and decodes the encoded data packet 3 to obtain data packet 3.
[0276] For the description of the third encoding method, please refer to the description in S806 and will not be repeated here.
[0277] S1306: RU decapsulates data packet 3 to obtain header information 3 and data packet 2.
[0278] For the description of data packet 3, please refer to the above S804 and will not be repeated here.
[0279] S1307: RU decodes data packet 2 to obtain decoded data packet 2.
[0280] For the description of data packet 2, please refer to the above S803 and will not be repeated here.
[0281] S1308, RU decapsulates data packet 2 to obtain indication information, the first check bit, and the first data.
[0282] S1309: The RU uses the first check bit to check the indication information.
[0283] If the verification succeeds, the RU transparently transmits the first data to the wireless side, which decodes and verifies the first data. If the verification fails, the RU discards data packet 3.
[0284] Regarding the verification of the indication information, please refer to the description in S812 and will not be repeated here.
[0285] Since the optical side has higher requirements for the transmission reliability of the indication information and lower requirements for the transmission reliability of the first data. Therefore, in a scenario with a high bit error rate, if the DU sends the data packet to be transmitted with the added check bits and coding bits to the RU, and the RU decodes (this application may also be referred to as error correction) and verifies the entire data packet, there may be a situation where the first data verification is successful, but the indication information verification fails, so that the RU discards the entire data packet. Based on the method provided in the embodiment of the present application, the DU no longer adds check bits to the entire data packet, but only adds check bits and coding bits to the indication information with higher transmission reliability requirements to improve the transmission reliability of the indication information. In this way, when the RU receives the data packet, it can only decode and verify the indication information. After the verification is successful, the first data can be directly transmitted to the wireless side, and the wireless side decodes and verifies the obtained first data with high bit errors. Since the possibility of successful verification of the indication information in the method provided in the present application is higher than the possibility of successful verification of the entire packet, the method provided in the embodiment of the present application can effectively solve the problem of decreased throughput on the wireless side in scenarios with high bit error rates.
[0286] It should be understood that the size of the serial numbers of the above processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0287] The method of the embodiment of the present application is described in detail above with reference to Figures 4 to 14 , and the device of the embodiment of the present application will be described in detail below with reference to Figures 15 and 16 .
[0288] FIG15 shows a communication device 1500 provided in an embodiment of the present application. As shown in FIG15 , the communication device 1500 may include: a processing module 1510 and a transceiver module 1520 .
[0289] In a possible implementation, the communication apparatus 1500 is the first communication device mentioned above, or a chip of the first communication device.
[0290] Among them, the processing module 1510 is used to: obtain a first data packet, which includes first header information; and process the first header information to obtain second header information, which includes information obtained by encoding the first header information and a first check bit, and the first check bit is generated based on the first header information.
[0291] Optionally, the processing module 1510 is further configured to: encapsulate the first data based on the first protocol to obtain a first data packet, where the first data packet also includes the first data.
[0292] Optionally, the processing module 1510 is also used to: encapsulate the second data packet based on the second protocol to obtain a third data packet, the third data packet including third header information and a second data packet, the second data packet including second header information and first data, the third header information including address information; the transceiver module 1520 is used to: send the third data packet.
[0293] Optionally, the processing module 1510 is further configured to: encapsulate the first data based on the first protocol to obtain a second data packet, wherein the second data packet includes the third header information and the first data; and encapsulate the second data packet based on the second protocol to obtain a first data packet, wherein the first data packet also includes the second data packet, and the first header information includes the address information.
[0294] Optionally, the processing module 1510 is also used to: encapsulate the first data based on the first protocol to obtain a fourth data packet, the fourth data packet including fourth header information and the first data; and, process the fourth header information to obtain third header information, the third header information including information obtained by encoding the fourth header information and a second check bit, the second check bit being generated based on the fourth header information; and, encapsulate the second data packet based on the second protocol to obtain a first data packet, the first data packet also including a second data packet, the second data packet including the third header information and the first data.
[0295] Optionally, the transceiver module 1520 is further configured to send a third data packet, where the third data packet includes the second header information and the second data packet.
[0296] Optionally, the processing module 1510 is further configured to encode the third data packet to obtain an encoded third data packet; and the transceiver module 1520 is further configured to send the encoded third data packet.
[0297] Optionally, the first check bit includes at least one of the following: a cyclic redundancy check code bit, a parity check code bit, or a Hamming code bit.
[0298] Optionally, the type of the first check bit and the type of the second check bit are the same or different.
[0299] Optionally, the first protocol includes an enhanced Common Public Radio Interface protocol and a Common Public Interface protocol, and the second protocol includes an Ethernet protocol.
[0300] Optionally, the bit error threshold of the first data is different from the bit error threshold of the first header information.
[0301] Optionally, the second header information includes the first header information, the first check bit and the first coding bit, wherein the first coding bit is obtained by encoding the first header information and the first check bit based on the first coding method.
[0302] Optionally, the first encoding method includes any one of the following: Hamming code encoding, cyclic code encoding, or low-density parity-check code encoding.
[0303] In an optional example, those skilled in the art may understand that the communication device 1500 may be specifically the first communication device in the above embodiment, and the communication device 1500 may be used to execute the various processes and / or steps corresponding to the first communication device in the above method 400. To avoid repetition, they will not be repeated here.
[0304] In a possible implementation, the communication apparatus 1500 is the aforementioned second communication device, or a chip of the second communication device.
[0305] Among them, the transceiver module 1520 is used to: receive a third data packet, which includes a second header information and a second data packet, the second header information includes information obtained by encoding the first header information and a first check bit, and the first check bit is generated based on the first header information; the processing module 1510 is used to: decode and verify the first header information; and, if the first header information is successfully verified, obtain a second data packet.
[0306] Optionally, the first data packet containing the first header information is obtained by encapsulating the second data packet based on the second protocol.
[0307] Optionally, the second data packet includes third header information and the first data, the third header information includes information obtained by encoding the fourth header information and a second check bit, and the second check bit is generated based on the fourth header information.
[0308] Optionally, the processing module 1510 is further configured to: decode and verify the fourth header information; and if the verification of the fourth header information is successful, send the first data to the wireless side.
[0309] Optionally, the fourth data packet containing the fourth header information is obtained by encapsulating the first data based on the first protocol.
[0310] Optionally, the second data packet includes third header information and the first data, and the second data packet is obtained by encapsulating the first data based on the first protocol.
[0311] Optionally, the transceiver module 1520 is further used to: send the first data to the wireless side.
[0312] Optionally, the type of the first check bit and the type of the second check bit are the same or different.
[0313] Optionally, the first check bit includes at least one of the following: a cyclic redundancy check code bit, a parity check bit, or a Hamming code bit.
[0314] Optionally, the transceiver module 1520 is further used to: receive the encoded third data packet; the processing module 1510 is further used to: decode the encoded third data packet to obtain a third data packet.
[0315] Optionally, the first protocol includes an enhanced Common Public Radio Interface protocol and a Common Public Interface protocol, and the second protocol includes an Ethernet protocol.
[0316] In an optional example, those skilled in the art may understand that the communication device 1500 may be specifically the second communication device in the above embodiment, and the communication device 1500 may be used to execute the various processes and / or steps corresponding to the second communication device in the above method 400. To avoid repetition, they will not be repeated here.
[0317] It should be understood that the communication device 1500 here is embodied in the form of a functional module. The term "module" here may refer to an application specific integrated circuit (ASIC), an electronic circuit, a processor (such as a shared processor, a dedicated processor or a group processor, etc.) and a memory for executing one or more software or firmware programs, a merging logic circuit and / or other suitable components that support the described functions. In an optional example, those skilled in the art will understand that the communication device 1500 may be specifically the first communication device or the second communication device in the above embodiment, or the functions of the first communication device or the second communication device in the above embodiment may be integrated in the communication device 1500, and the communication device 1500 may be used to execute the various processes and / or steps corresponding to the first communication device or the second communication device in the above method embodiment. To avoid repetition, they will not be described here.
[0318] The communication device 1500 has the functionality to implement the corresponding steps performed by the first or second communication device in the above method. These functions can be implemented via hardware or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above functions. For example, the transceiver module 1520 can be a communication interface, such as a transceiver interface.
[0319] Figure 16 shows another communication device 1600 provided in an embodiment of the present application. The communication device 1600 includes a processor 1610. Optionally, the device 1600 also includes a memory 1620 and a transceiver 1630. The processor 1610, the memory 1620, and the transceiver 1630 are connected via an internal connection path. The memory 1620 is used to store instructions, and the processor 1610 is used to execute the instructions stored in the memory 1620, so that the communication device 1600 can perform the communication method provided in the above method embodiment.
[0320] It should be understood that the functions of the communication device 1600 in the above-described embodiment can be integrated into the communication device 1600. The communication device 1600 can be used to execute the various steps and / or processes corresponding to the first communication device in the above-described method embodiment, or the communication device 1600 can also be used to execute the various steps and / or processes corresponding to the second communication device in the above-described method embodiment. Optionally, the memory 1620 may include read-only memory and random access memory, and provide instructions and data to the processor. A portion of the memory may also include non-volatile random access memory. For example, the memory may also store device type information. The processor 1610 can be used to execute instructions stored in the memory. When the processor executes the instructions, the processor 1610 may execute the various steps and / or processes corresponding to the first communication device in the above-described method embodiment, or the processor 1610 may execute the various steps and / or processes corresponding to the second communication device in the above-described method embodiment.
[0321] It should be understood that in the embodiment of the present application, the processor 1610 may be a central processing unit (CPU) or a baseband processor. The processor 1610 may also be other general-purpose processors, digital signal processors (DSP), ASICs, field programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The processor 1610 may be a microprocessor or any conventional processor.
[0322] During implementation, each step of the above method 400 can be completed by an integrated logic circuit of hardware in a processor or by instructions in the form of software. The steps of the method disclosed in conjunction with the embodiments of the present application can be directly embodied as being executed by a hardware processor, or can be executed by a combination of hardware and software modules in the processor. The software module can be located in a storage medium mature in the art, such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in a memory, and the processor executes the instructions in the memory, and completes the steps of the above method in combination with its hardware. To avoid repetition, it will not be described in detail here.
[0323] The present application also provides a computer-readable medium having a computer program stored thereon, which implements any of the above method embodiments when the computer program is executed by a computer.
[0324] The present application also provides a computer program product comprising instructions, which implements any of the above method embodiments when executed by a computer.
[0325] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0326] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0327] In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the units is merely a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0328] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.
[0329] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0330] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0331] The above is only a specific implementation method of the present application, but the scope of protection of the present application is not limited thereto. Any technician familiar with this technical field can easily think of changes or replacements within the technical scope disclosed in this application, which should be covered by the scope of protection of the present application.
Claims
1. A data transmission method, characterized in that: include: Acquire a first data packet, where the first data packet includes first header information; The first header information is processed to obtain second header information, where the second header information includes information obtained by encoding the first header information and a first check bit, where the first check bit is generated based on the first header information.
2. The method according to claim 1, wherein The obtaining of the first data packet includes: The first data is encapsulated based on a first protocol to obtain the first data packet, which also includes the first data.
3. The method according to claim 2, wherein The method further comprises: encapsulating the second data packet based on the second protocol to obtain a third data packet, wherein the third data packet includes third header information and a second data packet, the second data packet includes the second header information and the first data, and the third header information includes address information; The third data packet is sent.
4. The method according to claim 1, wherein The obtaining of the first data packet includes: Encapsulating the first data based on the first protocol to obtain a second data packet, where the second data packet includes third header information and the first data; The second data packet is encapsulated based on a second protocol to obtain the first data packet, where the first data packet also includes the second data packet, and the first header information includes address information.
5. The method according to claim 4, wherein The method further comprises: A third data packet is sent, where the third data packet includes the second header information and the second data packet.
6. The method according to claim 1, wherein The obtaining of the first data packet includes: Encapsulating the first data based on the first protocol to obtain a fourth data packet, wherein the fourth data packet includes fourth header information and the first data; processing the fourth header information to obtain third header information, where the third header information includes information obtained by encoding the fourth header information and a second check bit, where the second check bit is generated based on the fourth header information; The second data packet is encapsulated based on the second protocol to obtain the first data packet, which also includes the second data packet, and the second data packet includes the third header information and the first data.
7. The method according to claim 6, wherein The method further comprises: A third data packet is sent, where the third data packet includes the second header information and the second data packet.
8. The method according to claim 5 or 7, wherein: The method further comprises: Encoding the third data packet to obtain an encoded third data packet; The sending of the third data packet comprises: The encoded third data packet is sent.
9. The method according to claim 6 or 7, wherein: The type of the first check bit and the type of the second check bit are the same as or different from each other.
10. The method according to any one of claims 3 to 8, characterized in that The first protocol includes an enhanced Common Public Radio Interface (EPRI) protocol and a Common Public Interface (CPII) protocol, and the second protocol includes an Ethernet protocol.
11. The method according to any one of claims 1 to 10, characterized in that The first check bits include at least one of the following: cyclic redundancy check code bits, parity check code bits, or Hamming code bits.
12. The method according to any one of claims 2 to 11, characterized in that The bit error threshold of the first data is different from the bit error threshold of the first header information.
13. The method according to any one of claims 1 to 12, characterized in that The second header information includes the first header information, a first check bit, and a first coding bit, where the first coding bit is obtained by encoding the first header information and the first check bit based on a first coding method.
14. The method according to claim 13, wherein The first encoding method includes any one of the following: Hamming code encoding, cyclic code encoding, or low-density parity check code encoding.
15. A data transmission method, characterized in that: include: receiving a third data packet, the third data packet including second header information and a second data packet, the second header information including information obtained by encoding the first header information and a first check bit, the first check bit being generated based on the first header information; Verifying the first header information; When the first header information is successfully verified, the second data packet is obtained.
16. The method according to claim 15, wherein The first data packet containing the first header information is obtained by encapsulating the second data packet based on a second protocol.
17. The method according to claim 16, wherein The second data packet includes third header information and first data, the third header information includes information obtained by encoding the fourth header information and a second check bit, and the second check bit is generated based on the fourth header information.
18. The method according to claim 17, wherein The method further comprises: Verifying the fourth header information; If the fourth header information is successfully verified, the first data is sent to the wireless side.
19. The method according to claim 17 or 18, wherein: The fourth data packet containing the fourth header information is obtained by encapsulating the first data based on the first protocol.
20. The method of claim 16, wherein: The second data packet includes third header information and the first data, and the second data packet is obtained by encapsulating the first data based on the first protocol.
21. The method according to claim 20, wherein The method further comprises: The first data is sent to the wireless side.
22. The method according to any one of claims 17 to 19, wherein The type of the first check bit and the type of the second check bit are the same as or different from each other.
23. The method according to any one of claims 15 to 22, characterized in that The first check bit includes at least one of the following: a cyclic redundancy check code, a parity check, or a Hamming code.
24. The method according to any one of claims 15 to 23, wherein The receiving of the third data packet comprises: receiving the encoded third data packet; The method further comprises: The encoded third data packet is decoded to obtain the third data packet.
25. The method of claim 20, wherein: The first protocol includes an enhanced Common Public Radio Interface (EPRI) protocol and a Common Public Interface (CPII) protocol, and the second protocol includes an Ethernet protocol.
26. A communication device, characterized in that: Comprising means for implementing the method according to any one of claims 1 to 25.
27. A communication device, characterized in that: The device comprises a processor configured to cause the communication device to implement the method according to any one of claims 1 to 25 by executing a computer program and / or a logic circuit.
28. The device according to claim 27, wherein The apparatus further comprises a memory for storing the computer program and / or the logic circuit.
29. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 25 is implemented.
30. A computer program product, characterized in that The invention comprises a computer program which, when being executed, implements the method according to any one of claims 1 to 25.
31. A communication system, characterized in that: The method comprises a first communication device and a second communication device, wherein the first communication device is used to implement the method according to any one of claims 1 to 14, and the second communication device is used to execute the method according to any one of claims 15 to 25.