WO2015100581A1 - 一种通信方法及设备 - Google Patents

一种通信方法及设备 Download PDF

Info

Publication number
WO2015100581A1
WO2015100581A1 PCT/CN2013/091026 CN2013091026W WO2015100581A1 WO 2015100581 A1 WO2015100581 A1 WO 2015100581A1 CN 2013091026 W CN2013091026 W CN 2013091026W WO 2015100581 A1 WO2015100581 A1 WO 2015100581A1
Authority
WO
WIPO (PCT)
Prior art keywords
frame
data frame
unit
data
aggregation
Prior art date
Application number
PCT/CN2013/091026
Other languages
English (en)
French (fr)
Inventor
易甫
钟毅
颜勇
艾早平
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2013/091026 priority Critical patent/WO2015100581A1/zh
Priority to CN201380011892.9A priority patent/CN104170447B/zh
Publication of WO2015100581A1 publication Critical patent/WO2015100581A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W80/00Wireless network protocols or protocol adaptations to wireless operation
    • H04W80/02Data link layer protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/06Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information

Definitions

  • the present invention relates to the field of communications, and in particular, to a communication method and device.
  • the LTE system defined by the 3rd Generation Partnership Project (3GPP) processes the data frame, and the Packet Data Convergence Protocol (PDCP) layer is The received data frame is added with the PDCP header information and sent to the Radio Link Control (RLC) layer.
  • the RLC layer uses the Medium Access Control (MAC) layer to indicate the PDCP.
  • Layer-processed data frames are reassembled, split, and reordered, and data frames are transmitted through a physical (Physical, PHY for short) layer.
  • a wireless backhaul system based on Time Division Long Term Evolution may include a remote eRelay Node (RRN) and a base station (Ba se S). Tati on , referred to as BS).
  • the wireless backhaul system can connect a device such as a small cell to a device such as a wireless controller or a core network, so as to facilitate data transmission between a device such as a small base station and a device such as a wireless controller or a core network.
  • the RRN can be connected to devices such as small base stations
  • the BS can be connected to devices such as a wireless controller or a core network.
  • the RRN For the uplink data sent by the small base station to the wireless controller or the core network through the wireless backhaul system, the RRN first passes the wired data frame sent by the received small base station to the PDCP layer of the LTE system, The RLC layer, the MAC layer, and the PHY layer are sequentially processed and converted into wireless data frames. After the wireless data frame is transmitted to the BS, the BS converts the wireless data frame into a wired data frame and sends the data frame to the wireless controller or Core Network.
  • the above data frame transmission In the process, the processing performance of the above data frame is low.
  • Embodiments of the present invention provide a communication method and apparatus for improving the processing performance of a data frame of a wireless communication system.
  • an embodiment of the present invention uses the following technical solution:
  • a communication device including a memory, a first processor, and a second processor;
  • the memory is configured to: store a preset value Lm i n ;
  • the first processor is configured to: sequentially acquire a first data frame and a second data frame, generate a first aggregation frame according to the first data frame and the second data frame, and send the first aggregation frame to The second processor, where the first aggregation frame includes at least one of the first data frame and the second data frame, and a length of the first convergence frame is greater than or equal to Lm in ;
  • the second processor is configured to: receive the first aggregation frame, process the first aggregation frame, generate a signal, and send the signal by using an antenna, where the processing includes a packet data convergence protocol, a PDCP layer processing, and a wireless
  • the link controls the RLC layer processing, the medium access control MAC layer processing, and the physical P HY layer processing.
  • the first aggregation frame includes a PDCP header, a first unit, and a second unit;
  • the first unit includes at least two subunits, and each of the at least two subunits of the first unit corresponds to a data frame included in the first aggregation frame, and each of the subunits includes: a type of a data frame corresponding to the subunit, a length of a data frame corresponding to the subunit, wherein a type of the data frame corresponding to the subunit is used to indicate a corresponding to the subunit
  • the data frame is in a position in the first convergence frame, and the position is any one of the following: a starting position, an intermediate position, and an ending position;
  • the second unit includes at least two subunits, and each of the at least two subunits of the second unit corresponds to a data frame included in the first aggregation frame, and each of the subunits includes: The data frame corresponding to the subunit.
  • the number of subunits in the first unit is the same as the number of subunits in the second unit, and the The Nth subunit in a unit and the Nth subunit in the second unit correspond to the same data frame, where N takes a positive integer.
  • the first aggregation frame includes a PDCP header and at least one unit, and each of the at least one unit and the data frame included in the first aggregation frame - corresponding;
  • Each of the units includes: a type of a data frame corresponding to the unit, a length of a data frame corresponding to the unit, and a data frame corresponding to the unit; wherein, corresponding to the unit
  • the type of the data frame is used to indicate that the data frame corresponding to the unit is in the first aggregation frame, and the position is any one of the following: a start position, an intermediate position, and an end position.
  • the first data frame The length of the second data frame is L1
  • the first processor is configured to generate the first aggregation frame according to the first data frame and the second data frame, including any one of the following:
  • the first processor is configured to: acquire at least one data frame, and generate the first aggregation frame, where the sum of L1 and L2 is less than or equal to Lmin, where the first aggregation frame includes the first data frame The second data frame and the at least one data frame, the length of the at least one data frame, the sum of L1 and L2 is greater than Lmin;
  • the first processor is configured to: if the sum of L1 and L2 is greater than Lmin, generate the first aggregation frame, where the first aggregation frame includes the first data frame and the second data frame;
  • the first processor is configured to: if the sum of L1 and L2 is greater than Lmax, and L2 is greater than or equal to Lmin, generate the first aggregation frame, where the first convergence frame includes the first data frame, where, Lmax Greater than Lmin; and,
  • the first processor is configured to: if the sum of L1 and L2 is greater than Lmax, and L2 is less than Lmin, generate the first aggregation frame, where the first convergence frame includes the first A data frame.
  • the communications device further includes The first timer is started when the first processor acquires the first data frame, and stops when the first processor generates the first aggregation frame.
  • the first processor is configured to generate, according to the first data frame and the second data frame, a first convergence frame, including :
  • the first processor is configured to: determine that the first timer expires, and a sum of lengths of all data frames acquired by the processor from the first data frame to the timeout of the first timer is less than Or the first aggregation frame is generated by the Lmin, where the first aggregation frame includes: all the data frames that are acquired by the processor from the first data frame to the timeout of the first timer.
  • the first processor is further configured to: generate a second aggregation frame, and send the second aggregation frame to the second processor, where The second aggregation frame includes the second data frame; or, if the sum of L1 and L2 is greater than Lmax, and L2 is less than Lmin, the first processor is further configured to: after generating the first aggregation frame Obtaining another data frame, and generating the second aggregation frame, and sending the second aggregation frame to the second processor, where the second convergence frame includes the second data frame and the Other data frames.
  • the communications device further includes: a second timer, where the second timer is in acquiring the second data frame Or starting when the first timer is stopped, and stopping when the first processor generates the second aggregation frame.
  • the quality of service Qo S of the data frame included in the first aggregation frame is the same.
  • the first processor is used by Obtaining the first data frame and the second data frame in sequence includes: the first processor is configured to acquire the first data frame first, and obtain the foregoing according to the quality of service Q o S identifier of the first data frame a data frame, where the Q o S identifier of the second data frame is the same as the Qo S identifier of the first data frame.
  • the Lm i n is any value between 20 bytes and 75 376 bytes.
  • the communications device further Includes:
  • an input device configured to receive an Lm i n input from outside the communication device.
  • the first The processor and the second processor are different CPUs in the communication device, or the first processor and the second processor are the same CPU in the communication device.
  • the communication device is a base station or a wireless backhaul remote node RRN.
  • an embodiment of the present invention provides a communication method, including:
  • the first aggregation frame includes at least one of the first data frame and the second data frame, and the first The length of the convergence frame is greater than or equal to the preset value Lm in ; Processing the first aggregate frame and generating a signal, and transmitting the signal via an antenna, where the processing includes a packet data convergence protocol P DC P layer processing, a radio link control RL C layer processing, and a medium access control MA C Layer processing and physical PHY layer processing.
  • the first convergence frame includes a P DC P header, a first unit, and a second unit;
  • the first unit includes at least two subunits, and each of the at least two subunits of the first unit corresponds to a data frame included in the first aggregation frame, and each of the subunits includes: a type of a data frame corresponding to the subunit, a length of a data frame corresponding to the subunit, wherein a type of the data frame corresponding to the subunit is used to indicate a corresponding to the subunit
  • the data frame is in a position in the first convergence frame, and the position is any one of the following: a starting position, an intermediate position, and an ending position;
  • the second unit includes at least two subunits, and each of the at least two subunits of the second unit corresponds to a data frame included in the first aggregation frame, and each of the subunits includes: The data frame corresponding to the subunit.
  • the number of subunits in the first unit is the same as the number of subunits in the second unit, and the The Nth subunit in a unit and the Nth subunit in the second unit correspond to the same data frame, where N takes a positive integer.
  • the first aggregation frame includes a P DC P header and at least one unit, and each of the at least one unit is included in the first aggregation frame Data frame - corresponding;
  • Each of the units includes: a type of a data frame corresponding to the unit, a length of a data frame corresponding to the unit, and a data frame corresponding to the unit, wherein the unit corresponds to the unit
  • the type of the data frame is used to indicate that the data frame corresponding to the unit is in the first aggregation frame, and the position is any one of the following: a start position, an intermediate position, and an end position.
  • the length of the first data frame is LI
  • the length of the second data frame is L2
  • the method for generating a first convergence frame according to the first data frame and the second data frame includes the following Any one:
  • the first aggregation frame includes the first data frame, the second data frame, and The at least one data frame, the length of the at least one data frame, the sum of L1 and L2 is greater than Lmin;
  • L1 and L2 are greater than Lmax, and L2 is greater than or equal to Lmin, generating the first aggregation frame, where the first convergence frame includes the first data frame, where Lmax is greater than Lmin;
  • the first aggregation frame is generated, where the first aggregation frame includes the first data frame.
  • the method further includes:
  • the first timer is stopped when the first aggregation frame is generated.
  • the generating, by the first data frame and the second data frame, the first aggregation frame specifically:
  • the frame includes: all data frames acquired from the first data frame to when the first timer expires.
  • the method further includes: If the sum of LI and L2 is greater than Lmax, and L2 is greater than or equal to Lmin, generating a second aggregation frame, where the second convergence frame includes the second data frame; or, if the sum of L1 and L2 is greater than Lmax, And after L2 is smaller than Lmin, after the first aggregation frame is generated, another data frame is acquired, and the second aggregation frame is generated, where the second aggregation frame includes the second data frame and the other data. frame.
  • the method further includes:
  • the second timer is started when the second data frame is acquired or when the first timer is stopped;
  • the second timer is stopped when the second aggregation frame is generated.
  • the first convergence frame The quality of service QoS identifiers of the included data frames are the same.
  • the sequence acquires the first The data frame and the second data frame specifically include:
  • the Lmin is any value between 20 bytes and 75376 bytes.
  • an embodiment of the present invention provides a communications device, including:
  • An acquiring module configured to sequentially acquire the first data frame and the second data frame
  • a processing module configured to generate a first aggregation frame according to the first data frame and the second data frame acquired by the acquiring module, where the first aggregation frame includes the first data frame and the second data At least one of the frames, and the length of the first convergence frame is large Or equal to the preset value Lm in ;
  • the processing module is further configured to process the first aggregation frame and generate a signal, and send the signal by using an antenna, where the processing includes a packet data convergence protocol PDCP layer processing, a radio link control RL C layer processing, Media access controls MAC layer processing and physical P HY layer processing.
  • the processing includes a packet data convergence protocol PDCP layer processing, a radio link control RL C layer processing, Media access controls MAC layer processing and physical P HY layer processing.
  • the first aggregation frame generated by the processing module includes a PDCP header, a first unit, and a second unit;
  • the first unit includes at least two subunits, and each of the at least two subunits of the first unit corresponds to a data frame included in the first aggregation frame, and each of the subunits includes: a type of a data frame corresponding to the subunit, a length of a data frame corresponding to the subunit, wherein a type of the data frame corresponding to the subunit is used to indicate a corresponding to the subunit
  • the data frame is in a position in the first convergence frame, and the position is any one of the following: a starting position, an intermediate position, and an ending position;
  • the second unit includes at least two subunits, and each of the at least two subunits of the second unit corresponds to a data frame included in the first aggregation frame, and each of the subunits includes: The data frame corresponding to the subunit.
  • the number of subunits in the first unit is the same as the number of subunits in the second unit, and the The Nth subunit in a unit and the Nth subunit in the second unit correspond to the same data frame, where N takes a positive integer.
  • the first aggregation frame generated by the processing module includes a PDCP header and at least one unit, each of the at least one unit and the first The data frame included in the aggregation frame - corresponding;
  • Each of the units includes: a type of a data frame corresponding to the unit, a length of a data frame corresponding to the unit, and a data frame corresponding to the unit, wherein the unit corresponds to the unit
  • the type of the data frame is used to indicate that the data frame corresponding to the unit is in the first aggregation frame, and the position is any one of the following: a start position, an intermediate position, and an end position.
  • the first data frame The length of the data frame is L1, and the length of the second data frame is L2, and the acquiring module is specifically configured to acquire at least one data frame if the sum of L1 and L2 is less than or equal to Lmin;
  • the processing module is specifically configured to generate the first aggregation frame, where the first aggregation frame includes the first data frame, the second data frame, and the at least one data acquired by the acquiring module. a frame, a length of the at least one data frame, a sum of L1 and L2 is greater than Lmin;
  • the processing module is specifically configured to: if the sum of L1 and L2 is greater than Lmin, generate the first aggregation frame, where the first aggregation frame includes the first data frame acquired by the acquiring module, and the Second data frame;
  • the processing module is specifically configured to: if the sum of L1 and L2 is greater than Lmax, and L2 is greater than or equal to Lmin, generate the first aggregation frame, where the first aggregation frame includes the first acquired by the acquiring module a data frame, where Lmax is greater than Lmin; and,
  • the processing module is specifically configured to: if the sum of L1 and L2 is greater than Lmax, and L2 is less than Lmin, generate the first aggregation frame, where the first aggregation frame includes the first acquired by the acquiring module Data Frame.
  • the processing module is further configured to: when the acquiring module acquires the first data frame, start a first timer, and stop the first timer when generating the first aggregation frame.
  • the communications device further includes a determining module
  • the determining module is configured to determine that the first timer expires
  • the processing module is specifically configured to: if the sum of the lengths of all the data frames acquired by the acquiring module is less than or equal to Lmin, when the first module expires from the first data frame to the determining module , generating the first aggregation frame, where The first aggregation frame includes: all data frames acquired from the first data frame to when the first timer expires.
  • the processing module is further configured to generate a second aggregation frame if the sum of L1 and L2 is greater than Lmax, and L2 is greater than or equal to Lmin, where the second aggregation frame includes the second acquired by the acquiring module Data frame; or,
  • the obtaining module is further configured to: if the sum of L1 and L2 is greater than Lmax, and L2 is less than Lmin, after the processing module generates the first aggregation frame, acquire another data frame; and the processing module is further configured to generate The second aggregation frame, where the second V-frame includes the second data frame acquired by the acquiring module and the other data frame.
  • the processing module is further configured to: when the acquiring module acquires the second data frame or when the first timer stops, start a second timer, and stop when generating the second aggregation frame The second timer is described.
  • the processing module generates The quality of service QoS identifier of the data frame included in the first aggregation frame is the same.
  • the acquiring module is configured to acquire the first data frame, and obtain the second data frame according to the quality of service QoS identifier of the first data frame, where the QoS identifier of the second data frame is The QoS identifiers of the first data frame are the same.
  • the Lm i n is any value between 20 bytes and 7 5 3 7 6 bytes
  • the communication device is a base station or a wireless backhaul remote node RRN.
  • an embodiment of the present invention provides a communications device, including a third processor and a fourth processor;
  • the third processor is configured to: receive a signal via an antenna, process the signal, acquire a first aggregation frame, and send the first aggregation frame to the fourth processor, where the processing includes a physical P HY Layer processing, media access control MAC layer processing, radio link control RLC layer processing, and packet data convergence protocol PDCP layer processing, where the length of the first convergence frame is greater than or equal to a preset value Lm in ;
  • the fourth processor is configured to: receive the first aggregation frame, and acquire at least one of a first data frame and a second data frame from a data frame in the first aggregation frame.
  • the first convergence frame includes a first unit and a second unit;
  • the first unit includes at least two subunits, and each of the at least two subunits of the first unit corresponds to a data frame included in the first aggregation frame, and each of the subunits includes: a type of a data frame corresponding to the subunit, a length of a data frame corresponding to the subunit, wherein a type of the data frame corresponding to the subunit is used to indicate a corresponding to the subunit
  • the data frame is in a position in the first convergence frame, and the position is any one of the following: a starting position, an intermediate position, and an ending position;
  • the second unit includes at least two subunits, and each of the at least two subunits of the second unit corresponds to a data frame included in the first aggregation frame, and each of the subunits includes: a data frame corresponding to the subunit;
  • the fourth processor is specifically configured to: determine a subunit in the second unit corresponding to each of the first units, and acquire the second unit The data frame corresponding to the subunit.
  • the number of subunits in the first unit is the same as the number of subunits in the second unit, and the The Nth subunit in a unit and the Nth subunit in the second unit correspond to the same data frame, where N takes a positive integer.
  • the first aggregation frame includes at least one unit, and each of the at least one unit corresponds to a data frame included in the first aggregation frame.
  • Each of the units includes: a type of a data frame corresponding to the unit, a length of a data frame corresponding to the unit, and a data frame corresponding to the unit; wherein, corresponding to the unit
  • the type of the data frame is used to indicate that the data frame corresponding to the unit is in the first converged frame, and the position is any one of the following: a starting position, an intermediate position, and an ending position;
  • the fourth processor is specifically configured to: separately acquire data frames corresponding to each unit in the at least one unit.
  • the first convergence frame The quality of service Q s identified for the included data frames is the same.
  • the Lm i n is any value between 20 bytes and 7 5 3 7 6 bytes.
  • the third processor And the fourth processor is a different CPU in the communication device, or the third processor and the fourth processor are the same CPU in the communication device.
  • the communication device is a base station or a wireless backhaul remote node RRN.
  • an embodiment of the present invention provides a communication method, including:
  • the processing including physical P HY layer processing, medium access control MAC layer processing, radio link control RLC layer processing, and packet data convergence protocol PDCP layer Processing, wherein the length of the first convergence frame is greater than or equal to a preset value Lm in ;
  • the first convergence frame includes a first unit and a second unit;
  • the first unit includes at least two subunits, and each of the at least two subunits of the first unit corresponds to a data frame included in the first aggregation frame, and each of the subunits includes: a type of a data frame corresponding to the subunit, a length of a data frame corresponding to the subunit, wherein a type of the data frame corresponding to the subunit is used to indicate a corresponding to the subunit
  • the data frame is in a position in the first convergence frame, and the position is any one of the following: a starting position, an intermediate position, and an ending position;
  • the second unit includes at least two subunits, and each of the at least two subunits of the second unit corresponds to a data frame included in the first aggregation frame, and each of the subunits includes: a data frame corresponding to the subunit;
  • the method for obtaining each data frame from the data frame in the first aggregation frame includes:
  • the number of subunits in the first unit is the same as the number of subunits in the second unit, and the The Nth subunit in a unit and the Nth subunit in the second unit correspond to the same data frame, where N takes a positive integer.
  • the first aggregation frame includes at least one unit, and each of the at least one unit corresponds to a data frame included in the first aggregation frame.
  • Each of the units includes: a type of a data frame corresponding to the unit, a length of a data frame corresponding to the unit, and a data frame corresponding to the unit; wherein, corresponding to the unit
  • the type of the data frame is used to indicate that the data frame corresponding to the unit is in the first converged frame, and the position is any one of the following: a starting position, an intermediate position, and an ending position;
  • the method for obtaining each data frame from the data frame in the first aggregation frame includes:
  • Data frames corresponding to each of the at least one unit are respectively acquired.
  • the first convergence frame The quality of service Q s identified for the included data frames is the same.
  • the Lm i n is any value between 20 bytes and 7 5 3 7 6 bytes.
  • an embodiment of the present invention provides a communications device, including:
  • a processing module configured to receive a signal via an antenna, process the signal, and acquire a first aggregation frame, where the processing includes physical P HY layer processing, media access control MAC layer processing, radio link control RLC layer processing, and grouping
  • the data convergence protocol is processed by the PDCP layer, where the length of the first convergence frame is greater than or equal to a preset value Lm in ;
  • an obtaining module configured to acquire at least one of the first data frame and the second data frame from the data frame in the first aggregation frame acquired by the processing module.
  • the first aggregation frame acquired by the processing module includes a first unit and a second unit;
  • the first unit includes at least two subunits, each of the at least two subunits of the first unit and a data frame included in the first convergence frame
  • the subunit includes: a type of a data frame corresponding to the subunit, a length of a data frame corresponding to the subunit, where a type of the data frame corresponding to the subunit is used And indicating that the data frame corresponding to the subunit is in the first convergent frame, where the location is any one of: a starting location, an intermediate location, and an ending location;
  • the second unit includes at least two subunits, and each of the at least two subunits of the second unit corresponds to a data frame included in the first aggregation frame, and each of the subunits includes: a data frame corresponding to the subunit;
  • the processing module is specifically configured to determine a subunit in the second unit corresponding to each of the first units;
  • the acquiring module is specifically configured to acquire a data frame corresponding to the subunit in the second unit.
  • the number of subunits in the first unit is the same as the number of subunits in the second unit, and the The Nth subunit in a unit and the Nth subunit in the second unit correspond to the same data frame, where N takes a positive integer.
  • the first aggregation frame acquired by the processing module includes at least one unit, and each unit of the at least one unit is included in the first aggregation frame Data frame - corresponding;
  • Each of the units includes: a type of a data frame corresponding to the unit, a length of a data frame corresponding to the unit, and a data frame corresponding to the unit; wherein, corresponding to the unit
  • the type of the data frame is used to indicate that the data frame corresponding to the unit is in the first converged frame, and the position is any one of the following: a starting position, an intermediate position, and an ending position;
  • the acquiring module is specifically configured to separately acquire data frames corresponding to each unit in the at least one unit.
  • the first aggregation frame obtained by the processing module is The quality of service Q s identified for the included data frames is the same.
  • the first aggregation frame obtained by the processing module is The quality of service Q s identified for the included data frames is the same.
  • the Lm i n is any value between 20 bytes and 7 5 3 7 6 bytes.
  • the communication device is a base station or a wireless backhaul remote node RRN.
  • An embodiment of the present invention provides a communication method and device, by determining a length of an acquired data frame, and generating an aggregation frame according to the determination result, thereby increasing the length of the aggregation frame, and implementing the convergence for the longer aggregation frame. Processing and transmission, therefore, can improve the processing performance of the data frame of the wireless communication system.
  • FIG. 1 is a flowchart 1 of a communication method according to an embodiment of the present invention.
  • FIG. 2 is a second flowchart of a communication method according to an embodiment of the present invention.
  • FIG. 3 is a third flowchart of a communication method according to an embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of a format 1 and a format 2 according to an embodiment of the present invention
  • FIG. 5 is a flowchart of a method for generating an aggregation frame according to an embodiment of the present invention
  • FIG. 6 is a schematic structural diagram of a communication device according to an embodiment of the present invention.
  • One
  • FIG. 7 is a schematic structural diagram 2 of a communication device according to an embodiment of the present disclosure.
  • FIG. 8 is a schematic structural diagram 3 of a communication device according to an embodiment of the present disclosure.
  • FIG. 9 is a schematic structural diagram 4 of a communication device according to an embodiment of the present disclosure.
  • FIG. 10 is a schematic structural diagram 5 of a communication device according to an embodiment of the present invention
  • FIG. 1 is a schematic structural diagram 6 of a communication device according to an embodiment of the present invention
  • FIG. 12 is a schematic structural diagram of a communication device according to an embodiment of the present invention
  • FIG. 13 is a schematic structural diagram 8 of a communication device according to an embodiment of the present invention.
  • the various techniques described herein can be used in a variety of wireless communication systems, such as current 2G, 3G communication systems and next generation communication systems, such as the General Packet Radio Service (GPRS) system, code division multiple access ( Code Divi s ion Multiple Access (CDMA) system, Time Division-Synchronous Code Division Multiple Access (TD-SCDMA) system, Wideband Code Division Multiple Access (Wideband Code Division Multiple Access) Wireless, referred to as WCDMA) system, Enhanced Data Rate For Global System for Mobile Communications Evolution (EDGE) system, High Speed Downlink Packet Access (referred to as High Speed Downlink Packet Access, referred to as HSDPA system, High Speed Uplink Packet Access (HSUPA) system, Evolved High Speed Packet Access Evolution (HSPA+) system, CDMA1X system, CDMA2000 System, long term Long Term Evolution (LTE) system, and other such communication systems.
  • GPRS General Packet Radio Service
  • CDMA Code Division multiple access
  • TD-SCDMA Time
  • A/B can represent A or B, that is, it can mean that A exists alone, and B exists separately. In this case, but this description does not exclude the possibility of combining A and B.
  • Embodiments of the present invention provide a communication method, involving a first communication device side, such as As shown in FIG. 1, the method may include:
  • the first communications device sequentially acquires the first data frame and the second data frame.
  • the data frame is a protocol data unit of the data link layer, and the data frame includes three parts: a frame header, a data portion, and a frame tail.
  • the frame header and the end of the frame contain some necessary control information, such as synchronization information, address information, error control information, etc.;
  • the data portion includes data transmitted by the network layer to the data link layer, such as a network protocol.
  • IP Internet Protocol
  • Packets etc.
  • the first communications device sequentially acquires the first data frame and the second data frame from the second communications device, where the first data frame and the second data frame may be data frames that are sent by the first communications device to the target device, It may also be a data frame that the second communication device needs to send to the target device through the first communication device, and the target device is a device that communicates with the second communication device.
  • the first communication device may be a device such as an RRN or a BS; and the second communication device may be a device such as a 2G/3G base station, a wireless controller, or a Serving GateWay (SGW).
  • RRN Radio Network Controller
  • SGW Serving GateWay
  • the second communication device may be a 2G/3G base station; if the first communication device is a BS, the second communication device may be a wireless controller.
  • the first communications device generates a first aggregation frame according to the first data frame and the second data frame, where the first convergence frame includes at least one of the first data frame and the second data frame, and the first convergence frame The length is greater than or equal to the preset value Lmin.
  • the first communications device may generate a first convergence frame according to the first data frame and the second data frame, where the first convergence frame may include the first At least one of a data frame and a second data frame, and the length of the first convergence frame is greater than or equal to a preset value Lmin.
  • the first communications device may compare the length of the first data frame and the length of the second data frame with Lmin, and according to the first a first aggregated frame is generated according to a preset format, and the first aggregated frame may include the first data frame, or include the first data frame and the first data frame and the first data frame and the first data frame and the first data frame and the first data frame and the first data frame Two data frames, or The first data frame, the second data frame, and at least one other data frame are included.
  • An example of a process for generating a first converged frame from a first data frame and a second data frame according to the preset format will be described in detail in a subsequent embodiment (for example, Embodiment 3).
  • the preset format needs to be a format that can be recognized between two communication devices that perform communication, that is, the preset format can be a data format agreed in advance between two communication devices that perform communication.
  • Lmin can be any value between 20 bytes and 75376 bytes.
  • the range of Lmin in the LTE system can be set from 20 bytes to 75376 bytes, for example, setting Lmin to any value between 64 bytes and 512 bytes, or 512 bytes to 1536 words. Any value between the sections.
  • Lmin can be set to 64 bytes, or 512 bytes, or 1536 bytes.
  • the first communications device processes the first aggregation frame and generates a signal, and sends the signal by the antenna, where the processing includes PDCP layer processing, RLC layer processing, MAC layer processing, and PHY layer processing.
  • the first communication device may process the first aggregation frame and generate a signal, and send the signal by using an antenna, where the processing may include PDCP layer processing, RLC layer processing. , MAC layer processing and PHY layer processing.
  • the first communication device may perform corresponding processing on the first aggregation frame according to a user plane protocol defined by the LTE system.
  • the user plane protocols defined by the LTE system may be included as a PDCP layer, an RLC layer, a MAC layer, and a PHY layer.
  • the foregoing steps S101-S102 may be performed by the PDCP layer, and the step S103 may include processing of the RLC layer, the MAC layer, and the PHY layer, and may further include processing of the PDCP layer except steps S101-S102.
  • the PDCP layer is used for the transmission of user plane data, the transmission of control plane data, and is also used for encrypting data, performing integrity protection on data, and header compression of data;
  • the RLC layer mainly performs transmission of upper layer protocol data.
  • Protocol Data Unit (PDU) Protocol Data Unit
  • error correction concatenation, blocking, reassembly, re-blocking, reordering, repeated monitoring, and SDU discarding
  • MAC layer is mainly completed Mapping between logical channels and transport channels, multiplexing/demultiplexing of logical channels and transport channels, traffic measurement, data scheduling, and Hybrid Automatic Repeat Request (HARQ);
  • PHY layer The baseband signal is processed, and the data processed by the PDCP layer, the RLC layer, and the MAC layer is encoded and transmitted to the target device.
  • the first communication device may send the signal to the third communication device via the antenna, where the third communication device may be an RRN or a BS.
  • the communication method provided by the embodiment of the present invention improves the processing performance of the data frame of the wireless communication system, and is suitable for transmitting communication data between the 2G/3G base station and the wireless controller in the Backhual system including the RRN and the BS.
  • the first communication device may perform the foregoing processing on the first aggregation frame generated by the PDCP layer through the RLC layer, the MAC layer, and the PHY layer, and then send the signal generated by the processing to the Third communication device.
  • the communication method provided by the embodiment of the present invention determines the length of the acquired data frame by using the first communication device, and generates an aggregation frame according to the determination result, thereby increasing the length of the aggregation frame, and implementing the convergence of the longer convergence frame. Subsequent processing and transmission, therefore, can improve the processing performance of the data frame of the wireless communication system.
  • the embodiment of the present invention further provides a communication method, which is related to the third communication device side. As shown in FIG. 2, the method may include:
  • the S20K third communication device receives the signal via the antenna, processes the signal, and acquires the first convergence frame, where the processing includes PHY layer processing, MAC layer processing, RLC layer processing, and PDCP layer processing, where the length of the first convergence frame is greater than Or equal to the preset value Lmin.
  • the first communications device may perform the method provided by other embodiments of the present invention to generate a first convergence frame according to the first data frame and the second data frame after acquiring the first data frame and the second data frame, and A convergence frame is processed and a signal is generated, and the signal is transmitted via an antenna to a third communication device. Therefore, correspondingly, the third communication device, as the communication peer of the first communication device, can receive the signal from the first communication device via the antenna, and can process the signal to obtain the first convergence frame. S202.
  • the third communications device acquires at least one of the first data frame and the second data frame from the data frame in the first convergence frame.
  • the third communication device may acquire at least one of the first data frame and the second data frame from the data frame in the first aggregation frame according to the preset format.
  • the third communication device may send at least one of the first data frame and the second data frame to the fourth communication device to complete communication between the second communication device and the fourth communication device.
  • the foregoing fourth communications device may be the target device provided in the first embodiment of the present invention, where the fourth communications device may include multiple devices, that is, if at least one of the first data frame and the second data frame are respectively a data frame transmitted between the second communication device and the plurality of fourth communication devices, after the third communication device acquires at least one of the first data frame and the second data frame from the first aggregation frame, the third communication device At least one of the first data frame and the second data frame may be separately transmitted to the corresponding plurality of fourth communication devices to complete communication between the second communication device and the plurality of fourth communication devices.
  • the third communication device may be a device such as a BS or an RRN
  • the fourth communication device may be a device such as a 2G/3G base station, a wireless controller, or an SGW.
  • the third communication device is a BS
  • the fourth communication device may be a wireless controller
  • the third communication device is an RRN
  • the fourth communication device may be a 2G/3G base station.
  • the first communication device is an RRN or a BS
  • the combination of the first communication device, the second communication device, the third communication device, and the fourth communication device may be any one of the following:
  • the first communication device is an RRN
  • the second communication device is a 2G/3G base station
  • the third communication device is a BS
  • the fourth communication device is a wireless controller.
  • the first communication device is a BS
  • the second communication device is a wireless controller
  • the third communication device is an RRN
  • the fourth communication device is a 2G/3G base station.
  • Embodiment 1 and Embodiment 2 of the embodiments provided by the present invention may be used in combination to complete the process of combining data frames into aggregation frames and restoring the aggregation frames into data frames.
  • Embodiments of the present invention provide a communication method by which a received signal is processed by a third communication device, and each data frame is acquired from an aggregated frame, thereby restoring the aggregated frame transmitted to the third communication device to a data frame. Therefore, the processing performance of the data frame of the wireless communication system can be improved.
  • An embodiment of the present invention provides a communication method. As shown in FIG. 3, the method may include:
  • the S30K first communication device acquires the first data frame.
  • the data frame is a protocol data unit of the data link layer, and the data frame includes three parts: a frame header, a data portion, and a frame tail.
  • the header and the end of the frame contain some necessary control information, such as synchronization information, address information, error control information, etc.;
  • the data part includes data transmitted by the network layer to the data link layer, such as IP data packets.
  • the first communications device obtains the first data frame from the second communications device, where the first data frame may be the data frame sent by the first communications device to the target device, or may be the first communications device needs to pass the first The data frame that the communication device sends to the target device, and the target device is the device that communicates with the second communication device.
  • the first communication device may be a device such as an RRN or a BS; and the second communication device may be a device such as a 2G/3G base station, a wireless controller, or an SGW.
  • the second communication device may be a 2G/3G base station; if the first communication device is a BS, the second communication device may be a wireless controller.
  • the first communication device may further be configured with a first timer, when the first communication device acquires the first data frame, the first communication device may start the first timer, and generate the first The first timer is stopped when the frame is aggregated.
  • the first communications device acquires a second data frame according to a Quality of Service (QoS) identifier of the first data frame, where the QoS identifier of the second data frame is the same as the QoS identifier of the first data frame.
  • QoS Quality of Service
  • the first communications device may identify the QoS identifier of the first data frame, and obtain a second data frame according to the QoS identifier of the first data frame, where the second data QoS identification of the frame and QoS of the first data frame
  • the identifier is the same, where the second data frame may be a data frame that is sent by the first communications device to the target device, or may be a data frame that the second communications device needs to send to the target device by using the first communications device.
  • the QoS identifier can be used to indicate performance indicators such as delay, packet loss rate, and jitter.
  • the QoS identifier may include a Differentiated Services Code Point (DSCP), a Virtual Local Area Network Priority (VR Pri), and a Virtual Local Area Network IDent ty , referred to as VLAN ID), Ethernet port or Ethernet MAC address.
  • DSCP Differentiated Services Code Point
  • VR Pri Virtual Local Area Network Priority
  • VLAN IDent ty referred to as Ethernet port or Ethernet MAC address.
  • the first communications device generates a first aggregation frame according to the first data frame and the second data frame, where the first convergence frame includes at least one of the first data frame and the second data frame, and the first convergence frame The length is greater than or equal to the preset value Lmin.
  • the first communications device may generate a first convergence frame according to the first data frame and the second data frame, where the first convergence frame may include the first At least one of a data frame and a second data frame, and the length of the first convergence frame is greater than or equal to a preset value Lmin.
  • the first communications device may compare the length of the first data frame and the length of the second data frame with Lmin, and according to the first a first aggregated frame is generated according to a preset format, and the first aggregated frame may include the first data frame, or include the first data frame and the first data frame and the first data frame and the first data frame and the first data frame and the first data frame and the first data frame Two data frames, or a first data frame, a second data frame, and at least one other data frame.
  • the embodiment of the present invention provides two preset formats, namely format 1 and format 2.
  • Format 1 is a first converged frame composed of a PDCP header, a first unit, and a second unit.
  • the first unit includes at least two subunits, and each of the at least two subunits of the first unit corresponds to a data frame included in the first aggregation frame, and each subunit includes: data corresponding to the subunit
  • the type of the frame, the length of the data frame corresponding to the subunit, where the type of the data frame corresponding to the subunit is used to indicate The data frame corresponding to the subunit is in a position in the first convergence frame, and the location may be any of the following: a starting position, an intermediate position, and an ending position;
  • the second unit includes at least two subunits, and at least two of the second units
  • Each of the two subunits corresponds to a data frame included in the first aggregation frame, and each subunit includes: a data frame corresponding to the subunit.
  • the number of subunits in the first unit is the same as the number of subunit
  • the position of the data frame corresponding to the subunit in the first aggregation frame may be a start position, an intermediate position, and an end position, and the intermediate position may be any position other than the start position and the end position. It can also be specifically divided into specific locations with different serial numbers.
  • the position of the data frame 1 in the first convergence frame may be Set to the starting position, the position of the data frame 2 in the first aggregation frame can be set to the middle position, and the position of the data frame 3 in the first aggregation frame can be set as the ending position; correspondingly, if the first unit includes four The sub-units, and the data frames corresponding to the four sub-units are data frame 1, data frame 2, data frame 3, and data frame 4, and the position of the data frame 1 in the first convergence frame can be set as the starting position, the data The position of the frame 2 in the first convergence frame may be set to the first position, the position of the data frame 3 in the first aggregation frame may be set to the second position, and the position of the data frame 4 in the first convergence frame may be set to the end. Position, at this time, the intermediate position may include the first position and the second position.
  • Format 2 is a first converged frame consisting of a P DC P header and at least one unit.
  • each of the at least one unit corresponds to a data frame included in the first aggregation frame; each unit includes: a type of the data frame corresponding to the unit, a length of the data frame corresponding to the unit, and a data frame corresponding to the unit, wherein a type of the data frame corresponding to the unit is used to indicate that a data frame corresponding to the unit is in a first aggregation frame, and the location may be any one of the following: Start position, middle position, and end position.
  • the data frames corresponding to the at least two sub-units are combined to form one data frame, and then the type and the data frame corresponding to each sub-unit are added to the combined one of the data frames.
  • the length information of the data frame corresponding to each sub-unit and the PDCP header information are added to the one data frame to which the type and the length information are added, so that the first aggregation frame is formed, that is, the first aggregation frame is a PDCP data packet; Is to add the type of the data frame corresponding to each unit and the length information of the data frame corresponding to each unit for the data frame corresponding to each unit in the at least one unit, and add the type and length All data frames of the information are combined to form one data frame, and then the PDCP header information is added to the combined one of the data frames to form a first aggregation frame.
  • the preset format needs to be a format that can be recognized between two communication devices that perform communication, that is, the preset format can be a data format agreed in advance between two communication devices that perform communication.
  • the first communication device needs to determine the sum of the length of the first data frame and the length of the second data frame, and according to the determination result, Generate an aggregate frame.
  • the method for generating the convergence frame by the first communications device according to the first data frame and the second data frame may include any one of the following:
  • the first communication device acquires at least one data frame, and generates a first aggregation frame, where the first convergence frame includes the first data frame and the second data.
  • the frame and the at least one data frame, the length of at least one data frame, the sum of L 1 and L 2 is greater than Lm in .
  • the first communication device acquires two data frames, namely data frame 1 and data frame 2, the length of the data frame 1 is a, the length of the data frame 2 is b, and the first communication device acquires the data frame. 1 and after the data frame 2, the first communication device can judge the sum of the length a of the data frame 1 and the length b of the data frame 2, if the sum of a and b is less than or equal to Lm in , the first communication device Retrieving the data frame 3, the length of the data frame 3 is c, the length of the data frame 1 by the first communication device, and the length of the data frame 2 The sum of b and the length c of the data frame 3 is judged.
  • the first communication device determines that the sum of a, b, and c is greater than Lmin, the first communication device combines the data frame 1, the data frame 2, and the data frame 3 into the first If the first communication device determines that the sum of a, b, and c is less than or equal to Lmin, the first communication device acquires the data frame 4, and the length of the data frame 4 is d. At this time, the first communication device may The sum of the length a of the data frame 1, the length b of the data frame 2, the length c of the data frame 3, and the length d of the data frame 4 is judged. At this time, if the first communication device determines a, b, c, and d And greater than Lmin, the first communication device combines data frame 1, data frame 2, data frame 3, and data frame 4 into a first convergence frame, and so on.
  • the first communication device If the sum of L1 and L2 is greater than Lmin, the first communication device generates a first convergence frame, where the first aggregation frame includes the first data frame and the second data frame.
  • the first communication device If the sum of L1 and L2 is greater than Lmax, and L2 is greater than or equal to Lmin, the first communication device generates a first aggregation frame and a second aggregation frame, where the first aggregation frame includes a first data frame, and the second convergence frame includes a second data frame, wherein Lmax is greater than Lmin.
  • the first communication device If the sum of L1 and L2 is greater than Lmax, and L2 is less than Lmin, the first communication device generates a first aggregation frame, acquires other data frames, and generates a second aggregation frame, where the first convergence frame includes the first The data frame, the second aggregation frame includes a second data frame and other data frames.
  • the method for the first communication device to generate the first convergence frame according to the first data frame and the second data frame may further include:
  • the first communication device determines that the first timer expires, and if the sum of the lengths of all the data frames acquired by the first communication device is less than or equal to Lmin from the start of the first data frame until the first timer expires, the first The communication device generates a first aggregation frame, where the first aggregation frame includes all data frames acquired by the first communication device from the first data frame to the time when the first timer expires.
  • the method for the first communications device to generate the first aggregate frame according to the first data frame and the second data frame may further include Includes:
  • the first communication device may start the second timer when the first communication device acquires the second data frame or when the first timer stops, and the first communication device stops the second timing when generating the second convergence frame. Device.
  • all the data frames included in the first aggregation frame have the same QoS identifier.
  • the QoS identifier of the first data frame is the same as the QoS identifier of the second data frame; if the first aggregation frame includes the first data frame and the second data
  • the QoS identifier of the first data frame, the QoS identifier of the second data frame, and the QoS identifier of the third data frame are the same.
  • the first communications device when the first communications device acquires multiple data frames, the first communications device needs to identify not only the acquired lengths of the multiple data frames, but also the acquired multiple data frames.
  • the QoS identifier is identified.
  • the first communications device may combine the multiple data frames into one Converged frames.
  • Lmin is any value between 20 bytes and 75376 bytes.
  • the value range of Lmin in the LTE system can be set from 20 bytes to 75376 bytes, for example, setting Lmin to any value between 64 bytes and 512 bytes, or 512 bytes to 1536 words. Any value between the sections.
  • Lmin can be set to 64 bytes, or 512 bytes, or 1536 bytes.
  • the first communications device processes the first aggregation frame and generates a signal, and sends the signal to the third communications device via the antenna, where the processing includes PDCP layer processing, RLC layer processing, MAC layer processing, and PHY layer processing. .
  • the first communication device may process the first aggregation frame and generate a signal, and send the signal to the third communication device via the antenna, where the processing may include the PDCP layer. Processing, RLC layer processing, MAC layer processing, and PHY layer processing.
  • the first communications device performs corresponding processing on the first aggregation frame according to the user plane protocol defined by the LTE system, generates a signal, and sends the signal to the third communications device.
  • the procedure of the preparation refer to the related description in S 1 03 in the first embodiment, and details are not described herein again.
  • the third communications device processes the signal and obtains the first aggregation frame, where the processing includes PHY layer processing, MAC layer processing, RLC layer processing, and PDCP layer processing, where the length of the first convergence frame is greater than or equal to the pre- Set the value Lm in.
  • the third communication device may process the signal to obtain the first aggregation frame, and the process may include PHY layer processing, MAC layer processing, RLC layer processing,
  • the length of the first convergence frame is greater than or equal to a preset value Lm in.
  • the third communications device acquires at least one of the first data frame and the second data frame from the data frame in the first convergence frame.
  • the third communication device may acquire at least one of the first data frame and the second data frame from the data frame in the first aggregation frame according to the preset format, so that The third communication device can transmit at least one of the first data frame and the second data frame to the fourth communication device to complete communication between the second communication device and the fourth communication device.
  • the foregoing target device may be a fourth communications device, where the fourth communications device may include multiple devices, that is, if at least one of the first data frame and the second data frame is a second communications device and multiple a data frame transmitted between the fourth communication device, after the third communication device acquires at least one of the first data frame and the second data frame from the first aggregation frame, the third communication device may At least one of the second data frames is transmitted to the corresponding plurality of fourth communication devices, respectively, to complete communication between the second communication device and the plurality of fourth communication devices.
  • the fourth communications device may include multiple devices, that is, if at least one of the first data frame and the second data frame is a second communications device and multiple a data frame transmitted between the fourth communication device, after the third communication device acquires at least one of the first data frame and the second data frame from the first aggregation frame, the third communication device may At least one of the second data frames is transmitted to the corresponding plurality of fourth communication devices, respectively, to complete communication between the second communication device and the plurality of fourth
  • the third communication device may be a device such as a B S or an RRN
  • the fourth communication device may be a 2 G / 3G base station, a wireless controller, or a SWG device.
  • the third communication device is B S
  • the fourth communication device may be a wireless controller
  • the third communication device is an RRN
  • the fourth communication device may be a 2 G / 3 G base station.
  • the combination of the first communication device, the second communication device, the third communication device, and the fourth communication device may be any one of the following: (1) If the first communication device is an RRN, the second communication device is a 2G/3G base station, the third communication device is a BS, and the fourth communication device is a wireless controller.
  • the first communication device is a BS
  • the second communication device is a wireless controller
  • the third communication device is an RRN
  • the fourth communication device is a 2G/3G base station.
  • the third communication device acquires the first aggregation frame
  • the method for obtaining each data frame from the data frame in the first aggregation frame may include any one of the following:
  • the third communication device determines a sub-unit in the second unit corresponding to each of the sub-units in the first unit, and acquires a data frame corresponding to the sub-unit in the second unit.
  • the third communication device acquires, from the first unit of the first convergence frame, a type of the data frame corresponding to the Nth subunit and a length of the data frame corresponding to the Nth subunit, where, and the Nth
  • the type of the data frame corresponding to the subunit is used to indicate that the Nth data frame corresponding to the Nth subunit is in the first converged frame, and according to the type and the data frame corresponding to the Nth subunit
  • the length of the data frame corresponding to the Nth subunit acquires a data frame corresponding to the Nth subunit from the second unit of the first converged frame.
  • the third communication device separately acquires data frames corresponding to each of the at least one unit.
  • the third communication device acquires, from the first convergence frame, a type of the data frame corresponding to the Nth unit and a length of the data frame corresponding to the Nth unit, where the Nth unit corresponds to the Nth unit
  • the type of the data frame is used to indicate that the Nth data frame corresponding to the Nth unit is in the first aggregation frame, and according to the type of the data frame corresponding to the Nth unit and the Nth unit
  • the length of the corresponding data frame, the data frame corresponding to the Nth unit is obtained from the first aggregation frame.
  • the third communication device will also obtain each data frame from the first aggregation frame using format 1.
  • the third communication device will also enable Obtaining each data frame from the first aggregation frame by using the format 2, that is, the first communication device and the third communication device need to generate the first aggregation frame in the same format or obtain each data frame from the first aggregation frame to avoid The first communication device or the third communication device cannot recognize the signal transmitted by the other party.
  • the communication method provided by the embodiment of the present invention combines data frames into aggregate frames for transmission, thereby greatly improving the processing performance of the wireless communication system for the data frame and reducing the data frame in the case of small delay.
  • the pressure on wireless communication systems is greatly improving the processing performance of the wireless communication system for the data frame and reducing the data frame in the case of small delay.
  • the protocol layers defined by the different wireless communication systems are different. Therefore, if the communication method provided by the embodiment of the present invention is applied to each of the foregoing systems, it can be implemented in each system and in the LTE system. The communication method is completed in a protocol layer of the same function of the device of the communication method.
  • An embodiment of the present invention provides a communication method, by using a first communication device to determine a length of an acquired data frame, and generating an aggregation frame according to the determination result, and generating the aggregation frame and transmitting the signal to the third communication device,
  • the third communication device can process the received signal and acquire each data frame from the aggregated frame, which not only increases the length of the aggregated frame, but also performs subsequent processing and transmission for the longer aggregated frame, and can obtain the aggregated frame from the aggregated frame.
  • Each data frame is restored, thereby improving the processing performance of the data frame of the wireless communication system.
  • the embodiment of the present invention further provides an example of the execution process of the first communication device to generate an aggregation frame according to the first data frame and the second data frame, which is applicable to the communication method provided in the foregoing embodiment, where the process may be specifically Includes:
  • S402. Determine whether the sum of L1 and L2 is less than or equal to a preset value Lmin.
  • S403 If the sum of L1 and L2 is less than or equal to Lmin, S403 is performed; if the sum of L1 and L2 is greater than Lmin, S406 is performed. S403. Acquire at least one data frame.
  • L0 and the length L3 of the at least one data frame are greater than Lmin, where LQ is a sum of lengths of all data frames acquired before acquiring the at least one data frame.
  • S403 is performed; if the sum of L0 and L3 is greater than Lmin, S405 is performed.
  • S405 Generate a first convergence frame by using the first data frame, the second data frame, and the at least one data frame.
  • S406. Determine whether the sum of L1 and L2 is greater than Lmax, where Lmax is greater than Lmin. If the sum of L1 and L2 is less than or equal to Lmax, then S407 is performed; if the sum of L1 and L2 is greater than Lmax, S408 is performed.
  • S409 Generate a first aggregation frame by using the first data frame.
  • the fourth embodiment is a further description of the process of generating a convergence frame by the first communication device in the third embodiment, and the third embodiment and the fourth embodiment may be used in combination, so that the data frames can be combined into an aggregation frame and the convergence frame can be combined.
  • the process of restoring to a data frame is described in detail.
  • the embodiment of the present invention provides a communication method, by using a first communication device to determine the length of the acquired data frame, and generating an aggregation frame according to the determination result, thereby increasing the length of the aggregation frame, and implementing a longer convergence frame. Subsequent processing and transmission, therefore, can improve the processing performance of the data frame of the wireless communication system.
  • an embodiment of the present invention provides a communication device, which can be used to perform the method provided by the foregoing embodiment.
  • the communication device can include a transmitter 100, a receiver 101, a first processor 102, a second processor 103, and a memory 104, wherein the transmitter 100 can be used to transmit communication data to other communication devices, in particular, if the communication device To communicate with other communication devices, the transmitter 100 can transmit communication data to other communication devices.
  • the receiver 101 can be used to receive communication data from other communication devices. In particular, if the communication device is to communicate with other communication devices, the receiver 101 can receive communication data from other communication devices.
  • the first processor 102 and the second processor 103 are control and processing centers of the communication device, and control the communication device by running a software program stored in the memory 104 and calling and processing data stored in the memory 104. Transceiver data, and implement other functions of the communication device.
  • the memory 104 can be used to store software programs and data such that the first processor 102 and the second processor 103 can implement the transceiving data and other functions of the communication device by running a software program stored in the memory 104.
  • the memory 104 is configured to store a preset value Lmin; the first processor 102 is configured to sequentially acquire the first data frame and the second data frame, and according to the first data frame and the second data Generating a first aggregation frame, and transmitting the first aggregation frame to the second processor 103, where the first aggregation frame includes at least one of the first data frame and the second data frame One, and the length of the first aggregation frame is greater than or equal to Lmin; the second processor 103 is configured to receive the first aggregation frame, process the first aggregation frame, generate a signal, and send the signal through an antenna.
  • the signal, the processing includes PDCP layer processing, RLC layer processing, MAC layer processing, and PHY a layer processing;
  • the memory 104 is configured to store a software code of the first data frame, a software code of the second data frame, the Lm in, and a software program that controls the communication device to complete the foregoing steps, where A processor 102 and the second processor 103 perform the above steps by executing the software program and calling the software code.
  • the first aggregation frame includes a PDCP header, a first unit, and a second unit; the first unit includes at least two subunits, and each of the at least two subunits in the first unit Corresponding to the data frame included in the first aggregation frame, the sub-unit includes: a type of a data frame corresponding to the sub-unit, and a length of a data frame corresponding to the sub-unit, where The type of the data frame corresponding to the subunit is used to indicate that the data frame corresponding to the subunit is in a position in the first converged frame, where the location is any one of the following: a starting position, a middle Position and end position; the second unit includes at least two subunits, each of the at least two subunits of the second unit corresponding to a data frame included in the first aggregation frame, each of The subunits include: a data frame corresponding to the subunit.
  • the number of subunits in the first unit is the same as the number of subunits in the second unit, and the Nth subunit in the first unit and the Nth subunit in the second unit
  • the unit corresponds to the same data frame, where N takes a positive integer.
  • the first aggregation frame includes a PDCP header and at least one unit, and each of the at least one unit corresponds to a data frame included in the first aggregation frame; each unit includes : a type of a data frame corresponding to the unit, a length of a data frame corresponding to the unit, and a data frame corresponding to the unit; wherein a type of a data frame corresponding to the unit is used for A data frame corresponding to the unit is indicated to be in a position in the first aggregation frame, the position being any one of: a start position, an intermediate position, and an end position.
  • the length of the first data frame is L 1
  • the length of the second data frame is L 2
  • the first processor 102 is configured to use, according to the first data frame and the second
  • the data frame generation first aggregation frame includes any one of the following: the first processor 102 is configured to: if the sum of L 1 and L 2 is less than or equal to Lm in , acquire at least one data frame, and generate the a convergence frame, where the first aggregation frame includes the first data frame, Describe a second data frame and the at least one data frame, a length of the at least one data frame,
  • the first aggregation unit is configured to: if the sum of L1 and L2 is greater than Lmin, generate the first aggregation frame, where the first aggregation frame includes the first data a frame and the second data frame; the first processor 102 is configured to: if the sum of L1 and L2 is greater than Lmax, and L2 is greater than or equal to Lmin, generate the first aggregation frame, the first convergence frame Include the first data frame, where Lmax is greater than Lmin; and, the first processor 102 is configured to: generate the first convergence frame if a sum of L1 and L2 is greater than Lmax, and L2 is less than Lmin
  • the first aggregation frame includes the first data frame.
  • the communications device further includes: a first timer 105, where the first timer 105 is started when the first processor 102 acquires the first data frame, where The first processor 102 stops when the first aggregation frame is generated.
  • the generating, by the first processor 102, the first aggregation frame according to the first data frame and the second data frame includes: the first processor 102 is configured to: determine the first timing The timer 105 times out, and the sum of the lengths of all the data frames acquired by the first processor 102 from the first data frame to the timeout of the first timer 105 is less than or equal to Lmin, and the first The aggregation frame includes: the first aggregation frame includes: all data frames acquired by the first processor 102 from the first data frame to when the first timer 105 times out.
  • the first processor 102 is further configured to: generate a second aggregation frame, and send the second convergence frame to the first The second processor 103, wherein the second aggregation frame includes the second data frame; or, if the sum of L1 and L2 is greater than Lmax, and L2 is less than Lmin, the first processor 102 is further configured to: generate After the first aggregation frame, acquiring another data frame, and generating the second aggregation frame, and sending the second aggregation frame to the second processor 103, where the second convergence frame includes The second data frame and the other data frame are described.
  • the communications device further includes: a second timer 106, when the second timer 106 acquires the second data frame or at the first timing
  • the device 105 starts when it stops, and stops when the first processor 102 generates the second aggregation frame.
  • the QoS identifiers of the data frames included in the first aggregation frame are the same.
  • the first processor 102 is configured to sequentially acquire the first data frame and the second data frame, where the first processor 102 is configured to acquire the first data frame first, and according to the first And obtaining, by the QoS identifier of the data frame, the second data frame, where the QoS identifier of the second data frame is the same as the QoS identifier of the first data frame.
  • the Lmin is any value between 20 bytes and 75376 bytes.
  • the communication device further includes an input device 107, configured to receive Lmin input from outside the communication device.
  • the first processor 102 and the second processor 103 are different CPUs in the communication device, or the first processor 102 and the second processor 103 are the communication. The same CPU in the device.
  • the communication device may be a base station or an RRN.
  • the embodiment of the present invention provides a communication device, which determines the length of the acquired data frame, and generates an aggregation frame according to the determination result, thereby increasing the length of the aggregation frame, and implementing the convergence for the longer aggregation frame. Processing and transmission, therefore, can improve the processing performance of the data frame of the wireless communication system.
  • an embodiment of the present invention provides a communication device, which may include a transmitter 200, a receiver 201, a third processor 202, a fourth processor 203, and a memory 204, where
  • the transmitter 200 can be used to transmit communication data to other communication devices. In particular, if the communication device is to communicate with other communication devices, the transmitter 200 can transmit communication data to other communication devices.
  • the receiver 201 can be used to receive communication data from other communication devices. In particular, if the communication device is to communicate with other communication devices, the receiver 201 can receive communication data from other communication devices.
  • the third processor 202 and the fourth processor 203 are control and processing centers of the communication device, by running a software program stored in the memory 204, and calling and processing The data stored in the memory 206, thereby controlling the communication device to transmit and receive data, and to implement other functions of the communication device.
  • the memory 206 can be used to store software programs and data such that the third processor 208 and the fourth processor 203 can implement the data transmission and reception of the communication device by running a software program stored in the memory 024. .
  • the third processor 202 is configured to: receive a signal via an antenna, process the signal, acquire a first aggregation frame, and send the first aggregation frame to the fourth processor 2 03
  • the processing includes a PHY layer processing, a MAC layer processing, an RLC layer processing, and a PDCP layer processing, where the length of the first convergence frame is greater than or equal to a preset value Lm in ;
  • the fourth processor 203 is used for Receiving the first aggregation frame, and acquiring at least one of the first data frame and the second data frame from the data frame in the first convergence frame;
  • the memory 206 may be configured to store the first aggregation frame
  • the software code and the software program for controlling the communication device to complete the above steps, the third processor 202 and the fourth processor 203 perform the above steps by executing the software program and calling the software code.
  • the first aggregation frame includes a first unit and a second unit; the first unit includes at least two subunits, and each of the at least two subunits in the first unit and the first unit a data frame included in a convergence frame - correspondingly, each of the subunits includes: a type of a data frame corresponding to the subunit, a length of a data frame corresponding to the subunit, wherein The type of the data frame corresponding to the unit is used to indicate that the data frame corresponding to the subunit is in the first converged frame, and the position is any one of the following: a starting position, an intermediate position, and an ending position.
  • the second unit includes at least two sub-units, each of the at least two sub-units of the second unit corresponding to a data frame included in the first aggregation frame, where each sub-unit includes: a data frame corresponding to the subunit;
  • the fourth processor 203 is specifically configured to: determine, in the second unit corresponding to each subunit of the first unit respectively Unit, the second unit and acquires the corresponding data sub-unit frame.
  • the number of subunits in the first unit and the subunits in the second unit is the same, and the Nth subunit in the first unit and the Nth subunit in the second unit correspond to the same data frame, where N takes a positive integer.
  • the first aggregation frame includes at least one unit, each unit of the at least one unit corresponding to a data frame included in the first aggregation frame, where each unit includes: a type of a data frame corresponding to the unit, a length of the data frame corresponding to the unit, and a data frame corresponding to the unit; wherein, a type of the data frame corresponding to the unit is used to indicate The data frame corresponding to the unit is located in the first aggregation frame, and the location is any one of the following: a starting position, an intermediate position, and an ending position; the fourth processor 203 is specifically configured to: separately acquire A data frame corresponding to each of the at least one unit.
  • the QoS identifiers of the data frames included in the first aggregation frame are the same.
  • the Lmin is any value between 20 bytes and 75376 bytes.
  • the third processor 202 and the fourth processor 203 are different CPUs in the communication device, or the third processor 202 and the fourth processor 203 are the communication. The same CPU in the device.
  • the communication device may be a base station or an RRN.
  • Embodiments of the present invention provide a communication device that processes a received signal and acquires each data frame from the aggregated frame, thereby restoring the aggregated frame transmitted to the communication device to a data frame, and thus, It can improve the processing performance of data frames in wireless communication systems.
  • an embodiment of the present invention provides a communication device 1, and the communication device 1 may include:
  • the obtaining module 108 is configured to sequentially acquire the first data frame and the second data frame.
  • the processing module 109 is configured to generate, according to the first data frame and the second data frame acquired by the acquiring module 108, a first aggregation frame, where the first aggregation frame includes the first data frame and the first At least one of the two data frames, and the length of the first convergence frame is greater than or equal to a preset value Lmin.
  • the processing module 109 is further configured to process and generate the first aggregation frame And transmitting the signal via an antenna, the processing including PDCP layer processing, RLC layer processing, MAC layer processing, and PHY layer processing.
  • the first aggregation frame generated by the processing module 109 includes a PDCP header, a first unit, and a second unit; the first unit includes at least two subunits, and at least two of the first units Each of the subunits corresponds to a data frame included in the first aggregation frame, and each of the subunits includes: a type of a data frame corresponding to the subunit, corresponding to the subunit a length of the data frame, where a type of the data frame corresponding to the subunit is used to indicate that a data frame corresponding to the subunit is in a position in the first convergence frame, where the location is any Item: a start position, an intermediate position, and an end position; the second unit includes at least two subunits, each of the at least two subunits of the second unit and the data frame included in the first convergence frame - Correspondingly, each of the subunits includes: a data frame corresponding to the subunit.
  • the number of subunits in the first unit is the same as the number of subunits in the second unit, and the Nth subunit in the first unit and the Nth subunit in the second unit
  • the unit corresponds to the same data frame, where N takes a positive integer.
  • the first aggregation frame generated by the processing module 109 includes a PDCP header and at least one unit, and each of the at least one unit corresponds to a data frame included in the first aggregation frame.
  • Each of the units includes: a type of a data frame corresponding to the unit, a length of a data frame corresponding to the unit, and a data frame corresponding to the unit, wherein the unit corresponds to the unit.
  • the type of the data frame is used to indicate that the data frame corresponding to the unit is in the first converged frame, and the position is any one of the following: a start position, an intermediate position, and an end position.
  • the length of the first data frame is L1, and the length of the second data frame is L2, and the acquiring module 108 is specifically configured to acquire at least if the sum of L1 and L2 is less than or equal to Lmin.
  • a data frame the processing module 109 is specifically configured to generate the first aggregation frame, where the first aggregation frame includes the first data frame and the second data frame acquired by the acquiring module 108 And the at least one data frame, the length of the at least one data frame, a sum of L1 and L2 being greater than Lmin; the processing module 109, Specifically, if the sum of LI and L2 is greater than Lmin, the first aggregation frame is generated, where the first aggregation frame includes the first data frame and the second data frame acquired by the obtaining module 108.
  • the processing module 109 is specifically configured to generate the first aggregation frame if the sum of L1 and L2 is greater than Lmax, and L2 is greater than or equal to Lmin, where the first aggregation frame includes the location acquired by the acquiring module 108.
  • the processing module 109 is further configured to: when the acquiring module 108 acquires the first data frame, start a first timer, and stop the first timing when generating the first aggregation frame Device.
  • the communications device further includes a determining module 110, where the determining module 110 is configured to determine that the first timer expires; and the processing module 109 is specifically configured to: The first data frame is generated, and when the determining module 110 determines that the sum of the lengths of all the data frames acquired by the acquiring module 108 is less than or equal to Lmin, the first aggregation frame is generated.
  • the first aggregation frame includes: all data frames acquired from the first data frame to when the first timer expires.
  • the processing module 109 is further configured to generate a second aggregation frame if the sum of L1 and L2 is greater than Lmax, and L2 is greater than or equal to Lmin, where the second aggregation frame includes the acquiring module 108.
  • the processing module 109 is further configured to: when the acquiring module 108 acquires the second data frame, or when the first timer stops, start a second timer, and generate the The second timer is stopped when the second convergence frame.
  • the number of the first aggregation frame generated by the processing module 109 is included
  • the QoS identifier of the frame is the same.
  • the acquiring module 108 is configured to acquire the first data frame, and obtain the second data frame according to the QoS identifier of the first data frame, where the second data frame is The QoS identity is the same as the QoS identity of the first data frame.
  • the Lmin is any value between 20 bytes and 75376 bytes.
  • the communication device 1 may be a base station or an RRN.
  • the embodiment of the present invention provides a communication device, which determines the length of the acquired data frame, and generates an aggregation frame according to the determination result, thereby increasing the length of the aggregation frame, and implementing the convergence for the longer aggregation frame. Processing and transmission, therefore, can improve the processing performance of the data frame of the wireless communication system.
  • an embodiment of the present invention further provides a communication device 2, which may include:
  • the processing module 205 is configured to receive a signal by using an antenna, process the signal, and acquire a first aggregation frame, where the processing includes PHY layer processing, MAC layer processing, RLC layer processing, and PDCP layer processing, where the first The length of the convergence frame is greater than or equal to the preset value Lmin.
  • the obtaining module 206 is configured to acquire at least one of the first data frame and the second data frame for the data frame in the first aggregation frame acquired by the processing module 205.
  • the first aggregation frame acquired by the processing module 205 includes a first unit and a second unit; the first unit includes at least two subunits, and at least two of the first units Each subunit corresponds to a data frame included in the first aggregation frame, and each of the subunits includes: a type of a data frame corresponding to the subunit, and a length of a data frame corresponding to the subunit The type of the data frame corresponding to the subunit is used to indicate that a data frame corresponding to the subunit is in a position in the first converged frame, where the location is any one of the following: a location, an intermediate location, and an end location; the second unit includes at least two subunits, each of the at least two subunits of the second unit corresponding to a data frame included in the first aggregation frame Each of the subunits includes: a data frame corresponding to the subunit; the processing module 205 is specifically configured to determine each of the first units The subunits of the second unit respectively corresponding to
  • the number of subunits in the first unit is the same as the number of subunits in the second unit, and the Nth subunit in the first unit and the Nth subunit in the second unit
  • the unit corresponds to the same data frame, where N takes a positive integer.
  • the first aggregation frame acquired by the processing module 205 includes at least one unit, and each of the at least one unit corresponds to a data frame included in the first aggregation frame.
  • Each unit includes: a type of a data frame corresponding to the unit, a length of a data frame corresponding to the unit, and a data frame corresponding to the unit; wherein, a data frame corresponding to the unit
  • the type is used to indicate that the data frame corresponding to the unit is in the first aggregation frame, and the location is any one of the following: a starting position, an intermediate position, and an ending position; Specifically, the data frame corresponding to each unit in the at least one unit is separately acquired.
  • the Q o S identifier of the data frame included in the first aggregation frame acquired by the processing module 205 is the same.
  • the Lm i n is any value between 20 bytes and 75 37 6 bytes.
  • the communication device 2 may be a base station or an RRN.
  • Embodiments of the present invention provide a communication device that processes a received signal and acquires each data frame from the aggregated frame, thereby restoring the aggregated frame transmitted to the communication device to a data frame, and thus, It can improve the processing performance of data frames in wireless communication systems.
  • the disclosed system, apparatus, and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the modules or units is only a logical function division.
  • there may be another division manner for example, multiple units or components may be used. Combined or can be integrated into another system, or some features can be ignored, or not executed.
  • the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be electrical, mechanical or otherwise.
  • the units described as separate components may or may not be physically separated, and the components displayed as the units may or may not be physical units, and may be located in one place or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the embodiment of the present embodiment.
  • each functional unit in each embodiment of the present invention 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.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may contribute to the prior art or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium.
  • the instructions include a plurality of instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor to perform all or part of the steps of the methods of the various embodiments of the present invention.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a Read-Only Memory (referred to as a Read), a Random Access Memory (RAM), a disk or an optical disk, and the like.

Landscapes

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

Abstract

本发明的实施例提供一种通信方法及设备,涉及通信领域,能够提升无线通信系统对数据帧的处理性能。该方法可以包括:顺序获取第一数据帧和第二数据帧;根据第一数据帧和第二数据帧生成第一汇聚帧,其中,第一汇聚帧包括第一数据帧和第二数据帧中的至少一个,并且第一汇聚帧的长度大于或等于预设值Lmin;对第一汇聚帧进行处理并生成信号,并经由天线发送信号,其中,该处理包括PDCP层处理、RLC层处理、MAC层处理和PHY层处理。

Description

一种通信方法及设备 技术领域
本发明涉及通信领域, 尤其涉及一种通信方法及设备。
背景技术
现有技术中 , 第三代合作伙伴计划 ( The 3rd Generation Partnership Project , 简称为 3GPP ) 定义的 LTE 系统对数据帧进 行处理过程包括, 分组数据汇聚协议 ( Packet Data Convergence Protocol, 简称为 PDCP ) 层为接收到的数据帧加上 PDCP 头信息并 发送至无线链路控制 ( Radio Link Control , 简称为 RLC ) 层, RLC 层再根据媒体接入控制 ( Medium Access Control , 简称为 MAC ) 层 的指示对 PDCP层处理过的数据帧进行重组、 分割和重排序, 以及通 过物理 ( Physical, 简称为 PHY ) 层将数据帧发送出去。
目前, 为解决移动基站或无线保真 ( Wireless Fidelity, 简称 为 WiFi ) 热点的传输问题, 无线回传 ( Backhual ) 系统的使用越来 越广泛。 一种基于分时长期演进 ( Time Divis ion Long Term Evolution, 简称为 TD-LTE ) 的无线回传系统可以包括由无线回传 远端节点( Remote eRelay Node, 简称为 RRN )和基站( Ba s e S t a t i on , 简称为 BS)。 该无线回传系统可将小基站 ( small cell ) 等设备与 无线控制器或核心网等设备连接, 以便于小基站等设备与无线控制 器或核心网等设备之间进行数据传输, 具体的, RRN 可以与小基站 等设备连接, BS可以与无线控制器或核心网等设备连接。
目前的无线通信网络中, 对于由小基站通过无线回传系统发送 至无线控制器或核心网的上行数据, RRN 首先将接收到的小基站发 送的有线的数据帧经过上述 LTE 系统的 PDCP层、 RLC层、 MAC层和 PHY 层依次进行处理后转换成无线的数据帧, 该无线的数据帧传输 至 BS 后, BS 再将该无线的数据帧转换成有线的数据帧并发送至无 线控制器或核心网。 然而, 在上述 Backhual 系统上述数据帧的传输 过程中, 上述数据帧的处理性能较低。
发明内容
本发明的实施例提供一种通信方法及设备, 用以提升无线通信 系统对数据帧的处理性能。
为达到上述目的, 本发明的实施例釆用如下技术方案: 第一方面, 本发明实施例提供一种通信设备, 包括存储器、 第 一处理器和第二处理器;
所述存储器用于: 存储预设值 Lm i n ;
所述第一处理器用于: 顺序获取第一数据帧和第二数据帧, 根 据所述第一数据帧和所述第二数据帧生成第一汇聚帧, 并将所述第 一汇聚帧发送给所述第二处理器, 其中, 所述第一汇聚帧包括所述 第一数据帧和所述第二数据帧中的至少一个, 并且所述第一汇聚帧 的长度大于或等于 Lm i n ;
所述第二处理器用于: 接收所述第一汇聚帧, 针对所述第一汇 聚帧进行处理并生成信号, 并经由天线发送所述信号, 所述处理包 括分组数据汇聚协议 PDCP层处理、 无线链路控制 RLC层处理、 媒体 接入控制 MAC层处理和物理 P HY层处理。
在第一方面的第一种可能的实现方式中, 所述第一汇聚帧包括 PDCP头部、 第一单元和第二单元;
所述第一单元包括至少两个子单元, 所述第一单元中的至少两 个子单元中的每个子单元与所述第一汇聚帧包括的数据帧——对 应, 所述每个子单元包括: 与所述子单元相对应的数据帧的类型、 与所述子单元相对应的数据帧的长度, 其中, 与所述子单元相对应 的数据帧的类型用于指示与所述子单元相对应的数据帧处于所述第 一汇聚帧中的位置, 所述位置为以下任一项: 起始位置、 中间位置 和结束位置;
所述第二单元包括至少两个子单元, 所述第二单元中的至少两 个子单元中的每个子单元与所述第一汇聚帧包括的数据帧——对 应, 所述每个子单元包括: 与所述子单元相对应的数据帧。 结合第一方面的第一种可能的实现方式, 在第二种可能的实现 方式中, 所述第一单元中的子单元数量和所述第二单元中的子单元 数量相同, 且所述第一单元中的第 N 个子单元和所述第二单元中的 第 N个子单元对应于同一个数据帧, 其中, N取正整数。
在第一方面的第三种可能的实现方式中, 所述第一汇聚帧包括 PDCP头部和至少一个单元, 所述至少一个单元中的每个单元与所述 第一汇聚帧包括的数据帧——对应;
所述每个单元包括: 与所述单元相对应的数据帧的类型、 与所 述单元相对应的数据帧的长度和与所述单元相对应的数据帧; 其中, 与所述单元相对应的数据帧的类型用于指示与所述单元相对应的数 据帧处于所述第一汇聚帧中的位置, 所述位置为以下任一项: 起始 位置、 中间位置和结束位置。
结合前述的第一方面或第一方面的第一种可能的实现方式至第 三种可能的实现方式中的任一种实现方式, 在第四种可能的实现方 式中, 所述第一数据帧的长度为 L1, 所述第二数据帧的长度为 L2, 所述第一处理器用于根据所述第一数据帧和所述第二数据帧生成第 一汇聚帧包括以下任一项:
所述第一处理器用于: 若 L1和 L2之和小于或等于 Lmin, 则获 取至少一个数据帧, 并生成所述第一汇聚帧, 其中, 所述第一汇聚 帧包括所述第一数据帧、 所述第二数据帧和所述至少一个数据帧, 所述至少一个数据帧的长度、 L1和 L2之和大于 Lmin;
所述第一处理器用于: 若 L1和 L2之和大于 Lmin, 则生成所述 第一汇聚帧, 其中, 所述第一汇聚帧包括所述第一数据帧和所述第 二数据帧;
所述第一处理器用于: 若 L1 和 L2之和大于 Lmax, 且 L2 大于 或等于 Lmin, 则生成所述第一汇聚帧, 所述第一汇聚帧包括所述第 一数据帧, 其中, Lmax大于 Lmin; 和,
所述第一处理器用于: 若 L1 和 L2之和大于 Lmax, 且 L2 小于 Lmin, 则生成所述第一汇聚帧, 其中, 所述第一汇聚帧包括所述第 一数据帧。
结合前述的第一方面或第一方面的第一种可能的实现方式至第 四种可能的实现方式中的任一种实现方式, 在第五种可能的实现方 式中, 所述通信设备还包括: 第一定时器, 所述第一定时器在所述 第一处理器获取所述第一数据帧时启动, 在所述第一处理器生成所 述第一汇聚帧时停止。
结合第一方面的第五种可能的实现方式, 在第六种可能的实现 方式中, 所述第一处理器用于根据所述第一数据帧和所述第二数据 帧生成第一汇聚帧包括:
所述第一处理器用于: 确定所述第一定时器超时, 且所述处理 器从所述第一数据帧开始至所述第一定时器超时时获取到的所有数 据帧的长度之和小于或等于 Lmin, 生成所述第一汇聚帧, 其中, 所 述第一汇聚帧包括: 所述处理器从所述第一数据帧开始至所述第一 定时器超时时获取到的所有数据帧。
结合第一方面的第四种可能的实现方式或第五种可能的实现方 式, 在第七种可能的实现方式中,
若 L1和 L2之和大于 Lmax, 且 L2 大于或等于 Lmin, 所述第一 处理器还用于: 生成第二汇聚帧, 以及将所述第二汇聚帧发送给所 述第二处理器, 其中, 所述第二汇聚帧包括所述第二数据帧; 或者, 若 L1和 L2之和大于 Lmax, 且 L2 小于 Lmin, 所述第一处理器 还用于: 在生成所述第一汇聚帧之后, 获取其他数据帧, 并生成所 述第二汇聚帧, 以及将所述第二汇聚帧发送给所述第二处理器, 其 中, 所述第二汇聚帧包括所述第二数据帧和所述其他数据帧。
结合第一方面的第七种可能的实现方式, 在第八种可能的实现 方式中, 所述通信设备还包括: 第二定时器, 所述第二定时器在获 取所述第二数据帧时或者在所述第一定时器停止时启动, 在所述第 一处理器生成所述第二汇聚帧时停止。
结合前述的第一方面或第一方面的第一种可能的实现方式至第 八种可能的实现方式中的任一种实现方式, 在第九种可能的实现方 式中, 所述第一汇聚帧所包括的数据帧的服务质量 Qo S标识相同。 结合前述的第一方面或第一方面的第一种可能的实现方式至第 八种可能的实现方式中的任一种实现方式, 在第十种可能的实现方 式中, 所述第一处理器用于顺序获取第一数据帧和第二数据帧包括: 所述第一处理器用于先获取所述第一数据帧, 并根据所述第一 数据帧的服务质量 Q o S 标识, 获取所述第二数据帧, 其中, 所述第 二数据帧的 Q o S标识与所述第一数据帧的 Qo S标识相同。
结合前述的第一方面或第一方面的第一种可能的实现方式至第 十种可能的实现方式中的任一种实现方式, 在第十一种可能的实现 方式中,
所述 Lm i n为 2 0字节至 75 376字节之间的任一值。
结合前述的第一方面或第一方面的第一种可能的实现方式至第 十种可能的实现方式中的任一种实现方式, 在第十二种可能的实现 方式中, 所述通信设备还包括:
输入装置, 用于接收从所述通信设备外部输入的 Lm i n。
结合前述的第一方面或第一方面的第一种可能的实现方式至第 十二种可能的实现方式中的任一种实现方式, 在第十三种可能的实 现方式中, 所述第一处理器和所述第二处理器为所述通信设备中的 不同 CPU , 或者, 所述第一处理器和所述第二处理器为所述通信设 备中的同一 CPU。
结合前述的第一方面或第一方面的第一种可能的实现方式至第 十三种可能的实现方式中的任一种实现方式, 在第十四种可能的实 现方式中,
所述通信设备为基站或无线回传远端节点 RRN。
第二方面, 本发明实施例提供一种通信方法, 包括:
顺序获取第一数据帧和第二数据帧;
根据所述第一数据帧和所述第二数据帧生成第一汇聚帧, 所述 第一汇聚帧包括所述第一数据帧和所述第二数据帧中的至少一个, 并且所述第一汇聚帧的长度大于或等于预设值 Lm i n ; 对所述第一汇聚帧进行处理并生成信号, 并经由天线发送所述 信号, 所述处理包括分组数据汇聚协议 P DC P层处理、 无线链路控制 RL C层处理、 媒体接入控制 MA C层处理和物理 P H Y层处理。
在第二方面的第一种可能的实现方式中, 所述第一汇聚帧包括 P DC P头部、 第一单元和第二单元;
所述第一单元包括至少两个子单元, 所述第一单元中的至少两 个子单元中的每个子单元与所述第一汇聚帧包括的数据帧——对 应, 所述每个子单元包括: 与所述子单元相对应的数据帧的类型、 与所述子单元相对应的数据帧的长度, 其中, 与所述子单元相对应 的数据帧的类型用于指示与所述子单元相对应的数据帧处于所述第 一汇聚帧中的位置, 所述位置为以下任一项: 起始位置、 中间位置 和结束位置;
所述第二单元包括至少两个子单元, 所述第二单元中的至少两 个子单元中的每个子单元与所述第一汇聚帧包括的数据帧——对 应, 所述每个子单元包括: 与所述子单元相对应的数据帧。
结合第二方面的第一种可能的实现方式, 在第二种可能的实现 方式中, 所述第一单元中的子单元数量和所述第二单元中的子单元 数量相同, 且所述第一单元中的第 N 个子单元和所述第二单元中的 第 N个子单元对应于同一个数据帧, 其中, N取正整数。
在第二方面的第三种可能的实现方式中, 所述第一汇聚帧包括 P DC P头部和至少一个单元, 所述至少一个单元中的每个单元与所述 第一汇聚帧包括的数据帧——对应;
所述每个单元包括: 与所述单元相对应的数据帧的类型、 与所 述单元相对应的数据帧的长度和与所述单元相对应的数据帧, 其中, 与所述单元相对应的数据帧的类型用于指示与所述单元相对应的数 据帧处于所述第一汇聚帧中的位置, 所述位置为以下任一项: 起始 位置、 中间位置和结束位置。
结合前述的第二方面或第二方面的第一种可能的实现方式至第 三种可能的实现方式中的任一种实现方式, 在第四种可能的实现方 式中, 所述第一数据帧的长度为 LI, 所述第二数据帧的长度为 L2, 所述根据所述第一数据帧和所述第二数据帧生成第一汇聚帧的方法 包括以下任一项:
若 L1和 L2之和小于或等于 Lmin, 则获取至少一个数据帧, 并 生成所述第一汇聚帧, 其中, 所述第一汇聚帧包括所述第一数据帧、 所述第二数据帧和所述至少一个数据帧, 所述至少一个数据帧的长 度、 L1和 L2之和大于 Lmin;
若 L1和 L2之和大于 Lmin, 则生成所述第一汇聚帧, 其中, 所 述第一汇聚帧包括所述第一数据帧和所述第二数据帧;
若 L1和 L2之和大于 Lmax, 且 L2 大于或等于 Lmin, 则生成所 述第一汇聚帧, 所述第一汇聚帧包括所述第一数据帧, 其中, Lmax 大于 Lmin; 和,
若 L1和 L2之和大于 Lmax, 且 L2 小于 Lmin, 则生成所述第一 汇聚帧, 其中, 所述第一汇聚帧包括所述第一数据帧。
结合前述的第二方面或第二方面的第一种可能的实现方式至第 四种可能的实现方式中的任一种实现方式, 在五种可能的实现方式 中, 所述方法还包括:
在获取所述第一数据帧时, 启动第一定时器;
在生成所述第一汇聚帧时停止所述第一定时器。
结合第二方面的第五种可能的实现方式, 在第六种可能的实现 方式中, 所述根据所述第一数据帧和所述第二数据帧生成第一汇聚 帧, 具体包括:
确定第一定时器超时;
且若从所述第一数据帧开始至所述第一定时器超时时获取到的 所有数据帧的长度之和小于或等于 Lmin, 则生成所述第一汇聚帧, 其中, 所述第一汇聚帧包括: 从所述第一数据帧开始至所述第一定 时器超时时获取到的所有数据帧。
结合第二方面的第四种可能的实现方式或第五种可能的实现方 式, 在第七种可能的实现方式中, 所述方法还包括: 若 LI和 L2之和大于 Lmax, 且 L2 大于或等于 Lmin, 则生成第 二汇聚帧, 其中, 所述第二汇聚帧包括所述第二数据帧; 或者, 若 L1和 L2之和大于 Lmax, 且 L2 小于 Lmin, 则在生成所述第 一汇聚帧之后, 获取其他数据帧, 并生成所述第二汇聚帧, 其中, 所述第二汇聚帧包括所述第二数据帧和所述其他数据帧。
结合第二方面的第七种可能的实现方式, 在第八种可能的实现 方式中, 所述方法还包括:
在获取所述第二数据帧时或者在所述第一定时器停止时, 启动 第二定时器;
在生成所述第二汇聚帧时停止所述第二定时器。
结合前述的第二方面或第二方面的第一种可能的实现方式至第 八种可能的实现方式中的任一种实现方式, 在第九种可能的实现方 式中, 所述第一汇聚帧所包括的数据帧的服务质量 QoS标识相同。
结合前述的第二方面或第二方面的第一种可能的实现方式至第 八种可能的实现方式中的任一种实现方式, 在第十种可能的实现方 式中, 所述顺序获取第一数据帧和第二数据帧, 具体包括:
获取所述第一数据帧;
根据所述第一数据帧的服务质量 QoS标识, 获取所述第二数据 帧, 其中, 所述第二数据帧的 QoS标识与所述第一数据帧的 QoS标 识相同。
结合前述的第二方面或第二方面的第一种可能的实现方式至第 十种可能的实现方式中的任一种实现方式, 在第十一种可能的实现 方式中,
所述 Lmin为 20字节至 75376字节之间的任一值。
第三方面, 本发明实施例提供一种通信设备, 包括:
获取模块, 用于顺序获取第一数据帧和第二数据帧;
处理模块, 用于根据所述获取模块获取的所述第一数据帧和所 述第二数据帧生成第一汇聚帧, 所述第一汇聚帧包括所述第一数据 帧和所述第二数据帧中的至少一个, 并且所述第一汇聚帧的长度大 于或等于预设值 Lm i n ;
所述处理模块,还用于对所述第一汇聚帧进行处理并生成信号, 并经由天线发送所述信号, 所述处理包括分组数据汇聚协议 PDCP层 处理、 无线链路控制 RL C层处理、 媒体接入控制 MAC层处理和物理 P HY层处理。
在第三方面的第一种可能的实现方式中, 所述处理模块生成的 所述第一汇聚帧包括 PDCP头部、 第一单元和第二单元;
所述第一单元包括至少两个子单元, 所述第一单元中的至少两 个子单元中的每个子单元与所述第一汇聚帧包括的数据帧——对 应, 所述每个子单元包括: 与所述子单元相对应的数据帧的类型、 与所述子单元相对应的数据帧的长度, 其中, 与所述子单元相对应 的数据帧的类型用于指示与所述子单元相对应的数据帧处于所述第 一汇聚帧中的位置, 所述位置为一下任一项: 起始位置、 中间位置 和结束位置;
所述第二单元包括至少两个子单元, 所述第二单元中的至少两 个子单元中的每个子单元与所述第一汇聚帧包括的数据帧——对 应, 所述每个子单元包括: 与所述子单元相对应的数据帧。
结合第三方面的第一种可能的实现方式, 在第二种可能的实现 方式中, 所述第一单元中的子单元数量和所述第二单元中的子单元 数量相同, 且所述第一单元中的第 N 个子单元和所述第二单元中的 第 N个子单元对应于同一个数据帧, 其中, N取正整数。
在第三方面的第三种可能的实现方式中, 所述处理模块生成的 所述第一汇聚帧包括 PDCP头部和至少一个单元, 所述至少一个单元 中的每个单元与所述第一汇聚帧包括的数据帧——对应;
所述每个单元包括: 与所述单元相对应的数据帧的类型、 与所 述单元相对应的数据帧的长度和与所述单元相对应的数据帧, 其中, 与所述单元相对应的数据帧的类型用于指示与所述单元相对应的数 据帧处于所述第一汇聚帧中的位置, 所述位置为以下任一项: 起始 位置、 中间位置和结束位置。 结合前述的第三方面或第三方面的第一种可能的实现方式至第 三种可能的实现方式中的任一种实现方式, 在第四种可能的实现方 式中, 所述第一数据帧的长度为 L1, 所述第二数据帧的长度为 L2, 所述获取模块, 具体用于若 L1和 L2之和小于或等于 Lmin, 则 获取至少一个数据帧;
所述处理模块, 具体用于生成所述第一汇聚帧, 其中, 所述第 一汇聚帧包括所述获取模块获取的所述第一数据帧、 所述第二数据 帧和所述至少一个数据帧, 所述至少一个数据帧的长度、 L1 和 L2 之和大于 Lmin;
所述处理模块, 具体用于若 L1和 L2之和大于 Lmin, 则生成所 述第一汇聚帧, 其中, 所述第一汇聚帧包括所述获取模块获取的所 述第一数据帧和所述第二数据帧;
所述处理模块, 具体用于若 L1 和 L2之和大于 Lmax, 且 L2 大 于或等于 Lmin, 则生成所述第一汇聚帧, 所述第一汇聚帧包括所述 获取模块获取的所述第一数据帧, 其中, Lmax大于 Lmin; 和,
所述处理模块, 具体用于若 L1 和 L2之和大于 Lmax, 且 L2 小 于 Lmin, 则生成所述第一汇聚帧, 其中, 所述第一汇聚帧包括所述 获取模块获取的所述第一数据帧。
结合前述的第三方面或第三方面的第一种可能的实现方式至第 四种可能的实现方式中的任一种实现方式, 在第五种可能的实现方 式中,
所述处理模块,还用于在所述获取模块获取所述第一数据帧时, 启动第一定时器, 并在生成所述第一汇聚帧时停止所述第一定时器。
结合第三方面的第五种可能的实现方式, 在第六种可能的实现 方式中, 所述通信设备还包括确定模块,
所述确定模块, 用于确定所述第一定时器超时;
所述处理模块, 具体用于若从所述第一数据帧开始至所述确定 模块确定出所述第一定时器超时时所述获取模块获取到的所有数据 帧的长度之和小于或等于 Lmin, 则生成所述第一汇聚帧, 其中, 所 述第一汇聚帧包括: 从所述第一数据帧开始至所述第一定时器超时 时获取到的所有数据帧。
结合第三方面的第四种可能的实现方式或第五种可能的实现方 式, 在第七种可能的实现方式中,
所述处理模块, 还用于若 L1 和 L2之和大于 Lmax, 且 L2 大于 或等于 Lmin, 则生成第二汇聚帧, 其中, 所述第二汇聚帧包括所述 获取模块获取的所述第二数据帧; 或者,
所述获取模块, 还用于若 L1 和 L2之和大于 Lmax, 且 L2 小于 Lmin, 在所述处理模块生成所述第一汇聚帧之后, 获取其他数据帧; 所述处理模块, 还用于生成所述第二汇聚帧, 其中, 所述第二 V匚聚帧包括所述获取模块获取的所述第二数据帧和所述其他数据 帧。
结合第三方面的第七种可能的实现方式, 在第八种可能的实现 方式中,
所述处理模块, 还用于在所述获取模块获取所述第二数据帧时 或者在所述第一定时器停止时, 启动第二定时器, 并在生成所述第 二汇聚帧时停止所述第二定时器。
结合前述的第三方面或第三方面的第一种可能的实现方式至第 八种可能的实现方式中的任一种实现方式, 在第九种可能的实现方 式中, 所述处理模块生成的所述第一汇聚帧所包括的数据帧的服务 质量 QoS标识相同。
结合前述的第三方面或第三方面的第一种可能的实现方式至第 八种可能的实现方式中的任一种实现方式, 在第十种可能的实现方 式中,
所述获取模块, 具体用于获取所述第一数据帧, 并根据所述第 一数据帧的服务质量 QoS 标识, 获取所述第二数据帧, 其中, 所述 第二数据帧的 QoS标识与所述第一数据帧的 QoS标识相同。
结合前述的第三方面或第三方面的第一种可能的实现方式至第 十种可能的实现方式中的任一种实现方式, 在第十一种可能的实现 方式中,
所述 Lm i n为 2 0字节至 7 5 3 7 6字节之间的任一值
结合前述的第三方面或第三方面的第一种可能的实现方式至第 十一种可能的实现方式中的任一种实现方式, 在第十二种可能的实 现方式中,
所述通信设备为基站或无线回传远端节点 RRN。
第四方面, 本发明实施例提供一种通信设备, 包括第三处理器 和第四处理器;
所述第三处理器用于: 经由天线接收信号, 针对所述信号进行 处理并获取第一汇聚帧, 并将所述第一汇聚帧发送给所述第四处理 器, 所述处理包括物理 P HY层处理、 媒体接入控制 MAC层处理、 无 线链路控制 RLC层处理和分组数据汇聚协议 PDCP层处理, 其中, 所 述第一汇聚帧的长度大于或等于预设值 Lm i n ;
所述第四处理器用于: 接收所述第一汇聚帧, 并从所述第一汇 聚帧中的数据帧获取第一数据帧和第二数据帧中的至少一个。
在第四方面的第一种可能的实现方式中, 所述第一汇聚帧包括 第一单元和第二单元;
所述第一单元包括至少两个子单元, 所述第一单元中的至少两 个子单元中的每个子单元与所述第一汇聚帧包括的数据帧——对 应, 所述每个子单元包括: 与所述子单元相对应的数据帧的类型、 与所述子单元相对应的数据帧的长度, 其中, 与所述子单元相对应 的数据帧的类型用于指示与所述子单元相对应的数据帧处于所述第 一汇聚帧中的位置, 所述位置为以下任一项: 起始位置、 中间位置 和结束位置;
所述第二单元包括至少两个子单元, 所述第二单元中的至少两 个子单元中的每个子单元与所述第一汇聚帧包括的数据帧——对 应, 所述每个子单元包括: 与所述子单元相对应的数据帧;
所述第四处理器具体用于: 确定与所述第一单元中的每个子单 元分别对应的所述第二单元中的子单元, 并获取所述第二单元中与 所述子单元相对应的数据帧。
结合第四方面的第一种可能的实现方式, 在第二种可能的实现 方式中, 所述第一单元中的子单元数量和所述第二单元中的子单元 数量相同, 且所述第一单元中的第 N 个子单元和所述第二单元中的 第 N个子单元对应于同一个数据帧, 其中, N取正整数。
在第四方面的第三种可能的实现方式中, 所述第一汇聚帧包括 至少一个单元, 所述至少一个单元中的每个单元与所述第一汇聚帧 包括的数据帧——对应;
所述每个单元包括: 与所述单元相对应的数据帧的类型、 与所 述单元相对应的数据帧的长度和与所述单元相对应的数据帧; 其中, 与所述单元相对应的数据帧的类型用于指示与所述单元相对应的数 据帧处于所述第一汇聚帧中的位置, 所述位置为以下任一项: 起始 位置、 中间位置和结束位置;
所述第四处理器具体用于: 分别获取所述至少一个单元中与每 个单元相对应的数据帧。
结合前述的第四方面或第四方面的第一种可能的实现方式至第 三种可能的实现方式中的任一种实现方式, 在第四种可能的实现方 式中, 所述第一汇聚帧所包括的数据帧的服务质量 Q o S标识相同。
结合前述的第四方面或第四方面的第一种可能的实现方式至第 四种可能的实现方式中的任一种实现方式, 在第五种可能的实现方 式中,
所述 Lm i n为 2 0字节至 7 5 3 7 6字节之间的任一值。
结合前述的第四方面或第四方面的第一种可能的实现方式至第 五种可能的实现方式中的任一种实现方式, 在第六种可能的实现方 式中, 所述第三处理器和所述第四处理器为所述通信设备中的不同 CPU , 或者, 所述第三处理器和所述第四处理器为所述通信设备中的 同一 CPU。
结合前述的第四方面或第四方面的第一种可能的实现方式至第 六种可能的实现方式中的任一种实现方式, 在第七种可能的实现方 式中,
所述通信设备为基站或无线回传远端节点 RRN。
第五方面, 本发明实施例提供一种通信方法, 包括:
经由天线接收信号,针对所述信号进行处理并获取第一汇聚帧, 所述处理包括物理 P HY层处理、 媒体接入控制 MAC层处理、 无线链 路控制 RLC层处理和分组数据汇聚协议 PDCP层处理, 其中, 所述第 一汇聚帧的长度大于或等于预设值 Lm i n ;
从所述第一汇聚帧中的数据帧获取第一数据帧和第二数据帧中 的至少一个。
在第五方面的第一种可能的实现方式中, 所述第一汇聚帧包括 第一单元和第二单元;
所述第一单元包括至少两个子单元, 所述第一单元中的至少两 个子单元中的每个子单元与所述第一汇聚帧包括的数据帧——对 应, 所述每个子单元包括: 与所述子单元相对应的数据帧的类型、 与所述子单元相对应的数据帧的长度, 其中, 与所述子单元相对应 的数据帧的类型用于指示与所述子单元相对应的数据帧处于所述第 一汇聚帧中的位置, 所述位置为以下任一项: 起始位置、 中间位置 和结束位置;
所述第二单元包括至少两个子单元, 所述第二单元中的至少两 个子单元中的每个子单元与所述第一汇聚帧包括的数据帧——对 应, 所述每个子单元包括: 与所述子单元相对应的数据帧;
其中, 从所述第一汇聚帧中的数据帧获取每个数据帧的方法包 括:
确定与所述第一单元中的每个子单元分别对应的所述第二单元 中的子单元, 并获取所述第二单元中与所述子单元相对应的数据帧。
结合第五方面的第一种可能的实现方式, 在第二种可能的实现 方式中, 所述第一单元中的子单元数量和所述第二单元中的子单元 数量相同, 且所述第一单元中的第 N 个子单元和所述第二单元中的 第 N个子单元对应于同一个数据帧, 其中, N取正整数。 在第五方面的第三种可能的实现方式中, 所述第一汇聚帧包括 至少一个单元, 所述至少一个单元中的每个单元与所述第一汇聚帧 包括的数据帧——对应;
所述每个单元包括: 与所述单元相对应的数据帧的类型、 与所 述单元相对应的数据帧的长度和与所述单元相对应的数据帧; 其中, 与所述单元相对应的数据帧的类型用于指示与所述单元相对应的数 据帧处于所述第一汇聚帧中的位置, 所述位置为以下任一项: 起始 位置、 中间位置和结束位置;
其中, 从所述第一汇聚帧中的数据帧获取每个数据帧的方法包 括:
分别获取所述至少一个单元中与每个单元相对应的数据帧。 结合前述的第五方面或第五方面的第一种可能的实现方式至第 三种可能的实现方式中的任一种实现方式, 在第四种可能的实现方 式中, 所述第一汇聚帧所包括的数据帧的服务质量 Q o S标识相同。
结合前述的第五方面或第五方面的第一种可能的实现方式至第 四种可能的实现方式中的任一种实现方式, 在第五种可能的实现方 式中,
所述 Lm i n为 2 0字节至 7 5 3 7 6字节之间的任一值。
第六方面, 本发明实施例提供一种通信设备, 包括:
处理模块, 用于经由天线接收信号, 针对所述信号进行处理并 获取第一汇聚帧, 所述处理包括物理 P HY层处理、媒体接入控制 MAC 层处理、无线链路控制 RLC层处理和分组数据汇聚协议 PDCP层处理, 其中, 所述第一汇聚帧的长度大于或等于预设值 Lm i n ;
获取模块, 用于从所述处理模块获取的所述第一汇聚帧中的数 据帧获取第一数据帧和第二数据帧中的至少一个。
在第六方面的第一种可能的实现方式中, 所述处理模块获取的 所述第一汇聚帧包括第一单元和第二单元;
所述第一单元包括至少两个子单元, 所述第一单元中的至少两 个子单元中的每个子单元与所述第一汇聚帧包括的数据帧——对 应, 所述每个子单元包括: 与所述子单元相对应的数据帧的类型、 与所述子单元相对应的数据帧的长度, 其中, 与所述子单元相对应 的数据帧的类型用于指示与所述子单元相对应的数据帧处于所述第 一汇聚帧中的位置, 所述位置为以下任一项: 起始位置、 中间位置 和结束位置;
所述第二单元包括至少两个子单元, 所述第二单元中的至少两 个子单元中的每个子单元与所述第一汇聚帧包括的数据帧——对 应, 所述每个子单元包括: 与所述子单元相对应的数据帧;
所述处理模块, 具体用于确定与所述第一单元中的每个子单元 分别对应的所述第二单元中的子单元;
所述获取模块, 具体用于获取所述第二单元中与所述子单元相 对应的数据帧。
结合第六方面的第一种可能的实现方式, 在第二种可能的实现 方式中, 所述第一单元中的子单元数量和所述第二单元中的子单元 数量相同, 且所述第一单元中的第 N 个子单元和所述第二单元中的 第 N个子单元对应于同一个数据帧, 其中, N取正整数。
在第六方面的第三种可能的实现方式中, 所述处理模块获取的 所述第一汇聚帧包括至少一个单元, 所述至少一个单元中的每个单 元与所述第一汇聚帧包括的数据帧——对应;
所述每个单元包括: 与所述单元相对应的数据帧的类型、 与所 述单元相对应的数据帧的长度和与所述单元相对应的数据帧; 其中, 与所述单元相对应的数据帧的类型用于指示与所述单元相对应的数 据帧处于所述第一汇聚帧中的位置, 所述位置为以下任一项: 起始 位置、 中间位置和结束位置;
所述获取模块, 具体用于分别获取所述至少一个单元中与每个 单元相对应的数据帧。
结合前述的第六方面或第六方面的第一种可能的实现方式至第 三种可能的实现方式, 在第四种可能的实现方式中, 所述处理模块 获取的所述第一汇聚帧所包括的数据帧的服务质量 Q o S标识相同。 结合前述的第六方面或第六方面的第一种可能的实现方式至第 四种可能的实现方式中的任一种实现方式, 在第五种可能的实现方 式中,
所述 Lm i n为 2 0字节至 7 5 3 7 6字节之间的任一值。
结合前述的第六方面或第六方面的第一种可能的实现方式至第 五种可能的实现方式中的任一种实现方式, 在第六种可能的实现方 式中,
所述通信设备为基站或无线回传远端节点 RRN。
本发明的实施例提供一种通信方法及设备, 通过针对获取到的 数据帧的长度进行判断, 并根据判断结果生成汇聚帧, 从而增加了 汇聚帧的长度, 实现针对较长的汇聚帧进行后续处理和传输, 因此, 能够提升无线通信系统对数据帧的处理性能。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案, 下 面将对实施例或现有技术描述中所需要使用的附图作简单地介绍, 显而易见地, 下面描述中的附图仅仅是本发明的一些实施例, 对于 本领域普通技术人员来讲, 在不付出创造性劳动的前提下, 还可以 根据这些附图获得其他的附图。
图 1 为本发明实施例提供的一种通信方法的流程图一;
图 2为本发明实施例提供的一种通信方法的流程图二;
图 3为本发明实施例提供的一种通信方法的流程图三;
图 4为本发明实施例提供的格式 1和格式 2的结构示意图; 图 5为本发明实施例提供的生成汇聚帧的方法的流程图; 图 6为本发明实施例提供的通信设备的结构示意图一;
图 7为本发明实施例提供的通信设备的结构示意图二;
图 8为本发明实施例提供的通信设备的结构示意图三;
图 9为本发明实施例提供的通信设备的结构示意图四;
图 1 0为本发明实施例提供的通信设备的结构示意图五; 图 1 1 为本发明实施例提供的通信设备的结构示意图六; 图 12为本发明实施例提供的通信设备的结构示意图七; 图 13为本发明实施例提供的通信设备的结构示意图八。
具体实施方式
下面将结合本发明实施例中的附图, 对本发明实施例中的技术 方案进行清楚地描述, 并将可选项尽可能详细的作出说明, 但显然, 所描述的实施例仅仅是本发明一部分实施例, 而不是全部的实施例。 基于本发明中的实施例, 本领域普通技术人员在没有作出创造性劳 动前提下所获得的所有其他实施例, 都属于本发明保护的范围。
本文中描述的各种技术可用于各种无线通信系统, 例如当前 2G, 3G通信系统和下一代通信系统,例如通用分组无线业务( General Packet Radio Service,简称为 GPRS )系统,码分多址( Code Divi s ion Multiple Access, 简称为 CDMA ) 系统, 时分-同步码分多址 ( T ime Division - Synchronous Code Division Multiple Access, 简称 为 TD-SCDMA ) 系统, 宽带码分多 址 ( Wideband Code Division Multiple Access Wireless , 简称为 WCDMA ) 系统, 增强型数据速 率全球移动通信系统演进 ( Enhanced Data Rate For Global System for Mobile Communications Evolution, 简称为 EDGE ) 系统, 高 速下行链路分组接入 ( High Speed Downlink Packet Access, 简称 为 HSDPA )系统, 高速上行链路分组接入( High Speed Uplink Packet Access , 简称为 HSUPA )系统, 演进式高速链路分组接入( High Speed Packet Access Evolution, 简称为 HSPA+ ) 系统, CDMA1X 系统, CDMA2000 系统, 长期演进 ( Long Term Evolution, 简称为 LTE ) 系 统, 以及其他此类通信系统。
本文中符号 "/", 仅仅是一种描述关联对象之间为 "或" 的关 联关系的符号, 例如, A/B, 可以表示 A或 B, 即可以表示单独存在 A, 单独存在 B这两种情况, 但是这种描述方式并非排除 A和 B结合 的可能。
实施例一
本发明的实施例提供一种通信方法, 涉及第一通信设备侧, 如 图 1所示, 该方法可以包括:
S 101、 第一通信设备顺序获取第一数据帧和第二数据帧。
需要说明的是, 数据帧是数据链路层的协议数据单元, 数据帧 包括三部分: 帧头, 数据部分, 帧尾。 其中, 帧头和帧尾包含一些 必要的控制信息, 比如同步信息、 地址信息、 差错控制信息等; 数 据部分包含网络层传送至数据链路层的数据, 比如网络协议
( Internet Protocol , 简称为 IP ) 数据包等。
示例性的, 第一通信设备从第二通信设备顺序获取第一数据帧 和第二数据帧, 其中, 第一数据帧和第二数据帧可以为第一通信设 备发送至目标设备的数据帧, 也可以为第二通信设备需通过第一通 信设备发送至目标设备的数据帧, 目标设备为与第二通信设备进行 通信的设备。
需要说明的是, 第一通信设备可以为 RRN或 BS等设备; 第二通 信设备可以为 2G/3G 基站、 无线控制器或服务网关 ( Serving GateWay, 简称为 SGW ) 等设备。
例如, 若第一通信设备为 RRN, 则第二通信设备可以为 2G/3G 基站; 若第一通信设备为 BS, 则第二通信设备可以为无线控制器。
S 102、 第一通信设备根据第一数据帧和第二数据帧生成第一汇 聚帧, 其中, 第一汇聚帧包括第一数据帧和第二数据帧中的至少一 个, 并且第一汇聚帧的长度大于或等于预设值 Lmin。
具体的, 第一通信设备获取到第一数据帧和第二数据帧之后, 第一通信设备可根据第一数据帧和第二数据帧生成第一汇聚帧, 其 中, 第一汇聚帧可以包括第一数据帧和第二数据帧中的至少一个, 并且第一汇聚帧的长度大于或等于预设值 Lmin。
进一步地,第一通信设备获取到第一数据帧和第二数据帧之后, 第一通信设备可以将第一数据帧的长度和第二数据帧的长度之和与 Lmin进行比较, 并根据第一数据帧的长度和第二数据帧的长度之和 与 Lmin比较的结果, 根据预设格式生成第一汇聚帧, 其中, 第一汇 聚帧可以包括第一数据帧, 或者包括第一数据帧和第二数据帧, 或 者包括第一数据帧、 第二数据帧和至少一个其他数据帧。 关于预设 格式, 及根据该预设格式将第一数据帧和第二数据帧生成第一汇聚 帧的过程举例将在后续实施例 (例如实施例三) 中进行详细地说明。
需要说明的是, 预设格式需为进行通信的两个通信设备之间均 能识别的格式, 即该预设格式可以为进行通信的两个通信设备之间 提前约定的一种数据格式。
需要说明的是, Lmin 的取值可以为 20 字节至 75376 字节之间 的任一值。 具体的, 在 LTE 系统中 Lmin 的取值范围可以设置为 20 字节至 75376 字节, 例如, 将 Lmin设置为 64字节至 512 字节之间 的任一值, 或者 512字节至 1536字节之间的任一值。 本发明实施例 的举例中, 可以将 Lmin设置为 64字节, 或者 512字节, 或 1536字 节。
S103、 第一通信设备对第一汇聚帧进行处理并生成信号, 并经 由天线发送该信号, 其中, 该处理包括 PDCP层处理、 RLC层处理、 MAC层处理和 PHY层处理。
具体的, 第一通信设备生成第一汇聚帧之后, 第一通信设备可 对第一汇聚帧进行处理并生成信号, 并经由天线发送该信号, 其中, 该处理可以包括 PDCP层处理、 RLC层处理、 MAC层处理和 PHY层处 理。
需要说明的是, 第一通信设备可以根据 LTE 系统定义的用户面 协议对第一汇聚帧进行相应的处理。 LTE 系统定义的用户面协议可 以包括为 PDCP层、 RLC层、 MAC层和 PHY层。 在本发明实施例中, 上述步骤 S101-S102可以由 PDCP层执行, 本步骤 S103则可以包括 RLC层、 MAC层和 PHY层的处理,还可以包括 PDCP层除步骤 S101-S102 之外的处理。 例如, PDCP层除了用于用户面数据的传输, 控制面数 据的传输, 还用于对数据进行加密、 对数据进行完整性保护和对数 据进行头压缩等功能; RLC 层主要完成传输上层协议数据单元 ( Protocol Data Unit, 简称为 PDU)、 纠错、 串联, 分块, 重新组 合、 重分块、 重排序、 重复监测和 SDU 抛弃等功能; MAC 层主要完 成逻辑信道和传输信道间的映射、 逻辑信道和传输信道的复用 /解复 用、 业务量测量、 数据调度和混合自动重传请求( Hybrid Automatic Repeat Request, 简称为 HARQ ) 等功能; PHY 层处理基带信号, 将 经过 PDCP层、 RLC层和 MAC层处理后的数据编码后发送至目标设备。
进一步地, 第一通信设备对第一汇聚帧进行处理并生成信号之 后, 第一通信设备可经由天线发送该信号至第三通信设备, 其中, 该第三通信设备可以为 RRN或 BS。
进一步地, 本发明实施例提供的通信方法提升了无线通信系统 对数据帧的处理性能, 适用于在包括 RRN和 BS 的 Backhual 系统中 传输 2G/ 3G基站和无线控制器之间的通信数据。
需要说明的是, 本发明实施例提供的通信方法中, 第一通信设 备可以将 PDCP层生成的第一汇聚帧经过 RLC层、 MAC层和 PHY层进 行上述处理, 然后将处理产生的信号发送至第三通信设备。
本发明的实施例提供的通信方法, 通过第一通信设备对获取到 的数据帧的长度进行判断, 并根据判断结果生成汇聚帧, 从而增加 了汇聚帧的长度, 实现针对较长的汇聚帧进行后续处理和传输, 因 此, 能够提升无线通信系统对数据帧的处理性能。
实施例二
本发明的实施例还提供一种通信方法, 涉及第三通信设备侧, 如图 2所示, 该方法可以包括:
S20K 第三通信设备经由天线接收信号, 针对该信号进行处理 并获取第一汇聚帧, 该处理包括 PHY层处理、 MAC层处理、 RLC层处 理和 PDCP层处理,其中,第一汇聚帧的长度大于或等于预设值 Lmin。
例如, 第一通信设备可以执行本发明其他实施例提供的方法以 在获取到第一数据帧和第二数据帧后, 根据第一数据帧和第二数据 帧生成第一汇聚帧, 并对第一汇聚帧进行处理并生成信号, 以及经 由天线发送该信号至第三通信设备。 因此, 相应的, 第三通信设备 作为第一通信设备的通信对端, 可经由天线接收来自第一通信设备 的信号, 并可针对该信号进行处理以获取第一汇聚帧。 S202、 第三通信设备从第一汇聚帧中的数据帧获取第一数据帧 和第二数据帧中的至少一个。
例如, 第三通信设备获取到第一汇聚帧之后, 可根据预设格式, 从第一汇聚帧中的数据帧获取第一数据帧和第二数据帧中的至少一 个。
进一步的, 第三通信设备可将第一数据帧和第二数据帧中的至 少一个发送至第四通信设备, 以完成第二通信设备与第四通信设备 之间的通信。
可选的, 上述第四通信设备可以指本发明实施例一中提供的目 标设备, 该第四通信设备可以包括多个设备, 即若第一数据帧和第 二数据帧中的至少一个分别为第二通信设备与多个第四通信设备之 间传输的数据帧, 则第三通信设备从第一汇聚帧中获取到第一数据 帧和第二数据帧中的至少一个之后, 第三通信设备可将第一数据帧 和第二数据帧中的至少一个分别发送至对应的多个第四通信设备, 从而以完成第二通信设备和多个第四通信设备之间的通信。
可选的, 第三通信设备可以为 BS或 RRN等设备, 第四通信设备 可以为 2G/3G基站、 无线控制器或 SGW等设备。 例如, 若第三通信 设备为 BS, 则第四通信设备可以为无线控制器, 若第三通信设备为 RRN, 则第四通信设备可以为 2G/3G基站。
需要说明的是,当第一通信设备为 RRN或 BS时,第一通信设备、 第二通信设备、 第三通信设备及第四通信设备的组合可以为下述的 任一种:
( 1 ) 若第一通信设备为 RRN, 则第二通信设备为 2G/3G基站, 第三通信设备为 BS, 第四通信设备为无线控制器。
( 2 ) 若第一通信设备为 BS, 则第二通信设备为无线控制器, 第三通信设备为 RRN, 第四通信设备为 2G/3G基站。
需要说明的是, 本发明提供的实施例中实施例一和实施例二可 以结合使用, 以完成将数据帧组合成汇聚帧并将汇聚帧还原成数据 帧的过程。 本发明的实施例提供一种通信方法, 通过第三通信设备对接收 到的信号进行处理, 并从汇聚帧中获取每个数据帧, 从而将传输至 第三通信设备的汇聚帧还原为数据帧, 因此, 能够提升无线通信系 统对数据帧的处理性能。
实施例三
本发明的实施例提供一种通信方法, 如图 3所示, 该方法可以 包括:
S30K 第一通信设备获取第一数据帧。
需要说明的是, 数据帧是数据链路层的协议数据单元, 数据帧 包括三部分: 帧头, 数据部分, 帧尾。 其中, 帧头和帧尾包含一些 必要的控制信息, 比如同步信息、 地址信息、 差错控制信息等; 数 据部分包含网络层传送至数据链路层的数据, 比如 IP数据包等。
示例性的, 第一通信设备从第二通信设备获取第一数据帧, 其 中, 第一数据帧可以为第一通信设备发送至目标设备的数据帧, 也 可以为第二通信设备需通过第一通信设备发送至目标设备的数据 帧, 目标设备为与第二通信设备进行通信的设备。
需要说明的是, 第一通信设备可以为 RRN或 BS等设备; 第二通 信设备可以为 2G/3G基站、 无线控制器或 SGW等设备。
例如, 若第一通信设备为 RRN, 则第二通信设备可以为 2G/3G 基站; 若第一通信设备为 BS, 则第二通信设备可以为无线控制器。
进一步地, 第一通信设备中还可以设置有第一定时器, 第一通 信设备在获取第一数据帧时, 第一通信设备可以启动该第一定时器, 并且在第一通信设备生成第一汇聚帧时停止该第一定时器。
S 302、 第一通信设备根据第一数据帧的服务质量 ( Quality of Service, 简称为 QoS ) 标识, 获取第二数据帧, 其中, 第二数据帧 的 QoS标识与第一数据帧的 QoS标识相同。
具体的, 第一通信设备获取到第一数据帧之后, 第一通信设备 可识别第一数据帧的 QoS标识, 并根据第一数据帧的 QoS标识, 获 取第二数据帧, 其中, 第二数据帧的 QoS 标识与第一数据帧的 QoS 标识相同, 其中, 第二数据帧可以为第一通信设备发送至目标设备 的数据帧, 也可以为第二通信设备需通过第一通信设备发送至目标 设备的数据帧。
需要说明的是, QoS 标识可以用于表示时延、 丟包率和抖动等 性能指标。 QoS 标识可以包括差分服务代码点 ( Differentiated Services Code Point , 简称为 DSCP)、 虚拟局域网优先级 ( Vi r tua 1 Local Area Network Priority, 简称为 VLAN Pri )、 虚拟局域网标 识 ( Virtual Local Area Network IDent i ty , 简称为 VLAN ID )、 以太网端口或以太网 MAC地址。
S 303、 第一通信设备根据第一数据帧和第二数据帧生成第一汇 聚帧, 其中, 第一汇聚帧包括第一数据帧和第二数据帧中的至少一 个, 并且第一汇聚帧的长度大于或等于预设值 Lmin。
具体的, 第一通信设备获取到第一数据帧和第二数据帧之后, 第一通信设备可根据第一数据帧和第二数据帧生成第一汇聚帧, 其 中, 第一汇聚帧可以包括第一数据帧和第二数据帧中的至少一个, 并且第一汇聚帧的长度大于或等于预设值 Lmin。
进一步地,第一通信设备获取到第一数据帧和第二数据帧之后, 第一通信设备可以将第一数据帧的长度和第二数据帧的长度之和与 Lmin进行比较, 并根据第一数据帧的长度和第二数据帧的长度之和 与 Lmin比较的结果, 根据预设格式生成第一汇聚帧, 其中, 第一汇 聚帧可以包括第一数据帧, 或者包括第一数据帧和第二数据帧, 或 者包括第一数据帧、 第二数据帧和至少一个其他数据帧。
可选的, 如图 4 所示, 本发明的实施例提供两种预设格式, 分 别为格式 1和格式 2。
格式 1为由 PDCP头部、第一单元和第二单元组成的第一汇聚帧。 其中, 第一单元包括至少两个子单元, 第一单元中的至少两个 子单元中的每个子单元与第一汇聚帧包括的数据帧——对应, 每个 子单元包括: 与子单元相对应的数据帧的类型、 与子单元相对应的 数据帧的长度, 其中, 与子单元相对应的数据帧的类型用于指示与 子单元相对应的数据帧处于第一汇聚帧中的位置, 该位置可以为以 下任一项: 起始位置、 中间位置和结束位置; 第二单元包括至少两 个子单元, 第二单元中的至少两个子单元中的每个子单元与第一汇 聚帧包括的数据帧——对应, 每个子单元包括: 与该子单元相对应 的数据帧。 第一单元中的子单元数量和第二单元中的子单元数量相 同, 且第一单元中的第 N个子单元和第二单元中的第 N个子单元对 应于同一个数据帧, 其中, N取正整数。
进一步地, 与子单元相对应的数据帧处于第一汇聚帧中的位置 可以为起始位置、 中间位置和结束位置, 该中间位置可以为除起始 位置和结束位置之外的任一个位置, 还可以具体划分为不同序号的 具体位置。
举例来说, 若第一单元中包括三个子单元, 且与三个子单元分 别对应的数据帧为数据帧 1 , 数据帧 2、 数据帧 3 , 则数据帧 1在第 一汇聚帧中的位置可以设置为起始位置, 数据帧 2 在第一汇聚帧中 的位置可以设置为中间位置、 数据帧 3 在第一汇聚帧中的位置可以 设置为结束位置; 相应的, 若第一单元中包括四个子单元, 且与四 个子单元分别对应的数据帧为数据帧 1 , 数据帧 2、 数据帧 3和数据 帧 4 , 则数据帧 1 在第一汇聚帧中的位置可以设置为起始位置, 数 据帧 2在第一汇聚帧中的位置可以设置为第一位置, 数据帧 3在第 一汇聚帧中的位置可以设置为第二位置, 数据帧 4 在第一汇聚帧中 的位置可以设置为结束位置, 此时, 中间位置可以包括第一位置和 第二位置。
格式 2为由 P DC P头部和至少一个单元组成的第一汇聚帧。 其中, 至少一个单元中的每个单元与第一汇聚帧包括的数据帧 ——对应; 每个单元包括: 与该单元相对应的数据帧的类型、 与该 单元相对应的数据帧的长度和与该单元相对应的数据帧, 其中, 与 该单元相对应的数据帧的类型用于指示与该单元相对应的数据帧处 于第一汇聚帧中的位置, 该位置可以为以下任一项: 起始位置、 中 间位置和结束位置。 需要说明的是, 格式 1 是将与至少两个子单元分别相对应的数 据帧组合形成一个数据帧后, 再为组合后的该一个数据帧添加与每 个子单元分别对应的数据帧的类型和与每个子单元分别对应的数据 帧的长度信息, 以及再为添加了类型和长度信息的该一个数据帧添 加 PDCP 头信息, 从而形成第一汇聚帧, 即第一汇聚帧为 PDCP数据 包; 格式 2 是为与至少一个单元中的每个单元相对应的数据帧分别 添加与每个单元相对应的数据帧的类型和与每个单元相对应的数据 帧的长度信息, 并将添加了类型和长度信息的所有数据帧组合形成 一个数据帧, 再为组合后的该一个数据帧添加 PDCP头信息, 从而形 成第一汇聚帧。
需要说明的是, 预设格式需为进行通信的两个通信设备之间均 能识别的格式, 即该预设格式可以为进行通信的两个通信设备之间 提前约定的一种数据格式。
进一步地,第一通信设备获取到第一数据帧和第二数据帧之后, 第一通信设备需对第一数据帧的长度和第二数据帧的长度之和进行 判断, 并根据该判断结果, 生成汇聚帧。
具体的, 第一通信设备获取第一数据帧和第二数据帧之后, 第 一通信设备根据第一数据帧和第二数据帧, 生成汇聚帧的方法可以 包括以下任一项:
( 1 ) 若 L 1 和 L 2之和小于或等于 Lm i n , 第一通信设备则获取 至少一个数据帧, 并生成第一汇聚帧, 其中, 第一汇聚帧包括第一 数据帧、 第二数据帧和至少一个数据帧, 至少一个数据帧的长度、 L 1和 L 2之和大于 Lm i n。
举例来说, 若第一通信设备获取到两个数据帧, 分别为数据帧 1 和数据帧 2 , 数据帧 1 的长度为 a , 数据帧 2 的长度为 b , 第一通 信设备获取到数据帧 1 和数据帧 2之后, 第一通信设备可对数据帧 1 的长度 a和数据帧 2 的长度 b 的长度之和进行判断, 若 a和 b之 和小于或等于 Lm i n , 第一通信设备则再获取数据帧 3 , 该数据帧 3 的长度为 c , 第一通信设备可对数据帧 1 的长度 a、 数据帧 2的长度 b和数据帧 3 的长度 c之和进行判断, 若第一通信设备判断出 a、 b 和 c之和大于 Lmin, 第一通信设备则将数据帧 1、 数据帧 2和数据 帧 3组成第一汇聚帧; 若第一通信设备判断出 a、 b和 c之和小于或 等于 Lmin, 第一通信设备则获取数据帧 4, 该数据帧 4的长度为 d, 此时, 第一通信设备可对数据帧 1 的长度 a、 数据帧 2的长度 b、 数 据帧 3 的长度 c和数据帧 4 的长度 d之和进行判断, 此时, 若第一 通信设备判断出 a、 b、 c和 d之和大于 Lmin, 第一通信设备则将数 据帧 1、 数据帧 2、 数据帧 3和数据帧 4组成第一汇聚帧, 以此类推。
( 2 ) 若 L1 和 L2之和大于 Lmin, 第一通信设备则生成第一汇 聚帧, 其中, 第一汇聚帧包括第一数据帧和第二数据帧。
( 3 )若 L1和 L2之和大于 Lmax, 且 L2 大于或等于 Lmin, 第一 通信设备则生成第一汇聚帧和第二汇聚帧, 第一汇聚帧包括第一数 据帧, 第二汇聚帧包括第二数据帧, 其中, Lmax大于 Lmin。
( 4 )若 L1和 L2之和大于 Lmax, 且 L2 小于 Lmin, 第一通信设 备则生成第一汇聚帧, 并获取其他数据帧, 以及生成第二汇聚帧, 其中, 第一汇聚帧包括第一数据帧, 第二汇聚帧包括第二数据帧和 其他数据帧。
关于根据第一数据帧和第二数据帧生成汇聚帧的具体流程举例 将在后续实施例 (例如实施例四) 中进行举例说明。
进一步地, 若第一通信设备中设置有第一定时器, 则第一通信 设备根据第一数据帧和第二数据帧生成第一汇聚帧的方法还可以包 括:
( 5 )第一通信设备确定第一定时器超时, 且若从第一数据帧开 始至第一定时器超时时第一通信设备获取到的所有数据帧的长度之 和小于或等于 Lmin, 第一通信设备则生成第一汇聚帧, 其中, 第一 汇聚帧包括从第一数据帧开始至第一定时器超时时第一通信设备获 取到的所有数据帧。
进一步地, 若第一通信设备中设置有第二定时器, 则第一通信 设备根据第一数据帧和第二数据帧生成第一汇聚帧的方法还可以包 括:
( 6 )第一通信设备在获取第二数据帧时或者在第一定时器停止 时, 第一通信设备可以启动第二定时器, 第一通信设备在生成第二 汇聚帧时停止该第二定时器。
可选的, 第一汇聚帧所包括的所有数据帧的 QoS标识相同。 例 如, 若第一汇聚帧包括第一数据帧和第二数据帧, 则第一数据帧的 QoS 标识与第二数据帧的 QoS 标识相同; 若第一汇聚帧包括第一数 据帧、 第二数据帧和第三数据帧, 则第一数据帧的 QoS 标识、 第二 数据帧的 QoS标识和第三数据帧的 QoS标识相同。
需要说明的是, 第一通信设备在获取到多个数据帧时, 第一通 信设备不仅需对获取到的该多个数据帧的长度进行识别, 而且还需 对获取到的该多个数据帧的 QoS标识进行识别。
可选的, 第一通信设备在获取到的多个数据帧的长度之和满足 一定的条件, 并且多个数据帧的 QoS 标识相同时, 第一通信设备可 以将该多个数据帧组合为一个汇聚帧。
可选的, Lmin的取值为 20字节至 75376字节之间的任一值。 具体的, 在 LTE 系统中 Lmin的取值范围可以设置为 20字节至 75376 字节, 例如, 将 Lmin设置为 64 字节至 512 字节之间的任一 值, 或者 512字节至 1536字节之间的任一值。 本发明实施例的举例 中, 可以将 Lmin设置为 64字节, 或者 512字节, 或 1536字节。
S 304、 第一通信设备对第一汇聚帧进行处理并生成信号, 并经 由天线发送该信号至第三通信设备,其中,该处理包括 PDCP层处理、 RLC层处理、 MAC层处理和 PHY层处理。
具体的, 第一通信设备生成第一汇聚帧之后, 第一通信设备可 对第一汇聚帧进行处理并生成信号, 并经由天线发送该信号至第三 通信设备, 其中, 该处理可以包括 PDCP 层处理、 RLC 层处理、 MAC 层处理和 PHY层处理。
具体的, 第一通信设备根据 LTE 系统定义的用户面协议对第一 汇聚帧进行相应的处理并生成信号, 以及发送该信号至第三通信设 备的过程参照实施例一中的 S 1 03 中的相关描述, 此处不再赘述。
S 305、 第三通信设备针对该信号进行处理并获取第一汇聚帧, 该处理包括 PHY层处理、 MAC层处理、 RLC层处理和 PDCP层处理, 其中, 第一汇聚帧的长度大于或等于预设值 Lm i n。
例如, 第三通信设备接收到来自第一通信设备的信号之后, 第 三通信设备可针对该信号进行处理以获取第一汇聚帧, 该处理可以 包括 PHY层处理、 MAC层处理、 RLC层处理, 其中, 第一汇聚帧的长 度大于或等于预设值 Lm i n。
S 306、 第三通信设备从第一汇聚帧中的数据帧获取第一数据帧 和第二数据帧中的至少一个。
例如, 第三通信设备获取到第一汇聚帧之后, 第三通信设备可 根据预设格式, 从第一汇聚帧中的数据帧获取第一数据帧和第二数 据帧中的至少一个, 从而第三通信设备可将第一数据帧和第二数据 帧中的至少一个发送至第四通信设备, 以完成第二通信设备与第四 通信设备之间的通信。
可选的, 上述的目标设备可以为第四通信设备, 该第四通信设 备可以包括多个设备, 即若第一数据帧和第二数据帧中的至少一个 分别为第二通信设备与多个第四通信设备之间传输的数据帧, 则第 三通信设备从第一汇聚帧中获取到第一数据帧和第二数据帧中的至 少一个之后, 第三通信设备可将第一数据帧和第二数据帧中的至少 一个分别发送至对应的多个第四通信设备, 从而以完成第二通信设 备和多个第四通信设备之间的通信。
可选的, 第三通信设备可以为 B S或 RRN等设备, 第四通信设备 可以为 2 G / 3G基站、 无线控制器或 SWG等设备。 例如, 若第三通信 设备为 B S , 则第四通信设备可以为无线控制器, 若第三通信设备为 RRN , 则第四通信设备可以为 2 G / 3 G基站。
需要说明的是,当第一通信设备为 RRN或 BS时,第一通信设备、 第二通信设备、 第三通信设备及第四通信设备的组合可以为下述的 任一种: ( 1 ) 若第一通信设备为 RRN, 则第二通信设备为 2G/3G基站, 第三通信设备为 BS, 第四通信设备为无线控制器。
( 2 ) 若第一通信设备为 BS, 则第二通信设备为无线控制器, 第三通信设备为 RRN, 第四通信设备为 2G/3G基站。
可以理解的是, 第三通信设备获取到第一汇聚帧之后, 第三通 信设备再根据如图 4 所示的格式 1 和格式 2, 从该第一汇聚帧中获 取每个数据帧, 具体的, 从所述第一汇聚帧中的数据帧获取每个数 据帧的方法可以包括以下任一项:
( 1 )第三通信设备确定与第一单元中的每个子单元分别对应的 第二单元中的子单元, 并获取第二单元中与子单元相对应的数据帧。
示例性的, 第三通信设备从第一汇聚帧的第一单元中获取与第 N 个子单元相对应的数据帧的类型和与第 N 个子单元相对应的数据 帧的长度, 其中, 与第 N 个子单元相对应的数据帧的类型用于指示 与第 N个子单元相对应的第 N个数据帧处于第一汇聚帧中的位置, 并根据与第 N个子单元相对应的数据帧的类型和与第 N个子单元相 对应的数据帧的长度, 从第一汇聚帧的第二单元中获取与第 N 个子 单元相对应的数据帧。
( 2 )第三通信设备分别获取至少一个单元中与每个单元相对应 的数据帧。
示例性的, 第三通信设备从第一汇聚帧中获取与第 N个单元相 对应的数据帧的类型和与第 N个单元相对应的数据帧的长度, 其中, 与第 N个单元相对应的数据帧的类型用于指示与第 N个单元相对应 的第 N个数据帧处于第一汇聚帧中的位置, 并根据与第 N个单元相 对应的数据帧的类型和与第 N 个单元相对应的数据帧的长度, 从第 一汇聚帧中获取与第 N个单元相对应的数据帧。
需要说明的是, 若第一通信设备使用格式 1 将第一数据帧和第 二数据帧生成第一汇聚帧, 则第三通信设备也将使用格式 1 从第一 汇聚帧中获取每个数据帧; 相应的, 若第一通信设备使用格式 2 将 第一数据帧和第二数据帧生成第一汇聚帧, 则第三通信设备也将使 用格式 2 从第一汇聚帧中获取每个数据帧, 即第一通信设备和第三 通信设备需使用相同的格式生成第一汇聚帧或从第一汇聚帧中获取 每个数据帧, 以避免第一通信设备或第三通信设备无法识别对方发 送的信号。
在新的移动宽带和移动应用中, 诸如移动应用中的心跳数据、 信令、 微信及微博等应用的数据帧给无线通信系统带来了较大的压 力。 本发明的实施例提供的通信方法, 通过将数据帧组合成汇聚帧 进行传输, 从而在时延较小的情况下, 极大的提升了无线通信系统 对于数据帧的处理性能, 緩解了数据帧给无线通信系统带来的压力。
可以理解的是, 由于不同的无线通信系统, 其定义的协议层是 不同的, 因此, 若本发明实施例提供的通信方法应用于上述各个系 统时, 可在各个系统中, 与 LTE 系统中实现该通信方法的设备的功 能相同的协议层中完成该通信方法。
本发明的实施例提供一种通信方法, 通过第一通信设备对获取 到的数据帧的长度进行判断, 并根据判断结果生成汇聚帧, 以及将 该汇聚帧生成信号并发送至第三通信设备, 第三通信设备可对接收 到的信号进行处理, 并从汇聚帧中获取每个数据帧, 不仅增加了汇 聚帧的长度, 实现针对较长的汇聚帧进行后续处理和传输, 并且能 从汇聚帧中还原每个数据帧, 因此, 能够提升无线通信系统对数据 帧的处理性能。
实施例四
如图 5 所示, 本发明实施例还提供第一通信设备根据第一数据 帧和第二数据帧生成汇聚帧的执行流程的举例, 适用于上述实施例 提供的通信方法中, 该流程具体可以包括:
S401、 获取第一数据帧和第二数据帧, 其中, 第一数据帧的长 度为 L1, 第二数据帧的长度为 L2。
S402、 判断 L1和 L2之和是否小于或等于预设值 Lmin。
若 L1 和 L2 之和小于或等于 Lmin, 则执行 S403; 若 L1 和 L2 之和大于 Lmin, 则执行 S406。 S403、 获取至少一个数据帧。
5404、 判断 L0和该至少一个数据帧的长度 L3是否大于 Lmin, 其中, LQ为获取该至少一个数据帧之前获取到的所有数据帧的长度 之和。
若 L0 和 L3 之和小于或等于 Lmin, 则执行 S403; 若 L0 和 L3 之和大于 Lmin, 则执行 S405。
5405、 将第一数据帧、 第二数据帧和至少一个数据帧生成第一 汇聚帧。
S406、判断 L1和 L2之和是否大于 Lmax,其中, Lmax大于 Lmin。 若 L1 和 L2 之和小于或等于 Lmax, 则执行 S407; 若 L1 和 L2 之和大于 Lmax, 则执行 S408。
S407、 将第一数据帧和第二数据帧生成第一汇聚帧。
5408、 判断 L2是否小于 Lmin。
若 L2 小于 Lmin, 则执行 S409, 若 L2 大于或等于 Lmin, 则执 行 S413。
5409、 将第一数据帧生成第一汇聚帧。
5410、 获取其他数据帧。
5411、 判断 L5和该其他数据帧的长度 L4之和是否大于 Lmin, 其中, L5为获取该其他数据帧之前获取到的除第一数据帧之外的所 有数据帧 (即未被发送的数据帧) 之和。
若 L5和 L4之和大于 Lmin, 则执行 S412; 若 L5和 L4之和小于 或等于 Lmin, 则执行 S410。
5412、 将第二数据帧和其他数据帧生成第二汇聚帧。
5413、 将第一数据帧生成第一汇聚帧, 将第二数据帧生成第二 汇聚帧。
需要说明的是, 实施例四是对实施例三中第一通信设备生成汇 聚帧过程的进一步说明, 实施例三和实施例四可以结合使用, 从而 可以对数据帧组合成汇聚帧并将汇聚帧还原成数据帧的过程进行详 细地描述。 本发明的实施例提供一种通信方法, 通过第一通信设备对获取 到的数据帧的长度进行判断, 并根据判断结果生成汇聚帧, 从而增 加了汇聚帧的长度, 实现针对较长的汇聚帧进行后续处理和传输, 因此, 能够提升无线通信系统对数据帧的处理性能。
实施例五
如图 6 所示, 本发明的实施例提供一种通信设备, 可以用于执 行上述实施例提供的方法。 该通信设备可以包括发送器 100、 接收 器 101、 第一处理器 102、 第二处理器 103 以及存储器 104, 其中, 发送器 100可用于向其他通信设备发送通信数据, 特别的, 若 该通信设备需与其他通信设备进行通信, 发送器 100 可发送通信数 据至其他通信设备。
接收器 101可用于接收来自其他通信设备的通信数据,特别的, 若该通信设备需与其他通信设备进行通信, 接收器 101 可接收来自 其他通信设备的通信数据。
第一处理器 102和第二处理器 103为该通信设备的控制以及处 理中心, 通过运行存储在存储器 104 中的软件程序, 并调用及处理 存储在存储器 104 中的数据, 从而控制该通信设备进行收发数据, 以及实现该通信设备的其他功能。
存储器 104可用于存储软件程序及数据,以使得第一处理器 102 和第二处理器 103可通过运行存储在存储器 104 中的软件程序, 从 而实现该通信实设备的收发数据以及其他功能。
具体的, 所述存储器 104可用于存储预设值 Lmin; 所述第一处 理器 102 可用于顺序获取第一数据帧和第二数据帧, 并根据所述第 一数据帧和所述第二数据帧生成第一汇聚帧, 并将所述第一汇聚帧 发送给所述第二处理器 103, 其中, 所述第一汇聚帧包括所述第一 数据帧和所述第二数据帧中的至少一个, 并且所述第一汇聚帧的长 度大于或等于 Lmin; 所述第二处理器 103可用于接收所述第一汇聚 帧, 针对所述第一汇聚帧进行处理并生成信号, 并经由天线发送所 述信号, 所述处理包括 PDCP层处理、 RLC层处理、 MAC层处理和 PHY 层处理; 所述存储器 1 04 可用于存储所述第一数据帧的软件代码、 所述第二数据帧的软件代码、 所述 Lm i n及控制该通信设备完成上述 步骤的软件程序, 所述第一处理器 1 02 和所述第二处理器 1 03通过 执行该软件程序并调用该软件代码, 从而完成上述步骤。
可选的,所述第一汇聚帧包括 PDCP头部、第一单元和第二单元; 所述第一单元包括至少两个子单元, 所述第一单元中的至少两个子 单元中的每个子单元与所述第一汇聚帧包括的数据帧——对应, 所 述每个子单元包括: 与所述子单元相对应的数据帧的类型、 与所述 子单元相对应的数据帧的长度, 其中, 与所述子单元相对应的数据 帧的类型用于指示与所述子单元相对应的数据帧处于所述第一汇聚 帧中的位置, 所述位置为以下任一项: 起始位置、 中间位置和结束 位置; 所述第二单元包括至少两个子单元, 所述第二单元中的至少 两个子单元中的每个子单元与所述第一汇聚帧包括的数据帧——对 应, 所述每个子单元包括: 与所述子单元相对应的数据帧。
可选的, 所述第一单元中的子单元数量和所述第二单元中的子 单元数量相同, 且所述第一单元中的第 N 个子单元和所述第二单元 中的第 N个子单元对应于同一个数据帧, 其中, N取正整数。
可选的, 所述第一汇聚帧包括 PDCP头部和至少一个单元, 所述 至少一个单元中的每个单元与所述第一汇聚帧包括的数据帧——对 应; 所述每个单元包括: 与所述单元相对应的数据帧的类型、 与所 述单元相对应的数据帧的长度和与所述单元相对应的数据帧; 其中, 与所述单元相对应的数据帧的类型用于指示与所述单元相对应的数 据帧处于所述第一汇聚帧中的位置, 所述位置为以下任一项: 起始 位置、 中间位置和结束位置。
可选的, 所述第一数据帧的长度为 L 1 , 所述第二数据帧的长度 为 L 2 , 所述第一处理器 1 02用于根据所述第一数据帧和所述第二数 据帧生成第一汇聚帧包括以下任一项: 所述第一处理器 1 02 用于: 若 L 1和 L 2之和小于或等于 Lm i n , 则获取至少一个数据帧, 并生成 所述第一汇聚帧, 其中, 所述第一汇聚帧包括所述第一数据帧、 所 述第二数据帧和所述至少一个数据帧, 所述至少一个数据帧的长度、
L1 和 L2之和大于 Lmin; 所述第一处理器 102用于: 若 L1 和 L2之 和大于 Lmin, 则生成所述第一汇聚帧, 其中, 所述第一汇聚帧包括 所述第一数据帧和所述第二数据帧; 所述第一处理器 102 用于: 若 L1 和 L2之和大于 Lmax, 且 L2 大于或等于 Lmin, 则生成所述第一 汇聚帧, 所述第一汇聚帧包括所述第一数据帧, 其中, Lmax 大于 Lmin; 和, 所述第一处理器 102用于: 若 L 1和 L 2之和大于 Lmax , 且 L2 小于 Lmin, 则生成所述第一汇聚帧, 其中, 所述第一汇聚帧 包括所述第一数据帧。
可选的, 如图 7所示, 所述通信设备还包括: 第一定时器 105, 所述第一定时器 105 在所述第一处理器 102 获取所述第一数据帧时 启动, 在所述第一处理器 102生成所述第一汇聚帧时停止。
可选的, 所述第一处理器 102用于根据所述第一数据帧和所述 第二数据帧生成第一汇聚帧包括: 所述第一处理器 102 用于: 确定 所述第一定时器 105 超时, 且所述第一处理器 102从所述第一数据 帧开始至所述第一定时器 105 超时时获取到的所有数据帧的长度之 和小于或等于 Lmin, 生成所述第一汇聚帧, 其中, 所述第一汇聚帧 包括: 所述第一处理器 102 从所述第一数据帧开始至所述第一定时 器 105超时时获取到的所有数据帧。
可选的, 若 L1和 L2之和大于 Lmax, 且 L2 大于或等于 Lmin, 所述第一处理器 102 还用于: 生成第二汇聚帧, 以及将所述第二汇 聚帧发送给所述第二处理器 103, 其中, 所述第二汇聚帧包括所述 第二数据帧; 或者, 若 L1 和 L2之和大于 Lmax, 且 L2 小于 Lmin, 所述第一处理器 102 还用于: 在生成所述第一汇聚帧之后, 获取其 他数据帧, 并生成所述第二汇聚帧, 以及将所述第二汇聚帧发送给 所述第二处理器 103, 其中, 所述第二汇聚帧包括所述第二数据帧 和所述其他数据帧。
可选的, 如图 8所示, 所述通信设备还包括: 第二定时器 106, 所述第二定时器 106 在获取所述第二数据帧时或者在所述第一定时 器 105停止时启动, 在所述第一处理器 102 生成所述第二汇聚帧时 停止。
可选的, 所述第一汇聚帧所包括的数据帧的 QoS标识相同。 可选的, 所述第一处理器 102用于顺序获取第一数据帧和第二 数据帧包括: 所述第一处理器 102 用于先获取所述第一数据帧, 并 根据所述第一数据帧的 QoS 标识, 获取所述第二数据帧, 其中, 所 述第二数据帧的 QoS标识与所述第一数据帧的 QoS标识相同。
可选的, 所述 Lmin为 20字节至 75376字节之间的任一值。 可选的, 如图 9 所示, 所述通信设备还包括输入装置 107, 所 述输入装置 107, 用于接收从所述通信设备外部输入的 Lmin。
可选的, 所述第一处理器 102和所述第二处理器 103为所述通 信设备中的不同 CPU, 或者, 所述第一处理器 102 和所述第二处理 器 103为所述通信设备中的同一 CPU。
可选的, 所述通信设备可以为基站或 RRN。
本发明的实施例提供一种通信设备, 该通信设备对获取到的数 据帧的长度进行判断, 并根据判断结果生成汇聚帧, 从而增加了汇 聚帧的长度, 实现针对较长的汇聚帧进行后续处理和传输, 因此, 能够提升无线通信系统对数据帧的处理性能。
如图 10所示, 本发明的实施例提供一种通信设备, 该通信设备 可以包括发送器 200、接收器 201、 第三处理器 202、 第四处理器 203 以及存储器 204, 其中,
发送器 200可用于向其他通信设备发送通信数据, 特别的, 若 该通信设备需与其他通信设备进行通信, 发送器 200 可发送通信数 据至其他通信设备。
接收器 201可用于接收来自其他通信设备的通信数据,特别的 , 若该通信设备需与其他通信设备进行通信, 接收器 201 可接收来自 其他通信设备的通信数据。
第三处理器 202和第四处理器 203为该通信设备的控制以及处 理中心, 通过运行存储在存储器 204 中的软件程序, 并调用及处理 存储在存储器 2 04 中的数据, 从而控制该通信设备进行收发数据, 以及实现该通信设备的其他功能。
存储器 2 04可用于存储软件程序及数据,以使得第三处理器 2 02 和第四处理器 2 03可通过运行存储在存储器 2 04 中的软件程序, 从 而实现该通信设备的收发数据以及其他功能。
具体的, 所述第三处理器 2 02用于: 经由天线接收信号, 针对 所述信号进行处理并获取第一汇聚帧, 并将所述第一汇聚帧发送给 所述第四处理器 2 03 , 所述处理包括 PHY层处理、 MAC层处理、 RLC 层处理和 PDCP层处理, 其中, 所述第一汇聚帧的长度大于或等于预 设值 Lm i n ; 所述第四处理器 2 03用于: 接收所述第一汇聚帧, 并从 所述第一汇聚帧中的数据帧获取第一数据帧和第二数据帧中的至少 一个; 所述存储器 2 04 可用于存储所述第一汇聚帧的软件代码及控 制该通信设备完成上述步骤的软件程序, 所述第三处理器 2 02 和所 述第四处理器 2 03 通过执行该软件程序并调用该软件代码, 从而完 成上述步骤。
可选的, 所述第一汇聚帧包括第一单元和第二单元; 所述第一 单元包括至少两个子单元, 所述第一单元中的至少两个子单元中的 每个子单元与所述第一汇聚帧包括的数据帧——对应, 所述每个子 单元包括: 与所述子单元相对应的数据帧的类型、 与所述子单元相 对应的数据帧的长度, 其中, 与所述子单元相对应的数据帧的类型 用于指示与所述子单元相对应的数据帧处于所述第一汇聚帧中的位 置, 所述位置为以下任一项: 起始位置、 中间位置和结束位置; 所 述第二单元包括至少两个子单元, 所述第二单元中的至少两个子单 元中的每个子单元与所述第一汇聚帧包括的数据帧——对应, 所述 每个子单元包括: 与所述子单元相对应的数据帧; 所述第四处理器 2 03 具体用于: 确定与所述第一单元中的每个子单元分别对应的所 述第二单元中的子单元, 并获取所述第二单元中与所述子单元相对 应的数据帧。
可选的, 所述第一单元中的子单元数量和所述第二单元中的子 单元数量相同, 且所述第一单元中的第 N 个子单元和所述第二单元 中的第 N个子单元对应于同一个数据帧, 其中, N取正整数。
可选的, 所述第一汇聚帧包括至少一个单元, 所述至少一个单 元中的每个单元与所述第一汇聚帧包括的数据帧——对应; 所述每 个单元包括: 与所述单元相对应的数据帧的类型、 与所述单元相对 应的数据帧的长度和与所述单元相对应的数据帧; 其中, 与所述单 元相对应的数据帧的类型用于指示与所述单元相对应的数据帧处于 所述第一汇聚帧中的位置, 所述位置为以下任一项: 起始位置、 中 间位置和结束位置; 所述第四处理器 203 具体用于: 分别获取所述 至少一个单元中与每个单元相对应的数据帧。 可选的, 所述第一汇聚帧所包括的数据帧的 QoS标识相同。 可选的, 所述 Lmin为 20字节至 75376字节之间的任一值。 可选的, 所述第三处理器 202和所述第四处理器 203为所述通 信设备中的不同 CPU, 或者, 所述第三处理器 202 和所述第四处理 器 203为所述通信设备中的同一 CPU。
可选的, 所述通信设备可以为基站或 RRN。
本发明的实施例提供一种通信设备, 该通信设备对接收到的信 号进行处理, 并从汇聚帧中获取每个数据帧, 从而将传输至该通信 设备的汇聚帧还原为数据帧, 因此, 能够提升无线通信系统对数据 帧的处理性能。
实施例六
如图 11所示, 本发明的实施例提供一种通信设备 1, 该通信设 备 1 可以包括:
获取模块 108, 用于顺序获取第一数据帧和第二数据帧。
处理模块 109, 用于根据所述获取模块 108 获取的所述第一数 据帧和所述第二数据帧生成第一汇聚帧, 所述第一汇聚帧包括所述 第一数据帧和所述第二数据帧中的至少一个, 并且所述第一汇聚帧 的长度大于或等于预设值 Lmin。
所述处理模块 109, 还用于对所述第一汇聚帧进行处理并生成 信号, 并经由天线发送所述信号, 所述处理包括 PDCP 层处理、 RLC 层处理、 MAC层处理和 PHY层处理。
可选的, 所述处理模块 109 生成的所述第一汇聚帧包括 PDCP 头部、 第一单元和第二单元; 所述第一单元包括至少两个子单元, 所述第一单元中的至少两个子单元中的每个子单元与所述第一汇聚 帧包括的数据帧——对应, 所述每个子单元包括: 与所述子单元相 对应的数据帧的类型、 与所述子单元相对应的数据帧的长度, 其中, 与所述子单元相对应的数据帧的类型用于指示与所述子单元相对应 的数据帧处于所述第一汇聚帧中的位置, 所述位置为一下任一项: 起始位置、 中间位置和结束位置; 所述第二单元包括至少两个子单 元, 所述第二单元中的至少两个子单元中的每个子单元与所述第一 汇聚帧包括的数据帧——对应, 所述每个子单元包括: 与所述子单 元相对应的数据帧。
可选的, 所述第一单元中的子单元数量和所述第二单元中的子 单元数量相同, 且所述第一单元中的第 N 个子单元和所述第二单元 中的第 N个子单元对应于同一个数据帧, 其中, N取正整数。
可选的, 所述处理模块 109 生成的所述第一汇聚帧包括 PDCP 头部和至少一个单元, 所述至少一个单元中的每个单元与所述第一 汇聚帧包括的数据帧——对应; 所述每个单元包括: 与所述单元相 对应的数据帧的类型、 与所述单元相对应的数据帧的长度和与所述 单元相对应的数据帧, 其中, 与所述单元相对应的数据帧的类型用 于指示与所述单元相对应的数据帧处于所述第一汇聚帧中的位置, 所述位置为以下任一项: 起始位置、 中间位置和结束位置。
可选的, 所述第一数据帧的长度为 L1, 所述第二数据帧的长度 为 L 2,所述获取模块 108,具体用于若 L1和 L2之和小于或等于 Lmin, 则获取至少一个数据帧; 所述处理模块 109, 具体用于生成所述第 一汇聚帧, 其中, 所述第一汇聚帧包括所述获取模块 108 获取的所 述第一数据帧、 所述第二数据帧和所述至少一个数据帧, 所述至少 一个数据帧的长度、 L1 和 L2 之和大于 Lmin; 所述处理模块 109, 具体用于若 LI和 L2之和大于 Lmin, 则生成所述第一汇聚帧, 其中, 所述第一汇聚帧包括所述获取模块 108 获取的所述第一数据帧和所 述第二数据帧; 所述处理模块 109, 具体用于若 L1 和 L2 之和大于 Lmax, 且 L2 大于或等于 Lmin, 则生成所述第一汇聚帧, 所述第一 汇聚帧包括所述获取模块 108 获取的所述第一数据帧, 其中, Lmax 大于 Lmin; 和, 所述处理模块 109, 具体用于若 L1 和 L2之和大于 Lmax, 且 L2 小于 Lmin, 则生成所述第一汇聚帧, 其中, 所述第一 汇聚帧包括所述获取模块 108获取的所述第一数据帧。
可选的, 所述处理模块 109, 还用于在所述获取模块 108 获取 所述第一数据帧时, 启动第一定时器, 并在生成所述第一汇聚帧时 停止所述第一定时器。
可选的, 如图 12所示, 所述通信设备还包括确定模块 110, 所 述确定模块 110,用于确定所述第一定时器超时;所述处理模块 109, 具体用于若从所述第一数据帧开始至所述确定模块 110 确定出所述 第一定时器超时时所述获取模块 108 获取到的所有数据帧的长度之 和小于或等于 Lmin, 则生成所述第一汇聚帧, 其中, 所述第一汇聚 帧包括: 从所述第一数据帧开始至所述第一定时器超时时获取到的 所有数据帧。
可选的, 所述处理模块 109, 还用于若 L1和 L2之和大于 Lmax, 且 L2 大于或等于 Lmin, 则生成第二汇聚帧, 其中, 所述第二汇聚 帧包括所述获取模块 108 获取的所述第二数据帧; 或者, 所述获取 模块 108, 还用于若 L1 和 L2之和大于 Lmax, 且 L2 小于 Lmin, 在 所述处理模块 109 生成所述第一汇聚帧之后, 获取其他数据帧; 所 述处理模块, 还用于生成所述第二汇聚帧, 其中, 所述第二汇聚帧 包括所述获取模块 108获取的所述第二数据帧和所述其他数据帧。
可选的, 所述处理模块 109, 还用于在所述获取模块 108 获取 所述第二数据帧时或者在所述第一定时器停止时, 启动第二定时器, 并在生成所述第二汇聚帧时停止所述第二定时器。
可选的, 所述处理模块 109 生成的所述第一汇聚帧所包括的数 据帧的 QoS标识相同。
可选的, 所述获取模块 108, 具体用于获取所述第一数据帧, 并根据所述第一数据帧的 QoS 标识, 获取所述第二数据帧, 其中, 所述第二数据帧的 QoS标识与所述第一数据帧的 QoS标识相同。
可选的, 所述 Lmin为 20字节至 75376字节之间的任一值。 可选的, 所述通信设备 1可以为基站或 RRN。
本发明的实施例提供一种通信设备, 该通信设备对获取到的数 据帧的长度进行判断, 并根据判断结果生成汇聚帧, 从而增加了汇 聚帧的长度, 实现针对较长的汇聚帧进行后续处理和传输, 因此, 能够提升无线通信系统对数据帧的处理性能。
如图 13所示, 本发明的实施例还提供一种通信设备 2, 该通信 设备 2可以包括:
处理模块 205, 用于经由天线接收信号, 针对所述信号进行处 理并获取第一汇聚帧, 所述处理包括 PHY层处理、 MAC层处理、 RLC 层处理和 PDCP层处理, 其中, 所述第一汇聚帧的长度大于或等于预 设值 Lmin。
获取模块 206, 用于从所述处理模块 205 获取的所述第一汇聚 帧中的数据帧获取第一数据帧和第二数据帧中的至少一个。
可选的, 所述处理模块 205 获取的所述第一汇聚帧包括第一单 元和第二单元; 所述第一单元包括至少两个子单元, 所述第一单元 中的至少两个子单元中的每个子单元与所述第一汇聚帧包括的数据 帧——对应, 所述每个子单元包括: 与所述子单元相对应的数据帧 的类型、 与所述子单元相对应的数据帧的长度, 其中, 与所述子单 元相对应的数据帧的类型用于指示与所述子单元相对应的数据帧处 于所述第一汇聚帧中的位置, 所述位置为以下任一项: 起始位置、 中间位置和结束位置; 所述第二单元包括至少两个子单元, 所述第 二单元中的至少两个子单元中的每个子单元与所述第一汇聚帧包括 的数据帧——对应, 所述每个子单元包括: 与所述子单元相对应的 数据帧; 所述处理模块 205, 具体用于确定与所述第一单元中的每 个子单元分别对应的所述第二单元中的子单元; 所述获取模块 2 06 , 具体用于获取所述第二单元中与所述子单元相对应的数据帧。
可选的, 所述第一单元中的子单元数量和所述第二单元中的子 单元数量相同, 且所述第一单元中的第 N 个子单元和所述第二单元 中的第 N个子单元对应于同一个数据帧, 其中, N取正整数。
可选的, 所述处理模块 2 05 获取的所述第一汇聚帧包括至少一 个单元, 所述至少一个单元中的每个单元与所述第一汇聚帧包括的 数据帧——对应; 所述每个单元包括: 与所述单元相对应的数据帧 的类型、 与所述单元相对应的数据帧的长度和与所述单元相对应的 数据帧; 其中, 与所述单元相对应的数据帧的类型用于指示与所述 单元相对应的数据帧处于所述第一汇聚帧中的位置, 所述位置为以 下任一项: 起始位置、 中间位置和结束位置; 所述获取模块 2 06 , 具体用于分别获取所述至少一个单元中与每个单元相对应的数据 帧。
可选的, 所述处理模块 2 05 获取的所述第一汇聚帧所包括的数 据帧的 Q o S标识相同。
可选的, 所述 Lm i n为 2 0字节至 75 37 6字节之间的任一值。 可选的, 所述通信设备 2可以为基站或 RRN。
需要说明的是, 实施例一、 实施例二、 实施例三和实施例四所 提供的通信方法可以应用于实施例五和实施例六所提供的通信设备 中。
本发明的实施例提供一种通信设备, 该通信设备对接收到的信 号进行处理, 并从汇聚帧中获取每个数据帧, 从而将传输至该通信 设备的汇聚帧还原为数据帧, 因此, 能够提升无线通信系统对数据 帧的处理性能。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁, 仅以上述各功能模块的划分进行举例说明, 实际应用中, 可以根据 需要而将上述功能分配由不同的功能模块完成, 即将装置的内部结 构划分成不同的功能模块, 以完成以上描述的全部或者部分功能。 上述描述的系统, 装置和单元的具体工作过程, 可以参考前述方法 实施例中的对应过程, 在此不再赘述。
在本申请所提供的几个实施例中, 应该理解到, 所揭露的系统, 装置和方法, 可以通过其它的方式实现。 例如, 以上所描述的装置 实施例仅仅是示意性的, 例如, 所述模块或单元的划分, 仅仅为一 种逻辑功能划分, 实际实现时可以有另外的划分方式, 例如多个单 元或组件可以结合或者可以集成到另一个系统, 或一些特征可以忽 略, 或不执行。 另一点, 所显示或讨论的相互之间的耦合或直接耦 合或通信连接可以是通过一些接口, 装置或单元的间接耦合或通信 连接, 可以是电性, 机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分 开的, 作为单元显示的部件可以是或者也可以不是物理单元, 即可 以位于一个地方, 或者也可以分布到多个网络单元上。 可以根据实 际的需要选择其中的部分或者全部单元来实现本实施例方案的 目 的。
另外, 在本发明各个实施例中的各功能单元可以集成在一个处 理单元中, 也可以是各个单元单独物理存在, 也可以两个或两个以 上单元集成在一个单元中。 上述集成的单元既可以釆用硬件的形式 实现, 也可以釆用软件功能单元的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的 产品销售或使用时, 可以存储在一个计算机可读取存储介质中。 基 于这样的理解, 本发明的技术方案本质上或者说对现有技术做出贡 献的部分或者该技术方案的全部或部分可以以软件产品的形式体现 出来, 该计算机软件产品存储在一个存储介质中, 包括若干指令用 以使得一台计算机设备 (可以是个人计算机, 服务器, 或者网络设 备等) 或处理器 ( processor ) 执行本发明各个实施例所述方法的全 部或部分步骤。 而前述的存储介质包括: U 盘、 移动硬盘、 只读存 储器 ( Read-Only Memory , 简称为 應)、 随机存取存储器 ( Random Access Memory, 简称为 RAM )、 磁碟或者光盘等各种可以存储程序
代码的介质。
以上所述, 仅为本发明的具体实施方式, 但本发明的保护范围 并不局限于此, 任何熟悉本技术领域的技术人员在本发明揭露的技 术范围内, 可轻易想到变化或替换, 都应涵盖在本发明的保护范围 之内。 因此, 本发明的保护范围应所述以权利要求的保护范围为准。

Claims

权 利 要 求 书
1、 一种通信设备, 其特征在于, 包括存储器、 第一处理器和第 二处理器;
所述存储器用于:存储预设值 Lm i n ,所述 Lm i n为 2 0字节至 75 376 字节之间的任一值;
所述第一处理器用于: 顺序获取第一数据帧和第二数据帧, 根据 所述第一数据帧和所述第二数据帧生成第一汇聚帧, 并将所述第一汇 聚帧发送给所述第二处理器, 其中, 所述第一汇聚帧包括所述第一数 据帧和所述第二数据帧中的至少一个, 并且所述第一汇聚帧的长度大 于或等于 Lm i n ;
所述第二处理器用于: 接收所述第一汇聚帧, 针对所述第一汇聚 帧进行处理并生成信号, 并经由天线发送所述信号, 所述处理包括分 组数据汇聚协议 PDCP层处理、 无线链路控制 RLC层处理、 媒体接入 控制 MAC层处理和物理 PHY层处理。
2、 根据权利要求 1 所述的通信设备, 其特征在于, 所述第一汇 聚帧包括 PDCP头部、 第一单元和第二单元;
所述第一单元包括至少两个子单元,所述第一单元中的至少两个 子单元中的每个子单元与所述第一汇聚帧包括的数据帧——对应, 所 述每个子单元包括: 与所述子单元相对应的数据帧的类型、 与所述子 单元相对应的数据帧的长度, 其中, 与所述子单元相对应的数据帧的 类型用于指示与所述子单元相对应的数据帧处于所述第一汇聚帧中 的位置, 所述位置为以下任一项: 起始位置、 中间位置和结束位置; 所述第二单元包括至少两个子单元,所述第二单元中的至少两个 子单元中的每个子单元与所述第一汇聚帧包括的数据帧——对应, 所 述每个子单元包括: 与所述子单元相对应的数据帧。
3、 根据权利要求 2 所述的通信设备, 其特征在于, 所述第一单 元中的子单元数量和所述第二单元中的子单元数量相同, 且所述第一 单元中的第 N个子单元和所述第二单元中的第 N个子单元对应于同一 个数据帧, 其中, N取正整数。
4、 根据权利要求 1 所述的通信设备, 其特征在于, 所述第一汇 聚帧包括 PDCP 头部和至少一个单元, 所述至少一个单元中的每个单 元与所述第一汇聚帧包括的数据帧——对应;
所述每个单元包括: 与所述单元相对应的数据帧的类型、 与所述 单元相对应的数据帧的长度和与所述单元相对应的数据帧; 其中, 与 所述单元相对应的数据帧的类型用于指示与所述单元相对应的数据 帧处于所述第一汇聚帧中的位置,所述位置为以下任一项:起始位置、 中间位置和结束位置。
5、 根据权利要求 1-4任一项所述的通信设备, 其特征在于, 所 述第一数据帧的长度为 L1, 所述第二数据帧的长度为 L2, 所述第一 处理器用于根据所述第一数据帧和所述第二数据帧生成第一汇聚帧 包括以下任一项:
所述第一处理器用于: 若 L1 和 L2之和小于或等于 Lmin, 则获 取至少一个数据帧, 并生成所述第一汇聚帧, 其中, 所述第一汇聚帧 包括所述第一数据帧、 所述第二数据帧和所述至少一个数据帧, 所述 至少一个数据帧的长度、 L1和 L2之和大于 Lmin;
所述第一处理器用于: 若 L1 和 L2之和大于 Lmin, 则生成所述 第一汇聚帧, 其中, 所述第一汇聚帧包括所述第一数据帧和所述第二 数据帧;
所述第一处理器用于: 若 L1和 L2之和大于 Lmax, 且 L2大于或 等于 Lmin, 则生成所述第一汇聚帧, 所述第一汇聚帧包括所述第一 数据帧, 其中, Lmax大于 Lmin; 和,
所述第一处理器用于:若 L1和 L2之和大于 Lmax,且 L2小于 Lmin, 则生成所述第一汇聚帧,其中,所述第一汇聚帧包括所述第一数据帧。
6、 根据权利要求 1-5任一项所述的通信设备, 其特征在于, 所 述通信设备还包括: 第一定时器, 所述第一定时器在所述第一处理器 获取所述第一数据帧时启动, 在所述第一处理器生成所述第一汇聚帧 时停止。
7、 根据权利要求 6 所述的通信设备, 其特征在于, 所述第一处 理器用于根据所述第一数据帧和所述第二数据帧生成第一汇聚帧包 括:
所述第一处理器用于: 确定所述第一定时器超时, 且所述第一处 理器从所述第一数据帧开始至所述第一定时器超时时获取到的所有 数据帧的长度之和小于或等于 Lmin, 生成所述第一汇聚帧, 其中, 所述第一汇聚帧包括: 所述第一处理器从所述第一数据帧开始至所述 第一定时器超时时获取到的所有数据帧。
8、 根据权利要求 5或 6所述的通信设备, 其特征在于, 若 L1和 L2之和大于 Lmax, 且 L2 大于或等于 Lmin, 所述第一处 理器还用于: 生成第二汇聚帧, 以及将所述第二汇聚帧发送给所述第 二处理器, 其中, 所述第二汇聚帧包括所述第二数据帧; 或者, 若 L1和 L2之和大于 Lmax, 且 L2小于 Lmin, 所述第一处理器还 用于: 在生成所述第一汇聚帧之后, 获取其他数据帧, 并生成所述第 二汇聚帧, 以及将所述第二汇聚帧发送给所述第二处理器, 其中, 所 述第二汇聚帧包括所述第二数据帧和所述其他数据帧。
9、 根据权利要求 8 所述的通信设备, 其特征在于, 所述通信设 备还包括: 第二定时器, 所述第二定时器在获取所述第二数据帧时或 者在所述第一定时器停止时启动, 在所述第一处理器生成所述第二汇 聚帧时停止。
10、 根据权利要求 1-9任一项所述的通信设备, 其特征在于, 所 述第一汇聚帧所包括的数据帧的服务质量 QoS标识相同。
11、 根据权利要求 1-9任一项所述的通信设备, 其特征在于, 所 述第一处理器用于顺序获取第一数据帧和第二数据帧包括:
所述第一处理器用于先获取所述第一数据帧,并根据所述第一数 据帧的服务质量 QoS标识, 获取所述第二数据帧, 其中, 所述第二数 据帧的 QoS标识与所述第一数据帧的 QoS标识相同。
12、 根据权利要求 1-11任一项所述的通信设备, 其特征在于, 所述通信设备还包括:
输入装置, 用于接收从所述通信设备外部输入的 Lmin。
13、 根据权利要求 1-12任一项所述的通信设备, 其特征在于, 所述第一处理器和所述第二处理器为所述通信设备中的不同 CPU, 或 者,所述第一处理器和所述第二处理器为所述通信设备中的同一 CPU。
14、 根据权利要求 1-13任一项所述的通信设备, 其特征在于, 所述通信设备为基站或无线回传远端节点 RRN。
15、 一种通信方法, 其特征在于, 包括:
顺序获取第一数据帧和第二数据帧;
根据所述第一数据帧和所述第二数据帧生成第一汇聚帧,所述第 一汇聚帧包括所述第一数据帧和所述第二数据帧中的至少一个, 并且 所述第一汇聚帧的长度大于或等于预设值 Lmin, 所述 Lmin 为 20 字 节至 75376字节之间的任一值;
对所述第一汇聚帧进行处理并生成信号,并经由天线发送所述信 号, 所述处理包括分组数据汇聚协议 PDCP层处理、 无线链路控制 RLC 层处理、 媒体接入控制 MAC层处理和物理 PHY层处理。
16、 根据权利要求 15 所述的通信方法, 其特征在于, 所述第一 汇聚帧包括 PDCP头部、 第一单元和第二单元;
所述第一单元包括至少两个子单元,所述第一单元中的至少两个 子单元中的每个子单元与所述第一汇聚帧包括的数据帧——对应, 所 述每个子单元包括: 与所述子单元相对应的数据帧的类型、 与所述子 单元相对应的数据帧的长度, 其中, 与所述子单元相对应的数据帧的 类型用于指示与所述子单元相对应的数据帧处于所述第一汇聚帧中 的位置, 所述位置为以下任一项: 起始位置、 中间位置和结束位置; 所述第二单元包括至少两个子单元,所述第二单元中的至少两个 子单元中的每个子单元与所述第一汇聚帧包括的数据帧——对应, 所 述每个子单元包括: 与所述子单元相对应的数据帧。
17、 根据权利要求 16 所述的通信方法, 其特征在于, 所述第一 单元中的子单元数量和所述第二单元中的子单元数量相同, 且所述第 一单元中的第 N个子单元和所述第二单元中的第 N个子单元对应于同 一个数据帧, 其中, N取正整数。
18、 根据权利要求 15 所述的通信方法, 其特征在于, 所述第一 汇聚帧包括 PDCP 头部和至少一个单元, 所述至少一个单元中的每个 单元与所述第一汇聚帧包括的数据帧——对应;
所述每个单元包括: 与所述单元相对应的数据帧的类型、 与所述 单元相对应的数据帧的长度和与所述单元相对应的数据帧, 其中, 与 所述单元相对应的数据帧的类型用于指示与所述单元相对应的数据 帧处于所述第一汇聚帧中的位置,所述位置为以下任一项:起始位置、 中间位置和结束位置。
19、 根据权利要求 15-18任一项所述的通信方法, 其特征在于, 所述第一数据帧的长度为 L1, 所述第二数据帧的长度为 L2, 所述根 据所述第一数据帧和所述第二数据帧生成第一汇聚帧的方法包括以 下任一项:
若 L1 和 L2之和小于或等于 Lmin, 则获取至少一个数据帧, 并 生成所述第一汇聚帧, 其中, 所述第一汇聚帧包括所述第一数据帧、 所述第二数据帧和所述至少一个数据帧, 所述至少一个数据帧的长 度、 L1和 L2之和大于 Lmin;
若 L1 和 L2之和大于 Lmin, 则生成所述第一汇聚帧, 其中, 所 述第一汇聚帧包括所述第一数据帧和所述第二数据帧;
若 L1和 L2之和大于 Lmax, 且 L2 大于或等于 Lm in , 则生成所述 第一汇聚帧, 所述第一汇聚帧包括所述第一数据帧, 其中, Lmax 大 于 Lmin; 和,
若 L1和 L2之和大于 Lmax, 且 L2小于 Lmin, 则生成所述第一汇 聚帧, 其中, 所述第一汇聚帧包括所述第一数据帧。
20、 根据权利要求 15-19任一项所述的通信方法, 其特征在于, 所述方法还包括:
在获取所述第一数据帧时, 启动第一定时器;
在生成所述第一汇聚帧时停止所述第一定时器。
21、 根据权利要求 20所述的通信方法, 其特征在于, 所述根据 所述第一数据帧和所述第二数据帧生成第一汇聚帧, 具体包括: 确定第一定时器超时;
且若从所述第一数据帧开始至所述第一定时器超时时获取到的 所有数据帧的长度之和小于或等于 Lmin, 则生成所述第一汇聚帧, 其中, 所述第一汇聚帧包括: 从所述第一数据帧开始至所述第一定时 器超时时获取到的所有数据帧。
22、 根据权利要求 19或 20所述的通信方法, 其特征在于, 所述 方法还包括:
若 L1和 L2之和大于 Lmax, 且 L2 大于或等于 Lm in , 则生成第二 汇聚帧, 其中, 所述第二汇聚帧包括所述第二数据帧; 或者,
若 L1和 L2之和大于 Lmax, 且 L2小于 Lmin, 则在生成所述第一 汇聚帧之后, 获取其他数据帧, 并生成所述第二汇聚帧, 其中, 所述 第二汇聚帧包括所述第二数据帧和所述其他数据帧。
23、 根据权利要求 22 所述的通信方法, 其特征在于, 所述方法 还包括:
在获取所述第二数据帧时或者在所述第一定时器停止时,启动第 二定时器;
在生成所述第二汇聚帧时停止所述第二定时器。
24、 根据权利要求 15-23任一项所述的通信方法, 其特征在于, 所述第一汇聚帧所包括的数据帧的服务质量 QoS标识相同。
25、 根据权利要求 15-23任一项所述的通信方法, 其特征在于, 所述顺序获取第一数据帧和第二数据帧, 具体包括:
获取所述第一数据帧;
根据所述第一数据帧的服务质量 QoS 标识, 获取所述第二数据 帧, 其中, 所述第二数据帧的 QoS标识与所述第一数据帧的 QoS标识 相同。
26、 一种通信设备, 其特征在于, 包括第三处理器和第四处理器; 所述第三处理器用于: 经由天线接收信号, 针对所述信号进行处 理并获取第一汇聚帧, 并将所述第一汇聚帧发送给所述第四处理器, 所述处理包括物理 PHY层处理、 媒体接入控制 MAC层处理、 无线链路 控制 RLC层处理和分组数据汇聚协议 PDCP层处理, 其中, 所述第一 汇聚帧的长度大于或等于预设值 Lm i n , 所述 Lm i n为 2 0字节至 7 5 3 7 6 字节之间的任一值;
所述第四处理器用于: 接收所述第一汇聚帧, 并从所述第一汇聚 帧中的数据帧获取第一数据帧和第二数据帧中的至少一个。
2 7、 根据权利要求 2 6 所述的通信设备, 其特征在于, 所述第一 汇聚帧包括第一单元和第二单元;
所述第一单元包括至少两个子单元,所述第一单元中的至少两个 子单元中的每个子单元与所述第一汇聚帧包括的数据帧——对应, 所 述每个子单元包括: 与所述子单元相对应的数据帧的类型、 与所述子 单元相对应的数据帧的长度, 其中, 与所述子单元相对应的数据帧的 类型用于指示与所述子单元相对应的数据帧处于所述第一汇聚帧中 的位置, 所述位置为以下任一项: 起始位置、 中间位置和结束位置; 所述第二单元包括至少两个子单元,所述第二单元中的至少两个 子单元中的每个子单元与所述第一汇聚帧包括的数据帧——对应, 所 述每个子单元包括: 与所述子单元相对应的数据帧;
所述第四处理器具体用于:确定与所述第一单元中的每个子单元 分别对应的所述第二单元中的子单元, 并获取所述第二单元中与所述 子单元相对应的数据帧。
2 8、 根据权利要求 2 7 所述的通信设备, 其特征在于, 所述第一 单元中的子单元数量和所述第二单元中的子单元数量相同, 且所述第 一单元中的第 N个子单元和所述第二单元中的第 N个子单元对应于同 一个数据帧, 其中, N取正整数。
2 9、 根据权利要求 2 6 所述的通信设备, 其特征在于, 所述第一 汇聚帧包括至少一个单元, 所述至少一个单元中的每个单元与所述第 一汇聚帧包括的数据帧——对应;
所述每个单元包括: 与所述单元相对应的数据帧的类型、 与所述 单元相对应的数据帧的长度和与所述单元相对应的数据帧; 其中, 与 所述单元相对应的数据帧的类型用于指示与所述单元相对应的数据 帧处于所述第一汇聚帧中的位置,所述位置为以下任一项:起始位置、 中间位置和结束位置;
所述第四处理器具体用于:分别获取所述至少一个单元中与每个 单元相对应的数据帧。
30、 根据权利要求 26-29任一项所述的通信设备, 其特征在于, 所述第一汇聚帧所包括的数据帧的服务质量 QoS标识相同。
31、 根据权利要求 26-30任一项所述的通信设备, 其特征在于, 所述第三处理器和所述第四处理器为所述通信设备中的不同 CPU, 或 者,所述第三处理器和所述第四处理器为所述通信设备中的同一 CPU。
32、 根据权利要求 26-31任一项所述的通信设备, 其特征在于, 所述通信设备为基站或无线回传远端节点 RRN。
33、 一种通信方法, 其特征在于, 包括:
经由天线接收信号, 针对所述信号进行处理并获取第一汇聚帧, 所述处理包括物理 PHY层处理、 媒体接入控制 MAC层处理、 无线链路 控制 RLC层处理和分组数据汇聚协议 PDCP层处理, 其中, 所述第一 汇聚帧的长度大于或等于预设值 Lmin, 所述 Lmin为 20字节至 75376 字节之间的任一值;
从所述第一汇聚帧中的数据帧获取第一数据帧和第二数据帧中 的至少一个。
34、 根据权利要求 33所述的通信方法, 其特征在于, 所述第一 汇聚帧包括第一单元和第二单元;
所述第一单元包括至少两个子单元,所述第一单元中的至少两个 子单元中的每个子单元与所述第一汇聚帧包括的数据帧——对应, 所 述每个子单元包括: 与所述子单元相对应的数据帧的类型、 与所述子 单元相对应的数据帧的长度, 其中, 与所述子单元相对应的数据帧的 类型用于指示与所述子单元相对应的数据帧处于所述第一汇聚帧中 的位置, 所述位置为以下任一项: 起始位置、 中间位置和结束位置; 所述第二单元包括至少两个子单元,所述第二单元中的至少两个 子单元中的每个子单元与所述第一汇聚帧包括的数据帧——对应, 所 述每个子单元包括: 与所述子单元相对应的数据帧;
其中, 从所述第一汇聚帧中的数据帧获取每个数据帧的方法包 括:
确定与所述第一单元中的每个子单元分别对应的所述第二单元 中的子单元, 并获取所述第二单元中与所述子单元相对应的数据帧。
35、 根据权利要求 34 所述的通信方法, 其特征在于, 所述第一 单元中的子单元数量和所述第二单元中的子单元数量相同, 且所述第 一单元中的第 N个子单元和所述第二单元中的第 N个子单元对应于同 一个数据帧, 其中, N取正整数。
36、 根据权利要求 33所述的通信方法, 其特征在于, 所述第一 汇聚帧包括至少一个单元, 所述至少一个单元中的每个单元与所述第 一汇聚帧包括的数据帧——对应;
所述每个单元包括: 与所述单元相对应的数据帧的类型、 与所述 单元相对应的数据帧的长度和与所述单元相对应的数据帧; 其中, 与 所述单元相对应的数据帧的类型用于指示与所述单元相对应的数据 帧处于所述第一汇聚帧中的位置,所述位置为以下任一项:起始位置、 中间位置和结束位置;
其中, 从所述第一汇聚帧中的数据帧获取每个数据帧的方法包 括:
分别获取所述至少一个单元中与每个单元相对应的数据帧。
37、 根据权利要求 3 3- 36任一项所述的通信方法, 其特征在于, 所述第一汇聚帧所包括的数据帧的服务质量 Qo S标识相同。
PCT/CN2013/091026 2013-12-31 2013-12-31 一种通信方法及设备 WO2015100581A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2013/091026 WO2015100581A1 (zh) 2013-12-31 2013-12-31 一种通信方法及设备
CN201380011892.9A CN104170447B (zh) 2013-12-31 2013-12-31 一种通信方法及设备

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2013/091026 WO2015100581A1 (zh) 2013-12-31 2013-12-31 一种通信方法及设备

Publications (1)

Publication Number Publication Date
WO2015100581A1 true WO2015100581A1 (zh) 2015-07-09

Family

ID=51912383

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/091026 WO2015100581A1 (zh) 2013-12-31 2013-12-31 一种通信方法及设备

Country Status (2)

Country Link
CN (1) CN104170447B (zh)
WO (1) WO2015100581A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016121809A1 (ja) * 2015-01-29 2016-08-04 株式会社Nttドコモ 端末及び通信システム

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1558639A (zh) * 2000-11-30 2004-12-29 Lg������ʽ���� 无线通信系统及其数据处理方法
CN101160902A (zh) * 2005-12-31 2008-04-09 华为技术有限公司 数据转发方法及交换设备
CN101472279A (zh) * 2007-12-25 2009-07-01 中国移动通信集团公司 数据交换的方法、设备及系统

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1558639A (zh) * 2000-11-30 2004-12-29 Lg������ʽ���� 无线通信系统及其数据处理方法
CN101160902A (zh) * 2005-12-31 2008-04-09 华为技术有限公司 数据转发方法及交换设备
CN101472279A (zh) * 2007-12-25 2009-07-01 中国移动通信集团公司 数据交换的方法、设备及系统

Also Published As

Publication number Publication date
CN104170447B (zh) 2018-02-02
CN104170447A (zh) 2014-11-26

Similar Documents

Publication Publication Date Title
US11405773B2 (en) Method and device for relay transmission
CN106134099B (zh) 用于在移动通信系统中使用多个载波来发送和接收数据的方法和设备
WO2018202037A1 (zh) 传输数据的方法、终端设备和网络设备
WO2019196810A1 (zh) 一种数据传输的方法、相关设备及通信系统
CN108337633B (zh) 数据分流配置方法、基站系统和用户终端
WO2015006896A1 (zh) 数据处理装置和方法
WO2015058336A1 (zh) 数据传输装置和方法
WO2019149248A1 (zh) 通信的方法和装置
CN105264830B (zh) 数据包的处理方法、终端、基站及系统
WO2015196393A1 (zh) 一种数据传输方法及设备
TW201918093A (zh) 切換方法、存取網設備和終端設備
WO2012146189A1 (zh) 消息处理方法、设备及系统
WO2016127666A1 (zh) 一种rlc数据包分流方法及基站
CN104685959B (zh) 具有统一接口的无源无线电链路控制实体
WO2014110797A1 (zh) 设备到设备间通信的逻辑信道处理方法、用户设备以及基站
WO2015089735A1 (zh) 一种用户设备能力获取方法及系统、设备
WO2013155709A1 (zh) 数据分流配置方法、基站系统和用户终端
US20220368782A1 (en) Baseband chip and method for layer 2 downlink data processing
WO2012119564A1 (zh) 一种用户面配置参数的处理方法及装置
WO2014121606A1 (zh) 业务处理方法和相关设备
WO2012155557A1 (zh) 一种异构网络中业务流的同步传输方法及系统
TWI797414B (zh) 用於行動性增強之方法及其使用者設備
WO2015100581A1 (zh) 一种通信方法及设备
WO2009129686A1 (zh) 非调度业务资源配置方法及系统、无线网络控制器
WO2017177438A1 (zh) 一种控制信息的传输方法及装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13900673

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13900673

Country of ref document: EP

Kind code of ref document: A1