WO2018223266A1 - 传输数据的方法、终端设备和网络设备 - Google Patents

传输数据的方法、终端设备和网络设备 Download PDF

Info

Publication number
WO2018223266A1
WO2018223266A1 PCT/CN2017/087207 CN2017087207W WO2018223266A1 WO 2018223266 A1 WO2018223266 A1 WO 2018223266A1 CN 2017087207 W CN2017087207 W CN 2017087207W WO 2018223266 A1 WO2018223266 A1 WO 2018223266A1
Authority
WO
WIPO (PCT)
Prior art keywords
mac
padding
subheader
mac pdu
location information
Prior art date
Application number
PCT/CN2017/087207
Other languages
English (en)
French (fr)
Inventor
唐海
Original Assignee
Oppo广东移动通信有限公司
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 Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Priority to CN201780049131.0A priority Critical patent/CN109565859B/zh
Priority to PCT/CN2017/087207 priority patent/WO2018223266A1/zh
Priority to TW107117627A priority patent/TW201904345A/zh
Publication of WO2018223266A1 publication Critical patent/WO2018223266A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/12Wireless traffic scheduling

Definitions

  • the present application relates to the field of communications, and in particular, to a method, a terminal device, and a network device for transmitting data.
  • a media access control (MAC) protocol data unit mainly has a MAC header (header), 0 or more MAC service data units (SDUs), and 0. Or a plurality of MAC control units (CEs) and optionally some padding.
  • a MAC PDU header is composed of one or more MAC PDU subheaders, and each subheader corresponds to a payload.
  • the payload may be a MAC SDU, a MAC CE, or a padding.
  • the MAC CE is generally placed in front of all MAC SDUs and behind the MAC subheader.
  • the MAC subheaders are connected together in front of the MAC PDU and correspond to the subsequent MAC CE, MAC SDU, and padding.
  • the MAC PDU structure will be different from the MAC PDU format in LTE as follows:
  • the format of the NR uplink MAC PDU is different from the format of the downlink MAC PDU, and the format of the LTE uplink and downlink MAC PDU is unified;
  • the subheader of the NR MAC PDU is placed with its corresponding paylaod, and the MAC subheader is placed in front of the corresponding payload, instead of being uniformly placed in front of the MAC PDU as LTE;
  • the MAC CE of the NR downlink MAC PDU is placed in front of the MAC PDU along with its corresponding MAC subheader.
  • the design is mainly for the UE side to quickly obtain the control information in the MAC CE.
  • the MAC CE of the NR uplink MAC PDU is placed behind all MAC SDUs along with its corresponding MAC subheader.
  • This design mainly considers some real-time MAC CEs, such as buffer status report (BSR), which needs to wait until The MAC SDU is determined before it can be generated.
  • BSR buffer status report
  • the network device Since the uplink MAC CE in the NR system is placed behind the MAC SDU in the MAC PDU, When the network device receives the MAC PDU sent by the terminal device, the network device needs to demodulate all the MAC SDUs to obtain the corresponding MAC CE control information, so that the network device cannot obtain the MAC control information of the terminal device as soon as possible.
  • the present application provides a method for transmitting data, a terminal device, and a network device, which can enable a network device to quickly determine a MAC CE and improve efficiency. .
  • a method for transmitting data comprising: determining location information, where the location information is used to indicate a location of n MAC CEs included in a first MAC PDU, n being a positive integer; sending the a first MAC PDU, the first MAC PDU including the location information.
  • the terminal device sends a MAC PDU including the location information to the network device, and the network device determines, according to the location information, the location of the n MAC CEs included in the MAC PDU, so that the network device can be fast.
  • the control information in the n MAC CEs is obtained to improve efficiency.
  • the first MAC PDU includes n subheaders corresponding to the n MAC CEs, and the i-th MAC CE of the n MAC CEs and corresponding The i-th subheader is adjacent to and behind the i-th subheader, i is a positive integer less than or equal to n, and the first MAC PDU includes m MAC SDUs and m subheaders corresponding to the m MAC SDUs, The jth MAC SDU of the m MAC SDUs is adjacent to the corresponding jth subheader and is located after the jth subheader, where the m MAC SDUs and the m subheaders are located in the n MAC CEs and the n subheaders Previously, m is a positive integer, and j is a positive integer less than or equal to m.
  • the first MAC PDU includes padding and a subheader corresponding to the padding, and the padding is adjacent to a subheader corresponding to the padding, and the padding corresponds to the padding.
  • the subheader is located after the m MAC SDUs and the m subheaders.
  • the uplink MAC PDU that is, the m MAC SDUs included in the first MAC PDU may be located in the first MAC PDU. front.
  • the n MAC CEs and the n subheaders may be located before or after the padding and the subheader corresponding to the padding.
  • the padding is located before or after the subheader corresponding to the padding.
  • the location information includes a first bit of a subheader corresponding to a specific one of the n MAC CEs. The number of bits between.
  • the specific bit is the first bit of the first MAC PDU.
  • the location information includes the number of bits between the first bit and the first bit of the subheader corresponding to the first MAC CE of the n MAC CEs.
  • the location information when the location information is at the forefront of the first MAC PDU, the location information includes the length of the location information, the m MAC SDUs, and the total length of the corresponding m subheaders, that is, the total number of bits.
  • the specific bit is the first bit of the subheader corresponding to the first MAC SDU of the m MAC SDUs.
  • the location information includes the total length of the m MAC SDUs and the corresponding m subheaders.
  • the specific bit is the last bit of the first MAC PDU.
  • the specific bit is the last one of the n MAC CEs, the n subheaders, the padding, and the subheaders corresponding to the padding Bit.
  • the padding is located after the subheader corresponding to the padding.
  • the location information includes n MAC CEs, the n subheaders, the padding, and the total length of the subheaders corresponding to the padding.
  • the information includes the total length of the n MAC CEs and the corresponding n subheaders.
  • the length in the embodiment of the present application may refer to the total number of bits.
  • the n MAC CEs and the n subheaders are located in the m MAC SDUs and the m subheaders After the padding and the subheader corresponding to the padding, the padding is located before the subheader corresponding to the padding, and the subheader corresponding to the padding includes the location information, where the specific bit is the last bit of the padding.
  • the location information is located at a front end or a last end of the first MAC PDU.
  • the method further includes: determining effective indication information, where the first MAC PDU includes the effective indication information, where the effective indication information is used to indicate Whether the network device determines the location of the n MAC CEs according to the location information.
  • setting the validity indication information to “1” indicates that the terminal device indicates that the network device needs to determine the location of the n MAC CEs according to the location information.
  • the determining the effective indication information includes: the total length of the first MAC PDU is greater than or equal to a first preset value or the first When the total length of the m MAC SDUs included in the MAC PDU is greater than or equal to the second preset value, determining that the effective indication information is used to indicate that the network device determines the location of the n MAC CEs according to the location information.
  • the location information may be set to be behind the first MAC PDU.
  • the bit looks forward for the location of n MAC CEs.
  • first preset value and the second preset value may be set according to actual conditions.
  • the determining the effective indication information includes: the total length of the first MAC PDU is less than the first preset value or the first When the total length of the m MAC SDUs of the MAC PDU is less than the second preset value, determining that the effective indication information is used to indicate that the network device does not perform determining the location of the n MAC CEs according to the location information.
  • the method further includes: determining indication information, where the indication information is used to indicate that the second MAC PDU does not include the MAC CE; to the network device Send the second MAC PDU.
  • the terminal device sends a MAC PDU including the location information to the network device, and the network device may determine, according to the location information, whether the MAC PDU includes the MAC CE, and whether the MAC address needs to be determined according to the location information.
  • a second aspect provides a method for transmitting data, the method comprising: receiving a first MAC PDU sent by a terminal device, where the first MAC PDU includes location information, and determining, according to the location information, the n included in the first MAC PDU The location of the MAC CE.
  • the network device receives the MAC PDU including the location information sent by the terminal device, and determines the location of the n MAC CEs included in the MAC PDU according to the location information, so that the network device can be fast.
  • the control information in the n MAC CEs is obtained to improve efficiency.
  • the first MAC PDU includes n subheaders corresponding to the n MAC CEs, and the i-th MAC CE and the corresponding one of the n MAC CEs
  • the i-th subheader is adjacent to the i-th subheader
  • the first MAC PDU includes m MAC SDUs and m subheaders corresponding to the m MAC SDUs, and the j-th MAC in the m MAC SDUs
  • the SDU is adjacent to the corresponding jth subheader and is located after the jth subheader
  • the m MAC SDUs and the m subheaders are located before the n MAC CEs and the n subheaders
  • the first MAC PDU includes a padding and a subheader corresponding to the padding
  • the padding is adjacent to the subheader corresponding to the padding
  • the subheader corresponding to the padding and the padding is located after the m MAC SDUs and the
  • the location information includes a first bit of the subheader corresponding to the first MAC CE of the n MAC CEs. The number of bits in between, determining the location of the n MAC CEs included in the first MAC PDU according to the location information, including: determining the location of the n MAC CEs according to the specific bit and the location information.
  • the specific bit is the first bit of the first MAC PDU.
  • the specific bit is the first bit of the subheader corresponding to the first MAC SDU of the m MAC SDUs.
  • the specific bit is the last bit of the first MAC PDU.
  • the specific bit is the last one of the n MAC CEs, the n subheaders, the padding, and the subheaders corresponding to the padding Bit.
  • the n MAC CEs and the n subheaders are located after the m MAC SDUs and the m subheaders, the padding and the padding Before the corresponding subheader, the padding is located before the subheader corresponding to the padding, and the subheader corresponding to the padding includes the location information, where the specific bit is the last bit of the padding.
  • the location information is located at a front end or a last end of the first MAC PDU.
  • the first MAC PDU includes the effective indication information
  • the method further includes: determining, according to the validation indication information, whether the location information is based on the location information Determine the location of the n MAC CEs.
  • the method further includes: receiving, by the terminal device, a second MAC PDU, where the second MAC PDU includes indication information; Information, determining that the second MAC PDU does not include the MAC CE.
  • the network device receives the MAC PDU including the location information sent by the terminal device, and determines whether the MAC PDU includes the MAC CE according to the location information, and whether the MAC CE needs to be determined according to the location information.
  • a terminal device for performing the method of any of the above first aspect or any of the possible implementations of the first aspect.
  • the terminal device comprises means for performing the method of any of the above-described first aspect or any of the possible implementations of the first aspect.
  • a network device for performing the method of any of the foregoing second aspect or any of the possible implementations of the second aspect.
  • the network device comprises means for performing the method of any of the above-described second or second aspects of the second aspect.
  • a terminal device comprising: a storage unit and a processor, the storage unit is configured to store an instruction, the processor is configured to execute an instruction stored by the memory, and when the processor executes the instruction stored by the memory The execution causes the processor to perform the method of the first aspect or any possible implementation of the first aspect.
  • a network device comprising: a storage unit and a processor, the storage unit is configured to store an instruction, the processor is configured to execute an instruction stored by the memory, and when the processor executes the instruction stored by the memory The execution causes the processor to perform the method of the second aspect or any possible implementation of the second aspect.
  • a seventh aspect a computer readable medium for storing a computer program, the computer program comprising instructions for performing the method of the first aspect or any of the possible implementations of the first aspect.
  • a computer readable medium for storing a computer program comprising instructions for performing the method of the second aspect or any of the possible implementations of the second aspect.
  • a computer program product comprising instructions which, when run on a computer, cause the computer to perform the method of any of the first aspect or the optional implementation of the first aspect.
  • a computer program product comprising instructions which, when run on a computer, cause the computer to perform the method of any of the alternative aspects of the second aspect or the second aspect.
  • FIG. 1 is a schematic flowchart of a method of transmitting data according to an embodiment of the present application.
  • FIG. 2 is a schematic diagram of a first MAC PDU in accordance with an embodiment of the present application.
  • FIG. 3 is another schematic diagram of a first MAC PDU according to an embodiment of the present application.
  • FIG. 4 is still another schematic diagram of a first MAC PDU according to an embodiment of the present application.
  • FIG. 5 is still another schematic diagram of a first MAC PDU according to an embodiment of the present application.
  • FIG. 6 is still another schematic diagram of a first MAC PDU according to an embodiment of the present application.
  • FIG. 7 is a schematic diagram of location information or indication information according to an embodiment of the present application.
  • FIG. 8 is a schematic diagram of a subheader corresponding to padding according to an embodiment of the present application.
  • FIG. 9 is a schematic diagram of effective indication information and location information according to an embodiment of the present application.
  • FIG. 10 is another schematic flowchart of a method for transmitting data according to an embodiment of the present application.
  • FIG. 11 is a schematic block diagram of a terminal device according to an embodiment of the present application.
  • FIG. 12 is a schematic block diagram of a network device according to an embodiment of the present application.
  • FIG. 13 is another schematic block diagram of a terminal device according to an embodiment of the present application.
  • FIG. 14 is another schematic block diagram of a network device according to an embodiment of the present application.
  • GSM Global System of Mobile communication
  • CDMA Code Division Multiple Access
  • WCDMA Wideband Code Division Multiple Access
  • GPRS General Packet Radio Service
  • LTE Long Term Evolution
  • FDD Frequency Division Duplex
  • TDD Time Division Duplex
  • UMTS Universal Mobile Telecommunication System
  • WiMAX Worldwide Interoperability for Microwave Access
  • the terminal device may include, but is not limited to, a mobile station (Mobile Station, MS), a mobile terminal (Mobile Terminal), a mobile phone (Mobile Telephone), a user equipment (User Equipment, UE), and a mobile phone (handset).
  • a portable device, a vehicle, etc. the terminal device can communicate with one or more core networks via a Radio Access Network (RAN), for example, the terminal device can be a mobile phone (or Known as "cellular" telephones, computers with wireless communication capabilities, etc., the terminal devices can also be portable, pocket-sized, handheld, computer-integrated or in-vehicle mobile devices.
  • RAN Radio Access Network
  • the network device involved in the embodiment of the present application is a device deployed in a radio access network to provide a wireless communication function for a terminal device.
  • a terminal device may be a base station (Base Transceiver Station, BTS) in a GSM system or a CDMA system, or a base station (NodeB, NB) in a WCDMA system, or an evolved base station (eNB) in an LTE system.
  • BTS Base Transceiver Station
  • NodeB, NB base station
  • eNB evolved base station
  • the eNodeB), or the network device may be a relay station, an access point, an in-vehicle device, a wearable device, and a network device in a future 5G network or a network device in a future evolved PLMN network.
  • FIG. 1 shows a schematic flow chart of a method 100 of transmitting data according to an embodiment of the present application, which may be performed by the terminal device described above. As shown in FIG. 1, the method 100 includes:
  • determining location information where the location information is used to indicate a location of n MAC CEs included in the first MAC PDU, where n is a positive integer;
  • the terminal device sends a first MAC PDU to the network device, where the first MAC PDU may include n MAC CEs, where the first MAC PDU further includes location information, where the location information is used to indicate the n MAC CEs.
  • the network device receives the first MAC PDU, determines the location of the n MAC CEs in the first MAC PDU according to the location information in the MAC PDU, and obtains control information in the n MAC CEs.
  • the terminal device sends a MAC PDU including the location information to the network device, and the network device determines, according to the location information, the location of the n MAC CEs included in the MAC PDU, so that the network device can be fast.
  • the control information in the n MAC CEs is obtained to improve efficiency.
  • the first MAC PDU sent by the terminal device to the network device may include n MAC CEs, where the n MAC CEs correspond to n subheaders, wherein the i-th MAC in the n MAC CEs The CE is adjacent to the corresponding i-th subheader and is located after the i-th subheader, and i is a positive integer less than or equal to n.
  • the first MAC PDU further includes m MAC SDUs, and the m MAC SDUs are in one-to-one correspondence with the m subheaders, wherein the jth MAC SDU of the m MAC SDUs is adjacent to the corresponding jth subheader and located at the After the jth subheader, m is a positive integer and j is a positive integer less than or equal to m.
  • the first MAC PDU further includes a padding and a subheader corresponding to the padding, and the padding is adjacent to the corresponding subheader, and the padding may be located after the corresponding subheader or before the corresponding subheader.
  • the uplink MAC PDU that is, the m MAC SDUs included in the first MAC PDU may be located in the first MAC PDU.
  • the m MAC SDUs and the corresponding m subheaders are located before the n MAC CEs and the corresponding n subheaders, and are also located before the padding and the subheader corresponding to the padding, and the n MAC CEs and corresponding
  • the n subheaders may be located before the padding and the subheader corresponding to the padding, or may be located after the padding and the subheader corresponding to the padding, and the embodiment of the present application is not limited thereto.
  • the terminal device In S110, the terminal device generates location information according to the location of the n MAC CEs in the first MAC PDU, where the location information indicates that the n MAC CEs are in the first MAC PDU. s position.
  • the location information may be located at the front end of the first MAC PDU, for example, as shown in FIG. 2 or FIG. 3, or the location information may also be located at the last end of the first MAC PDU, for example, as shown in FIG. 4 or As shown in FIG. 5, the embodiment of the present application is not limited thereto.
  • the terminal device sends the first MAC PDU including the location information to the network device, so that the network device can determine the location of the n MAC CEs in the first MAC PDU according to the location information in the first MAC PDU.
  • the location information may include a number of bits between a specific bit and a first bit number of a subheader corresponding to the first MAC CE of the n MAC CEs, where the specific bit may be
  • the first bit of the first MAC PDU may also be the last bit of the first MAC PDU, or may also be any one of the specific bits in the first MAC PDU.
  • the network device may determine the location of the first bit number of the subheader corresponding to the first MAC CE of the n MAC CEs in the first MAC PDU according to the characteristic bit and the location information, and obtain the n MAC CEs. .
  • the first MAC PDU includes two MAC SDUs, which are MAC SDU 1 and MAC SDU 2, respectively, and the first MAC PDU further includes two MAC CEs, which are MAC CE 1 and MAC CE 2, respectively.
  • the first MAC PDU further includes a padding.
  • the first MAC PDU further includes a subheader corresponding to each payload, but the embodiment of the present application is not limited thereto.
  • the following is an example in which the location information is located at the top of the first MAC PDU as an example.
  • the n MAC CEs and the corresponding n subheaders included in the first MAC PDU may be located between the m MAC SDUs and the corresponding m subheaders, padding, and subheaders corresponding to the padding.
  • FIG. 2 shows a schematic diagram of a first MAC PDU according to an embodiment of the present application, that is, an order of arrangement of each field in the first MAC PDU may be as shown in FIG. 2.
  • the first MAC PDU may be regarded as two
  • the first part is the m MAC SDUs and the corresponding m subheaders included in the first MAC PDU, that is, the MAC SDU 1 and the MAC SDU 2, and the corresponding subheader, and the total number of bits of the first part corresponds to FIG. 2 .
  • the first length is shown; the second part is the n MAC CEs of the first MAC PDU, the corresponding n subheaders, the padding, and the subheaders corresponding to the padding, that is, the MAC CE 1 and the MAC CE. 2.
  • the corresponding two subheaders, padding, and subheaders corresponding to padding, and the total number of bits of the second part corresponds to the second length shown in FIG. 2.
  • the location information may include a number of bits between a specific bit and a first bit number of a subheader corresponding to the first MAC CE of the n MAC CEs.
  • the specific bit may be the first bit of the first MAC PDU, that is, the first bit of the location information
  • the location information may include the length and location of the location information.
  • the network device counts back from the first bit of the first MAC PDU according to the number of bits in the location information, and determines the first MAC CE of the n MAC CEs included in the first MAC PDU. The first bit of the corresponding subheader, and then the n MAC CEs are obtained.
  • the specific bit may be the first bit of the subheader corresponding to the first MAC SDU of the first MAC PDU
  • the location information may include the first length.
  • the network device can count the number of bits in the location information, that is, the first length, starting from the first bit of the subheader corresponding to the first MAC SDU of the first MAC PDU, and determining the first The first bit of the subheader corresponding to the first MAC CE of the n MAC CEs included in the MAC PDU, and then the n MAC CEs are obtained.
  • the specific bit may be the last bit of the first MAC PDU, that is, the last bit of the padding, and the location information may include the second length.
  • the network device counts from the last bit of the first MAC PDU according to the number of bits in the location information, that is, the second length, and may determine that the first MAC PDU includes the first of the plurality of MAC CEs. The first bit of the subheader corresponding to a MAC CE, and then the n MAC CEs are obtained.
  • the n MAC CEs and the corresponding n subheaders included in the first MAC PDU may also be located behind the first MAC PDU, that is, located in the m MAC SDUs and the corresponding m subheaders, Padding and padding correspond to the back of the subheader.
  • FIG. 3 shows a schematic diagram of a first MAC PDU according to an embodiment of the present application, that is, an order of arrangement of each field in the first MAC PDU may be as shown in FIG. 3.
  • the first MAC PDU may be regarded as two Part, wherein the first part is m MAC SDUs and corresponding m subheaders included in the first MAC PDU, and padding and padding pairs
  • the subheader that is, the MAC SDU 1, the MAC SDU 2, the corresponding two subheaders, the padding, and the subheader corresponding to the padding, and the total number of bits of the first part corresponds to the first length shown in FIG.
  • the second part is the first A MAC PDU includes n MAC CEs and corresponding n subheaders, that is, MAC CE 1, MAC CE 2, and corresponding two subheaders, and the total number of bits of the second portion corresponds to the second length as shown in FIG.
  • the location information may include a number of bits between a specific bit and a first bit number of a subheader corresponding to the first MAC CE of the n MAC CEs.
  • the specific bit may be the first bit of the first MAC PDU, that is, the first bit of the location information
  • the location information may include the length and location of the location information.
  • the network device counts back from the first bit of the first MAC PDU according to the number of bits in the location information, and determines the first MAC CE of the n MAC CEs included in the first MAC PDU. The first bit of the corresponding subheader, and then the n MAC CEs are obtained.
  • the specific bit may be the first bit of the subheader corresponding to the first MAC SDU of the first MAC PDU
  • the location information may include the first length.
  • the network device can count the number of bits in the location information, that is, the first length, starting from the first bit of the subheader corresponding to the first MAC SDU of the first MAC PDU, and determining the first The first bit of the subheader corresponding to the first MAC CE of the n MAC CEs included in the MAC PDU, and then the n MAC CEs are obtained.
  • the specific bit may be the last bit of the first MAC PDU, that is, the last bit of the MAC CE 2, and the location information may include the second length.
  • the network device counts from the last bit of the first MAC PDU according to the number of bits in the location information, that is, the second length, and may determine that the first MAC PDU includes the first of the plurality of MAC CEs. The first bit of the subheader corresponding to a MAC CE, and then the n MAC CEs are obtained.
  • the following is an example in which the location information is located at the end of the first MAC PDU.
  • the n MAC CEs and the corresponding n subheaders included in the first MAC PDU may be located between the m MAC SDUs and the corresponding m subheaders, padding, and subheaders corresponding to the padding.
  • FIG. 4 shows a schematic diagram of a first MAC PDU according to an embodiment of the present application, that is, an order of arrangement of each field in the first MAC PDU may be as shown in FIG. 4.
  • the first MAC PDU may be regarded as two The first part is the m MAC SDUs and the corresponding m subheaders, that is, the MAC SDU 1 and the MAC SDU2, and the corresponding subheaders, and the total number of bits of the first part corresponds to FIG.
  • the first length is shown; the second part is the n MAC CEs of the first MAC PDU, the corresponding n subheaders, the padding, and the subheaders corresponding to the padding, that is, the MAC CE 1, the MAC CE 2, the corresponding two subheaders, and the padding And the subheader corresponding to the padding, and the total number of bits of the second part corresponds to the second length as shown in FIG.
  • the location information may include a number of bits between a specific bit and a first bit number of a subheader corresponding to the first MAC CE of the n MAC CEs.
  • the specific bit may be the first bit of the first MAC PDU, that is, the first bit of the subheader corresponding to the first MAC SDU of the first MAC PDU
  • the location information can include a first length.
  • the network device starts from the first bit of the first MAC PDU, that is, the first bit of the subheader corresponding to the first MAC SDU, according to the number of bits in the location information, that is, the first length. Counting, the first bit of the subheader corresponding to the first MAC CE of the n MAC CEs included in the first MAC PDU may be determined, and the n MAC CEs are obtained.
  • the specific bit may be the last bit of the first MAC PDU, that is, the last bit of the location information, and the location information may include the length of the location information and the second length.
  • the network device counts forward from the last bit of the first MAC PDU according to the number of bits in the location information, and determines that the first MAC CE of the n MAC CEs included in the first MAC PDU corresponds to The first bit of the subheader, and then the n MAC CEs are obtained.
  • the specific bit may be the last bit of the padding included in the first MAC PDU, and the location information may include the second length.
  • the network device counts forward from the last bit of the padding of the first MAC PDU according to the number of bits in the location information, that is, the second length, and may determine n MAC CEs included in the first MAC PDU. The first bit of the subheader corresponding to the first MAC CE, and then the n MAC CEs are obtained.
  • the first MAC PDU includes n MAC CEs.
  • the corresponding n subheaders may also be located after the first MAC PDU, that is, after the m MAC SDUs and the corresponding m subheaders, paddings, and subheaders corresponding to the padding.
  • FIG. 5 shows a schematic diagram of a first MAC PDU according to an embodiment of the present application, that is, an order of arrangement of each field in the first MAC PDU may be as shown in FIG. 5.
  • the first MAC PDU may be regarded as two
  • the first part is the m MAC SDUs and the corresponding m subheaders included in the first MAC PDU, and the subheaders corresponding to the padding and the padding, that is, the MAC SDU 1, the MAC SDU 2, the corresponding two subheaders, the padding, and the corresponding Padding the corresponding subheader, and the total number of bits in the first part corresponds to the first length shown in FIG.
  • the second part is the n MAC CEs included in the first MAC PDU and the corresponding n subheaders, that is, MAC CE 1.
  • MAC CE 2 and corresponding two subheaders, and the total number of bits of the second part corresponds to the second length as shown in FIG.
  • the location information may include a number of bits between a specific bit and a first bit number of a subheader corresponding to the first MAC CE of the n MAC CEs.
  • the specific bit may be the first bit of the first MAC PDU, that is, the first bit of the subheader corresponding to the first MAC SDU of the first MAC PDU
  • the location information can include a first length.
  • the network device starts from the first bit of the first MAC PDU, that is, the first bit of the subheader corresponding to the first MAC SDU, according to the number of bits in the location information, that is, the first length. Counting, the first bit of the subheader corresponding to the first MAC CE of the n MAC CEs included in the first MAC PDU may be determined, and the n MAC CEs are obtained.
  • the specific bit may be the last bit of the location information, and the location information may include the length and the second length of the location information.
  • the network device counts forward from the last bit of the first MAC PDU according to the number of bits in the location information, and determines that the first MAC CE of the n MAC CEs included in the first MAC PDU corresponds to The first bit of the subheader, and then the n MAC CEs are obtained.
  • the specific bit may be the last bit of the MAC CE2 of the first MAC PDU, and the location information may include the second length.
  • the network device counts from the last bit of the MAC CE2 in the first MAC PDU according to the number of bits in the location information, that is, the second length, and may determine n included in the first MAC PDU.
  • the first bit of the subheader corresponding to the first MAC CE in the MAC CE, and then the n MAC CEs are obtained.
  • the location information may also be located in a subheader corresponding to the padding.
  • the bit in the subheader corresponding to the padding may be multiplexed.
  • FIG. 6 shows A schematic diagram of the first MAC PDU in the embodiment of the present application, that is, the order of each field in the first MAC PDU may be as shown in FIG. 6 , where padding is located before the corresponding subheader, and the subheader corresponding to the padding includes the location. information.
  • the subheader corresponding to the padding may be used to indicate the length of the padding, and when the subheader includes the location information, the location information may include a subheader corresponding to the first MAC CE of the n MAC CEs.
  • the number of bits between the first bit number, the subheader corresponding to the padding can be used to indicate the number of bits from the first bit of the subheader corresponding to the first MAC CE to the last bit of the padding.
  • the network device may count forward from the last bit of the padding according to the number of bits included in the subheader corresponding to the padding, and determine the subheader corresponding to the first MAC CE of the n MAC CEs included in the first MAC PDU. The first bit, which in turn acquires the n MAC CEs.
  • the location information in the embodiment of the present application may be an independent domain, that is, for example, as shown in FIG. 2 to FIG. 5, may be located at the front or the last of the first MAC PDU, and may be at least 1 byte in size. (byte), for example, as shown in FIG. 7, the location information may be 1 byte, that is, 8 bits, or the location information may be 2 bytes.
  • the embodiment of the present application is not limited thereto.
  • the location information may also multiplex a field in the subheader corresponding to the padding in the first MAC PDU.
  • the subheader corresponding to the padding includes the location information, and the location information may be multiplexed.
  • the subfield represents the L field of length, and the size of the location information is equal to the size of the L domain.
  • FIG. 8 is a schematic diagram of a subheader corresponding to a padding according to an embodiment of the present application.
  • the subheader may include an R domain, where the R domain is a reserved bit;
  • the F domain is used to indicate the size of the L domain included in the subheader.
  • the size of the L domain may be 8 bits, and the F domain indicates that the L domain is large.
  • the subheader further includes a logical channel identify (LCID) field, the LCID is used to indicate that the subheader is a subheader corresponding to the padding; the subheader further includes an L domain, and the L domain is used to carry location information, for example, As shown in FIG. 8, the size of the L domain may be 1 byte, but the embodiment of the present application is not limited thereto.
  • LCID logical channel identify
  • the method 100 may further include: determining, by the terminal device, the effective indication information, where the effective indication information is used to indicate whether the network device needs to determine the location of the n MAC CEs included in the first MAC PDU according to the location information.
  • the terminal device may
  • the effective indication information is set to indicate that the network device needs to determine the location of the n MAC CEs included in the first MAC PDU according to the location information, for example, the effective indication information may be set to one bit, and the “1” indicates the The network device needs to determine the location of the n MAC CEs included in the first MAC PDU according to the location information, and the network device may determine, according to the validity indication information, whether to determine the n included in the first MAC PDU according to the location information. The location of the MAC CE.
  • the location information may be set to be the bit from the back of the first MAC PDU.
  • the bit looks forward for the location of n MAC CEs, but the embodiment of the present application is not limited thereto.
  • the terminal device may take effect indication information.
  • the setting is used to indicate that the network device does not need to determine the location of the n MAC CEs included in the first MAC PDU according to the location information.
  • the effective indication information may be set to one bit, and the network device is represented by “0”.
  • the network device does not need to determine, according to the location information, the location of the n MACs included in the first MAC PDU, and the network device may determine, according to the validity indication information, whether to determine the n MACs included in the first MAC PDU according to the location information.
  • the location of the CE does not need to determine, according to the location information, the location of the n MACs included in the first MAC PDU, and the network device may determine, according to the validity indication information, whether to determine the n MACs included in the first MAC PDU according to the location information.
  • the location of the CE does not need to determine, according to the location information, the location of the n MACs included in the first MAC PDU, and the network device may determine, according to the validity indication information, whether to determine the n MACs included in the first MAC PDU according to the location information.
  • the location of the CE does not need to determine, according to the location information, the location of the n MACs included in the first MAC PDU
  • first preset value and the second preset value may be set according to actual conditions, and the embodiment of the present application is not limited thereto.
  • the terminal device may also set the effective indication information to indicate that the network device needs to be based on the location information.
  • the location of the n MAC CEs included in the first MAC PDU is determined, but the embodiment of the present application is not limited thereto.
  • the location information and the effective indication information in the first MAC PDU may be set as consecutive fields, occupying at least 1 byte in total, for example, may occupy 1 byte or 2 bytes. Specifically, as shown in FIG. 9, the location information and the effective indication information are 1 byte in total, wherein the effective indication information occupies 1 bit, for example, the bit can be set to "1" or "0"; The information occupies the remaining bits, which is 7 bits.
  • the subheader corresponding to the padding may also include the effective indication information, that is, the effective indication information and the location information jointly multiplex the L field in the subheader corresponding to the padding.
  • the method 100 may further include: the terminal device may further send a second MAC PDU to the network device, where the second MAC PDU may include indication information, where the indication information is used to indicate the second MAC PDU.
  • MAC CE is not included.
  • the terminal device may indicate, by using the location information and the indication information, that the network device includes the MAC CE in the MAC PDU, and indicates the location of the MAC CE, that is, the foregoing terminal device is connected to the network.
  • the first MAC PDU sent by the device may include location information, where the location information is used to indicate the location of the n MAC CEs included in the first MAC PDU.
  • the terminal device may indicate, by using the indication information, that the network device does not include the MAC CE in the MAC PDU.
  • the indication information included in the second MAC PDU is similar to the location information included in the first MAC PDU, for example, the location and size of the indication information, which may be consistent with the location information, that is, when the MAC PDU includes the MAC CE, The location information is included in the MAC PDU.
  • the MAC PDU includes the indication information, that is, the indication information can be regarded as the special value of the location information, and details are not described herein.
  • the indication information may be 1 byte, and the special value indicated by the 1 byte indicates that the MAC PDU does not include the MAC CE, but the embodiment of the present application is not limited thereto.
  • the terminal device sends a MAC PDU including the location information to the network device, and the network device may determine, according to the location information, whether the MAC PDU includes the MAC CE, and whether the MAC address needs to be determined according to the location information.
  • the location of the CE and the location of the n MAC CEs included in the MAC PDU enable the network device to quickly obtain control information in the n MAC CEs, thereby improving efficiency.
  • FIG. 1 to FIG. 9 a method for transmitting data according to an embodiment of the present application is described in detail from the perspective of a terminal device, and a method for transmitting data according to an embodiment of the present application will be described from the perspective of a network device in conjunction with FIG. 10 . .
  • FIG. 10 shows a schematic flowchart of a method 200 for transmitting data according to an embodiment of the present application.
  • the method 200 may be performed by a network device, specifically, as shown in FIG. 10, the method 200 includes:
  • S210 Receive a first MAC PDU sent by the terminal device, where the first MAC PDU includes location information.
  • the network device receives the MAC PDU including the location information sent by the terminal device, and determines the location of the n MAC CEs included in the MAC PDU according to the location information, so that the network device can be fast.
  • the control information in the n MAC CEs is obtained to improve efficiency.
  • the first MAC PDU includes n subheaders corresponding to the n MAC CEs, and the i-th MAC CE of the n MAC CEs is adjacent to the corresponding i-th subheader and located at the ith After the subheader, the first MAC PDU includes m MAC SDUs and m subheaders corresponding to the m MAC SDUs, and the jth MAC SDUs of the m MAC SDUs are adjacent to the corresponding jth subheader and located After the jth subheader, the m MAC SDUs and the m subheaders are located before the n MAC CEs and the n subheaders, the first MAC PDU includes a padding and a subheader corresponding to the padding, the padding and the padding The corresponding subheader is adjacent, and the padding and the subheader corresponding to the padding are located after the m MAC SDUs and the m subheaders.
  • the location information includes a number of bits between a specific bit and a first bit of a subheader corresponding to the first MAC CE of the n MAC CEs, where the first MAC PDU is determined according to the location information.
  • the location of the n MAC CEs includes: determining the location of the n MAC CEs according to the specific bit and the location information.
  • the specific bit is the first bit of the subheader corresponding to the first MAC SDU of the m MAC SDUs.
  • the specific bit is the last bit of the first MAC PDU.
  • the specific bit is the last bit in the n MAC CE, the n subheaders, the padding, and the subheader corresponding to the padding.
  • the n MAC CEs and the n subheaders are located after the m MAC SDUs and the m subheaders, the padding and the subheader corresponding to the padding, the padding is located before the subheader corresponding to the padding, and the padding corresponds to
  • the subheader includes the location information, and the specific bit is the last bit of the padding.
  • the location information is located at a front end or a last end of the first MAC PDU.
  • the first MAC PDU includes the validity indication information
  • the method further includes: determining, according to the validity indication information, whether the location of the n MAC CEs is determined according to the location information.
  • the method further includes: receiving a second MAC PDU sent by the terminal device, where the second MAC PDU includes indication information, and determining, according to the indication information, that the second MAC PDU does not include the MAC CE.
  • the network device in the method 200 may correspond to the network device in the method 100
  • the terminal device in the method 200 may correspond to the terminal device in the method 100, and details are not described herein again.
  • the network device receives the MAC PDU including the location information sent by the terminal device, and determines whether the MAC PDU includes the MAC CE according to the location information, and whether the MAC CE needs to be determined according to the location information.
  • the size of the sequence numbers of the foregoing processes does not mean the order of execution sequence, and the order of execution of each process should be determined by its function and internal logic, and should not be applied to the embodiment of the present application.
  • the implementation process constitutes any limitation.
  • the terminal device 300 includes:
  • a determining unit 310 configured to determine location information, where the location information is used to indicate a location of n MAC CEs included in the first MAC PDU, where n is a positive integer;
  • the sending unit 320 is configured to send the first MAC PDU to the network device, where the first MAC PDU includes the location information.
  • the terminal device in the embodiment of the present application sends a MAC PDU including the location information to the network device, and the network device determines the location of the n MAC CEs included in the MAC PDU according to the location information, so that the network device can quickly acquire the n NICs. Control information in the MAC CE to improve efficiency.
  • the first MAC PDU includes n subheaders corresponding to the n MAC CEs, and the i-th MAC CE of the n MAC CEs is adjacent to the corresponding i-th subheader and located at the ith After the subheader, i is a positive integer less than or equal to n, the first MAC PDU includes m MAC SDUs and m subheaders corresponding to the m MAC SDUs, and the jth MAC SDUs of the m MAC SDUs The corresponding jth subheader is adjacent to and behind the jth subheader, the m MAC SDUs and the m subheaders are located before the n MAC CEs and the n subheaders, m is a positive integer, and j is less than or equal to a positive integer of m, the first MAC PDU includes a padding padding and a subheader corresponding to the padding, the padding is adjacent to a subheader corresponding to the padding, and the
  • the location information includes a number of bits between a specific bit and a starting first bit of a subheader corresponding to the first MAC CE of the n MAC CEs.
  • the specific bit is the first bit of the subheader corresponding to the first MAC SDU of the m MAC SDUs.
  • the specific bit is the last bit of the first MAC PDU.
  • the specific bit is the last bit in the n MAC CE, the n subheaders, the padding, and the subheader corresponding to the padding.
  • the n MAC CEs and the n subheaders are located after the m MAC SDUs and the m subheaders, the padding and the subheader corresponding to the padding, the padding is located before the subheader corresponding to the padding, and the padding corresponds to
  • the subheader includes the location information, and the specific bit is the last bit of the padding.
  • the location information is located at a front end or a last end of the first MAC PDU.
  • the determining unit 310 is specifically configured to: determine the effective indication information, where the first MAC PDU includes the effective indication information, where the effective indication information is used to indicate whether the network device determines the n MAC CEs according to the location information. position.
  • the determining unit 310 is specifically configured to: when a total length of the first MAC PDU is greater than or equal to a first preset value, or a total length of the m MAC SDUs included in the first MAC PDU is greater than or equal to a second pre- When the value is set, the validity indication information is used to indicate that the network device determines the location of the n MAC CEs according to the location information.
  • the determining unit 310 is specifically configured to: the total length of the first MAC PDU is less than When the first preset value or the total length of the m MAC SDUs included in the first MAC PDU is less than the second preset value, determining that the effective indication information is used to indicate that the network device does not perform determining the n according to the location information.
  • the location of the MAC CE is specifically configured to: the total length of the first MAC PDU is less than When the first preset value or the total length of the m MAC SDUs included in the first MAC PDU is less than the second preset value, determining that the effective indication information is used to indicate that the network device does not perform determining the n according to the location information. The location of the MAC CE.
  • the determining unit 310 is specifically configured to: determine indication information, where the indication information is used to indicate that the second MAC PDU does not include the MAC CE; and the sending unit 320 is specifically configured to: send the second MAC PDU to the network device.
  • terminal device 300 may correspond to the method 100 and the method 200 in the embodiments of the present application, and the foregoing and other operations and/or functions of the respective units in the terminal device 300 are respectively implemented to implement FIG. 1 .
  • the corresponding processes of the terminal devices in the respective methods in FIG. 10 are not described herein again.
  • the terminal device in the embodiment of the present application sends a MAC PDU including the location information to the network device, and the network device may determine, according to the location information, whether the MAC PDU includes the MAC CE, and whether the location of the MAC CE needs to be determined according to the location information. And determining the location of the n MAC CEs included in the MAC PDU, so that the network device can quickly obtain the control information in the n MAC CEs, thereby improving efficiency.
  • the network device 400 includes:
  • the receiving unit 410 is configured to receive a first MAC PDU sent by the terminal device, where the first MAC PDU includes location information.
  • the determining unit 420 is configured to determine, according to the location information, a location of the n MAC CEs included in the first MAC PDU.
  • the network device in the embodiment of the present application receives the MAC PDU including the location information sent by the terminal device, and determines the location of the n MAC CEs included in the MAC PDU according to the location information, so that the network device can quickly acquire the n NICs. Control information in the MAC CE to improve efficiency.
  • the first MAC PDU includes n subheaders corresponding to the n MAC CEs, and the i-th MAC CE of the n MAC CEs is adjacent to the corresponding i-th subheader and located at the ith After the subheader, the first MAC PDU includes m MAC SDUs and m subheaders corresponding to the m MAC SDUs, and the jth MAC SDUs of the m MAC SDUs are adjacent to the corresponding jth subheader and located After the jth subheader, the m MAC SDUs and the m subheaders are located before the n MAC CEs and the n subheaders, the first MAC PDU includes padding and corresponding to the padding Subheader, the padding is adjacent to the subheader corresponding to the padding, and the subheader corresponding to the padding and the padding is located after the m MAC SDUs and the m subheaders.
  • the location information includes a number of bits between a specific bit and a first bit of the subheader corresponding to the first MAC CE of the n MAC CEs, where the determining unit 420 is specifically configured to: according to the specific bit The bit and the location information determine the location of the n MAC CEs.
  • the specific bit is the first bit of the subheader corresponding to the first MAC SDU of the m MAC SDUs.
  • the specific bit is the last bit of the first MAC PDU.
  • the specific bit is the last bit in the n MAC CE, the n subheaders, the padding, and the subheader corresponding to the padding.
  • the n MAC CEs and the n subheaders are located after the m MAC SDUs and the m subheaders, the padding and the subheader corresponding to the padding, the padding is located before the subheader corresponding to the padding, and the padding corresponds to
  • the subheader includes the location information, and the specific bit is the last bit of the padding.
  • the location information is located at a front end or a last end of the first MAC PDU.
  • the first MAC PDU includes the validity indication information
  • the determining unit 420 is specifically configured to: determine, according to the validity indication information, whether to determine the location of the n MAC CEs according to the location information.
  • the receiving unit 410 is specifically configured to: receive the second MAC PDU that is sent by the terminal device, where the second MAC PDU includes indication information, and the determining unit 420 is specifically configured to: determine the second MAC according to the indication information.
  • the PDU does not include the MAC CE.
  • the network device 400 may correspond to the method 100 and the method 200 in the embodiments of the present application, and the foregoing and other operations and/or functions of the respective units in the network device 400 are respectively implemented to implement FIG. 1 .
  • the corresponding processes of the network devices in the respective methods in FIG. 10 are not described herein again.
  • the network device in the embodiment of the present application may determine, according to the location information, whether the MAC PDU includes the MAC CE, whether the location of the MAC CE needs to be determined according to the location information, and Determining the location of the n MAC CEs included in the MAC PDU, so that the network device can quickly obtain the control information in the n MAC CEs, thereby improving efficiency.
  • FIG. 13 shows a schematic block diagram of a terminal device 500 according to an embodiment of the present application, as shown in FIG.
  • the terminal device 500 includes a processor 510 and a transceiver 520.
  • the processor 510 is coupled to the transceiver 520.
  • the terminal device 500 further includes a memory 530, and the memory 530 is coupled to the processor 510.
  • the processor 510, the memory 530, and the transceiver 520 communicate with each other through an internal connection path, and the memory 530 can be used to store instructions.
  • the processor 510 is configured to execute the memory 530 for storing the control and/or data signals.
  • An instruction to control the transceiver 520 to transmit information or a signal the processor 510 configured to: determine location information, where the location information is used to indicate a location of n MAC CEs included in the first MAC PDU, where n is a positive integer; the transceiver 520 is configured to: send the first MAC PDU to a network device, where the first MAC PDU includes the location information.
  • the terminal device in the embodiment of the present application sends a MAC PDU including the location information to the network device, and the network device determines the location of the n MAC CEs included in the MAC PDU according to the location information, so that the network device can quickly acquire the n NICs. Control information in the MAC CE to improve efficiency.
  • the first MAC PDU includes n subheaders corresponding to the n MAC CEs, and the i-th MAC CE of the n MAC CEs is adjacent to the corresponding i-th subheader and located at the ith After the subheader, i is a positive integer less than or equal to n, the first MAC PDU includes m MAC SDUs and m subheaders corresponding to the m MAC SDUs, and the jth MAC SDUs of the m MAC SDUs The corresponding jth subheader is adjacent to and behind the jth subheader, the m MAC SDUs and the m subheaders are located before the n MAC CEs and the n subheaders, m is a positive integer, and j is less than or equal to a positive integer of m, the first MAC PDU includes padding and a subheader corresponding to the padding, the padding is adjacent to a subheader corresponding to the padding, and the subheader
  • the location information includes a number of bits between a specific bit and a starting first bit of a subheader corresponding to the first MAC CE of the n MAC CEs.
  • the specific bit is the first bit of the subheader corresponding to the first MAC SDU of the m MAC SDUs.
  • the specific bit is the last bit of the first MAC PDU.
  • the specific bit is the last bit in the n MAC CE, the n subheaders, the padding, and the subheader corresponding to the padding.
  • the n MAC CEs and the n subheaders are located after the m MAC SDUs and the m subheaders, the padding and the subheader corresponding to the padding,
  • the padding is located before the subheader corresponding to the padding, and the subheader corresponding to the padding includes the location information, where the specific bit is the last bit of the padding.
  • the location information is located at a front end or a last end of the first MAC PDU.
  • the processor 510 is configured to: determine the effective indication information, where the first MAC PDU includes the effective indication information, where the effective indication information is used to indicate whether the network device determines the location of the n MAC CEs according to the location information. .
  • the processor 510 is configured to: when the total length of the first MAC PDU is greater than or equal to the first preset value, or the total length of the m MAC SDUs included in the first MAC PDU is greater than or equal to the second preset. And determining, by the network device, the location of the n MAC CEs according to the location information.
  • the processor 510 is configured to: when the total length of the first MAC PDU is less than the first preset value or the total length of the m MAC SDUs included in the first MAC PDU is less than the second preset value Determining the validity indication information is used to indicate that the network device does not perform determining the location of the n MAC CEs according to the location information.
  • the processor 510 is configured to: determine indication information, where the indication information is used to indicate that the second MAC PDU does not include the MAC CE; and the transceiver 520 is configured to: send the second MAC PDU to the network device.
  • the terminal device 500 may correspond to the terminal device 300 in the embodiment of the present application, and may correspond to the corresponding body in the method 100 and the method 200 according to the embodiment of the present application, and the terminal device 500
  • the above and other operations and/or functions of the respective units in the above are respectively for the purpose of implementing the corresponding processes of the terminal devices in the respective methods in FIG. 1 to FIG. 10 , and are not described herein again for brevity.
  • the terminal device in the embodiment of the present application sends a MAC PDU including the location information to the network device, and the network device may determine, according to the location information, whether the MAC PDU includes the MAC CE, and whether the location of the MAC CE needs to be determined according to the location information. And determining the location of the n MAC CEs included in the MAC PDU, so that the network device can quickly obtain the control information in the n MAC CEs, thereby improving efficiency.
  • FIG. 14 shows a schematic block diagram of a network device 600 according to an embodiment of the present application.
  • the network device 600 includes a processor 610 and a transceiver 620.
  • the processor 610 is connected to the transceiver 620, and is optional.
  • the network device 600 also includes a memory 630 that is coupled to the processor 610. Wherein, the processor 610, the memory 630 and the transceiver 620 are internally connected The connection paths communicate with one another to communicate control and/or data signals.
  • the memory 630 can be used to store instructions for executing instructions stored by the memory 630 to control the transceiver 620 to transmit information or signals.
  • the transceiver 620 And configured to: receive a first MAC PDU sent by the terminal device, where the first MAC PDU includes location information; and the processor 610 is configured to: determine, according to the location information, a location of the n MAC CEs included in the first MAC PDU.
  • the network device in the embodiment of the present application receives the MAC PDU including the location information sent by the terminal device, and determines the location of the n MAC CEs included in the MAC PDU according to the location information, so that the network device can quickly acquire the n NICs. Control information in the MAC CE to improve efficiency.
  • the first MAC PDU includes n subheaders corresponding to the n MAC CEs, and the i-th MAC CE of the n MAC CEs is adjacent to the corresponding i-th subheader and located at the ith After the subheader, the first MAC PDU includes m MAC SDUs and m subheaders corresponding to the m MAC SDUs, and the jth MAC SDUs of the m MAC SDUs are adjacent to the corresponding jth subheader and located After the jth subheader, the m MAC SDUs and the m subheaders are located before the n MAC CEs and the n subheaders, the first MAC PDU includes a padding and a subheader corresponding to the padding, the padding and the padding The corresponding subheader is adjacent, and the padding and the subheader corresponding to the padding are located after the m MAC SDUs and the m subheaders.
  • the location information includes a number of bits between a specific bit and a first bit of a subheader corresponding to the first MAC CE of the n MAC CEs, where the processor 610 is specifically configured to: according to the specific bit The bit and the location information determine the location of the n MAC CEs.
  • the specific bit is the first bit of the subheader corresponding to the first MAC SDU of the m MAC SDUs.
  • the specific bit is the last bit of the first MAC PDU.
  • the specific bit is the last bit in the n MAC CE, the n subheaders, the padding, and the subheader corresponding to the padding.
  • the n MAC CEs and the n subheaders are located after the m MAC SDUs and the m subheaders, the padding and the subheader corresponding to the padding, the padding is located before the subheader corresponding to the padding, and the padding corresponds to
  • the subheader includes the location information, and the specific bit is the last bit of the padding.
  • the location information is located at a front end or a last end of the first MAC PDU.
  • the first MAC PDU includes the validity indication information
  • the processor 610 is configured to: determine, according to the validity indication information, whether to determine the location of the n MAC CEs according to the location information.
  • the transceiver 620 is configured to: receive a second MAC PDU sent by the terminal device, where the second MAC PDU includes indication information, where the processor 610 is configured to: determine, according to the indication information, that the second MAC PDU is not Includes MAC CE.
  • the network device 600 may correspond to the network device 400 in the embodiment of the present application, and may correspond to the corresponding body in the method 100 and the method 200 according to the embodiment of the present application, and the network device 600
  • the above and other operations and/or functions of the respective units in the above are respectively for the purpose of implementing the corresponding processes of the network devices in the respective methods in FIG. 1 to FIG. 10 , and are not described herein again for brevity.
  • the network device in the embodiment of the present application may determine, according to the location information, whether the MAC PDU includes the MAC CE, whether the location of the MAC CE needs to be determined according to the location information, and Determining the location of the n MAC CEs included in the MAC PDU, so that the network device can quickly obtain the control information in the n MAC CEs, thereby improving efficiency.
  • the processor may be an integrated circuit chip with signal processing capabilities.
  • each step of the foregoing method embodiment may be completed by an integrated logic circuit of hardware in a processor or an instruction in a form of software.
  • the processor may be a general-purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a Field Programmable Gate Array (FPGA), or the like. Programming logic devices, discrete gates or transistor logic devices, discrete hardware components.
  • the methods, steps, and logical block diagrams disclosed in the embodiments of the present application can be implemented or executed.
  • the general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
  • the steps of the method disclosed in the embodiments of the present application may be directly implemented by the hardware decoding processor, or may be performed by a combination of hardware and software modules in the decoding processor.
  • the software module can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like.
  • the storage medium is located in the memory, and the processor reads the information in the memory and combines the hardware to complete the steps of the above method.
  • the memory in the embodiment of the present application may be a volatile memory or a non-volatile memory.
  • the memory may include both volatile and non-volatile memory.
  • the non-volatile memory may be a read-only memory (ROM), a programmable read only memory (PROM), an erasable programmable read only memory (Erasable PROM, EPROM), or an electric Erase programmable read only memory (EEPROM) or flash memory.
  • the volatile memory can be a Random Access Memory (RAM) that acts as an external cache.
  • RAM Random Access Memory
  • many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (Synchronous DRAM).
  • SDRAM Double Data Rate SDRAM
  • DDR SDRAM Double Data Rate SDRAM
  • ESDRAM Enhanced Synchronous Dynamic Random Access Memory
  • SLDRAM Synchronous Connection Dynamic Random Access Memory
  • DR RAM direct memory bus random access memory
  • the disclosed systems, devices, and methods may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed.
  • the mutual 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 in an electrical, mechanical or other form.
  • the unit described as a separate component may or may not be physically separated, and the component displayed as a unit may or may not be a physical unit, that is, may be located in one place. Or it can be distributed to multiple network elements. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the functions may be stored in a computer readable storage medium if implemented in the form of a software functional unit and sold or used as a standalone product.
  • the technical solution of the present application which is essential or contributes to the prior art, or a part of the technical solution, may be embodied in the form of a software product, which is stored in a storage medium, including
  • the instructions are used to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present application.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic 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

本申请实施例涉及传输数据的方法、终端设备和网络设备。该方法包括确定位置信息,该位置信息用于指示第一MAC PDU包括的n个MAC CE的位置,n为正整数;向网络设备发送该第一MAC PDU,该第一MAC PDU包括该位置信息。本申请实施例的传输数据的方法、终端设备和网络设备,通过终端设备向网络设备发送包括位置信息的MAC PDU,网络设备根据该位置信息确定该MAC PDU中包括的n个MAC CE的位置,使得网络设备可以快速获取该n个MAC CE中的控制信息,提高效率。

Description

传输数据的方法、终端设备和网络设备 技术领域
本申请涉及通信领域,尤其涉及传输数据的方法、终端设备和网络设备。
背景技术
在LTE中,介质访问控制层(media access control,MAC)协议数据单元(protocol data unit,PDU)主要有MAC头(header)、0或多个MAC服务数据单元(service data unit,SDU)、0或多个MAC控制单元(control element,CE)以及可选的一些填充(padding)组成。
具体地,一个MAC PDU header由一个或者多个MAC PDU子头(subheader)组成,每一个subheader对应一个载荷(payload),这个payload可以为一个MAC SDU、一个MAC CE或者一个padding。LTE中,MAC CE一般放置于所有MAC SDU的前面而在MAC subheader的后面。MAC subheader连接在一起置于MAC PDU的前面,且与后面的MAC CE、MAC SDU和padding一一对应。
而在NR中,MAC PDU结构(format)将与LTE中的MAC PDU format有如下几点不同:
第一,NR上行MAC PDU与下行MAC PDU的format不同,而LTE上下行MAC PDU的format是统一的;
第二,NR MAC PDU的subheader与其对应的paylaod放置在一起,且MAC subheader置于对应的payload前方,而不是像LTE一样统一置于MAC PDU的前方;
第三,NR下行MAC PDU的MAC CE连同其对应的MAC subheader置于MAC PDU的前方,这样的设计主要是便于UE侧能够快速获得MAC CE中的控制信息;
第四,NR上行MAC PDU的MAC CE连同其对应的MAC subheader置于所有MAC SDU的后面,这样的设计主要是考虑到有些实时MAC CE,比如缓存状态报告(buffer status report,BSR),需要等到MAC SDU确定好之后才能生成。
由于,NR系统中上行MAC CE置于MAC PDU中的MAC SDU的后方, 则网络设备在接收到终点设备发送的MAC PDU时,需要解调完所有MAC SDU之后才能获得相应的MAC CE控制信息,导致网络设备无法尽快获取终端设备的MAC控制信息。
发明内容
本申请提供了一种传输数据的方法、终端设备和网络设备,能够使得网络设备可以快速确定MAC CE,提高效率。。
第一方面,提供了一种传输数据的方法,该方法包括:确定位置信息,该位置信息用于指示第一MAC PDU包括的n个MAC CE的位置,n为正整数;向网络设备发送该第一MAC PDU,该第一MAC PDU包括该位置信息。
因此,本申请实施例的传输数据的方法,终端设备向网络设备发送包括位置信息的MAC PDU,网络设备根据该位置信息确定该MAC PDU中包括的n个MAC CE的位置,使得网络设备可以快速获取该n个MAC CE中的控制信息,提高效率。
结合第一方面,在第一方面的一种实现方式中,该第一MAC PDU包括与该n个MAC CE一一对应的n个subheader,该n个MAC CE中第i个MAC CE与对应的第i个subheader相邻且位于该第i个subheader之后,i为小于或者等于n的正整数,该第一MAC PDU包括m个MAC SDU以及与该m个MAC SDU一一对应的m个subheader,该m个MAC SDU中第j个MAC SDU与对应的第j个subheader相邻且位于该第j个subheader之后,该m个MAC SDU和该m个subheader位于该n个MAC CE和该n个subheader之前,m为正整数,j为小于或者等于m的正整数,该第一MAC PDU包括padding以及与该padding对应的subheader,该padding和该padding对应的subheader相邻,该padding和该padding对应的subheader位于该m个MAC SDU和该m个subheader之后。
应理解,考虑到有些实时MAC CE,比如BSR,需要等到MAC SDU确定好之后才能生成,因此对于上行MAC PDU,即该第一MAC PDU包括的m个MAC SDU,可以位于该第一MAC PDU的前面。
可选地,该n个MAC CE和该n个subheader可以位于该padding和该padding对应的subheader之前或者之后。
可选地,该padding位于该padding对应的subheader之前或者之后。
结合第一方面及其上述实现方式,在第一方面的另一种实现方式中,该位置信息包括特定比特位与该n个MAC CE中第一个MAC CE对应的subheader的第一个比特位之间的比特数。
结合第一方面及其上述实现方式,在第一方面的另一种实现方式中,该特定比特位为该第一MAC PDU的第一个比特位。
对应的,该位置信息包括该第一个比特位到n个MAC CE中第一个MAC CE对应的subheader的第一个比特位之间的比特数。例如,当该位置信息在该第一MAC PDU的最前端时,则位置信息包括位置信息的长度、m个MAC SDU以及对应的m个subheader的总长度,即总比特数。
结合第一方面及其上述实现方式,在第一方面的另一种实现方式中,该特定比特位为该m个MAC SDU中的第一个MAC SDU对应的subheader的第一个比特位。
对应的,位置信息包括m个MAC SDU以及对应的m个subheader的总长度。
结合第一方面及其上述实现方式,在第一方面的另一种实现方式中,该特定比特位为该第一MAC PDU的最后一个比特位。
结合第一方面及其上述实现方式,在第一方面的另一种实现方式中,该特定比特位为该n个MAC CE、该n个subheader、该padding和该padding对应的subheader中的最后一个比特位。
对应的,当该n个MAC CE和对应的n个subheader位于该m个MAC SDU和该m个subheader之后、该padding和该padding对应的subheader之前,该padding位于该padding对应的subheader之后时,该位置信息包括n个MAC CE、该n个subheader、该padding和该padding对应的subheader的总长度。
当该n个MAC CE和对应的n个subheader位于该m个MAC SDU和该m个subheader之后,也位于该padding和该padding对应的subheader之后,且该padding位于该padding对应的subheader之后时,位置信息包括该n个MAC CE和对应的n个subheader的总长度。
应理解,本申请实施例中的长度,可以指总比特数。
结合第一方面及其上述实现方式,在第一方面的另一种实现方式中,该n个MAC CE和该n个subheader位于该m个MAC SDU和该m个subheader 之后、该padding和该padding对应的subheader之前,该padding位于该padding对应的subheader之前,该padding对应的subheader包括该位置信息,该特定比特位为该padding的最后一个比特位。
结合第一方面及其上述实现方式,在第一方面的另一种实现方式中,该位置信息位于该第一MAC PDU的最前端或者最后端。
结合第一方面及其上述实现方式,在第一方面的另一种实现方式中,该方法还包括:确定生效指示信息,该第一MAC PDU包括该生效指示信息,该生效指示信息用于指示该网络设备是否根据该位置信息确定该n个MAC CE的位置。
具体地,可以将该生效指示信息设置为“1”表示终端设备指示网络设备需要根据位置信息确定该n个MAC CE的位置。
结合第一方面及其上述实现方式,在第一方面的另一种实现方式中,该确定生效指示信息,包括:在该第一MAC PDU的总长度大于或者等于第一预设值或者该第一MAC PDU包括的m个MAC SDU的总长度大于或者等于第二预设值时,确定该生效指示信息用于指示该网络设备根据该位置信息确定该n个MAC CE的位置。
应理解,由于此时第一MAC PDU的总长度较大或该该第一MAC PDU包括的m个MAC SDU的总长度较大,则该位置信息可以设置为从该第一MAC PDU的后面的比特位向前查找n个MAC CE的位置。
应理解,该第一预设值和第二预设值可以根据实际情况进行设置。
结合第一方面及其上述实现方式,在第一方面的另一种实现方式中,该确定生效指示信息,包括:在该第一MAC PDU的总长度小于该第一预设值或者该第一MAC PDU包括的m个MAC SDU的总长度小于该第二预设值时,确定该生效指示信息用于指示该网络设备不执行根据该位置信息确定该n个MAC CE的位置。
结合第一方面及其上述实现方式,在第一方面的另一种实现方式中,该方法还包括:确定指示信息,该指示信息用于指示第二MAC PDU不包括MAC CE;向该网络设备发送该第二MAC PDU。
因此,本申请实施例的传输数据的方法,终端设备向网络设备发送包括位置信息的MAC PDU,网络设备可以根据该位置信息确定该MAC PDU中是否包括MAC CE,是否需要根据该位置信息确定MAC CE的位置,以及 确定该MAC PDU包括的n个MAC CE的位置,使得网络设备可以快速获取该n个MAC CE中的控制信息,提高效率。
第二方面,提供了一种传输数据的方法,该方法包括:接收终端设备发送的第一MAC PDU,该第一MAC PDU包括位置信息,根据该位置信息,确定该第一MAC PDU包括的n个MAC CE的位置。
因此,本申请实施例的传输数据的方法,网络设备接收终端设备发送的包括位置信息的MAC PDU,并根据该位置信息确定该MAC PDU中包括的n个MAC CE的位置,使得网络设备可以快速获取该n个MAC CE中的控制信息,提高效率。
结合第二方面,在第二方面的一种实现方式中,该第一MAC PDU包括与该n个MAC CE一一对应的n个subheader,该n个MAC CE中第i个MAC CE与对应的第i个subheader相邻且位于该第i个subheader之后,该第一MAC PDU包括m个MAC SDU以及与该m个MAC SDU一一对应的m个subheader,该m个MAC SDU中第j个MAC SDU与对应的第j个subheader相邻且位于该第j个subheader之后,该m个MAC SDU和该m个subheader位于该n个MAC CE和该n个subheader之前,该第一MAC PDU包括padding以及与该padding对应的subheader,该padding和该padding对应的subheader相邻,该padding和该padding对应的subheader位于该m个MAC SDU和该m个subheader之后。
结合第二方面及其上述实现方式,在第二方面的另一种实现方式中,该位置信息包括特定比特位与该n个MAC CE中第一个MAC CE对应的subheader的第一个比特位之间的比特数,该根据该位置信息,确定该第一MAC PDU包括的n个MAC CE的位置,包括:根据该特定比特位和该位置信息,确定该n个MAC CE的位置。
结合第二方面及其上述实现方式,在第二方面的另一种实现方式中,该特定比特位为该第一MAC PDU的第一个比特位。
结合第二方面及其上述实现方式,在第二方面的另一种实现方式中,该特定比特位为该m个MAC SDU中的第一个MAC SDU对应的subheader的第一个比特位。
结合第二方面及其上述实现方式,在第二方面的另一种实现方式中,该特定比特位为该第一MAC PDU的最后一个比特位。
结合第二方面及其上述实现方式,在第二方面的另一种实现方式中,该特定比特位为该n个MAC CE、该n个subheader、该padding和该padding对应的subheader中的最后一个比特位。
结合第二方面及其上述实现方式,在第二方面的另一种实现方式中,该n个MAC CE和该n个subheader位于该m个MAC SDU和该m个subheader之后、该padding和该padding对应的subheader之前,该padding位于该padding对应的subheader之前,该padding对应的subheader包括该位置信息,该特定比特位为该padding的最后一个比特位。
结合第二方面及其上述实现方式,在第二方面的另一种实现方式中,该位置信息位于该第一MAC PDU的最前端或者最后端。
结合第二方面及其上述实现方式,在第二方面的另一种实现方式中,该第一MAC PDU包括该生效指示信息,该方法还包括:根据该生效指示信息,确定是否根据该位置信息确定该n个MAC CE的位置。
结合第二方面及其上述实现方式,在第二方面的另一种实现方式中,该方法还包括:接收该终端设备发送的第二MAC PDU,该第二MAC PDU包括指示信息;根据该指示信息,确定该第二MAC PDU不包括MAC CE。
因此,本申请实施例的传输数据的方法,网络设备接收终端设备发送的包括位置信息的MAC PDU,可以根据该位置信息确定该MAC PDU中是否包括MAC CE,是否需要根据该位置信息确定MAC CE的位置,以及确定该MAC PDU包括的n个MAC CE的位置,使得网络设备可以快速获取该n个MAC CE中的控制信息,提高效率。
第三方面,提供了一种终端设备,用于执行上述第一方面或第一方面的任意可能的实现方式中的方法。具体地,该终端设备包括用于执行上述第一方面或第一方面的任意可能的实现方式中的方法的单元。
第四方面,提供了一种网络设备,用于执行上述第二方面或第二方面的任意可能的实现方式中的方法。具体地,该网络设备包括用于执行上述第二方面或第二方面的任意可能的实现方式中的方法的单元。
第五方面,提供了一种终端设备,包括:存储单元和处理器,该存储单元用于存储指令,该处理器用于执行该存储器存储的指令,并且当该处理器执行该存储器存储的指令时,该执行使得该处理器执行第一方面或第一方面的任意可能的实现方式中的方法。
第六方面,提供了一种网络设备,包括:存储单元和处理器,该存储单元用于存储指令,该处理器用于执行该存储器存储的指令,并且当该处理器执行该存储器存储的指令时,该执行使得该处理器执行第二方面或第二方面的任意可能的实现方式中的方法。
第七方面,提供了一种计算机可读介质,用于存储计算机程序,该计算机程序包括用于执行第一方面或第一方面的任意可能的实现方式中的方法的指令。
第八方面,提供了一种计算机可读介质,用于存储计算机程序,该计算机程序包括用于执行第二方面或第二方面的任意可能的实现方式中的方法的指令。
第九方面,提供了一种包括指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述第一方面或第一方面的任一可选的实现方式中的方法。
第十方面,提供了一种包括指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述第二方面或第二方面的任一可选的实现方式中的方法。
附图说明
图1是根据本申请实施例的传输数据的方法的示意性流程图。
图2是根据本申请实施例的第一MAC PDU的示意图。
图3是根据本申请实施例的第一MAC PDU的另一示意图。
图4是根据本申请实施例的第一MAC PDU的再一示意图。
图5是根据本申请实施例的第一MAC PDU的再一示意图。
图6是根据本申请实施例的第一MAC PDU的再一示意图。
图7是根据本申请实施例的位置信息或指示信息的示意图。
图8是根据本申请实施例的padding对应的subheader的示意图。
图9是根据本申请实施例的生效指示信息和位置信息的示意图。
图10是根据本申请实施例的传输数据的方法的另一示意性流程图。
图11是根据本申请实施例的终端设备的示意性框图。
图12是根据本申请实施例的网络设备的示意性框图。
图13是根据本申请实施例的终端设备的另一示意性框图。
图14是根据本申请实施例的网络设备的另一示意性框图。
具体实施方式
下面将结合附图,对本申请实施例中的技术方案进行描述。
应理解,本申请实施例的技术方案可以应用于各种通信系统,例如:全球移动通讯(Global System of Mobile communication,GSM)系统、码分多址(Code Division Multiple Access,CDMA)系统、宽带码分多址(Wideband Code Division Multiple Access,WCDMA)系统、通用分组无线业务(General Packet Radio Service,GPRS)、长期演进(Long Term Evolution,LTE)系统、LTE频分双工(Frequency Division Duplex,FDD)系统、LTE时分双工(Time Division Duplex,TDD)、通用移动通信系统(Universal Mobile Telecommunication System,UMTS)、或全球互联微波接入(Worldwide Interoperability for Microwave Access,WiMAX)通信系统等。
在本申请实施例中,终端设备可以包括但不限于移动台(Mobile Station,MS)、移动终端(Mobile Terminal)、移动电话(Mobile Telephone)、用户设备(User Equipment,UE)、手机(handset)及便携设备(portable equipment)、车辆(vehicle)等,该终端设备可以经无线接入网(Radio Access Network,RAN)与一个或多个核心网进行通信,例如,终端设备可以是移动电话(或称为“蜂窝”电话)、具有无线通信功能的计算机等,终端设备还可以是便携式、袖珍式、手持式、计算机内置的或者车载的移动装置。
本申请实施例所涉及到的网络设备是一种部署在无线接入网中用以为终端设备提供无线通信功能的装置。例如,可以是GSM系统或CDMA中的基站(Base Transceiver Station,BTS),也可以是WCDMA系统中的基站(NodeB,NB),还可以是LTE系统中的演进型基站(Evolutional Node B,eNB或eNodeB),或者该网络设备可以为中继站、接入点、车载设备、可穿戴设备以及未来5G网络中的网络设备或未来演进的PLMN网络中的网络设备等。
图1示出了根据本申请实施例的传输数据的方法100的示意性流程图,该方法100可以由上述的终端设备执行。如图1所示,该方法100包括:
S110,确定位置信息,该位置信息用于指示第一MAC PDU包括的n个MAC CE的位置,n为正整数;
S120,向网络设备发送该第一MAC PDU,该第一MAC PDU包括该位置信息。
具体地,终端设备向网络设备发送第一MAC PDU,该第一MAC PDU中可以包括n个MAC CE,该第一MAC PDU中还包括位置信息,该位置信息用于指示该n个MAC CE的位置,网络设备接收该第一MAC PDU,根据该MAC PDU中的位置信息,确定该第一MAC PDU中n个MAC CE的位置,进而获得该n个MAC CE中的控制信息。
因此,本申请实施例的传输数据的方法,终端设备向网络设备发送包括位置信息的MAC PDU,网络设备根据该位置信息确定该MAC PDU中包括的n个MAC CE的位置,使得网络设备可以快速获取该n个MAC CE中的控制信息,提高效率。
在本申请实施例中,终端设备向网络设备发送的第一MAC PDU可以包括n个MAC CE,该n个MAC CE与n个subheader一一对应,其中,n个MAC CE中的第i个MAC CE与对应的第i个subheader相邻且位于该第i个subheader之后,i为小于或者等于n的正整数。该第一MAC PDU还包括m个MAC SDU,该m个MAC SDU与m个subheader一一对应,其中,m个MAC SDU中的第j个MAC SDU与对应的第j个subheader相邻且位于该第j个subheader之后,m为正整数,j为小于或者等于m的正整数。该第一MAC PDU还包括padding以及该padding对应的subheader,该padding与对应的subheader相邻,该padding可以位于对应的subheader之后,也可以位于对应的subheader之前。
应理解,考虑到有些实时MAC CE,比如BSR,需要等到MAC SDU确定好之后才能生成,因此对于上行MAC PDU,即该第一MAC PDU包括的m个MAC SDU,可以位于该第一MAC PDU的前面,具体地,该m个MAC SDU以及对应的m个subheader均位于n个MAC CE以及对应的n个subheader之前,也位于padding和该padding对应的subheader之前,而该n个MAC CE以及对应的n个subheader可以位于该padding和该padding对应的subheader之前,或者,也可以位于该padding和该padding对应的subheader之后,本申请实施例并不限于此。
在S 110中,终端设备根据第一MAC PDU中的n个MAC CE的位置生成位置信息,通过该位置信息指示该n个MAC CE在该第一MAC PDU中 的位置。可选的,该位置信息可以位于该第一MAC PDU的最前端,例如如图2或图3所示,或者,该位置信息也可以位于该第一MAC PDU的最后端,例如如图4或图5所示,本申请实施例并不限于此。
在S120中,终端设备向网络设备发送包括该位置信息的第一MAC PDU,使得该网络设备可以根据该第一MAC PDU中的位置信息,确定第一MAC PDU中的n个MAC CE的位置。
在本申请实施例中,该位置信息可以包括特定比特位与该n个MAC CE中第一个MAC CE对应的subheader的第一个比特数之间的比特数,其中,该特定比特位可以为该第一MAC PDU的第一个比特位,也可以为该第一MAC PDU的最后一个比特位,或者还可以为该第一MAC PDU中任意一个特定比特位。则网络设备可以根据该特点比特位与位置信息,确定该第一MAC PDU中的n个MAC CE中第一个MAC CE对应的subheader的第一个比特数的位置,进而获取该n个MAC CE。
为了便于描述,下文中假设该第一MAC PDU包括2个MAC SDU,分别为MAC SDU 1和MAC SDU 2,该第一MAC PDU还包括2个MAC CE,分别为MAC CE 1和MAC CE 2,该第一MAC PDU还包括padding,另外,该第一MAC PDU还包括与各个payload对应的subheader,但本申请实施例并不限于此。
下面先以位置信息位于该第一MAC PDU的最前面为例进行说明。
可选的,作为一个实施例,该第一MAC PDU包括的n个MAC CE以及对应的n个subheader可以位于m个MAC SDU和对应的m个subheader、padding以及padding对应的subheader之间。例如,图2示出了根据本申请实施例的第一MAC PDU的示意图,即该第一MAC PDU中每个字段的排列顺序可以如图2所示。
具体地,根据图2中多个MAC CE中第一个MAC CE对应的subheader位置,即与MAC CE 1相邻且位于该MAC CE之前的subheader的位置,可以将该第一MAC PDU看作两部分,其中,第一部分为该第一MAC PDU包括的m个MAC SDU和对应的m个subheader,即MAC SDU 1和MAC SDU2,以及对应的subheader,且该第一部分的总比特数对应如图2所示第一长度;第二部分为该第一MAC PDU包括的n个MAC CE、对应的n个subheader、padding以及padding对应的subheader,即MAC CE 1、MAC CE 2、对应的2个subheader、padding以及padding对应的subheader,且该第二部分的总比特数对应如图2所示第二长度。
在本申请实施例中,位置信息可以包括特定比特位与该n个MAC CE中第一个MAC CE对应的subheader的第一个比特数之间的比特数。例如,如图2所示,该特定比特位可以为该第一MAC PDU的第一个比特位,即该位置信息的第一个比特位,则该位置信息可以包括该位置信息的长度和第一长度。对应的,网络设备根据该位置信息中的比特数,从该第一MAC PDU的第一个比特位开始向后计数,可以确定该第一MAC PDU包括的n个MAC CE中第一个MAC CE对应的subheader的第一个比特位,进而获取该n个MAC CE。
再例如,如图2所示,该特定比特位可以为该第一MAC PDU的第一个MAC SDU对应的subheader的第一个比特位,则该位置信息可以包括第一长度。对应的,网络设备根据该位置信息中的比特数,即第一长度,从该第一MAC PDU的第一个MAC SDU对应的subheader的第一个比特位开始向后计数,可以确定该第一MAC PDU包括的n个MAC CE中第一个MAC CE对应的subheader的第一个比特位,进而获取该n个MAC CE。
再例如,如图2所示,该特定比特位可以为该第一MAC PDU的最后一个比特位,即padding的最后一个比特位,则该位置信息可以包括第二长度。对应的,网络设备根据该位置信息中的比特数,即第二长度,从该第一MAC PDU的最后一个比特位开始向前计数,可以确定该第一MAC PDU包括的n个MAC CE中第一个MAC CE对应的subheader的第一个比特位,进而获取该n个MAC CE。
可选的,作为一个实施例,该第一MAC PDU包括的n个MAC CE以及对应的n个subheader还可以位于该第一MAC PDU的后面,即位于m个MAC SDU和对应的m个subheader、padding以及padding对应的subheader的后面。例如,图3示出了根据本申请实施例的第一MAC PDU的示意图,即该第一MAC PDU中每个字段的排列顺序可以如图3所示。
具体地,根据图3中多个MAC CE中第一个MAC CE对应的subheader位置,即与MAC CE 1相邻且位于该MAC CE之前的subheader的位置,可以将该第一MAC PDU看作两部分,其中,第一部分为该第一MAC PDU包括的m个MAC SDU和对应的m个subheader,以及padding和padding对 应的subheader,即MAC SDU 1、MAC SDU 2、对应的2个subheader、padding以及padding对应的subheader,且该第一部分的总比特数对应如图3所示第一长度;第二部分为该第一MAC PDU包括的n个MAC CE以及对应的n个subheader,即MAC CE 1、MAC CE 2和对应的2个subheader,且该第二部分的总比特数对应如图3所示第二长度。
在本申请实施例中,位置信息可以包括特定比特位与该n个MAC CE中第一个MAC CE对应的subheader的第一个比特数之间的比特数。例如,如图3所示,该特定比特位可以为该第一MAC PDU的第一个比特位,即该位置信息的第一个比特位,则该位置信息可以包括该位置信息的长度和第一长度。对应的,网络设备根据该位置信息中的比特数,从该第一MAC PDU的第一个比特位开始向后计数,可以确定该第一MAC PDU包括的n个MAC CE中第一个MAC CE对应的subheader的第一个比特位,进而获取该n个MAC CE。
再例如,如图3所示,该特定比特位可以为该第一MAC PDU的第一个MAC SDU对应的subheader的第一个比特位,则该位置信息可以包括第一长度。对应的,网络设备根据该位置信息中的比特数,即第一长度,从该第一MAC PDU的第一个MAC SDU对应的subheader的第一个比特位开始向后计数,可以确定该第一MAC PDU包括的n个MAC CE中第一个MAC CE对应的subheader的第一个比特位,进而获取该n个MAC CE。
再例如,如图3所示,该特定比特位可以为该第一MAC PDU的最后一个比特位,即MAC CE 2的最后一个比特位,则该位置信息可以包括第二长度。对应的,网络设备根据该位置信息中的比特数,即第二长度,从该第一MAC PDU的最后一个比特位开始向前计数,可以确定该第一MAC PDU包括的n个MAC CE中第一个MAC CE对应的subheader的第一个比特位,进而获取该n个MAC CE。
下面再以位置信息位于该第一MAC PDU的最后面为例进行说明。
可选的,作为一个实施例,该第一MAC PDU包括的n个MAC CE以及对应的n个subheader可以位于m个MAC SDU和对应的m个subheader、padding以及padding对应的subheader之间。例如,图4示出了根据本申请实施例的第一MAC PDU的示意图,即该第一MAC PDU中每个字段的排列顺序可以如图4所示。
具体地,根据图4中多个MAC CE中第一个MAC CE对应的subheader位置,即与MAC CE 1相邻且位于该MAC CE之前的subheader的位置,可以将该第一MAC PDU看作两部分,其中,第一部分为该第一MAC PDU包括的m个MAC SDU和对应的m个subheader,即MAC SDU 1和MAC SDU2,以及对应的subheader,且该第一部分的总比特数对应如图4所示第一长度;第二部分为该第一MAC PDU包括的n个MAC CE、对应的n个subheader、padding以及padding对应的subheader,即MAC CE 1、MAC CE2、对应的2个subheader、padding以及padding对应的subheader,且该第二部分的总比特数对应如图4所示第二长度。
在本申请实施例中,位置信息可以包括特定比特位与该n个MAC CE中第一个MAC CE对应的subheader的第一个比特数之间的比特数。例如,如图4所示,该特定比特位可以为该第一MAC PDU的第一个比特位,即该第一MAC PDU的第一个MAC SDU对应的subheader的第一个比特位,则该位置信息可以包括第一长度。对应的,网络设备根据该位置信息中的比特数,即第一长度,从该第一MAC PDU的第一个比特位,即第一个MAC SDU对应的subheader的第一个比特位开始向后计数,可以确定该第一MAC PDU包括的n个MAC CE中第一个MAC CE对应的subheader的第一个比特位,进而获取该n个MAC CE。
再例如,如图4所示,该特定比特位可以为该第一MAC PDU的最后一个比特位,即该位置信息的最后一个比特位,则该位置信息可以包括该位置信息的长度和第二长度。对应的,网络设备根据该位置信息中的比特数,从该第一MAC PDU的最后一个比特位开始向前计数,可以确定该第一MAC PDU包括的n个MAC CE中第一个MAC CE对应的subheader的第一个比特位,进而获取该n个MAC CE。
再例如,如图4所示,该特定比特位可以为该第一MAC PDU包括的padding的最后一个比特位,则该位置信息可以包括第二长度。对应的,网络设备根据该位置信息中的比特数,即第二长度,从该第一MAC PDU的padding的最后一个比特位开始向前计数,可以确定该第一MAC PDU包括的n个MAC CE中第一个MAC CE对应的subheader的第一个比特位,进而获取该n个MAC CE。
可选的,作为一个实施例,该第一MAC PDU包括的n个MAC CE以 及对应的n个subheader还可以位于该第一MAC PDU的后面,即位于m个MAC SDU和对应的m个subheader、padding以及padding对应的subheader的后面。例如,图5示出了根据本申请实施例的第一MAC PDU的示意图,即该第一MAC PDU中每个字段的排列顺序可以如图5所示。
具体地,根据图5中多个MAC CE中第一个MAC CE对应的subheader位置,即与MAC CE 1相邻且位于该MAC CE之前的subheader的位置,可以将该第一MAC PDU看作两部分,其中,第一部分为该第一MAC PDU包括的m个MAC SDU和对应的m个subheader,以及padding和padding对应的subheader,即MAC SDU 1、MAC SDU 2、对应的2个subheader、padding以及padding对应的subheader,且该第一部分的总比特数对应如图5所示第一长度;第二部分为该第一MAC PDU包括的n个MAC CE以及对应的n个subheader,即MAC CE 1、MAC CE 2和对应的2个subheader,且该第二部分的总比特数对应如图5所示第二长度。
在本申请实施例中,位置信息可以包括特定比特位与该n个MAC CE中第一个MAC CE对应的subheader的第一个比特数之间的比特数。例如,如图5所示,该特定比特位可以为该第一MAC PDU的第一个比特位,即该第一MAC PDU的第一个MAC SDU对应的subheader的第一个比特位,则该位置信息可以包括第一长度。对应的,网络设备根据该位置信息中的比特数,即第一长度,从该第一MAC PDU的第一个比特位,即第一个MAC SDU对应的subheader的第一个比特位开始向后计数,可以确定该第一MAC PDU包括的n个MAC CE中第一个MAC CE对应的subheader的第一个比特位,进而获取该n个MAC CE。
再例如,如图5所示,该特定比特位可以为该位置信息的最后一个比特位,则该位置信息可以包括该位置信息的长度和第二长度。对应的,网络设备根据该位置信息中的比特数,从该第一MAC PDU的最后一个比特位开始向前计数,可以确定该第一MAC PDU包括的n个MAC CE中第一个MAC CE对应的subheader的第一个比特位,进而获取该n个MAC CE。
再例如,如图5所示,该特定比特位可以为该第一MAC PDU的MAC CE2的最后一个比特位,则该位置信息可以包括第二长度。对应的,网络设备根据该位置信息中的比特数,即第二长度,从该第一MAC PDU中的MAC CE2的最后一个比特位开始向前计数,可以确定该第一MAC PDU包括的n个 MAC CE中第一个MAC CE对应的subheader的第一个比特位,进而获取该n个MAC CE。
可选的,作为一个实施例,该位置信息还可以位于padding对应的subheader中,例如可以复用该padding对应的subheader中的比特位。具体地,当该第一MAC PDU包括的n个MAC CE以及对应的n个subheader位于m个MAC SDU和对应的m个subheader、padding以及padding对应的subheader之间时,即图6示出了根据本申请实施例的第一MAC PDU的示意图,即该第一MAC PDU中每个字段的排列顺序可以如图6所示,此时padding位于对应的subheader之前,且该padding对应的subheader中包括位置信息。
具体地,与padding对应的subheader可以用于指示该padding的长度,而当该subheader中包括位置信息时,该位置信息可以包括特定比特位与该n个MAC CE中第一个MAC CE对应的subheader的第一个比特数之间的比特数,则该padding对应的subheader可以用于指示从第一个MAC CE对应的subheader的第一个比特位到padding的最后一个比特位之间的比特数。则网络设备可以根据该padding对应的subheader中包括的比特数,从padding的最后一个比特位向前计数,可以确定该第一MAC PDU包括的n个MAC CE中第一个MAC CE对应的subheader的第一个比特位,进而获取该n个MAC CE。
应理解,本申请实施例中的位置信息可以为一个独立的域,即例如如2至图5所示,可以位于第一MAC PDU的最前面或者最后面,其大小可以为至少为1字节(byte),例如如图7所示,该位置信息可以为1byte,即8比特(bit),或者该位置信息也可以为2byte,本申请实施例并不限于此。
可选的,该位置信息也可以复用第一MAC PDU中的padding对应的subheader中的某个字段,例如如图6所示,padding对应的subheader包括该位置信息,该位置信息可以复用该subheader中表示长度(length)的L域,则该位置信息的大小等于L域的大小。
具体地,图8示出了根据本申请实施例的padding对应的subheader的示意图,如图8所示,该subheader可以包括R域,该R域为预留比特位(reserve bit);该subheader还包括F域,该F域用于指示该subheader包括的L域的大小,例如图8中所示,该L域的大小可以为8bit,则F域指示该L域的大 小为8bit;该subheader还包括逻辑信道标识(logical channel identify,LCID)域,该LCID用于指示该subheader为padding对应的subheader;该subheader还包括L域,该L域用于承载位置信息,例如图8所示,该L域大小可以为lbyte,但本申请实施例并不限于此。
可选的,该方法100还可以包括:终端设备确定生效指示信息,该生效指示信息用于指示网络设备是否需要根据该位置信息确定该第一MAC PDU中包括的n个MAC CE的位置。
例如,当该第一MAC PDU的总长度大于或者等于第一预设值时,或者该第一MAC PDU包括的m个MAC SDU的总长度大于或者等于第二预设值时,终端设备可以将生效指示信息设置为用于指示该网络设备需要根据该位置信息确定该第一MAC PDU中包括的n个MAC CE的位置,例如,该生效指示信息可以设置为一个比特,用“1”表示该网络设备需要根据该位置信息确定该第一MAC PDU中包括的n个MAC CE的位置,则网络设备可以根据该生效指示信息,确定是否根据该位置信息确定该第一MAC PDU中包括的n个MAC CE的位置。
另外,由于此时第一MAC PDU的总长度较大或该该第一MAC PDU包括的m个MAC SDU的总长度较大,则该位置信息可以设置为从该第一MAC PDU的后面的比特位向前查找n个MAC CE的位置,但本申请实施例并不限于此。
对应的,当该第一MAC PDU的总长度小于第一预设值时,或者该第一MAC PDU包括的m个MAC SDU的总长度小于第二预设值时,终端设备可以将生效指示信息设置为用于指示该网络设备不需要根据该位置信息确定该第一MAC PDU中包括的n个MAC CE的位置,例如,该生效指示信息可以设置为一个比特,用“0”表示该网络设备不需要根据该位置信息确定该第一MAC PDU中包括的n个MAC CE的位置,则网络设备可以根据该生效指示信息,确定是否根据该位置信息确定该第一MAC PDU中包括的n个MAC CE的位置。
应理解,该第一预设值和第二预设值可以根据实际情况进行设置,本申请实施例并不限于此。
再例如,对于其他网络设备需要确定MAC CE位置的特殊情况,终端设备也可以将生效指示信息设置为用于指示该网络设备需要根据该位置信 息确定该第一MAC PDU中包括的n个MAC CE的位置,但本申请实施例并不限于此。
应理解,该第一MAC PDU中的位置信息和生效指示信息可以设置为连续字段,共同占用至少1byte,例如,可以占用1byte或者2byte。具体地,如图9所示,该位置信息和生效指示信息一共1byte,其中,生效指示信息占用1比特(bit),例如,可以将该比特位设置为“1”或者“0”;而位置信息占用其余比特,即7bit。
可选地,对于padding对应的subheader包括位置信息的情况,该subheader也可以包括该生效指示信息,即生效指示信息和位置信息共同复用padding对应的subheader中的L域。
可选的,作为一个实施例,该方法100还可以包括:该终端设备还可以向网络设备发送第二MAC PDU,该第二MAC PDU可以包括指示信息,该指示信息用于指示第二MAC PDU中不包括MAC CE。
具体地,当MAC PDU中包括MAC CE时,则终端设备可以通过位置信息,以及生效指示信息,指示网络设备该MAC PDU中包括MAC CE,并指示该MAC CE的位置,即上述终端设备向网络设备发送的第一MAC PDU中可以包括位置信息,该位置信息用于指示该第一MAC PDU中包括的n个MAC CE的位置。当该MAC PDU中不包括MAC CE时,则终端设备可以通过指示信息,指示该网络设备该MAC PDU中不包括MAC CE。
应理解,该第二MAC PDU中包括的指示信息类似第一MAC PDU中包括的位置信息,例如该指示信息的位置以及大小,可以与位置信息一致,即当MAC PDU中包括MAC CE时,该MAC PDU中包括位置信息;当MAC PDU中不包括MAC CE时,该MAC PDU中包括指示信息,即该指示信息可以看作该位置信息为特殊值的情况,在此不再赘述。
例如如图7所示,该指示信息可以为1byte,通过该1byte表示的特殊值指示该MAC PDU中不包括MAC CE,但本申请实施例并不限于此。
因此,本申请实施例的传输数据的方法,终端设备向网络设备发送包括位置信息的MAC PDU,网络设备可以根据该位置信息确定该MAC PDU中是否包括MAC CE,是否需要根据该位置信息确定MAC CE的位置,以及确定该MAC PDU包括的n个MAC CE的位置,使得网络设备可以快速获取该n个MAC CE中的控制信息,提高效率。
上文中结合图1至图9,从终端设备的角度详细描述了根据本申请实施例的传输数据的方法,下面将结合图10,从网络设备的角度描述根据本申请实施例的传输数据的方法。
图10示出了根据本申请实施例的传输数据的方法200的示意性流程图,该方法200可以由网络设备,具体地,如图10所示,该方法200包括:
S210,接收终端设备发送的第一MAC PDU,该第一MAC PDU包括位置信息;
S220,根据该位置信息,确定该第一MAC PDU包括的n个MAC CE的位置。
因此,本申请实施例的传输数据的方法,网络设备接收终端设备发送的包括位置信息的MAC PDU,并根据该位置信息确定该MAC PDU中包括的n个MAC CE的位置,使得网络设备可以快速获取该n个MAC CE中的控制信息,提高效率。
可选的,该第一MAC PDU包括与该n个MAC CE一一对应的n个subheader,该n个MAC CE中第i个MAC CE与对应的第i个subheader相邻且位于该第i个subheader之后,该第一MAC PDU包括m个MAC SDU以及与该m个MAC SDU一一对应的m个subheader,该m个MAC SDU中第j个MAC SDU与对应的第j个subheader相邻且位于该第j个subheader之后,该m个MAC SDU和该m个subheader位于该n个MAC CE和该n个subheader之前,该第一MAC PDU包括padding以及与该padding对应的subheader,该padding和该padding对应的subheader相邻,该padding和该padding对应的subheader位于该m个MAC SDU和该m个subheader之后。
可选的,该位置信息包括特定比特位与该n个MAC CE中第一个MAC CE对应的subheader的第一个比特位之间的比特数,该根据该位置信息,确定该第一MAC PDU包括的n个MAC CE的位置,包括:根据该特定比特位和该位置信息,确定该n个MAC CE的位置。
可选的,该特定比特位为该m个MAC SDU中的第一个MAC SDU对应的subheader的第一个比特位。
可选的,该特定比特位为该第一MAC PDU的最后一个比特位。
可选的,该特定比特位为该n个MAC CE、该n个subheader、该padding和该padding对应的subheader中的最后一个比特位。
可选的,该n个MAC CE和该n个subheader位于该m个MAC SDU和该m个subheader之后、该padding和该padding对应的subheader之前,该padding位于该padding对应的subheader之前,该padding对应的subheader包括该位置信息,该特定比特位为该padding的最后一个比特位。
可选的,该位置信息位于该第一MAC PDU的最前端或者最后端。
可选的,该第一MAC PDU包括该生效指示信息,该方法还包括:根据该生效指示信息,确定是否根据该位置信息确定该n个MAC CE的位置。
可选的,该方法还包括:接收该终端设备发送的第二MAC PDU,该第二MAC PDU包括指示信息;根据该指示信息,确定该第二MAC PDU不包括MAC CE。
应理解,该方法200中的网络设备可以对应方法100中网络设备,方法200中的终端设备可以对应方法100中的终端设备,在此不再赘述。
因此,本申请实施例的传输数据的方法,网络设备接收终端设备发送的包括位置信息的MAC PDU,可以根据该位置信息确定该MAC PDU中是否包括MAC CE,是否需要根据该位置信息确定MAC CE的位置,以及确定该MAC PDU包括的n个MAC CE的位置,使得网络设备可以快速获取该n个MAC CE中的控制信息,提高效率。
应理解,在本申请的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。
上文中结合图1至图10,详细描述了根据本申请实施例的传输数据的方法,下面将结合图11至图14,描述根据本申请实施例的传输数据的装置。
如图11所示,根据本申请实施例的终端设备300包括:
确定单元310,用于确定位置信息,该位置信息用于指示第一MAC PDU包括的n个MAC CE的位置,n为正整数;
发送单元320,用于向网络设备发送该第一MAC PDU,该第一MAC PDU包括该位置信息。
因此,本申请实施例的终端设备,向网络设备发送包括位置信息的MAC PDU,网络设备根据该位置信息确定该MAC PDU中包括的n个MAC CE的位置,使得网络设备可以快速获取该n个MAC CE中的控制信息,提高效率。
可选的,该第一MAC PDU包括与该n个MAC CE一一对应的n个subheader,该n个MAC CE中第i个MAC CE与对应的第i个subheader相邻且位于该第i个subheader之后,i为小于或者等于n的正整数,该第一MAC PDU包括m个MAC SDU以及与该m个MAC SDU一一对应的m个subheader,该m个MAC SDU中第j个MAC SDU与对应的第j个subheader相邻且位于该第j个subheader之后,该m个MAC SDU和该m个subheader位于该n个MAC CE和该n个subheader之前,m为正整数,j为小于或者等于m的正整数,该第一MAC PDU包括填充比特padding以及与该padding对应的subheader,该padding和该padding对应的subheader相邻,该padding和该padding对应的subheader位于该m个MAC SDU和该m个subheader之后。
可选的,该位置信息包括特定比特位与该n个MAC CE中第一个MAC CE对应的subheader的起始第一个比特位之间的比特数。
可选的,该特定比特位为该m个MAC SDU中的第一个MAC SDU对应的subheader的第一个比特位。
可选的,该特定比特位为该第一MAC PDU的最后一个比特位。
可选的,该特定比特位为该n个MAC CE、该n个subheader、该padding和该padding对应的subheader中的最后一个比特位。
可选的,该n个MAC CE和该n个subheader位于该m个MAC SDU和该m个subheader之后、该padding和该padding对应的subheader之前,该padding位于该padding对应的subheader之前,该padding对应的subheader包括该位置信息,该特定比特位为该padding的最后一个比特位。
可选的,该位置信息位于该第一MAC PDU的最前端或者最后端。
可选的,该确定单元310具体用于:确定生效指示信息,该第一MAC PDU包括该生效指示信息,该生效指示信息用于指示该网络设备是否根据该位置信息确定该n个MAC CE的位置。
可选的,该确定单元310具体用于:在该第一MAC PDU的总长度大于或者等于第一预设值或者该第一MAC PDU包括的m个MAC SDU的总长度大于或者等于第二预设值时,确定该生效指示信息用于指示该网络设备根据该位置信息确定该n个MAC CE的位置。
可选的,该确定单元310具体用于:在该第一MAC PDU的总长度小于 该第一预设值或者该第一MAC PDU包括的m个MAC SDU的总长度小于该第二预设值时,确定该生效指示信息用于指示该网络设备不执行根据该位置信息确定该n个MAC CE的位置。
可选的,该确定单元310具体用于:确定指示信息,该指示信息用于指示第二MAC PDU不包括MAC CE;该发送单元320具体用于:向该网络设备发送该第二MAC PDU。
应理解,根据本申请实施例的终端设备300可对应于执行本申请实施例中的方法100和方法200,并且终端设备300中的各个单元的上述和其它操作和/或功能分别为了实现图1至图10中的各个方法中终端设备的相应流程,为了简洁,在此不再赘述。
因此,本申请实施例的终端设备,向网络设备发送包括位置信息的MAC PDU,网络设备可以根据该位置信息确定该MAC PDU中是否包括MAC CE,是否需要根据该位置信息确定MAC CE的位置,以及确定该MAC PDU包括的n个MAC CE的位置,使得网络设备可以快速获取该n个MAC CE中的控制信息,提高效率。
如图12所示,根据本申请实施例的网络设备400包括:
接收单元410,用于接收终端设备发送的第一MAC PDU,该第一MAC PDU包括位置信息;
确定单元420,用于根据该位置信息,确定该第一MAC PDU包括的n个MAC CE的位置。
因此,本申请实施例的网络设备,接收终端设备发送的包括位置信息的MAC PDU,并根据该位置信息确定该MAC PDU中包括的n个MAC CE的位置,使得网络设备可以快速获取该n个MAC CE中的控制信息,提高效率。
可选的,该第一MAC PDU包括与该n个MAC CE一一对应的n个subheader,该n个MAC CE中第i个MAC CE与对应的第i个subheader相邻且位于该第i个subheader之后,该第一MAC PDU包括m个MAC SDU以及与该m个MAC SDU一一对应的m个subheader,该m个MAC SDU中第j个MAC SDU与对应的第j个subheader相邻且位于该第j个subheader之后,该m个MAC SDU和该m个subheader位于该n个MAC CE和该n个subheader之前,该第一MAC PDU包括padding以及与该padding对应的 subheader,该padding和该padding对应的subheader相邻,该padding和该padding对应的subheader位于该m个MAC SDU和该m个subheader之后。
可选的,该位置信息包括特定比特位与该n个MAC CE中第一个MAC CE对应的subheader的第一个比特位之间的比特数,该确定单元420具体用于:根据该特定比特位和该位置信息,确定该n个MAC CE的位置。
可选的,该特定比特位为该m个MAC SDU中的第一个MAC SDU对应的subheader的第一个比特位。
可选的,该特定比特位为该第一MAC PDU的最后一个比特位。
可选的,该特定比特位为该n个MAC CE、该n个subheader、该padding和该padding对应的subheader中的最后一个比特位。
可选的,该n个MAC CE和该n个subheader位于该m个MAC SDU和该m个subheader之后、该padding和该padding对应的subheader之前,该padding位于该padding对应的subheader之前,该padding对应的subheader包括该位置信息,该特定比特位为该padding的最后一个比特位。
可选的,该位置信息位于该第一MAC PDU的最前端或者最后端。
可选的,该第一MAC PDU包括该生效指示信息,该确定单元420具体用于:根据该生效指示信息,确定是否根据该位置信息确定该n个MAC CE的位置。
可选的,该接收单元410具体用于:接收该终端设备发送的第二MAC PDU,该第二MAC PDU包括指示信息;该确定单元420具体用于:根据该指示信息,确定该第二MAC PDU不包括MAC CE。
应理解,根据本申请实施例的网络设备400可对应于执行本申请实施例中的方法100和方法200,并且网络设备400中的各个单元的上述和其它操作和/或功能分别为了实现图1至图10中的各个方法中网络设备的相应流程,为了简洁,在此不再赘述。
因此,本申请实施例的网络设备,接收终端设备发送的包括位置信息的MAC PDU,可以根据该位置信息确定该MAC PDU中是否包括MAC CE,是否需要根据该位置信息确定MAC CE的位置,以及确定该MAC PDU包括的n个MAC CE的位置,使得网络设备可以快速获取该n个MAC CE中的控制信息,提高效率。
图13示出了根据本申请实施例的终端设备500的示意性框图,如图13 所示,该终端设备500包括:处理器510和收发器520,处理器510和收发器520相连,可选地,该终端设备500还包括存储器530,存储器530与处理器510相连。其中,处理器510、存储器530和收发器520之间通过内部连接通路互相通信,传递控制和/或数据信号,该存储器530可以用于存储指令,该处理器510用于执行该存储器530存储的指令,以控制收发器520发送信息或信号,该处理器510用于:确定位置信息,该位置信息用于指示第一MAC PDU包括的n个MAC CE的位置,n为正整数;该收发器520用于:向网络设备发送该第一MAC PDU,该第一MAC PDU包括该位置信息。
因此,本申请实施例的终端设备,向网络设备发送包括位置信息的MAC PDU,网络设备根据该位置信息确定该MAC PDU中包括的n个MAC CE的位置,使得网络设备可以快速获取该n个MAC CE中的控制信息,提高效率。
可选的,该第一MAC PDU包括与该n个MAC CE一一对应的n个subheader,该n个MAC CE中第i个MAC CE与对应的第i个subheader相邻且位于该第i个subheader之后,i为小于或者等于n的正整数,该第一MAC PDU包括m个MAC SDU以及与该m个MAC SDU一一对应的m个subheader,该m个MAC SDU中第j个MAC SDU与对应的第j个subheader相邻且位于该第j个subheader之后,该m个MAC SDU和该m个subheader位于该n个MAC CE和该n个subheader之前,m为正整数,j为小于或者等于m的正整数,该第一MAC PDU包括padding以及与该padding对应的subheader,该padding和该padding对应的subheader相邻,该padding和该padding对应的subheader位于该m个MAC SDU和该m个subheader之后。
可选的,该位置信息包括特定比特位与该n个MAC CE中第一个MAC CE对应的subheader的起始第一个比特位之间的比特数。
可选的,该特定比特位为该m个MAC SDU中的第一个MAC SDU对应的subheader的第一个比特位。
可选的,该特定比特位为该第一MAC PDU的最后一个比特位。
可选的,该特定比特位为该n个MAC CE、该n个subheader、该padding和该padding对应的subheader中的最后一个比特位。
可选的,该n个MAC CE和该n个subheader位于该m个MAC SDU和该m个subheader之后、该padding和该padding对应的subheader之前,该 padding位于该padding对应的subheader之前,该padding对应的subheader包括该位置信息,该特定比特位为该padding的最后一个比特位。
可选的,该位置信息位于该第一MAC PDU的最前端或者最后端。
可选的,该处理器510用于:确定生效指示信息,该第一MAC PDU包括该生效指示信息,该生效指示信息用于指示该网络设备是否根据该位置信息确定该n个MAC CE的位置。
可选的,该处理器510用于:在该第一MAC PDU的总长度大于或者等于第一预设值或者该第一MAC PDU包括的m个MAC SDU的总长度大于或者等于第二预设值时,确定该生效指示信息用于指示该网络设备根据该位置信息确定该n个MAC CE的位置。
可选的,该处理器510用于:在该第一MAC PDU的总长度小于该第一预设值或者该第一MAC PDU包括的m个MAC SDU的总长度小于该第二预设值时,确定该生效指示信息用于指示该网络设备不执行根据该位置信息确定该n个MAC CE的位置。
可选的,该处理器510用于:确定指示信息,该指示信息用于指示第二MAC PDU不包括MAC CE;该收发器520用于:向该网络设备发送该第二MAC PDU。
应理解,根据本申请实施例的终端设备500可对应于本申请实施例中的终端设备300,并可以对应于执行根据本申请实施例的方法100和方法200中的相应主体,并且终端设备500中的各个单元的上述和其它操作和/或功能分别为了实现图1至图10中的各个方法中终端设备的相应流程,为了简洁,在此不再赘述。
因此,本申请实施例的终端设备,向网络设备发送包括位置信息的MAC PDU,网络设备可以根据该位置信息确定该MAC PDU中是否包括MAC CE,是否需要根据该位置信息确定MAC CE的位置,以及确定该MAC PDU包括的n个MAC CE的位置,使得网络设备可以快速获取该n个MAC CE中的控制信息,提高效率。
图14示出了根据本申请实施例的网络设备600的示意性框图,如图14所示,该网络设备600包括:处理器610和收发器620,处理器610和收发器620相连,可选地,该网络设备600还包括存储器630,存储器630与处理器610相连。其中,处理器610、存储器630和收发器620之间通过内部 连接通路互相通信,传递控制和/或数据信号,该存储器630可以用于存储指令,该处理器610用于执行该存储器630存储的指令,以控制收发器620发送信息或信号,该收发器620用于:接收终端设备发送的第一MAC PDU,该第一MAC PDU包括位置信息;该处理器610用于:根据该位置信息,确定该第一MAC PDU包括的n个MAC CE的位置。
因此,本申请实施例的网络设备,接收终端设备发送的包括位置信息的MAC PDU,并根据该位置信息确定该MAC PDU中包括的n个MAC CE的位置,使得网络设备可以快速获取该n个MAC CE中的控制信息,提高效率。
可选的,该第一MAC PDU包括与该n个MAC CE一一对应的n个subheader,该n个MAC CE中第i个MAC CE与对应的第i个subheader相邻且位于该第i个subheader之后,该第一MAC PDU包括m个MAC SDU以及与该m个MAC SDU一一对应的m个subheader,该m个MAC SDU中第j个MAC SDU与对应的第j个subheader相邻且位于该第j个subheader之后,该m个MAC SDU和该m个subheader位于该n个MAC CE和该n个subheader之前,该第一MAC PDU包括padding以及与该padding对应的subheader,该padding和该padding对应的subheader相邻,该padding和该padding对应的subheader位于该m个MAC SDU和该m个subheader之后。
可选的,该位置信息包括特定比特位与该n个MAC CE中第一个MAC CE对应的subheader的第一个比特位之间的比特数,该处理器610具体用于:根据该特定比特位和该位置信息,确定该n个MAC CE的位置。
可选的,该特定比特位为该m个MAC SDU中的第一个MAC SDU对应的subheader的第一个比特位。
可选的,该特定比特位为该第一MAC PDU的最后一个比特位。
可选的,该特定比特位为该n个MAC CE、该n个subheader、该padding和该padding对应的subheader中的最后一个比特位。
可选的,该n个MAC CE和该n个subheader位于该m个MAC SDU和该m个subheader之后、该padding和该padding对应的subheader之前,该padding位于该padding对应的subheader之前,该padding对应的subheader包括该位置信息,该特定比特位为该padding的最后一个比特位。
可选的,该位置信息位于该第一MAC PDU的最前端或者最后端。
可选的,该第一MAC PDU包括该生效指示信息,该处理器610用于:根据该生效指示信息,确定是否根据该位置信息确定该n个MAC CE的位置。
可选的,该收发器620用于:接收该终端设备发送的第二MAC PDU,该第二MAC PDU包括指示信息;该处理器610用于:根据该指示信息,确定该第二MAC PDU不包括MAC CE。
应理解,根据本申请实施例的网络设备600可对应于本申请实施例中的网络设备400,并可以对应于执行根据本申请实施例的方法100和方法200中的相应主体,并且网络设备600中的各个单元的上述和其它操作和/或功能分别为了实现图1至图10中的各个方法中网络设备的相应流程,为了简洁,在此不再赘述。
因此,本申请实施例的网络设备,接收终端设备发送的包括位置信息的MAC PDU,可以根据该位置信息确定该MAC PDU中是否包括MAC CE,是否需要根据该位置信息确定MAC CE的位置,以及确定该MAC PDU包括的n个MAC CE的位置,使得网络设备可以快速获取该n个MAC CE中的控制信息,提高效率。
应注意,本申请上述方法实施例可以应用于处理器中,或者由处理器实现。处理器可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法实施例的各步骤可以通过处理器中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器可以是通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本申请实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器,处理器读取存储器中的信息,结合其硬件完成上述方法的步骤。
可以理解,本申请实施例中的存储器可以是易失性存储器或非易失性存 储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(RandomAccess Memory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data Rate SDRAM,DDR SDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synchlink DRAM,SLDRAM)和直接内存总线随机存取存储器(Direct Rambus RAM,DR RAM)。应注意,本文描述的系统和方法的存储器旨在包括但不限于这些和任意其它适合类型的存储器。
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方, 或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。

Claims (44)

  1. 一种传输数据的方法,其特征在于,包括:
    确定位置信息,所述位置信息用于指示第一介质访问控制层MAC协议数据单元PDU包括的n个MAC控制单元CE的位置,n为正整数;
    向网络设备发送所述第一MAC PDU,所述第一MAC PDU包括所述位置信息。
  2. 根据权利要求1所述的方法,其特征在于,所述第一MAC PDU包括与所述n个MAC CE一一对应的n个子头subheader,所述n个MAC CE中第i个MAC CE与对应的第i个subheader相邻且位于所述第i个subheader之后,i为小于或者等于n的正整数,
    所述第一MAC PDU包括m个MAC服务数据单元SDU以及与所述m个MAC SDU一一对应的m个subheader,所述m个MAC SDU中第j个MAC SDU与对应的第j个subheader相邻且位于所述第j个subheader之后,所述m个MAC SDU和所述m个subheader位于所述n个MAC CE和所述n个subheader之前,m为正整数,j为小于或者等于m的正整数,
    所述第一MAC PDU包括填充比特padding以及与所述padding对应的subheader,所述padding和所述padding对应的subheader相邻,所述padding和所述padding对应的subheader位于所述m个MAC SDU和所述m个subheader之后。
  3. 根据权利要求2所述的方法,其特征在于,所述位置信息包括特定比特位与所述n个MAC CE中第一个MAC CE对应的subheader的第一个比特位之间的比特数。
  4. 根据权利要求3所述的方法,其特征在于,所述特定比特位为所述m个MAC SDU中的第一个MAC SDU对应的subheader的第一个比特位。
  5. 根据权利要求3所述的方法,其特征在于,所述特定比特位为所述第一MAC PDU的最后一个比特位。
  6. 根据权利要求3所述的方法,其特征在于,所述特定比特位为所述n个MAC CE、所述n个subheader、所述padding和所述padding对应的subheader中的最后一个比特位。
  7. 根据权利要求3所述的方法,其特征在于,所述n个MAC CE和所述n个subheader位于所述m个MAC SDU和所述m个subheader之后、所 述padding和所述padding对应的subheader之前,所述padding位于所述padding对应的subheader之前,
    所述padding对应的subheader包括所述位置信息,所述特定比特位为所述padding的最后一个比特位。
  8. 根据权利要求1至7中任一项所述的方法,其特征在于,所述位置信息位于所述第一MAC PDU的最前端或者最后端。
  9. 根据权利要求1至8中任一项所述的方法,其特征在于,所述方法还包括:
    确定生效指示信息,所述第一MAC PDU包括所述生效指示信息,所述生效指示信息用于指示所述网络设备是否根据所述位置信息确定所述n个MAC CE的位置。
  10. 根据权利要求9所述的方法,其特征在于,所述确定生效指示信息,包括:
    在所述第一MAC PDU的总长度大于或者等于第一预设值或者所述第一MAC PDU包括的m个MAC SDU的总长度大于或者等于第二预设值时,确定所述生效指示信息用于指示所述网络设备根据所述位置信息确定所述n个MAC CE的位置。
  11. 根据权利要求9或10所述的方法,其特征在于,所述确定生效指示信息,包括:
    在所述第一MAC PDU的总长度小于所述第一预设值或者所述第一MAC PDU包括的m个MAC SDU的总长度小于所述第二预设值时,确定所述生效指示信息用于指示所述网络设备不执行根据所述位置信息确定所述n个MAC CE的位置。
  12. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    确定指示信息,所述指示信息用于指示第二MAC PDU不包括MAC CE;
    向所述网络设备发送所述第二MAC PDU。
  13. 一种传输数据的方法,其特征在于,包括:
    接收终端设备发送的第一介质访问控制层MAC协议数据单元PDU,所述第一MAC PDU包括位置信息;
    根据所述位置信息,确定所述第一MAC PDU包括的n个MAC控制单元CE的位置。
  14. 根据权利要求13所述的方法,其特征在于,所述第一MAC PDU包括与所述n个MAC CE一一对应的n个子头subheader,所述n个MAC CE中第i个MAC CE与对应的第i个subheader相邻且位于所述第i个subheader之后,
    所述第一MAC PDU包括m个MAC服务数据单元SDU以及与所述m个MAC SDU一一对应的m个subheader,所述m个MAC SDU中第j个MAC SDU与对应的第j个subheader相邻且位于所述第j个subheader之后,所述m个MAC SDU和所述m个subheader位于所述n个MAC CE和所述n个subheader之前,
    所述第一MAC PDU包括填充比特padding以及与所述padding对应的subheader,所述padding和所述padding对应的subheader相邻,所述padding和所述padding对应的subheader位于所述m个MAC SDU和所述m个subheader之后。
  15. 根据权利要求14所述的方法,其特征在于,所述位置信息包括特定比特位与所述n个MAC CE中第一个MAC CE对应的subheader的第一个比特位之间的比特数,
    所述根据所述位置信息,确定所述第一MAC PDU包括的n个MAC控制单元CE的位置,包括:
    根据所述特定比特位和所述位置信息,确定所述n个MAC CE的位置。
  16. 根据权利要求15所述的方法,其特征在于,所述特定比特位为所述m个MAC SDU中的第一个MAC SDU对应的subheader的第一个比特位。
  17. 根据权利要求15所述的方法,其特征在于,所述特定比特位为所述第一MAC PDU的最后一个比特位。
  18. 根据权利要求15所述的方法,其特征在于,所述特定比特位为所述n个MAC CE、所述n个subheader、所述padding和所述padding对应的subheader中的最后一个比特位。
  19. 根据权利要求15所述的方法,其特征在于,所述n个MAC CE和所述n个subheader位于所述m个MAC SDU和所述m个subheader之后、所述padding和所述padding对应的subheader之前,所述padding位于所述padding对应的subheader之前,
    所述padding对应的subheader包括所述位置信息,所述特定比特位为所 述padding的最后一个比特位。
  20. 根据权利要求13至19中任一项所述的方法,其特征在于,所述位置信息位于所述第一MAC PDU的最前端或者最后端。
  21. 根据权利要求13至20中任一项所述的方法,其特征在于,所述第一MAC PDU包括所述生效指示信息,所述方法还包括:
    根据所述生效指示信息,确定是否根据所述位置信息确定所述n个MAC CE的位置。
  22. 根据权利要求13所述的方法,其特征在于,所述方法还包括:
    接收所述终端设备发送的第二MAC PDU,所述第二MAC PDU包括指示信息;
    根据所述指示信息,确定所述第二MAC PDU不包括MAC CE。
  23. 一种终端设备,其特征在于,包括:
    确定单元,用于确定位置信息,所述位置信息用于指示第一介质访问控制层MAC协议数据单元PDU包括的n个MAC控制单元CE的位置,n为正整数;
    发送单元,用于向网络设备发送所述第一MAC PDU,所述第一MAC PDU包括所述位置信息。
  24. 根据权利要求23所述的终端设备,其特征在于,所述第一MAC PDU包括与所述n个MAC CE一一对应的n个子头subheader,所述n个MAC CE中第i个MAC CE与对应的第i个subheader相邻且位于所述第i个subheader之后,i为小于或者等于n的正整数,
    所述第一MAC PDU包括m个MAC服务数据单元SDU以及与所述m个MAC SDU一一对应的m个subheader,所述m个MAC SDU中第j个MAC SDU与对应的第j个subheader相邻且位于所述第j个subheader之后,所述m个MAC SDU和所述m个subheader位于所述n个MAC CE和所述n个subheader之前,m为正整数,j为小于或者等于m的正整数,
    所述第一MAC PDU包括填充比特padding以及与所述padding对应的subheader,所述padding和所述padding对应的subheader相邻,所述padding和所述padding对应的subheader位于所述m个MAC SDU和所述m个subheader之后。
  25. 根据权利要求24所述的终端设备,其特征在于,所述位置信息包 括特定比特位与所述n个MAC CE中第一个MAC CE对应的subheader的起始第一个比特位之间的比特数。
  26. 根据权利要求25所述的终端设备,其特征在于,所述特定比特位为所述m个MAC SDU中的第一个MAC SDU对应的subheader的第一个比特位。
  27. 根据权利要求25所述的终端设备,其特征在于,所述特定比特位为所述第一MAC PDU的最后一个比特位。
  28. 根据权利要求25所述的终端设备,其特征在于,所述特定比特位为所述n个MAC CE、所述n个subheader、所述padding和所述padding对应的subheader中的最后一个比特位。
  29. 根据权利要求25所述的终端设备,其特征在于,所述n个MAC CE和所述n个subheader位于所述m个MAC SDU和所述m个subheader之后、所述padding和所述padding对应的subheader之前,所述padding位于所述padding对应的subheader之前,
    所述padding对应的subheader包括所述位置信息,所述特定比特位为所述padding的最后一个比特位。
  30. 根据权利要求23至29中任一项所述的终端设备,其特征在于,所述位置信息位于所述第一MAC PDU的最前端或者最后端。
  31. 根据权利要求23至30中任一项所述的终端设备,其特征在于,所述确定单元具体用于:
    确定生效指示信息,所述第一MAC PDU包括所述生效指示信息,所述生效指示信息用于指示所述网络设备是否根据所述位置信息确定所述n个MAC CE的位置。
  32. 根据权利要求31所述的终端设备,其特征在于,所述确定单元具体用于:
    在所述第一MAC PDU的总长度大于或者等于第一预设值或者所述第一MAC PDU包括的m个MAC SDU的总长度大于或者等于第二预设值时,确定所述生效指示信息用于指示所述网络设备根据所述位置信息确定所述n个MAC CE的位置。
  33. 根据权利要求31或32所述的终端设备,其特征在于,所述确定单元具体用于:
    在所述第一MAC PDU的总长度小于所述第一预设值或者所述第一MAC PDU包括的m个MAC SDU的总长度小于所述第二预设值时,确定所述生效指示信息用于指示所述网络设备不执行根据所述位置信息确定所述n个MAC CE的位置。
  34. 根据权利要求23所述的终端设备,其特征在于,所述确定单元具体用于:
    确定指示信息,所述指示信息用于指示第二MAC PDU不包括MAC CE;
    所述发送单元具体用于:
    向所述网络设备发送所述第二MAC PDU。
  35. 一种网络设备,其特征在于,包括:
    接收单元,用于接收终端设备发送的第一介质访问控制层MAC协议数据单元PDU,所述第一MAC PDU包括位置信息;
    确定单元,用于根据所述位置信息,确定所述第一MAC PDU包括的n个MAC控制单元CE的位置。
  36. 根据权利要求35所述的网络设备,其特征在于,所述第一MAC PDU包括与所述n个MAC CE一一对应的n个子头subheader,所述n个MAC CE中第i个MAC CE与对应的第i个subheader相邻且位于所述第i个subheader之后,
    所述第一MAC PDU包括m个MAC服务数据单元SDU以及与所述m个MAC SDU一一对应的m个subheader,所述m个MAC SDU中第j个MAC SDU与对应的第j个subheader相邻且位于所述第j个subheader之后,所述m个MAC SDU和所述m个subheader位于所述n个MAC CE和所述n个subheader之前,
    所述第一MAC PDU包括填充比特padding以及与所述padding对应的subheader,所述padding和所述padding对应的subheader相邻,所述padding和所述padding对应的subheader位于所述m个MAC SDU和所述m个subheader之后。
  37. 根据权利要求36所述的网络设备,其特征在于,所述位置信息包括特定比特位与所述n个MAC CE中第一个MAC CE对应的subheader的第一个比特位之间的比特数,
    所述确定单元具体用于:
    根据所述特定比特位和所述位置信息,确定所述n个MAC CE的位置。
  38. 根据权利要求37所述的网络设备,其特征在于,所述特定比特位为所述m个MAC SDU中的第一个MAC SDU对应的subheader的第一个比特位。
  39. 根据权利要求37所述的网络设备,其特征在于,所述特定比特位为所述第一MAC PDU的最后一个比特位。
  40. 根据权利要求37所述的网络设备,其特征在于,所述特定比特位为所述n个MAC CE、所述n个subheader、所述padding和所述padding对应的subheader中的最后一个比特位。
  41. 根据权利要求37所述的网络设备,其特征在于,所述n个MAC CE和所述n个subheader位于所述m个MAC SDU和所述m个subheader之后、所述padding和所述padding对应的subheader之前,所述padding位于所述padding对应的subheader之前,
    所述padding对应的subheader包括所述位置信息,所述特定比特位为所述padding的最后一个比特位。
  42. 根据权利要求35至41中任一项所述的网络设备,其特征在于,所述位置信息位于所述第一MAC PDU的最前端或者最后端。
  43. 根据权利要求35至42中任一项所述的网络设备,其特征在于,所述第一MAC PDU包括所述生效指示信息,所述确定单元具体用于:
    根据所述生效指示信息,确定是否根据所述位置信息确定所述n个MAC CE的位置。
  44. 根据权利要求35所述的网络设备,其特征在于,所述接收单元具体用于:
    接收所述终端设备发送的第二MAC PDU,所述第二MAC PDU包括指示信息;
    所述确定单元具体用于:
    根据所述指示信息,确定所述第二MAC PDU不包括MAC CE。
PCT/CN2017/087207 2017-06-05 2017-06-05 传输数据的方法、终端设备和网络设备 WO2018223266A1 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN201780049131.0A CN109565859B (zh) 2017-06-05 2017-06-05 传输数据的方法、终端设备和网络设备
PCT/CN2017/087207 WO2018223266A1 (zh) 2017-06-05 2017-06-05 传输数据的方法、终端设备和网络设备
TW107117627A TW201904345A (zh) 2017-06-05 2018-05-23 傳輸數據的方法、終端設備和網絡設備

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/087207 WO2018223266A1 (zh) 2017-06-05 2017-06-05 传输数据的方法、终端设备和网络设备

Publications (1)

Publication Number Publication Date
WO2018223266A1 true WO2018223266A1 (zh) 2018-12-13

Family

ID=64566906

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/087207 WO2018223266A1 (zh) 2017-06-05 2017-06-05 传输数据的方法、终端设备和网络设备

Country Status (3)

Country Link
CN (1) CN109565859B (zh)
TW (1) TW201904345A (zh)
WO (1) WO2018223266A1 (zh)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101873577A (zh) * 2009-04-27 2010-10-27 大唐移动通信设备有限公司 通知ue变更成员载波监听的方法、系统及装置
CN104853443A (zh) * 2015-04-08 2015-08-19 电信科学技术研究院 一种处理控制信令的方法及设备
WO2016183714A1 (zh) * 2015-05-15 2016-11-24 华为技术有限公司 通信方法和通信设备

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102595624B (zh) * 2011-01-17 2014-07-09 华为技术有限公司 基于组的调度方法、ue及网络设备
WO2018135874A1 (en) * 2017-01-19 2018-07-26 Lg Electronics Inc. Method and device for transmitting data unit
CN108632890B (zh) * 2017-03-24 2020-03-10 华为技术有限公司 数据传输方法和终端设备

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101873577A (zh) * 2009-04-27 2010-10-27 大唐移动通信设备有限公司 通知ue变更成员载波监听的方法、系统及装置
CN104853443A (zh) * 2015-04-08 2015-08-19 电信科学技术研究院 一种处理控制信令的方法及设备
WO2016183714A1 (zh) * 2015-05-15 2016-11-24 华为技术有限公司 通信方法和通信设备

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
INTEL CORPORATION: "MAC CE location in NR", 3GPP TSG-RAN WG2 MEETING #97, R2-1701736, 17 February 2017 (2017-02-17), XP051212309 *
SAMSUNG: "MAC PDU Structure in NR", 3GPP TSG-RAN WG2 NR #97 MEETING R2-1701904, 17 February 2017 (2017-02-17), XP051212447 *
ZTE ET AL.: "Consideration on the Location of MAC CE in MAC PDU", 3GPP TSG-RAN WG2 MEETING #97, R2-1701114, 17 February 2017 (2017-02-17), XP051211826 *

Also Published As

Publication number Publication date
CN109565859A (zh) 2019-04-02
CN109565859B (zh) 2021-07-20
TW201904345A (zh) 2019-01-16

Similar Documents

Publication Publication Date Title
US11115963B2 (en) Method and device for multiplexing uplink grant resources
WO2018227814A1 (zh) 数据指示方法、装置、通信系统
US11653412B2 (en) Data transmission method and communications apparatus for communication of data from different service types or different destination addresses
WO2019113898A1 (zh) 无线通信方法、终端和网络设备
WO2019056277A1 (zh) 传输信息的方法和设备
AU2017436699B2 (en) Method for transmitting data, terminal device and network device
WO2019127483A1 (zh) 寻呼方法、网络设备和终端设备
WO2018209675A1 (zh) 用于传输数据的方法和设备
US11082992B2 (en) Resource scheduling method and device
WO2019127462A1 (zh) 无线通信方法、终端设备和网络设备
WO2018223266A1 (zh) 传输数据的方法、终端设备和网络设备
WO2018218519A1 (zh) 无线通信方法和设备
WO2018201459A1 (zh) 逻辑信道资源分配的方法和终端设备
CN112470532B (zh) 侧行通信的方法、终端设备、芯片、存储介质
WO2018227500A1 (zh) 确定随机接入前导传输次数的方法、网络设备和终端设备
WO2019056276A1 (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: 17913005

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: 17913005

Country of ref document: EP

Kind code of ref document: A1