The present application relates to the field of communications technologies, and specifically, to a method for creating a Media Access Control MAC entity, a data scheduling method, a device, and a system.
Filter orthogonal frequency division multiplexing (“F-OFDM” for short) is a new communications technology. The F-OFDM technology divides a spectrum into multiple subbands. In the F-OFDM, a subband may be bandwidth that has a same subband parameter (numerology) or a set of subcarriers that have a same subband parameter. Each subband may include multiple subcarriers. Parameters (numerology) of different subbands may be the same or may be different. A subband parameter includes at least one of subcarrier bandwidth, a transmission time interval (TTI) length, a symbol length, a quantity of symbols, a cyclic prefix (CP) length, or the like. The subband parameter may be preconfigured or may be flexibly adapted according to service load. Different subbands may be used for different types of services.
The F-OFDM technology has the following characteristic: Different types of service data are separately transmitted by using multiple subbands, so that requirements of different services for delay sensitivity, reliability, bandwidth, low power consumption, cost effectiveness, and the like are met. When a user equipment runs multiple different types of services simultaneously, a conventional communication solution cannot leverage the characteristic of the F-OFDM technology during data scheduling for the following reason: Data of different service types is scheduled in a same Media Access Control (Medium Access Control, MAC) entity, and one MAC entity has only one scheduling period. In this case, when one MAC entity is used for scheduling for multiple subbands, scheduling accuracy of different services is affected, and implementation complexity exponentially increases.
To resolve a prior-art problem that one MAC entity needs to be responsible for scheduling data onto multiple subbands, embodiments of the present application provide a method for creating a MAC entity, so that a MAC entity whose scheduling period is consistent with a TTI of each subband can be created for the subband. Therefore, consistency between data scheduling and transmission and accuracy are ensured. The embodiments of the present application further provide a corresponding data scheduling method and a corresponding device and system.
A first aspect of the present application provides a method for creating a Media Access Control MAC entity, including:
obtaining, by a wireless communications device, an identity of a subband used to transmit to-be-transmitted data and an identity of a to-be-created MAC entity, where the wireless communications device is a network device or user equipment;
creating, by the wireless communications device, the MAC entity according to the identity of the to-be-created MAC entity, where the MAC entity is used to schedule the to-be-transmitted data onto the subband indicated by the identity of the subband; and
setting, by the wireless communications device, a scheduling period of the to-be-created MAC entity to be consistent with a transmission time interval TTI of the subband.
With reference to the first aspect, in a first possible implementation, the obtaining, by a wireless communications device, an identity of a subband used to transmit to-be-transmitted data includes:
obtaining, by the wireless communications device, the identity of the subband according to a correspondence between a quality of service class identifier QCI of the to-be-transmitted data and the identity of the subband.
With reference to the first aspect or the first possible implementation of the first aspect, in a second possible implementation, when the wireless communications device is the network device, the method further includes:
sending, by the network device, the identity of the to-be-created MAC entity and at least one of the identity of the subband or the scheduling period of the to-be-created MAC entity to user equipment.
With reference to the first aspect or the first possible implementation of the first aspect, in a third possible implementation, when the wireless communications device is the network device,
the obtaining an identity of a subband used to transmit to-be-transmitted data and an identity of a to-be-created MAC entity includes:
receiving, by the network device, the identity of the subband used to transmit the to-be-transmitted data and the identity of the to-be-created MAC entity that are sent by the user equipment.
With reference to the first aspect or the first possible implementation of the first aspect, in a fourth possible implementation, when the wireless communications device is the network device,
the obtaining an identity of a subband used to transmit to-be-transmitted data and an identity of a to-be-created MAC entity includes:
receiving, by the network device, the scheduling period of the to-be-created MAC entity and the identity of the to-be-created MAC entity that are sent by the user equipment; and
determining, by the network device, the identity of the subband according to the scheduling period of the to-be-created MAC entity.
With reference to any one of the first aspect or the first to the fourth possible implementations of the first aspect, in a fifth possible implementation, when the wireless communications device is the network device, the method further includes:
sending, by the network device to the user equipment, an identity of a logical channel, a binding instruction, and identities of multiple MAC entities bound to the logical channel, where the binding instruction is used to instruct the user equipment to bind the multiple MAC entities to the logical channel.
With reference to any one of the first aspect or the first to the fourth possible implementations of the first aspect, in a sixth possible implementation, when the wireless communications device is the network device, the method further includes:
receiving, by the network device, identities of multiple MAC entities bound to a logical channel and an identity of the logical channel that are sent by the user equipment; and
sending, by the network device, a binding instruction to the user equipment, where the binding instruction is used to instruct the user equipment to bind the multiple MAC entities to the logical channel.
With reference to the first aspect or the first possible implementation of the first aspect, in a seventh possible implementation, when the wireless communications device is the user equipment,
the obtaining an identity of a subband used to transmit to-be-transmitted data and an identity of a to-be-created MAC entity includes:
receiving, by the user equipment, the identity of the subband and the identity of the to-be-created MAC entity that are sent by a network device.
With reference to the first aspect or the first possible implementation of the first aspect, in an eighth possible implementation, when the wireless communications device is the user equipment,
the obtaining an identity of a subband used to transmit to-be-transmitted data and an identity of a to-be-created MAC entity includes:
receiving, by the user equipment, the scheduling period of the to-be-created MAC entity and the identity of the to-be-created MAC entity that are sent by the network device; and
determining, by the user equipment, the identity of the subband according to the scheduling period of the to-be-created MAC entity.
With reference to the first aspect or the first possible implementation of the first aspect, in a ninth possible implementation, when the wireless communications device is the user equipment, the method further includes:
sending, by the user equipment, the identity of the MAC entity and at least one of the identity of the subband or the scheduling period of the to-be-created MAC entity to a network device.
With reference to the first aspect or the first or the seventh or the eighth or the ninth possible implementation of the first aspect, in a tenth possible implementation, when the wireless communications device is the user equipment, the method further includes:
receiving, by the user equipment, identities of multiple MAC entities bound to a logical channel, an identity of the logical channel, and a binding instruction that are sent by the network device; and
binding, by the user equipment, the multiple MAC entities to the logical channel according to the binding instruction.
With reference to the first aspect or the first or the seventh or the eighth or the ninth possible implementation of the first aspect, in an eleventh possible implementation, when the wireless communications device is the user equipment, the method further includes:
sending, by the user equipment to the network device, an identity of a logical channel and identities of multiple MAC entities bound to the logical channel;
receiving, by the user equipment, a binding instruction sent by the network device; and
binding, by the user equipment, the multiple MAC entities to the logical channel according to the binding instruction.
A second aspect of the present application provides a data scheduling method, including:
obtaining, by a wireless communications device, to-be-transmitted data;
determining, by the wireless communications device according to a quality of service class identifier QCI of the to-be-transmitted data, a Media Access Control MAC entity used to schedule the to-be-transmitted data and a subband used to transmit the to-be-transmitted data; and
scheduling, by the wireless communications device, the to-be-transmitted data onto the subband according to a scheduling period of the MAC entity by using the MAC entity, where the scheduling period of the MAC entity is consistent with a transmission time interval TTI of the subband.
With reference to the second aspect, in a first possible implementation, the determining, by the wireless communications device according to a quality of service class identifier QCI of the to-be-transmitted data, a subband used to transmit the to-be-transmitted data includes:
determining, by the wireless communications device, the subband according to the QCI and a correspondence between the QCI and an identity of the subband.
With reference to the second aspect or the first possible implementation of the second aspect, in a second possible implementation, the MAC entity is bound to a logical channel group; and
the scheduling, by the wireless communications device, the to-be-transmitted data onto the subband according to a scheduling period of the MAC entity by using the MAC entity includes:
scheduling, by the wireless communications device, the to-be-transmitted data from the bound logical channel group by using the MAC entity, and scheduling the to-be-transmitted data onto the subband according to the scheduling period of the MAC entity.
With reference to the second possible implementation of the second aspect, in a third possible implementation, the MAC entity includes a scheduler, a multiplexer, and a hybrid automatic repeat request HARQ controller; and
the scheduling, by the wireless communications device, the to-be-transmitted data from the bound logical channel group by using the MAC entity, and scheduling the to-be-transmitted data onto the subband according to the scheduling period of the MAC entity includes:
obtaining, by the wireless communications device from multiple logical channels in the logical channel group by using the scheduler, the to-be-transmitted data transmitted from the multiple logical channels;
multiplexing, by the wireless communications device, the to-be-transmitted data on the multiple logical channels by using the multiplexer; and
controlling, by the wireless communications device by using the hybrid automatic repeat request HARQ controller, reliable transmission, on the subband, of the to-be-transmitted data multiplexed by the multiplexer.
With reference to the second or the third possible implementation of the second aspect, in a fourth possible implementation, when any logical channel in the logical channel group is bound to multiple MAC entities, the any logical channel further includes a load balancer, and the method further includes:
determining, by the wireless communications device by using the load balancer, a ratio of scheduling the to-be-transmitted data in the multiple MAC entities, and controlling the multiple MAC entities to schedule, according to the scheduling ratio, the to-be-transmitted data from the any logical channel.
With reference to any one of the second aspect or the first to the fourth possible implementations of the second aspect, in a fifth possible implementation, the method further includes:
obtaining, by the wireless communications device, the identity of the subband used to transmit the to-be-transmitted data and an identity of the MAC entity;
creating, by the wireless communications device, the MAC entity according to the identity of the MAC entity; and
setting, by the wireless communications device, the scheduling period of the MAC entity to be consistent with the transmission time interval TTI of the subband.
With reference to the fifth possible implementation of the second aspect, in a sixth possible implementation, the obtaining, by the wireless communications device, the identity of the subband used to transmit the to-be-transmitted data includes:
obtaining, by the wireless communications device, the identity of the subband according to the correspondence between the quality of service class identifier QCI of the to-be-transmitted data and the identity of the subband.
With reference to the fifth or the sixth possible implementation of the second aspect, in a seventh possible implementation, when the wireless communications device is the network device, the method further includes:
sending, by the network device, the identity of the MAC entity and at least one of the identity of the subband or the scheduling period of the MAC entity to user equipment.
With reference to the fifth or the sixth possible implementation of the second aspect, in an eighth possible implementation, when the wireless communications device is the user equipment, the method further includes:
sending, by the user equipment, the identity of the MAC entity and at least one of the identity of the subband or the scheduling period of the MAC entity to a network device.
A third aspect of the present application provides a network device, including:
a receiving unit, configured to receive to-be-transmitted data; and
a processing unit, configured to:
obtain an identity of a subband used to transmit the to-be-transmitted data received by the receiving unit and an identity of a to-be-created MAC entity;
create the MAC entity according to the identity of the to-be-created MAC entity, where the MAC entity is used to schedule the to-be-transmitted data onto the subband indicated by the identity of the subband; and
set a scheduling period of the to-be-created MAC entity to be consistent with a transmission time interval TTI of the subband.
With reference to the third aspect, in a first possible implementation,
the processing unit is specifically configured to obtain the identity of the subband according to a correspondence between a quality of service class identifier QCI of the to-be-transmitted data and the identity of the subband.
With reference to the third aspect or the first possible implementation of the third aspect, in a second possible implementation,
the network device further includes:
a first sending unit, configured to send the identity of the to-be-created MAC entity and at least one of the identity of the subband or the scheduling period of the to-be-created MAC entity to user equipment.
With reference to the third aspect or the first possible implementation of the third aspect, in a third possible implementation,
the receiving unit is further configured to receive the identity of the subband used to transmit the to-be-transmitted data and the identity of the to-be-created MAC entity that are sent by the user equipment.
With reference to the third aspect or the first possible implementation of the third aspect, in a fourth possible implementation,
the receiving unit is further configured to receive the scheduling period of the to-be-created MAC entity and the identity of the to-be-created MAC entity that are sent by the user equipment; and
the processing unit is further configured to determine the identity of the subband according to the scheduling period of the to-be-created MAC entity that is received by the receiving unit.
With reference to any one of the third aspect or the first to the fourth possible implementations of the third aspect, in a fifth possible implementation, the network device further includes:
a second sending unit, configured to send, to the user equipment, an identity of a logical channel, a binding instruction, and identities of multiple MAC entities bound to the logical channel, where the binding instruction is used to instruct the user equipment to bind the multiple MAC entities to the logical channel.
With reference to any one of the third aspect or the first to the fourth possible implementations of the third aspect, in a sixth possible implementation,
the network device further includes a third sending unit;
the receiving unit is further configured to receive identities of multiple MAC entities bound to a logical channel and an identity of the logical channel that are sent by the user equipment; and
the third sending unit is configured to send a binding instruction to the user equipment, where the binding instruction is used to instruct the user equipment to bind the multiple MAC entities to the logical channel.
A fourth aspect of the present application provides user equipment, including:
a receiving unit, configured to receive to-be-transmitted data; and
a processing unit, configured to:
obtain an identity of a subband used to transmit the to-be-transmitted data received by the receiving unit and an identity of a to-be-created MAC entity;
create the MAC entity according to the identity of the to-be-created MAC entity, where the MAC entity is used to schedule the to-be-transmitted data onto the subband indicated by the identity of the subband; and
set a scheduling period of the to-be-created MAC entity to be consistent with a transmission time interval TTI of the subband.
With reference to the fourth aspect, in a first possible implementation, the processing unit is specifically configured to obtain the identity of the subband according to a correspondence between a quality of service class identifier QCI of the to-be-transmitted data and the identity of the subband.
With reference to the fourth aspect or the first possible implementation of the fourth aspect, in a second possible implementation,
the receiving unit is further configured to receive the identity of the subband and the identity of the to-be-created MAC entity that are sent by a network device.
With reference to the fourth aspect or the first possible implementation of the fourth aspect, in a third possible implementation,
the receiving unit is further configured to receive the scheduling period of the to-be-created MAC entity and the identity of the to-be-created MAC entity that are sent by a network device; and
the processing unit is configured to determine the identity of the subband according to the scheduling period of the to-be-created MAC entity.
With reference to the fourth aspect or the first possible implementation of the fourth aspect, in a fourth possible implementation, the user equipment further includes:
a first sending unit, configured to send the identity of the MAC entity and at least one of the identity of the subband or the scheduling period of the to-be-created MAC entity to a network device.
With reference to any one of the fourth aspect or the first to the fourth possible implementations of the fourth aspect, in a fifth possible implementation,
the receiving unit is further configured to receive identities of multiple MAC entities bound to a logical channel, an identity of the logical channel, and a binding instruction that are sent by the network device; and
the processing unit is further configured to bind the multiple MAC entities to the logical channel according to the binding instruction received by the receiving unit.
With reference to any one of the fourth aspect or the first to the fourth possible implementations of the fourth aspect, in a sixth possible implementation, the user equipment further includes a second sending unit;
the second sending unit is configured to send, to the network device, an identity of a logical channel and identities of multiple MAC entities bound to the logical channel;
the receiving unit is further configured to receive a binding instruction sent by the network device; and
the processing unit is further configured to bind the multiple MAC entities to the logical channel according to the binding instruction received by the receiving unit.
A fifth aspect of the present application provides a network device, including:
a receiving unit, configured to obtain to-be-transmitted data; and
a processing unit, configured to: determine, according to a quality of service class identifier QCI of the to-be-transmitted data obtained by the receiving unit, a Media Access Control MAC entity used to schedule the to-be-transmitted data and a subband used to transmit the to-be-transmitted data; and schedule the to-be-transmitted data onto the subband according to a scheduling period of the MAC entity by using the MAC entity, where the scheduling period of the MAC entity is consistent with a transmission time interval TTI of the subband.
With reference to the fifth aspect, in a first possible implementation,
the processing unit is specifically configured to determine the subband according to the QCI and a correspondence between the QCI and an identity of the subband.
With reference to the fifth aspect or the first possible implementation of the fifth aspect, in a second possible implementation,
the processing unit is specifically configured to: when the MAC entity is bound to a logical channel group, schedule the to-be-transmitted data from the bound logical channel group by using the MAC entity, and schedule the to-be-transmitted data onto the subband according to the scheduling period of the MAC entity.
With reference to the second possible implementation of the fifth aspect, in a third possible implementation,
the processing unit is specifically configured to:
when the MAC entity includes a scheduler, a multiplexer, and a hybrid automatic repeat request HARQ controller,
obtain, from multiple logical channels in the logical channel group by using the scheduler, the to-be-transmitted data transmitted from the multiple logical channels;
multiplex the to-be-transmitted data on the multiple logical channels by using the multiplexer; and
control, by using the hybrid automatic repeat request HARQ controller, reliable transmission, on the subband, of the to-be-transmitted data multiplexed by the multiplexer.
With reference to the second or the third possible implementation of the fifth aspect, in a fourth possible implementation,
when any logical channel in the logical channel group is bound to multiple MAC entities, the any logical channel further includes a load balancer, and the processing unit is further configured to: determine, by using the load balancer, a ratio of scheduling the to-be-transmitted data in the multiple MAC entities, and control the multiple MAC entities to schedule, according to the scheduling ratio, the to-be-transmitted data from the any logical channel.
With reference to any one of the fifth aspect or the first to the fourth possible implementations of the fifth aspect, in a fifth possible implementation,
the processing unit is further configured to:
obtain the identity of the subband used to transmit the to-be-transmitted data and an identity of the MAC entity;
create the MAC entity according to the identity of the MAC entity; and
set the scheduling period of the MAC entity to be consistent with the transmission time interval TTI of the subband.
With reference to the fifth possible implementation of the fifth aspect, in a sixth possible implementation,
the processing unit is specifically configured to obtain the identity of the subband according to the correspondence between the quality of service class identifier QCI of the to-be-transmitted data and the identity of the subband.
With reference to the fifth or the sixth possible implementation of the fifth aspect, in a seventh possible implementation,
the network device further includes a sending unit; and
the sending unit is configured to send the identity of the MAC entity and at least one of the identity of the subband or the scheduling period of the MAC entity to user equipment.
A sixth aspect of the present application provides user equipment, including:
a receiving unit, configured to obtain to-be-transmitted data; and
a processing unit, configured to: determine, according to a quality of service class identifier QCI of the to-be-transmitted data obtained by the receiving unit, a Media Access Control MAC entity used to schedule the to-be-transmitted data and a subband used to transmit the to-be-transmitted data; and schedule the to-be-transmitted data onto the subband according to a scheduling period of the MAC entity by using the MAC entity, where the scheduling period of the MAC entity is consistent with a transmission time interval TTI of the subband.
With reference to the sixth aspect, in a first possible implementation,
the processing unit is specifically configured to determine the subband according to the QCI and a correspondence between the QCI and an identity of the subband.
With reference to the sixth aspect or the first possible implementation of the sixth aspect, in a second possible implementation,
the processing unit is specifically configured to: when the MAC entity is bound to a logical channel group, schedule the to-be-transmitted data from the bound logical channel group by using the MAC entity, and schedule the to-be-transmitted data onto the subband according to the scheduling period of the MAC entity.
With reference to the second possible implementation of the sixth aspect, in a third possible implementation,
the processing unit is specifically configured to:
when the MAC entity includes a scheduler, a multiplexer, and a hybrid automatic repeat request HARQ controller,
obtain, from multiple logical channels in the logical channel group by using the scheduler, the to-be-transmitted data transmitted from the multiple logical channels;
multiplex the to-be-transmitted data on the multiple logical channels by using the multiplexer; and
control, by using the hybrid automatic repeat request HARQ controller, reliable transmission, on the subband, of the to-be-transmitted data multiplexed by the multiplexer.
With reference to the second or the third possible implementation of the sixth aspect, in a fourth possible implementation,
when any logical channel in the logical channel group is bound to multiple MAC entities, the any logical channel further includes a load balancer, and the processing unit is further configured to: determine, by using the load balancer, a ratio of scheduling the to-be-transmitted data in the multiple MAC entities, and control the multiple MAC entities to schedule, according to the scheduling ratio, the to-be-transmitted data from the any logical channel.
With reference to any one of the sixth aspect or the first to the fourth possible implementations of the sixth aspect, in a fifth possible implementation, the processing unit is further configured to:
obtain the identity of the subband used to transmit the to-be-transmitted data and an identity of the MAC entity;
create the MAC entity according to the identity of the MAC entity; and
set the scheduling period of the MAC entity to be consistent with the transmission time interval TTI of the subband.
With reference to the fifth possible implementation of the sixth aspect, in a sixth possible implementation,
the processing unit is specifically configured to obtain the identity of the subband according to the correspondence between the quality of service class identifier QCI of the to-be-transmitted data and the identity of the subband.
With reference to the fifth or the sixth possible implementation of the sixth aspect, in a seventh possible implementation,
the user equipment further includes a sending unit; and
the sending unit is configured to send the identity of the MAC entity and at least one of the identity of the subband or the scheduling period of the MAC entity to a network device.
A seventh aspect of the present application provides a wireless communications system, including a network device and user equipment, where
the network device is the network device according to any one of the third aspect or the possible implementations of the third aspect; and
the user equipment is the user equipment according to any one of the fourth aspect or the possible implementations of the fourth aspect.
An eighth aspect of the present application provides a wireless communications system, including a network device and user equipment, where
the network device is the network device according to any one of the fifth aspect or the possible implementations of the fifth aspect; and
the user equipment is the user equipment according to any one of the sixth aspect or the possible implementations of the sixth aspect.
In the prior art, one MAC entity needs to be responsible for scheduling data onto multiple subbands, and consequently, a scheduling period of the MAC entity is inconsistent with a TTI of a subband. In comparison, in the method for creating a MAC entity provided in the embodiments of the present application, a MAC entity whose scheduling period is consistent with a TTI of each subband can be created for the subband, so that consistency between data scheduling and transmission is ensured.
To describe the technical solutions in the embodiments of the present application more clearly, the following briefly describes the accompanying drawings required for describing the embodiments. Apparently, the accompanying drawings in the following description show merely some embodiments of the present application, and a person skilled in the art may still derive other drawings from these accompanying drawings without creative efforts.
The embodiments of the present application provide a method for creating a MAC entity, so that a MAC entity whose scheduling period is consistent with a TTI of each subband can be created for the subband. Therefore, consistency between data scheduling and transmission is ensured. The embodiments of the present application further provide a corresponding data scheduling method and a corresponding device and system. The following separately provides detailed descriptions.
The following clearly describes the technical solutions in the embodiments of the present application with reference to the accompanying drawings in the embodiments of the present application. Apparently, the described embodiments are merely some but not all of the embodiments of the present application. All other embodiments obtained by a person skilled in the art based on the embodiments of the present application without creative efforts shall fall within the protection scope of the present application.
It should be understood that the technical solutions in the embodiments of the present application may be applied to various communications systems, such as a Global System for Mobile Communications (Global System of Mobile Communication, “GSM” for short) system, a Code Division Multiple Access (“CDMA” for short) system, a Wideband Code Division Multiple Access (“WCDMA” for short) system, a general packet radio service (“GPRS” for short) system, a Long Term Evolution (“LTE” for short) system, an LTE frequency division duplex (“FDD” for short) system, an LTE time division duplex (“TDD” for short) system, a Universal Mobile Telecommunications System (“UMTS” for short), a Worldwide Interoperability for Microwave Access (“WiMAX” for short) communications system, and a future 5G communications system.
A communications system to which the embodiments of the present application are applied includes user equipment and a network device.
The user equipment may communicate with one or more core networks by using a radio access network (RAN). The user equipment (“UE” for short) may be access user equipment, a subscriber unit, a subscriber station, a mobile station, a mobile, a remote station, remote user equipment, a mobile device, a wireless communications device, a user agent, or a user apparatus. The access user equipment may be a cellular phone, a cordless phone, a Session Initiation Protocol (“SIP” for short) phone, a wireless local loop (“WLL” for short) station, a personal digital assistant (“PDA” for short), a handheld device having a wireless communication function, a computing device, another processing device connected to a wireless modem, an in-vehicle device, a wearable device, user equipment in a future 5G network, or the like.
The network device may be a device configured to communicate with the user equipment. For example, the network device may be a base transceiver station (“BTS” for short) in a GSM or CDMA system, or may be a NodeB (“NB” for short) in a WCDMA system, or may be an evolved NodeB (“eNB” or “eNodeB” for short) in an LTE system. Alternatively, the network device may be a relay station, an access point, an in-vehicle device, a wearable device, a network-side device in a future 5G network, a network device in a future evolved PLMN network, or the like.
For understanding of an F-OFDM solution in the embodiments of the present application, refer to
An F-OFDM subband described in the present application is different from a carrier or a subband in a carrier in Long Term Evolution (“LTE” for short) or a carrier in LTE-A CA. The F-OFDM subband is referred to as a subband below. The F-OFDM subband is a radio spectrum resource of a specific width in a wireless communications system. The radio spectrum resource includes multiple different subbands, and parameters of the subbands, such as TTIs, subcarrier spacings, and quantities of symbols, are different. The subband in this embodiment of the present application may be preconfigured, configured semi-statically, or obtained dynamically by means of division by the network device. The network device may configure different subbands for different services according to service statuses. When a communication requirement of a type of service changes, the network device may dynamically adjust (for example, create, modify, or delete) a subband configuration.
Frequency band resources in F-OFDM are classified into at least a common subband and a service subband. As shown in
TTIs of subbands are not totally the same. A quantity of subframes or transmission timeslots specifically included in each frame of each subband is not defined herein. For example, as shown in
A TTI configuration shown in
In the embodiments of the present application, a wireless communications device includes a network device and user equipment. Both the network device and the user equipment can create, for each subband, a MAC entity whose scheduling period is consistent with a TTI of the subband, so that consistency and accuracy of scheduling data onto the subbands are ensured.
As shown in
101. A wireless communications device obtains an identity of a subband used to transmit to-be-transmitted data and an identity of a to-be-created MAC entity, where the wireless communications device is a network device or user equipment.
102. The wireless communications device creates the MAC entity according to the identity of the to-be-created MAC entity, where the MAC entity is used to schedule the to-be-transmitted data onto the subband indicated by the identity of the subband.
103. The wireless communications device sets a scheduling period of the to-be-created MAC entity to be consistent with a transmission time interval TTI of the subband.
In the prior art, one MAC entity needs to be responsible for scheduling data onto multiple subbands, and consequently, a scheduling period of the MAC entity is inconsistent with a TTI of a subband. In comparison, in the method for creating a MAC entity provided in this embodiment of the present application, a MAC entity whose scheduling period is consistent with a TTI of each subband can be created for the subband, so that consistency between data scheduling and transmission is ensured.
The obtaining, by a wireless communications device, an identity of a subband used to transmit to-be-transmitted data may include:
obtaining, by the wireless communications device, the identity of the subband according to a correspondence between a quality of service (Quality of Service, “QoS” for short) class identifier (“QCI” for short) of the to-be-transmitted data and the subband.
The correspondence between the QCI and the identity of the subband may be preconfigured in the wireless communications device, such as the network device and the user equipment. In this embodiment of the present application, when the correspondence changes, the correspondence, in the network device and the user equipment, between the QCI and the identity of the subband may be updated simultaneously.
The correspondence between the identity of the subband and the QCI may be represented by a table, for example, Table 1. The table may include an identity of a subband and a QCI.
When actually transmitting a service, the wireless communications device can select an identity of a subband according to the table of the correspondence between the identity of the subband and the QCI and a QCI of the service. Configuration performed on a subband resource by the network device dynamically changes. Subband resources that can be provided by different network devices for a same QCI at different moments may be different. Antenna radio frequency capabilities of different user equipments may also exert different impact on subbands that can be supported by the user equipments. One QCI may correspond to one subband, or may correspond to multiple subbands. When selecting a subband for transmitting to-be-transmitted data, the wireless communications device selects an intersection set from a subband that can be currently provided by a system and a subband that is determined according to the correspondence between the QCI and the identity of the subband. If the intersection set still includes multiple subbands, the subband is determined according to a subband priority sequence.
Referring to
201. A network device obtains an identity of a subband used to transmit to-be-transmitted data and an identity of a MAC entity.
The obtaining, by a network device, an identity of a subband used to transmit to-be-transmitted data may include:
obtaining, by the network device, the identity of the subband according to a correspondence between a quality of service (“QoS” for short) class identifier QCI of the to-be-transmitted data and the identity of the subband. For details, refer to descriptions in the embodiment in
202. The network device creates a network-side MAC entity according to the identity of the to-be-created MAC entity, and sets a scheduling period of the network-side MAC entity to be consistent with a TTI of the subband indicated by the identity of the subband.
203. The network device sends the identity of the to-be-created MAC entity and at least one of the identity of the subband or a scheduling period of the to-be-created MAC entity to the user equipment.
204. After receiving the identity of the to-be-created MAC entity and the at least one of the identity of the subband or the scheduling period of the to-be-created MAC entity that are sent by the network device, the user equipment creates a user-side MAC entity according to the identity of the to-be-created MAC entity, and sets a scheduling period of the user-side MAC entity to be consistent with the TTI of the subband indicated by the identity.
Step 204 may include the following two cases:
Case 1: The user equipment receives the identity of the subband and the identity of the to-be-created MAC entity that are sent by the network device.
Case 2: The user equipment receives the scheduling period of the to-be-created MAC entity and the identity of the to-be-created MAC entity that are sent by the network device; and
the user equipment determines the identity of the subband according to the scheduling period of the to-be-created MAC entity.
In the prior art, one MAC entity needs to be responsible for scheduling data onto multiple subbands, and consequently, a scheduling period of the MAC entity is inconsistent with a TTI of a subband. In comparison, in the method for creating a MAC entity provided in this embodiment of the present application, a MAC entity whose scheduling period is consistent with a TTI of each subband can be created for the subband, so that consistency between data scheduling and transmission is ensured.
Referring to
301. User equipment obtains an identity of a subband used to transmit to-be-transmitted data and an identity of a MAC entity.
The obtaining, by user equipment, an identity of a subband used to transmit to-be-transmitted data may include:
obtaining, by the user equipment, the identity of the subband according to a correspondence between a quality of service (“QoS” for short) class identifier QCI of the to-be-transmitted data and the subband. For details, refer to descriptions in the embodiment in
302. The user equipment creates a user-side MAC entity according to the identity of the to-be-created MAC entity, and sets a scheduling period of the user-side MAC entity to be consistent with a TTI of the subband indicated by the identity of the subband.
303. The user equipment sends the identity of the to-be-created MAC entity and at least one of the identity of the subband or a scheduling period of the to-be-created MAC entity to a network device.
304. After receiving the identity of the to-be-created MAC entity and the at least one of the identity of the subband or the scheduling period of the to-be-created MAC entity that are sent by the user equipment, the network device creates a network-side MAC entity according to the identity of the to-be-created MAC entity, and sets a scheduling period of the network-side MAC entity to be consistent with the TTI of the subband indicated by the identity of the subband.
Step 304 may include the following two cases:
Case 1: The network device receives the identity of the subband used to transmit the to-be-transmitted data and the identity of the to-be-created MAC entity that are sent by the user equipment.
Case 2: The network device receives the scheduling period of the to-be-created MAC entity and the identity of the to-be-created MAC entity that are sent by the user equipment; and
the network device determines the identity of the subband according to the scheduling period of the to-be-created MAC entity.
In the prior art, one MAC entity needs to be responsible for scheduling data onto multiple subbands, and consequently, a scheduling period of the MAC entity is inconsistent with a TTI of a subband. In comparison, in the method for creating a MAC entity provided in this embodiment of the present application, a MAC entity whose scheduling period is consistent with a TTI of each subband can be created for the subband, so that consistency between data scheduling and transmission is ensured.
The embodiments corresponding to
The procedures of creating a MAC entity that are described in the embodiments corresponding to
Referring to
401. A network device obtains to-be-transmitted data.
402. The network device determines whether a DRB that meets a QoS requirement of the to-be-transmitted data is established; and if a DRB that meets the QoS requirement of the to-be-transmitted data is established, performs step 403; or if a DRB that meets the QoS requirement of the to-be-transmitted data is not established, performs step 404.
403. The network device sends the to-be-transmitted data to the user equipment by using the established DRB.
404. When a DRB is not established, the network device determines a QCI of the to-be-transmitted data according to a service type of the to-be-transmitted data, and determines, according to the QCI, an identity of a subband used to transmit the to-be-transmitted data.
A procedure of determining the QCI of the to-be-transmitted data according to the service type of the to-be-transmitted data may be understood as follows.
Service types may be classified according to a data transmission QoS attribute, for example, a delay requirement, a rate requirement, reliability, or a minimum packet length. A correspondence between the QCI and the service type may be preconfigured in a wireless communications device, such as the network device and the user equipment. In this embodiment of the present application, when the correspondence between the QCI and the service type changes, the correspondence, in the network device and the user equipment, between the QCI and the service type may be updated simultaneously.
The correspondence between the QCI and the service type may be represented by a table. A relationship between some QCIs and service types is defined in the prior art. Herein, QCIs are classified into nine classes, and specific content is shown in Table 2.
Table 2 describes the relationship between the QCI and the service type merely by using an example. Content in Table 2 needs to be redefined in a future 5G standard for the following reason: In an existing QCI definition, a packet delay is extremely high, and a lowest delay of a QCI 3 is 50 ms, but an air interface delay in 5G is only 1 ms. In addition, Internet of Things applications are not considered in the existing definition. The Internet of Things applications are mainly classified into two types: a low-delay and high-reliability service and a service connected to many devices. Because an F-OFDM system needs to support these service types, the QCI definition needs to be modified. When a new standard similar to a QCI is being defined, a correspondence between division of an identity of a subband in the F-OFDM system and a QCI needs to be considered.
When the service type of the to-be-transmitted data is determined, the QCI of the to-be-transmitted data may be determined, and the identity of the subband may be determined according to the correspondence between the QCI and the identity of the subband. For understanding of a procedure of determining, according to the QCI, the identity of the subband used to transmit the to-be-transmitted data, refer to descriptions in the embodiment in
In addition, the subband has a parameter such as a TTI or a subcarrier width. A relationship between the identity of the subband and the parameter of the subband, such as the TTI or the subcarrier width, may be represented by a table, for example, Table 3. For understanding of the correspondence between the identity of the subband and the parameter of the subband, refer to Table 3.
Actually, Table 3 may further include more subband parameters. The TTI and the subcarrier width are used only as examples for description herein, and shall not be construed as a limitation to subband parameters.
405. The network device determines a corresponding TTI according to the identity of the subband, creates a network-side MAC entity according to an identity of a MAC entity, and sets a scheduling period of the network-side MAC entity to be consistent with the TTI of the subband indicated by the identity of the subband.
The corresponding TTI may be determined according to the identity of the subband from, for example, the correspondence in Table 3.
406. The network device initiates a DRB establishment instruction message to the user equipment, where the bearer establishment instruction message carries the identity of the to-be-created MAC entity and at least one of the identity of the subband or a scheduling period of the to-be-created MAC entity.
Certainly, the DRB establishment instruction message is not a limitation, and may be another message, for example, a radio resource control (“RRC” for short) connection reconfiguration message.
In this embodiment of the present application, the identity of the subband and the scheduling period of the to-be-created MAC entity may be determined according to each other. For example, the corresponding TTI may be determined according to the identity of the subband by using, for example, a correspondence that is between the identity of the subband and the TTI and that is described in Table 3, and the TTI is used as the scheduling period of the to-be-created MAC entity. In addition, a TTI that is the same as the scheduling period of the to-be-created MAC entity may also be found in, for example, Table 3 according to the scheduling period of the to-be-created MAC entity, and then, the identity that is of the subband and that corresponds to the TTI is determined according to the correspondence that is between the identity of the subband and the TTI and that is described in Table 3. Certainly, the DRB establishment instruction message may carry the identity of the subband and the scheduling period of the to-be-created MAC entity. The identity of the to-be-created MAC entity is equivalent to a number or an identity card of the to-be-created MAC entity, and needs to be used when the MAC entity is created. When a management operation, such as deletion or updating, needs to be performed on the created MAC entity, the corresponding MAC entity needs to be determined according to the identity of the to-be-created MAC entity.
The identity of the to-be-created MAC entity and the at least one of the identity of the subband or the scheduling period of the to-be-created MAC entity may be carried in the DRB establishment instruction message in a format shown in
A DRB is uniquely identified by a data radio bearer identity (drb-identity). A Packet Data Convergence Protocol (“pdcp” for short) configuration (pdcp-Config) defines a configuration of a PDCP sublayer of the DRB, a Radio Link Control (“rlc” for short) configuration (rlc-Config) defines a configuration of an RLC sublayer of the DRB, a Media Access Control configuration (mac-config) defines an attribute of a MAC entity bound to the DRB, and an identity (subband-Identity) of a subband specifies an identity of a subband bound to the DRB.
The subband-Identity is an identity of a subband that can be supported by the system, for example, may indicate an identity of a subband in Table 3. The network device and the user equipment can determine a key parameter attribute of a subband, for example, a TTI of the subband, by using the subband-Identity.
The mac-config entity structure mainly defines two attributes: an identity (mac-Identity) of a MAC entity and a scheduling period (schedulePeriodic) of the MAC entity. The schedulePeriodic uses a TTI length of a subband as a value, and may be any TTI of identities of all subbands defined in the system.
To save transmission space, some fields may be omitted sometimes, for example, a scheduling period schedulePeriodic in mac-config is omitted. The schedulePeriodic is indirectly obtained by using a subband-Identity, because a scheduling period of a MAC entity needs to match a TTI length of a subband, and there is a dependency between the scheduling period of the MAC entity and the TTI length of the subband. Certainly, a subband-Identity may be omitted, and the subband-Identity may be determined by using the schedulePeriodic.
407. After receiving the DRB establishment instruction message, the user equipment obtains the identity of the to-be-created MAC entity and the at least one of the identity of the subband or the scheduling period of the to-be-created MAC entity by parsing the DRB establishment instruction message.
408. The user equipment creates a user-side MAC entity according to the identity of the to-be-created MAC entity, and sets a scheduling period of the user-side MAC entity to be consistent with the TTI of the subband indicated by the identity of the subband.
409. The user equipment and the network device complete DRB establishment.
In the prior art, one MAC entity needs to be responsible for scheduling data onto multiple subbands, and consequently, a scheduling period of the MAC entity is inconsistent with a TTI of a subband. In comparison, in the method for creating a MAC entity provided in this embodiment of the present application, a MAC entity whose scheduling period is consistent with a TTI of each subband can be created for the subband, so that consistency between data scheduling and transmission is ensured.
The format in
It should be further noted that the procedure described in
It should be noted that in the DRB establishment procedure, a corresponding MAC entity may have been established. This may occur when a DRB and another bearer share a same subband transmission resource. In this case, an established DRB needs to be bound to the existing MAC entity. Multiple DRBs are scheduled by using a same MAC entity.
In this embodiment of the present application, the DRB establishment procedure may be performed together with the following procedures in a non-access stratum (“NAS” for short) protocol:
an attach procedure, a service request procedure, a packet data network connectivity procedure (PDN connectivity procedure), a bearer resource configuration procedure (Bearer resource allocation procedure), and a bearer resource modification procedure.
In the foregoing procedures, the network device usually triggers a radio resource control RRC connection reconfiguration (RRCConnectionReconfiguration) message for the user equipment. The RRC connection reconfiguration message includes content shown in
The embodiment corresponding to
As shown in
501. User equipment obtains to-be-transmitted data.
502. The user equipment determines a QCI of the to-be-transmitted data according to a service type of the to-be-transmitted data, and determines, according to the QCI, an identity of a subband used to transmit the to-be-transmitted data.
For understanding of the procedure of step 502, refer to related descriptions in step 404, and details are not described herein.
503. The user equipment determines a corresponding TTI according to the identity of the subband, creates a user-side MAC entity according to an identity of a MAC entity, and sets a scheduling period of the user-side MAC entity to be consistent with the TTI of the subband indicated by the identity of the subband.
For understanding of the procedure of step 503, refer to related descriptions in step 405, and details are not described herein.
504. The user equipment sends control signaling CE to a network device, where the CE carries the identity of the to-be-created MAC entity and at least one of the identity of the subband or a scheduling period of the to-be-created MAC entity.
505. After receiving the CE, the network device obtains the identity of the to-be-created MAC entity and the at least one of the identity of the subband or the scheduling period of the to-be-created MAC entity by parsing the CE.
506. The network device creates the network-side MAC entity according to the identity of the to-be-created MAC entity, and sets the scheduling period of the network-side MAC entity to be consistent with the TTI of the subband indicated by the identity of the subband.
In the prior art, one MAC entity needs to be responsible for scheduling data onto multiple subbands, and consequently, a scheduling period of the MAC entity is inconsistent with a TTI of a subband. In comparison, in the method for creating a MAC entity provided in this embodiment of the present application, a MAC entity whose scheduling period is consistent with a TTI of each subband can be created for the subband, so that consistency between data scheduling and transmission is ensured.
In this embodiment of the present application, during transmission, data is generally transmitted on a logical channel at a logical link layer, and then is scheduled onto a subband by a MAC entity for transmission at a physical layer. Sometimes, an amount of data on one logical channel may be quite large, and congestion may occur if the data on the logical channel is transmitted by using only one subband. In this case, the logical channel is bound to MAC entities, so that the data on the logical channel can be transmitted on multiple subbands, because each MAC entity is bound to one subband.
A specific binding manner may be:
sending, by the network device to the user equipment, an identity of a logical channel, a binding instruction, and identities of multiple MAC entities bound to the logical channel, where the binding instruction is used to instruct the user equipment to bind the multiple MAC entities to the logical channel;
receiving, by the user equipment, the identities of the multiple MAC entities bound to the logical channel, the identity of the logical channel, and the binding instruction that are sent by the network device; and
binding, by the user equipment, the multiple MAC entities to the logical channel according to the binding instruction.
Another specific binding manner may be:
sending, by the user equipment to the network device, an identity of a logical channel and identities of multiple MAC entities bound to the logical channel;
receiving, by the user equipment, a binding instruction sent by the network device;
binding, by the user equipment, the multiple MAC entities to the logical channel according to the binding instruction;
receiving, by the network device, the identities of the multiple MAC entities bound to the logical channel and the identity of the logical channel that are sent by the user equipment; and
sending, by the network device, the binding instruction to the user equipment, where the binding instruction is used to instruct the user equipment to bind the multiple MAC entities to the logical channel.
Binding information may be transferred by using control signaling CE.
An embodiment of the present application further provides a data scheduling solution. A MAC entity used in a data scheduling procedure may be created by using the method for creating a MAC entity in the embodiments in
As shown in
601. A wireless communications device obtains to-be-transmitted data.
602. The wireless communications device determines, according to a quality of service class identifier QCI of the to-be-transmitted data, a Media Access Control MAC entity used to schedule the to-be-transmitted data and a subband used to transmit the to-be-transmitted data.
In this embodiment of the present application, for understanding of a correspondence configured between the QCI and an identity of the subband, refer to descriptions in the embodiment in
603. The wireless communications device schedules the to-be-transmitted data onto the subband according to a scheduling period of the MAC entity by using the MAC entity, where the scheduling period of the MAC entity is consistent with a transmission time interval TTI of the subband.
In the prior art, one MAC entity needs to be responsible for scheduling data onto multiple subbands, and consequently, a scheduling period of the MAC entity is inconsistent with a TTI of a subband. In comparison, in the data scheduling method provided in this embodiment of the present application, the scheduling period of the MAC entity that is responsible for scheduling the data onto the subband is consistent with the TTI of the subband, so that consistency between data scheduling and transmission is ensured.
Optionally, the determining, by the wireless communications device according to a quality of service class identifier QCI of the to-be-transmitted data, a subband used to transmit the to-be-transmitted data may include:
determining, by the wireless communications device, the subband according to the QCI and the correspondence between the QCI and the identity of the subband.
Optionally, the MAC entity is bound to a logical channel group.
The scheduling, by the wireless communications device, the to-be-transmitted data onto the subband according to a scheduling period of the MAC entity by using the MAC entity may include:
scheduling, by the wireless communications device, the to-be-transmitted data from the bound logical channel group by using the MAC entity, and scheduling the to-be-transmitted data onto the subband according to the scheduling period of the MAC entity.
Optionally, the MAC entity includes a scheduler, a multiplexer, and a hybrid automatic repeat request HARQ controller.
The scheduling, by the wireless communications device, the to-be-transmitted data from the bound logical channel group by using the MAC entity, and scheduling the to-be-transmitted data onto the subband according to the scheduling period of the MAC entity may include:
obtaining, by the wireless communications device from multiple logical channels in the logical channel group by using the scheduler, the to-be-transmitted data transmitted from the multiple logical channels;
multiplexing, by the wireless communications device, the to-be-transmitted data on the multiple logical channels by using the multiplexer; and
controlling, by the wireless communications device by using the hybrid automatic repeat request HARQ controller, reliable transmission, on the subband, of the to-be-transmitted data multiplexed by the multiplexer.
Optionally, when any logical channel in the logical channel group is bound to multiple MAC entities, the any logical channel further includes a load balancer, and the method may further include:
determining, by the wireless communications device by using the load balancer, a ratio of scheduling the to-be-transmitted data in the multiple MAC entities, and controlling the multiple MAC entities to schedule, according to the scheduling ratio, the to-be-transmitted data from the any logical channel.
Optionally, the data scheduling method in this embodiment of the present application may further include:
obtaining, by the wireless communications device, the identity of the subband used to transmit the to-be-transmitted data and an identity of the MAC entity;
creating, by the wireless communications device, the MAC entity according to the identity of the MAC entity; and
setting, by the wireless communications device, the scheduling period of the MAC entity to be consistent with the transmission time interval TTI of the subband.
Optionally, the obtaining, by the wireless communications device, the identity of the subband used to transmit the to-be-transmitted data may include:
obtaining, by the wireless communications device, the identity of the subband according to the correspondence between the quality of service class identifier QCI of the to-be-transmitted data and the identity of the subband.
Optionally, when the wireless communications device is the network device, the method may further include:
sending, by the network device, the identity of the MAC entity and at least one of the identity of the subband or the scheduling period of the MAC entity to the user equipment.
Optionally, when the wireless communications device is the user equipment, the method may further include:
sending, by the user equipment, the identity of the MAC entity and at least one of the identity of the subband or the scheduling period of the MAC entity to the network device.
In this embodiment of the present application, MAC entities may be functionally classified into a common MAC entity and a dedicated MAC entity. The common MAC entity is generally used to schedule some system messages, and the dedicated MAC entity is generally used to schedule service data. Each MAC entity corresponds to one subband, and a scheduling period of each MAC entity is consistent with a TTI of the corresponding subband. MAC entities and subbands are not in a one-to-one correspondence with each other. Each MAC entity uniquely corresponds to one subband, but one subband may correspond to multiple MAC entities. One MAC entity corresponds to a same subband for different UEs.
As shown in
In this way, as shown in Table 4, a scheduling period of MAC 0 (UE 1) is set to 1 ms, a scheduling period of MAC 0 (UE n) is also set to 1 ms, a scheduling period of MAC 1 (UE 1) is set to 0.5 ms, a scheduling period of MAC 1 (UE n) is also set to 0.5 ms, and a scheduling period of MAC 2 (UE n) is set to 0.125 ms.
In this way, the MAC 0 (UE 1) and the MAC 0 (UE n) separately schedule data of the UE 1 and the UE n onto the common subband according to the scheduling period of 1 ms, the MAC 1 (UE 1) and the MAC 1 (UE n) separately schedule data of the UE 1 and the UE n onto the service subband 1 according to the scheduling period of 0.5 ms, and the MAC 2 (UE n) schedules data of the UE n onto the service subband 2 according to the scheduling period of 0.125 ms.
Actually, each MAC entity is bound to a logical channel in an uplink direction, and corresponds to a subband in a downlink direction. Each MAC entity may include a scheduler, a multiplexer, and a hybrid automatic repeat request (“HARQ” for short) controller.
A scheduler in a MAC entity is configured to schedule data on a logical channel bound to the MAC entity from the logical channel according to a scheduling period, and a multiplexer is configured to multiplex the data scheduled by the scheduler. Multiplexing means combining data on different logical channels into one data stream. A HARQ controller controls reliable transmission, on the subband, of the to-be-transmitted data multiplexed by the multiplexer.
For understanding of a data scheduling procedure and a correspondence between a MAC entity, a logical channel, and a subband, refer to
Descriptions in the embodiment in
Actually, for each subband on the network device side, when a MAC entity of any UE is bound to the subband, a scheduling period of the MAC entity is consistent with a TTI of the subband. Therefore, solutions in the present application may mean that there is a large scheduler for each subband, there are different multiplexers and HARQ controllers for different UEs, and the scheduler is responsible for scheduling data of the different UEs according to the TTI of the subband. However, actually, this still means that the large scheduler includes different small schedulers for the different UEs. An actually completed scheduling function is the same as a scheduling function of a MAC entity described in
For ease of understanding of the data scheduling procedure in this embodiment of the present application, the following further describes the data scheduling procedure in this embodiment of the present application with reference to a logical architecture at a logical link layer.
The logical link layer includes a Packet Data Convergence Protocol (“PDCP” for short) sublayer, a Radio Link Control (“RLC” for short) sublayer, and a MAC sublayer. The PDCP sublayer is the same as a PDCP sublayer in an LTE network, and details are not described herein.
As shown in
For understanding of TTIs of the common subband, the service subband 1, and the service subband 2, refer to Table 4. Certainly, an actual system is not limited to values provided in Table 4.
The MAC sublayer in
In
Actually, a scheduler, a multiplexer, and a HARQ controller in a MAC entity of UE do not act independently, but complete scheduling under cooperation with each other. For example, when the scheduler schedules data on multiple logical channels for simultaneous sending, the multiplexer concatenates the data into one transport block for transmission. The sent transport block is taken over by the HARQ controller, and the HARQ controller is responsible for controlling reliable transmission on the subband. When data transmission succeeds, the HARQ controller instructs the scheduler to send a next piece of data; or when data transmission fails, the HARQ controller attempts to resend data whose transmission fails.
A scheduling function of a scheduler in a MAC entity and a scheduling function of the MAC entity need to be distinguished from each other herein. It should be understood that scheduling of the scheduler is scheduling data on at least one logical channel at an upper layer, and the scheduler is mainly responsible for determining an amount, a size, and a source of to-be-sent data. However, the scheduling function of the MAC entity is a complete scheduling procedure, and further includes how to perform multiplexing, how to perform reliable transmission, and the like. Scheduling of a MAC entity and scheduling of a scheduler mentioned below should be understood in a similar way.
It is learned from the foregoing descriptions that bandwidth resources of a common subband are limited, and a transmission attribute of a subband may not be suitable for a service transmission requirement of user equipment, for example, a transmission delay requirement, a bandwidth capacity, or a transmission rate. Therefore, the network device schedules data of the user equipment for communication transmission on a proper subband. A user equipment may use one subband or multiple subbands for communication. This depends on a specific service running status of the user equipment.
A dedicated MAC entity of UE is responsible for scheduling on a service subband. A dedicated MAC entity of each UE includes a common scheduler of the subband and a multiplexer and a HARQ controller of the subband that are exclusive to the UE. Each subband corresponds to one common scheduler of the subband, and the scheduler provides a common scheduling function for all UEs that perform communication on the subband.
In the example shown in
Herein, the scheduler S3, the multiplexer n3, and the HARQ controller n3 are included in a MAC entity of the UE n on the service subband 2, and complete scheduling of data of the UE n on the service subband 2 together. A scheduling period of the MAC entity is consistent with a TTI of the service subband 2, so that it can be ensured that scheduling on the service subband 2 is completed once in each TTI of the subband.
Likewise, the scheduler S2 obtains, at each TTI moment of the service subband 1, data of the UE 1 and the UE n on a logical channel bound to the service subband 1 unless data needs to be retransmitted at the TTI moment. The scheduler S2 is further responsible for allocating transmission time-frequency resources on the service subband 1 to the UE 1 and the UE n. Data of only one UE is transmitted or data of multiple UEs is simultaneously transmitted in a TTI according to a bandwidth capacity of the subband 1 and service load of the UE 1 and the UE n on the subband 1. When data of multiple UEs is simultaneously scheduled, frequency resources on the service subband 1 are allocated, by means of frequency division multiplexing, to the multiple UEs for sharing. It is assumed that at the TTI moment, the scheduler S2 schedules data on multiple logical channels of the UE 1 and multiple logical channels of the UE n for transmission in the TTI of the subband 1. In this case, each of a multiplexer 11 of the UE 1 and a multiplexer n2 of the UE n concatenates data on the corresponding multiple logical channels into one transport block. During concatenation, a corresponding CE of each UE may be further concatenated. Then, a HARQ 12 of the UE 1 and a HARQ n2 of the UE n take over corresponding transport blocks, so that reliable transmission on the service subband 1 is completed. The transport blocks of the UE 1 and the UE n are transmitted in the TTI by means of frequency division multiplexing. Therefore, transmission of the UEs does not interfere with each other, and spectrum efficiency is maximized.
In this embodiment of the present application, the scheduler S2, and the multiplexer n2 and the HARQ n2 of the UE n are included in a MAC entity of the UE n on the service subband 1, and complete scheduling of data of the UE n on the subband 1 together. A scheduling period of the MAC entity of the UE n is consistent with the TTI of the service subband 1, so that it can be ensured that scheduling of the data of the UE n on the service subband 1 is completed once in each TTI of the subband. The scheduler S2, and the multiplexer 11 and the HARQ 12 of the UE 1 are included in a MAC entity of the UE 1 on the service subband 1, and complete scheduling of data of the UE 1 on the service subband 1 together. A scheduling period of the MAC entity of the UE 1 is consistent with the TTI of the service subband 1, so that it can be ensured that scheduling of the data of the UE 1 on the service subband 1 is completed once in each TTI of the subband. It can be learned that in a TTI, the scheduler S2 can schedule data of single UE for transmission, and can also schedule data of multiple UEs for simultaneous transmission. In addition, the scheduler S2 can further schedule multiple logical channels of one UE for simultaneous transmission in the TTI.
Actually, a scheduler in this embodiment of the present application may be understood as a multithreaded scheduler. Each UE has an independent thread that is responsible for scheduling data of the UE.
The logical architecture, shown in
As shown in
It can be learned that in the data scheduling method provided in this embodiment of the present application, a scheduling period of a MAC entity is consistent with a TTI of a subband. Therefore, during data scheduling, data is scheduled according to the TTI of the subband. This meets user service transmission requirements, such as bandwidth, a rate, and a delay, to the greatest extent, so that user service experience can be ensured.
Logical channels at RLC sublayers shown in
Service data of the UE is transmitted by using a dedicated logical channel between an RLC sublayer and a MAC sublayer, and one logical channel can be used for scheduling only by using a bound MAC entity. In this embodiment of the present application, one logical channel is bound to multiple MAC entities, and data on the logical channel is transmitted in the multiple MAC entities by means of load sharing.
Load sharing is performed in multiple MAC entities on data cached in an RLC entity, as shown in
A procedure of binding multiple subbands to perform load sharing may be initiated by a network device in a downlink direction, or may be initiated by user equipment in an uplink direction. The network device and the user equipment implement binding by using a control message at a MAC sublayer, for example, bind a MAC entity and a subband by using a MAC Binding Subband CE command. A format of a MAC Binding Subband CE is shown in
A logical channel identity (logicalChannelIdentity) specifies an identity of a logical channel on which load sharing is to be performed. Service data on the logical channel is transmitted by means of load sharing in bound MAC entities according to a specific rule. The rule may be a pre-specified ratio of transmitted data, a pre-specified ratio of transmission rates, or the like. Two or more MAC entities may be specified to transmit the data on the logical channel by means of load sharing. The user equipment and the network device uniquely identify a MAC entity of the user equipment by using a MAC ID.
The MAC entities transmit, by using service subbands bound to the MAC entities, the data received from the logical channel. The network device independently allocates transmission time-frequency resources to the user equipment on each subband. The MAC entities at a receive end receive the data from the bound service subbands, and transmit the data to the logical channel.
During data transmission, a multiplexer in a MAC entity at a transmit end encapsulates an ID of a logical channel to which data belongs into a header of the MAC data. After demultiplexing the MAC data, a demultipexer in a MAC entity at the receive end can learn the logical channel to which the data belongs. Therefore, the MAC entity at the receive end can accurately distribute the received data to the logical channel to which the data belongs.
When MAC entities that are bound together by using a MAC Binding Subband CE to perform logical channel load sharing are not required, the MAC entities need to be unbound by using a MAC Unbinding Subband CE. If all the MAC entities bound to a logical channel are released, only a logical channel identity logicalChannelIdentity needs to be specified. If some of the MAC entities are released, identities MAC IDs of the to-be-released MAC entities need to be further specified. The MAC entities may also be bound to the logical channel again by using the MAC Binding Subband CE. An originally bound MAC entity that is not in a rebinding list is to be unbound.
When a MAC entity for performing logical channel load sharing is being bound, if the MAC entity of a user on the subband is not created, the MAC entity associated with the subband is temporarily created to implement subband binding and service data load sharing. A new dedicated MAC entity may be quickly created by using a MAC Create Entity CE, and a format of the MAC Create Entity CE is shown in
A MAC Create Entity CE message includes three pieces of key information: an identity macEntityIdentity of the MAC entity, a scheduling period schedulePeriodic of a scheduler in the MAC entity, and an identity subbandIdentity of a subband bound to the MAC entity. The schedulePeriodic is not mandatory, and may be indirectly obtained by using the subbandIdentity.
The MAC entity created by using the MAC Create Entity CE is quickly released by using a MAC Delete Entity CE. During releasing, the identity macEntityIdentity of the to-be-released MAC entity is specified.
For binding multiple subbands or MAC entities, a new subband or MAC entity for load sharing needs to meet a service transmission quality requirement. For example, a service that has a high transmission bandwidth requirement but is not quite sensitive to a delay can be transmitted on any subband, but a service that is quite sensitive to a delay cannot be transmitted on a subband whose TTI is relatively long.
In the method in this embodiment, a method for transmitting logical channel data by means of load sharing is implemented, so that when some subband resources are temporarily congested, a subband corresponding to another MAC entity is bound to an existing subband, so that the subband corresponding to the another MAC entity and the existing subband are used to transmit the logical channel service data by means of load sharing. In this way, quick data transmission is implemented.
An embodiment of the present application describes, in detail, working principles of multiple MAC schedulers, at a transmit end, of user equipment. As shown in
It can be learned from the scenario assumed in
With reference to the procedure in
It should be noted that in the foregoing descriptions, it is further assumed that a priority of the MAC 1 is higher than a priority of the MAC 2. If the priority of the MAC 2 is higher than that of the MAC 1, results are different during sending scheduling. This is not discussed in depth herein.
In addition, in this embodiment of the present application, a function of a load balance in the RLC 4 is degenerated. The load balance in the RLC does not distribute data to multiple MAC entities. Instead, the MAC 1 and the MAC 2 obtain to-be-sent data from a queue of the RLC 4 in an execution order. This is a case of implementation, and is not limited in the present application.
This embodiment mainly describes, in detail by using an example, how a transmit end performs sending scheduling when a user equipment has multiple MAC entities. Descriptions are provided herein from an implementable angle. During actual implementation, a method that is used may be different from this, and is not limited herein.
In the embodiment described in
During actual implementation, a radio resource manager (Radio Resource Management, “RRM” for short) in a network device is generally responsible for scheduling a time-frequency resource on a subband, and the RRM notifies each UE of information about a time-frequency resource of the UE on the subband. After a MAC entity of the UE obtains the information about the time-frequency resource of the UE on the subband, a MAC entity of the subband completes scheduling on the subband. Therefore, in
In
In another embodiment of the present application, a MAC entity, of user equipment, for scheduling on multiple subbands is a whole. Logical channels at an RLC sublayer are classified into multiple logical channel groups, and data in each logical channel group is transmitted only on a subband bound to the MAC entity. The MAC entity includes multiple combinations of a scheduler, a multiplexer, and a HARQ controller. Each combination of a scheduler, a multiplexer, and a HARQ controller is bound to one of the logical channel groups upward, and is bound to the subband downward, so that data in the logical channel group can be scheduled on the subband. Scheduling periods of the multiple schedulers are separately consistent with TTIs of the bound subbands.
In a radio bearer establishment procedure, RLC logical channels in radio bearers that belong to one subband are combined into one logical channel group. In addition, a combination that is of a scheduler, a multiplexer, and a HARQ controller and that is corresponding to the logical channel group is created in a MAC entity, and is bound to a lower-layer subband.
Referring to
a receiving unit 701, configured to receive to-be-transmitted data; and
a processing unit 702, configured to:
obtain an identity of a subband used to transmit the to-be-transmitted data received by the receiving unit and an identity of a to-be-created MAC entity;
create the MAC entity according to the identity of the to-be-created MAC entity, where the MAC entity is used to schedule the to-be-transmitted data onto the subband indicated by the identity of the subband; and
set a scheduling period of the to-be-created MAC entity to be consistent with a transmission time interval TTI of the subband.
In the prior art, one MAC entity needs to be responsible for scheduling data onto multiple subbands, and consequently, a scheduling period of the MAC entity is inconsistent with a TTI of a subband. In comparison, the network device provided in this embodiment of the present application can create, for each subband, a MAC entity whose scheduling period is consistent with a TTI of the subband, so that consistency between data scheduling and transmission is ensured.
Optionally, the processing unit 702 is specifically configured to obtain the identity of the subband according to a correspondence between a quality of service class identifier QCI of the to-be-transmitted data and the identity of the subband.
Optionally, the network device further includes:
a first sending unit 703, configured to send the identity of the to-be-created MAC entity and at least one of the identity, which is obtained by the processing unit 702, of the subband or the scheduling period of the to-be-created MAC entity to the user equipment.
Optionally, the receiving unit 701 is further configured to receive the scheduling period of the to-be-created MAC entity and the identity of the to-be-created MAC entity that are sent by the user equipment.
The processing unit 702 is further configured to determine the identity of the subband according to the scheduling period of the to-be-created MAC entity that is received by the receiving unit 701.
Optionally, the network device 70 further includes:
a second sending unit 704, configured to send, to the user equipment, an identity of a logical channel, a binding instruction, and identities of multiple MAC entities bound to the logical channel, where the binding instruction is used to instruct the user equipment to bind the multiple MAC entities to the logical channel.
Optionally, the network device 70 further includes a third sending unit 705.
The receiving unit 701 is further configured to receive identities of multiple MAC entities bound to a logical channel and an identity of the logical channel that are sent by the user equipment.
The third sending unit 705 is configured to send a binding instruction to the user equipment, where the binding instruction is used to instruct the user equipment to bind the multiple MAC entities to the logical channel.
In this embodiment of the present application, the receiving unit may be a receiver, the first sending unit 703, the second sending unit 704, and the third sending unit 705 may be a same sending unit or may be transmitters, and the processing unit may be a processor.
For understanding of the embodiment or any optional embodiment of the network device, refer to related descriptions of
Referring to
a receiving unit 801, configured to receive to-be-transmitted data; and
a processing unit 802, configured to:
obtain an identity of a subband used to transmit the to-be-transmitted data received by the receiving unit 801 and an identity of a to-be-created MAC entity;
create the MAC entity according to the identity of the to-be-created MAC entity, where the MAC entity is used to schedule the to-be-transmitted data onto the subband indicated by the identity of the subband; and
set a scheduling period of the to-be-created MAC entity to be consistent with a transmission time interval TTI of the subband.
In the prior art, one MAC entity needs to be responsible for scheduling data onto multiple subbands, and consequently, a scheduling period of the MAC entity is inconsistent with a TTI of a subband. In comparison, the user equipment provided in this embodiment of the present application can create, for each subband, a MAC entity whose scheduling period is consistent with a TTI of the subband, so that consistency between data scheduling and transmission is ensured.
Optionally, the processing unit 802 is specifically configured to obtain the identity of the subband according to a correspondence between a quality of service class identifier QCI of the to-be-transmitted data and the identity of the subband.
Optionally, the receiving unit 801 is further configured to receive the identity of the subband and the identity of the to-be-created MAC entity that are sent by the network device.
Optionally, the receiving unit 801 is further configured to receive the scheduling period of the to-be-created MAC entity and the identity of the to-be-created MAC entity that are sent by the network device.
The processing unit 802 is configured to determine the identity of the subband according to the scheduling period of the to-be-created MAC entity.
Optionally, the user equipment 80 further includes:
a first sending unit 803, configured to send the identity of the MAC entity and at least one of the identity of the subband or the scheduling period of the to-be-created MAC entity to the network device.
Optionally, the receiving unit 801 is further configured to receive identities of multiple MAC entities bound to a logical channel, an identity of the logical channel, and a binding instruction that are sent by the network device.
The processing unit 802 is further configured to bind the multiple MAC entities to the logical channel according to the binding instruction received by the receiving unit 801.
Optionally, the user equipment 80 further includes a second sending unit 804.
The second sending unit 804 is configured to send, to the network device, an identity of a logical channel and identities of multiple MAC entities bound to the logical channel.
The receiving unit 801 is further configured to receive a binding instruction sent by the network device.
The processing unit 802 is further configured to bind the multiple MAC entities to the logical channel according to the binding instruction received by the receiving unit 801.
In this embodiment of the present application, the receiving unit may be a receiver, the first sending unit 803 and the second sending unit 804 may be a same sending unit or may be transmitters, and the processing unit may be a processor.
For understanding of the embodiment or any optional embodiment of the user equipment, refer to related descriptions of
Referring to
a receiving unit 711, configured to obtain to-be-transmitted data; and
a processing unit 712, configured to: determine, according to a quality of service class identifier QCI of the to-be-transmitted data obtained by the receiving unit 711, a Media Access Control MAC entity used to schedule the to-be-transmitted data and a subband used to transmit the to-be-transmitted data; and schedule the to-be-transmitted data onto the subband according to a scheduling period of the MAC entity by using the MAC entity, where the scheduling period of the MAC entity is consistent with a transmission time interval TTI of the subband.
In the prior art, one MAC entity needs to be responsible for scheduling data onto multiple subbands, and consequently, a scheduling period of the MAC entity is inconsistent with a TTI of a subband. In comparison, according to wireless network device provided in this embodiment of the present application, a scheduling period of a MAC entity that is responsible for scheduling data onto a subband is consistent with a TTI of the subband, so that consistency between data scheduling and transmission is ensured.
Optionally, the processing unit 712 is specifically configured to determine the subband according to the QCI and a correspondence between the QCI and an identity of the subband.
Optionally, the processing unit 712 is specifically configured to: when the MAC entity is bound to a logical channel group, schedule the to-be-transmitted data from the bound logical channel group by using the MAC entity, and schedule the to-be-transmitted data onto the subband according to the scheduling period of the MAC entity.
Optionally, the processing unit 712 is specifically configured to:
when the MAC entity includes a scheduler, a multiplexer, and a hybrid automatic repeat request HARQ controller,
obtain, from multiple logical channels in the logical channel group by using the scheduler, the to-be-transmitted data transmitted from the multiple logical channels;
multiplex the to-be-transmitted data on the multiple logical channels by using the multiplexer; and
control, by using the hybrid automatic repeat request HARQ controller, reliable transmission, on the subband, of the to-be-transmitted data multiplexed by the multiplexer.
Optionally, when any logical channel in the logical channel group is bound to multiple MAC entities, the any logical channel further includes a load balancer, and the processing unit 712 is further configured to: determine, by using the load balancer, a ratio of scheduling the to-be-transmitted data in the multiple MAC entities, and control the multiple MAC entities to schedule, according to the scheduling ratio, the to-be-transmitted data from the any logical channel.
Optionally, the processing unit 712 is further configured to:
obtain the identity of the subband used to transmit the to-be-transmitted data and an identity of the MAC entity;
create the MAC entity according to the identity of the MAC entity; and
set the scheduling period of the MAC entity to be consistent with the transmission time interval TTI of the subband.
Optionally, the processing unit 712 is specifically configured to obtain the identity of the subband according to the correspondence between the quality of service class identifier QCI of the to-be-transmitted data and the identity of the subband.
Optionally, the network device 70 further includes a sending unit 713.
The sending unit 713 is configured to send the identity of the MAC entity and at least one of the identity of the subband or the scheduling period of the MAC entity to the user equipment.
In the embodiment of the wireless network device 70, the receiving unit may be a receiver, the processing unit may be a processor, and the sending unit may be a transmitter.
Referring to
a receiving unit 811, configured to obtain to-be-transmitted data; and
a processing unit 812, configured to: determine, according to a quality of service class identifier QCI of the to-be-transmitted data obtained by the receiving unit 811, a Media Access Control MAC entity used to schedule the to-be-transmitted data and a subband used to transmit the to-be-transmitted data; and schedule the to-be-transmitted data onto the subband according to a scheduling period of the MAC entity by using the MAC entity, where the scheduling period of the MAC entity is consistent with a transmission time interval TTI of the subband.
In the prior art, one MAC entity needs to be responsible for scheduling data onto multiple subbands, and consequently, a scheduling period of the MAC entity is inconsistent with a TTI of a subband. In comparison, according to the user equipment provided in this embodiment of the present application, a scheduling period of a MAC entity that is responsible for scheduling data onto a subband is consistent with a TTI of the subband, so that consistency between data scheduling and transmission is ensured.
Optionally, the processing unit 812 is specifically configured to determine the subband according to the QCI and a correspondence between the QCI and an identity of the subband.
Optionally, the processing unit 812 is specifically configured to: when the MAC entity is bound to a logical channel group, schedule the to-be-transmitted data from the bound logical channel group by using the MAC entity, and schedule the to-be-transmitted data onto the subband according to the scheduling period of the MAC entity.
Optionally, the processing unit 812 is specifically configured to:
when the MAC entity includes a scheduler, a multiplexer, and a hybrid automatic repeat request HARQ controller,
obtain, from multiple logical channels in the logical channel group by using the scheduler, the to-be-transmitted data transmitted from the multiple logical channels;
multiplex the to-be-transmitted data on the multiple logical channels by using the multiplexer; and
control, by using the hybrid automatic repeat request HARQ controller, reliable transmission, on the subband, of the to-be-transmitted data multiplexed by the multiplexer.
Optionally, when any logical channel in the logical channel group is bound to multiple MAC entities, the any logical channel further includes a load balancer, and the processing unit 812 is further configured to: determine, by using the load balancer, a ratio of scheduling the to-be-transmitted data in the multiple MAC entities, and control the multiple MAC entities to schedule, according to the scheduling ratio, the to-be-transmitted data from the any logical channel.
Optionally, the processing unit 812 is further configured to:
obtain the identity of the subband used to transmit the to-be-transmitted data and an identity of the MAC entity;
create the MAC entity according to the identity of the MAC entity; and
set the scheduling period of the MAC entity to be consistent with the transmission time interval TTI of the subband.
Optionally, the processing unit 812 is specifically configured to obtain the identity of the subband according to the correspondence between the quality of service class identifier QCI of the to-be-transmitted data and the identity of the subband.
Optionally, the user equipment 80 further includes a sending unit 813.
The sending unit 813 is configured to send the identity of the MAC entity and at least one of the identity of the subband or the scheduling period of the MAC entity to the network device.
In the embodiment of the user equipment 80, the receiving unit may be a receiver, the processing unit may be a processor, and the sending unit may be a transmitter.
In the foregoing multiple embodiments of the network device/the user equipment, it should be understood that, in one implementation, the receiving unit or the sending unit may be implemented by an input/output I/O device (such as a network interface card), and the processing unit may be implemented by a processor by executing a program or an instruction in a storage (in other words, the processing unit is implemented by both the processor and the special instruction in the storage coupled to the processor); in another implementation, the receiving unit or the sending unit may be implemented by an input/output I/O device (such as a network interface card), and the processing unit may be implemented by a dedicated circuit, where for a specific implementation, refer to the prior art, and details are not described herein; in still another implementation, the receiving unit or the sending unit may be implemented by an input/output I/O device (such as a network interface card), and the processing unit may be implemented by a field-programmable gate array (FPGA), where for a specific implementation, refer to the prior art, and details are not described herein. The present application includes but is not limited to the foregoing implementations. It should be understood that solutions implemented according to the ideas of the present application shall fall within the protection scope of the embodiments of the present application.
An embodiment provides a hardware structure of a network device/user equipment. Referring to
three parts: a transceiver component, a software component, and a hardware component.
The transceiver component is a hardware circuit configured to complete packet receiving/transmission.
The hardware component may also be referred to as a “hardware processing module”, or may be more simply referred to as “hardware”. The hardware component mainly includes a hardware circuit that implements some specific functions based on dedicated hardware circuits such as an FPGA and an ASIC (probably with cooperation of another accessory component such as a storage). Generally, a processing speed of the hardware component is much faster than that of a general-purpose processor. However, a function of the hardware component is difficult to change provided that the function is customized, and therefore, the hardware component is not flexibly implemented and is usually used for processing some fixed functions. It should be noted that, in an actual application, the hardware component may also include a processor such as an MCU (a microprocessor such as a single-chip microcomputer) or a CPU. However, a main function of these processors is not to implement processing of big data but to perform some control. In this application scenario, a system that includes these components is the hardware component.
The software component (or simply referred to as “software”) mainly includes a general-purpose processor (such as a CPU) and some accessory components (for example, storage devices such as a memory and a hard disk). The processor may be configured with a corresponding processing function by means of programming. When the software is used for implementation, the software may be flexibly configured according to a service, but a speed of the software is generally slower than that of the hardware component. After the software completes processing, the hardware component may send processed data by using the transceiver component, or send processed data to the transceiver component by using an interface connected to the transceiver component.
In this embodiment, the transceiver component is configured to send or receive an identity of a subband, an identity of a MAC entity, and the like.
Other functions of the software component and the hardware component have been described in detail in the foregoing embodiments, and are not described herein.
With reference to the accompanying drawings, the following describes in detail the technical solutions in which the receiving unit or the sending unit may be an input/output I/O device (such as a network interface card), and the processing unit may be implemented by a processor by executing a program or an instruction in a storage.
In some implementations, the storage 750 stores the following element: an executable module or a data structure, or a subset thereof, or an extended set thereof.
In this embodiment of the present application, by invoking the operation instruction stored in the storage 750 (the operation instruction may be stored in an operating system), the processor 710 performs the following operations:
obtaining an identity of a subband used to transmit to-be-transmitted data and an identity of a to-be-created MAC entity, where the wireless communications device is the network device or user equipment;
creating the MAC entity according to the identity of the to-be-created MAC entity, where the MAC entity is used to schedule the to-be-transmitted data onto the subband indicated by the identity of the subband; and
setting a scheduling period of the to-be-created MAC entity to be consistent with a transmission time interval TTI of the subband.
In the prior art, one MAC entity needs to be responsible for scheduling data onto multiple subbands, and consequently, a scheduling period of the MAC entity is inconsistent with a TTI of a subband. In comparison, the network device provided in this embodiment of the present application can create, for each subband, a MAC entity whose scheduling period is consistent with a TTI of the subband, so that consistency between data scheduling and transmission is ensured.
The processor 710 controls an operation of the network device 70, and the processor 710 may also be referred to as a CPU (central processing unit). The storage 750 may include a read-only memory and a random access memory, and provide an instruction and data for the processor 710. A part of the storage 750 may further include a nonvolatile random access memory (NVRAM). In a specific application, the components of the network device 70 are coupled together by using a bus system 720. The bus system 720 may include a power bus, a control bus, a status signal bus, and the like in addition to a data bus. However, for clarity of description, various types of buses in the figure are marked as the bus system 720.
The method disclosed in the foregoing embodiment of the present application may be applied to the processor 710, or implemented by the processor 710. The processor 710 may be an integrated circuit chip and has a signal processing capability. In an implementation process, the steps of the foregoing methods may be performed by using an integrated logic circuit of hardware in the processor 710 or an instruction in a form of software. The processor 710 may be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or another programmable logic component, a discrete gate or a transistor logic component, or a discrete hardware component. The processor 710 may implement or execute the methods, steps, and logical block diagrams disclosed in the embodiments of the present application. The general-purpose processor may be a microprocessor, or the processor may be any conventional processor or the like. The steps of the methods disclosed with reference to the embodiments of the present application may be directly executed and completed by a hardware decoding processor, or may be executed and completed by a combination of hardware and a software module in a decoding processor. The software module may be located in a mature storage medium in the field, such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, an electrically-erasable programmable memory, or a register. The storage medium is located in the storage 750. The processor 710 reads information from the storage 750, and performs the steps of the foregoing methods in combination with hardware in the processor 710.
Optionally, the processor 710 is specifically configured to obtain the identity of the subband according to a correspondence between a quality of service class identifier QCI of the to-be-transmitted data and the identity of the subband.
Optionally, the I/O device 730 is configured to send the identity of the to-be-created MAC entity and at least one of the identity of the subband or the scheduling period of the to-be-created MAC entity to the user equipment.
Optionally, the I/O device 730 is configured to receive the identity of the subband used to transmit the to-be-transmitted data and the identity of the to-be-created MAC entity that are sent by the user equipment.
Optionally, the I/O device 730 is configured to receive the scheduling period of the to-be-created MAC entity and the identity of the to-be-created MAC entity that are sent by the user equipment.
The processor 710 is configured to determine the identity of the subband according to the scheduling period of the to-be-created MAC entity.
Optionally, the I/O device 730 is configured to send, to the user equipment, an identity of a logical channel, a binding instruction, and identities of multiple MAC entities bound to the logical channel, where the binding instruction is used to instruct the user equipment to bind the multiple MAC entities to the logical channel.
Optionally, the I/O device 730 is configured to: receive identities of multiple MAC entities bound to a logical channel and an identity of the logical channel that are sent by the user equipment; and send a binding instruction to the user equipment, where the binding instruction is used to instruct the user equipment to bind the multiple MAC entities to the logical channel.
In a data scheduling procedure,
the I/O device 730 is configured to obtain to-be-transmitted data; and
the processor 710 is configured to: determine, according to a quality of service class identifier QCI of the to-be-transmitted data, a Media Access Control MAC entity used to schedule the to-be-transmitted data and a subband used to transmit the to-be-transmitted data; and schedule the to-be-transmitted data onto the subband according to a scheduling period of the MAC entity by using the MAC entity, where the scheduling period of the MAC entity is consistent with a transmission time interval TTI of the subband.
The processor 710 is configured to determine the subband according to the QCI and a correspondence between the QCI and an identity of the subband.
Optionally, the processor 710 is specifically configured to: when the MAC entity is bound to a logical channel group, schedule the to-be-transmitted data from the bound logical channel group by using the MAC entity, and schedule the to-be-transmitted data onto the subband according to the scheduling period of the MAC entity.
Optionally, the processor 710 is specifically configured to: when the MAC entity includes a scheduler, a multiplexer, and a hybrid automatic repeat request HARQ controller,
obtain, from multiple logical channels in the logical channel group by using the scheduler, the to-be-transmitted data transmitted from the multiple logical channels;
multiplex the to-be-transmitted data on the multiple logical channels by using the multiplexer; and
control, by using the hybrid automatic repeat request HARQ controller, reliable transmission, on the subband, of the to-be-transmitted data multiplexed by the multiplexer.
Optionally, when any logical channel in the logical channel group is bound to multiple MAC entities, the any logical channel further includes a load balancer, and the processor 710 is further configured to: determine, by using the load balancer, a ratio of scheduling the to-be-transmitted data in the multiple MAC entities, and control the multiple MAC entities to schedule, according to the scheduling ratio, the to-be-transmitted data from the any logical channel.
Optionally, the processor 710 is further configured to:
obtain the identity of the subband used to transmit the to-be-transmitted data and an identity of the MAC entity;
create the MAC entity according to the identity of the MAC entity; and
set the scheduling period of the MAC entity to be consistent with the transmission time interval TTI of the subband.
Optionally, the processor 710 is specifically configured to obtain the identity of the subband according to the correspondence between the quality of service class identifier QCI of the to-be-transmitted data and the identity of the subband.
Optionally, the I/O device 730 is configured to send the identity of the MAC entity and at least one of the identity of the subband or the scheduling period of the MAC entity to the user equipment.
For understanding of the embodiment corresponding to
The following describes the composition parts of the user equipment in detail with reference to
The radio frequency circuit 810 may be configured to receive an identity of the to-be-created MAC entity and at least one of an identity of a subband or a scheduling period of the to-be-created MAC entity.
The storage 820 may be configured to store a software program and a module, and the processor 880 executes various functional applications of the user equipment and performs data processing by running the software program and the module that are stored in the storage 820. The storage 820 may mainly include a program storage area and a data storage area. The program storage area may store an operating system, an application program (such as a sound play function or an image play function) that is required by at least one function, and the like. The data storage area may store data (such as audio data or a phonebook) that is created according to use of the user equipment, and the like. In addition, the storage 820 may include a high-speed random access memory, and may further include a nonvolatile memory, such as at least one magnetic disk storage component, a flash memory component, or another volatile solid-state storage component.
The input unit 830 may be configured to: receive numerical or character information that is input, and generate key signal input related to a user setting and function control of the user equipment 80. Specifically, the input unit 830 may include a touch panel 831 and another input device 832. The touch panel 831, also referred to as a touchscreen, may collect a touch operation of a user on or near the touch panel 831 (for example, an operation performed by the user on the touch panel 831 or near the touch panel 831 by using any proper object or accessory such as a finger or a stylus), and drive corresponding connected user equipment according to a preset program. Optionally, the touch panel 831 may include two parts: touch detection user equipment and a touch controller. The touch detection user equipment detects a touch orientation of the user, detects a signal brought by a touch operation, and transfers the signal to the touch controller. The touch controller receives touch information from the touch detection user equipment, converts the touch information into contact coordinates, then sends the contact coordinates to the processor 880, and can receive and execute a command sent by the processor 880. In addition, the touch panel 831 may be implemented by using multiple types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 831, the input unit 830 may include the another input device 832. Specifically, the another input device 832 may include but is not limited to one or more of a physical keyboard, a function key (for example, a volume control key or an on/off key), a trackball, a mouse, a joystick, or the like.
The display unit 840 may be configured to display information that is input by the user or information provided for the user, and various menus of the user equipment. The display unit 840 may include an indicator 841. Optionally, the indicator 841 may be configured in a form such as a liquid crystal display (Liquid Crystal Display, LCD) or an organic light-emitting diode (OLED). Further, the touch panel 831 may cover the indicator 841. After detecting a touch operation on or near the touch panel 831, the touch panel 831 transfers the touch operation to the processor 880, so that a type of a touch event can be determined, and then, the processor 880 provides corresponding visual output on the indicator 841 according to the type of the touch event. Although the touch panel 831 and the indicator 841 in
The user equipment 80 may further include at least one sensor 850.
The audio frequency circuit 860, a speaker 861, and a microphone 862 may provide an audio interface between the user and the user equipment. The audio frequency circuit 860 may transmit, to the speaker 861, an electrical signal converted from received audio data, and the speaker 861 converts the electrical signal into a sound signal for output. In addition, the microphone 862 converts a collected sound signal into an electrical signal, the audio frequency circuit 860 receives the electrical signal, converts the electrical signal into audio data, and then outputs the audio data to the processor 880 for processing, and then, the audio data is sent to, for example, another user equipment by using the radio frequency circuit 810, or the audio data is output to the storage 820 for further processing.
The processor 880 is a control center of the user equipment, is connected to various parts of the entire user equipment by using various interfaces and lines, executes various functions of the user equipment and performs data processing by running or executing the software program and/or the module stored in the storage 820 and by invoking data stored in the storage 820, so as to perform overall monitoring on the user equipment. Optionally, the processor 880 may include one or more processing units. Preferably, an application processor and a modem processor may be integrated into the processor 880. The application processor mainly processes an operating system, a user interface, an application program, and the like, and the modem processor mainly processes wireless communication. It can be understood that the modem processor may not be integrated into the processor 880.
In this embodiment of the present application, the processor 880 is configured to:
obtain an identity of a subband used to transmit to-be-transmitted data and an identity of a to-be-created MAC entity;
create the MAC entity according to the identity of the to-be-created MAC entity, where the MAC entity is used to schedule the to-be-transmitted data onto the subband indicated by the identity of the subband; and
set a scheduling period of the to-be-created MAC entity to be consistent with a transmission time interval TTI of the subband.
The user equipment 80 further includes the power supply 890 (such as a battery) that supplies power to each part. Preferably, the power supply may be logically connected to the processor 880 by using a power supply management system, so as to implement functions, such as management of charging, discharging, and power consumption, by using the power supply management system.
The user equipment 80 may further include a camera, a Bluetooth module, and the like although they are not shown. Details are not described herein.
In this embodiment of the present application, the following may be further included.
Optionally, the processor 880 is specifically configured to obtain the identity of the subband according to a correspondence between a quality of service class identifier QCI of the to-be-transmitted data and the identity of the subband.
Optionally, the radio frequency circuit 810 is configured to receive the identity of the subband and the identity of the to-be-created MAC entity that are sent by the network device.
Optionally, the radio frequency circuit 810 is configured to receive the scheduling period of the to-be-created MAC entity and the identity of the to-be-created MAC entity that are sent by the network device.
The processor 880 is configured to determine the identity of the subband according to the scheduling period of the to-be-created MAC entity.
Optionally, the radio frequency circuit 810 is configured to send the identity of the MAC entity and at least one of the identity of the subband or the scheduling period of the to-be-created MAC entity to the network device.
Optionally, the radio frequency circuit 810 is configured to receive identities of multiple MAC entities bound to a logical channel, an identity of the logical channel, and a binding instruction that are sent by the network device.
The processor 880 is configured to bind the multiple MAC entities to the logical channel according to the binding instruction.
Optionally, the radio frequency circuit 810 is configured to: send, to the network device, an identity of a logical channel and identities of multiple MAC entities bound to the logical channel; and receive a binding instruction sent by the network device.
The processor 880 is configured to bind the multiple MAC entities to the logical channel according to the binding instruction.
In a data scheduling procedure,
the processor 880 is configured to: obtain to-be-transmitted data;
determine, according to a quality of service class identifier QCI of the to-be-transmitted data, a Media Access Control MAC entity used to schedule the to-be-transmitted data and a subband used to transmit the to-be-transmitted data; and schedule the to-be-transmitted data onto the subband according to a scheduling period of the MAC entity by using the MAC entity, where the scheduling period of the MAC entity is consistent with a transmission time interval TTI of the subband.
The processor 880 is specifically configured to determine the subband according to the QCI and a correspondence between the QCI and an identity of the subband.
The processor 880 is specifically configured to: when the MAC entity is bound to a logical channel group, schedule the to-be-transmitted data from the bound logical channel group by using the MAC entity, and schedule the to-be-transmitted data onto the subband according to the scheduling period of the MAC entity.
The processor 880 is specifically configured to: when the MAC entity includes a scheduler, a multiplexer, and a hybrid automatic repeat request HARQ controller,
obtain, from multiple logical channels in the logical channel group by using the scheduler, the to-be-transmitted data transmitted from the multiple logical channels;
multiplex the to-be-transmitted data on the multiple logical channels by using the multiplexer; and
control, by using the hybrid automatic repeat request HARQ controller, reliable transmission, on the subband, of the to-be-transmitted data multiplexed by the multiplexer.
When any logical channel in the logical channel group is bound to multiple MAC entities, the any logical channel further includes a load balancer, and the processor 880 is further configured to: determine, by using the load balancer, a ratio of scheduling the to-be-transmitted data in the multiple MAC entities, and control the multiple MAC entities to schedule, according to the scheduling ratio, the to-be-transmitted data from the any logical channel.
Optionally, the processor 880 is further configured to:
obtain the identity of the subband used to transmit the to-be-transmitted data and an identity of the MAC entity;
create the MAC entity according to the identity of the MAC entity; and
set the scheduling period of the MAC entity to be consistent with the transmission time interval TTI of the subband.
Optionally, the processor 880 is specifically configured to obtain the identity of the subband according to the correspondence between the quality of service class identifier QCI of the to-be-transmitted data and the identity of the subband.
Optionally, the radio frequency circuit 810 is configured to send the identity of the MAC entity and at least one of the identity of the subband or the scheduling period of the MAC entity to the network device.
For understanding of the embodiment corresponding to
For understanding of an embodiment of a wireless communications system provided in the embodiments of the present application, refer to the embodiments in
A person of ordinary skill in the art may understand that all or some of the steps of the methods in the embodiments may be implemented by a program instructing relevant hardware. The program may be stored in a computer readable storage medium. The storage medium may include: a ROM, a RAM, a magnetic disk, or an optical disc.
The method for creating a MAC entity, the data scheduling method, the device, and the system provided in the embodiments of the present application are described in detail above. The principle and implementations of the present application are described by using specific examples in this specification. The description about the embodiments is merely intended to help understand the method and core ideas of the present application. In addition, a person of ordinary skill in the art can make various modifications and variations to the present application in terms of specific implementations and application scopes according to the ideas of the present application. In conclusion, the content of this specification shall not be construed as a limitation to the present application.
Number | Date | Country | Kind |
---|---|---|---|
201510669850.5 | Oct 2015 | CN | national |
This application is a continuation of International Application No. PCT/CN2016/099453, filed on Sep. 20, 2016, which claims priority to Chinese Patent No. 201510669850.5, filed on Oct. 13, 2015, The disclosures of the aforementioned applications are hereby incorporated by reference in their entireties.
Number | Date | Country | |
---|---|---|---|
Parent | PCT/CN2016/099453 | Sep 2016 | US |
Child | 15952003 | US |