CN113873668A - Resource allocation method and device and terminal equipment - Google Patents

Resource allocation method and device and terminal equipment Download PDF

Info

Publication number
CN113873668A
CN113873668A CN202111091292.0A CN202111091292A CN113873668A CN 113873668 A CN113873668 A CN 113873668A CN 202111091292 A CN202111091292 A CN 202111091292A CN 113873668 A CN113873668 A CN 113873668A
Authority
CN
China
Prior art keywords
base station
terminal device
uplink
resource
mac
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111091292.0A
Other languages
Chinese (zh)
Inventor
徐小英
曾清海
黄曲芳
郑潇潇
张宏平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202111091292.0A priority Critical patent/CN113873668A/en
Publication of CN113873668A publication Critical patent/CN113873668A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/12Wireless traffic scheduling
    • H04W72/1263Mapping of traffic onto schedule, e.g. scheduled allocation or multiplexing of flows
    • H04W72/1268Mapping of traffic onto schedule, e.g. scheduled allocation or multiplexing of flows of uplink data flows
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L5/00Arrangements affording multiple use of the transmission path
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/04Wireless resource allocation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/12Wireless traffic scheduling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W74/00Wireless channel access, e.g. scheduled or random access
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W74/00Wireless channel access, e.g. scheduled or random access
    • H04W74/08Non-scheduled or contention based access, e.g. random access, ALOHA, CSMA [Carrier Sense Multiple Access]
    • H04W74/0833Non-scheduled or contention based access, e.g. random access, ALOHA, CSMA [Carrier Sense Multiple Access] using a random access procedure

Abstract

In aspects of the present invention, a first base station or a distributed unit allocates a dedicated uplink resource to a terminal device from uplink resources managed by the first base station or the distributed unit and transmits the dedicated uplink resource to the terminal device, and the first base station or the distributed unit receives information transmitted by the terminal device using the received dedicated uplink resource. According to the resource allocation method and the resource allocation device, the resources are allocated and sent to the terminal equipment before the integrity of the terminal equipment is verified, and the waiting time delay during resource allocation can be reduced.

Description

Resource allocation method and device and terminal equipment
Technical Field
The present invention relates to communications technologies, and in particular, to a method and an apparatus for resource allocation and a terminal device.
Background
With the rapid development of terminal equipment requirements and technologies, the 5th Generation mobile communication technology (5G) system or New radio access technology (NR) system is coming, and the 5G system or NR system can provide a faster transmission rate than a Long Term Evolution (LTE) network, and the maximum theoretical transmission rate thereof can reach several tens of gigabytes per second (Gb).
User Equipment (UE) has three basic operation modes in a Long-Term Evolution (LTE) system: DETACHED, IDLE, ACTIVE.
LTE-DETACHED: when the UE is powered on, the UE first enters the LTE-DETACHED state, where the UE is not registered with the network, possibly because of a failure to register without registration or with a network where it is not suitably available.
LTE-IDLE (IDLE): the UE is registered to the network but not activated, the user equipment is in a standby state, and is in a state when no service exists, the UE stays in an IDLE mode after being started, and is in a low power consumption mode, the packet core domain already knows the position of the UE, if service is established, the UE can be switched to an ACTIVE mode in a very short time, and continues a previously activated data session, in an LTE-IDLE state, the network side can exactly know the tracking area where the UE is located, and when the UE is called, the network can page in the latest tracking area range of the user equipment. In the IDLE state, the UE has no context and the UE has no connection with a base station (eNodeB) and a Core Network (CN).
LTE-ACTIVE (activated state): the Radio Resource Control (RRC) connection is established between the UE and a Radio Network Controller (RNC), and at this time, the UE is already camped in a cell and is in a state of receiving and transmitting data, which is a unique activation state for actually exchanging data and signaling between the UE and the Network. When the UE in LTE-ACTIVE state moves between two LTE cells, handover will occur, and the eNodeB can decide the mechanism of handover, thus reducing the delay of data transmission interruption. In the ACTIVE state, the eNodeB stores an Access Stratum (AS) context (AS context) of the UE and a Cell Radio Network temporary identity (C-RNTI) of the UE, and the eNodeB and the CN have a dedicated connection.
There is also a concept of a light connection state in LTE, and a state called INACTIVE state (INACTIVE) is also introduced in Radio Access Technology (RAT) of 5G system, and the INACTIVE state is similar to the light connection state of LTE, except that the UE is kept connected between CN and Access network.
As shown in fig. 1, which is a schematic diagram of a network structure of a 5G system in the prior art, the 5G system generally includes a new core network (NG-core, NGC) and at least one new radio access technology base station (gNB), in an INACTIVE state of the 5G system, the gNB has a dedicated connection with the NGC, the gNB stores a Context (Context) of a UE, and also stores an identifier (resource ID or Context ID) of the UE Context of an area (referred to as a notification area or a paging area), where the resource ID is unique in the area, the resource ID generally includes a base station identifier (gNB ID) and a user equipment identifier (UE ID), and an area corresponding to the resource ID may include multiple cells.
For a UE in a lightly connected/inactive state, an interface between a CN and a Radio Access Network (RAN) is anchored at a RAN node (e.g., a second base station), and then cell reselection mobility may be performed, the UE does not need to notify the base station when moving within an area of a Resume ID, and once the UE exits the area, the UE needs to notify the base station of its location, which is called location area update.
When the UE wants to recover from the inactive state to the ACTIVE state, it needs to initiate a Radio Resource Control (RRC) connection recovery process, as shown in fig. 2, which is a schematic diagram of an RRC connection recovery process in the prior art.
The UE randomly selects a signature ID (signature ID), sends a Preamble (Message1) corresponding to the signature ID, and when the gNB receives the Preamble signal, the gNB processes the signal through correlation by a physical layer thereof, accurately acquires the uplink time advance and the uplink transmission power, reads the Preamble of the UE, and reports the Preamble to the MAC. The MAC of the gNB allocates the C-RNTI, selects a response channel of the preamble, and transmits the C-RNTI to the physical layer. The physical layer transmits the C-RNTI, time and power information (Message 2) to the UE on a response channel of the preamble corresponding to the signature ID. When two or more UEs transmit preamble signals simultaneously with different signature IDs, the gNB can distinguish the preambles of different UEs and provide different UEs with different C-RNTIs and other information on different preamble response channels.
The UE initiates an RRC connection recovery process in the Message 3 step: UE sends a connection recovery Request (RRC Request) to the gbb, and the gbb allocates a dedicated resource for sending a Scheduling Request (SR), a Channel Quality Indicator (CQI) reporting resource, a Channel State Information (CSI) reporting resource, a resource for sending a Sounding Reference Signal (SRs), and other bearer configuration parameters to the UE; the UE receives a connection recovery Response message (RRC Conn.Resume Response) sent by the gNB, wherein the connection recovery Response message comprises SR sending resources, CQI reporting resources, CSI reporting resources, SRS sending resources and other bearer configuration parameters special for the UE, then the UE sends an RRC connection recovery completion message (RRC Conn.Resume Complete), then the UE enters an ACTIVE state for data transmission, and after the data transmission is completed, the RRC link resources are released.
However, in current 5G, when the gNB is composed of a Centralized Unit (CU) and a Distributed Unit (DU), the CU generally takes charge of Centralized radio resources and connection management control, and the DU generally includes functions for implementing Distributed user plane processing. The resources allocated by a CU are transmitted to a DU first and then to a UE by the DU, so the interface between the CU and the DU may be an undesirable transmission link, the connection process is extended by the transmission of the DU and the CU, so the delay into the ACTIVE connection is relatively long and the delay of transmitting data is also relatively long. Moreover, when the UE is in ACTIVE state and has released the dedicated resource of the Physical Uplink Control Channel (PUCCH), the UE needs to initiate a random access procedure, and after the access is successful, the DU needs to wait for the CU to allocate the dedicated resource through the RRC message.
Therefore, since the transmission between the DU and the CU takes time, more delay of UE access is easily caused.
Meanwhile, the same problem also exists in a distributed base station system, where the distributed base station includes a first base station (also referred to as a serving base station) and a second base station (also referred to as an anchor base station), a terminal device communicates with the first base station through an air interface, the first base station communicates with the second base station through a wire or a wireless interface, and the second base station manages various resources and contexts of the terminal devices.
For the random access process, in the prior art, the base station also needs to wait for the integrity check of the terminal device and then reallocate resources to the terminal device, which may also result in more time delay.
Disclosure of Invention
Aspects of the present invention provide a resource allocation method and apparatus, and a terminal device, which can reduce a time delay for allocating resources.
A first aspect of the present invention provides a resource allocation method, including: a first base station or a distributed unit of the base station receives uplink information sent by terminal equipment; and the first base station or the distributed unit allocates a special uplink resource to the terminal equipment from the uplink resource managed by the first base station or the distributed unit and sends the special uplink resource to the terminal equipment.
Optionally, the method further comprises: and if the first base station or the distributed unit detects that the terminal equipment sends the allocated special uplink resource or receives an uplink resource configuration confirmation feedback indication sent by the terminal equipment, notifying a second base station or a centralized unit of the base station that the special uplink resource is allocated to the terminal equipment.
Optionally, the method further comprises: the first base station or the distributed unit receives verification information sent by the terminal equipment; and the first base station or the distributed unit sends the verification information of the terminal equipment to a second base station or a centralized unit of the base station.
Optionally, the method further comprises: if the first base station or the distributed unit receives a dedicated resource release instruction sent by the second base station or the centralized unit when the integrity check of the terminal equipment fails; the first base station or the distributed unit notifies the terminal device of the dedicated resource release indication.
Optionally, the method further comprises: the first base station or the distributed unit receives a check result of integrity check of the terminal equipment by the second base station or the centralized unit; and the first base station or the distributed unit determines whether to generate and send a special resource release instruction to the terminal equipment according to the check result.
Optionally, the method further comprises: the first base station or the distributed unit acquires at least a part of uplink resources from a second base station or a centralized unit of the base station as the uplink resources managed by the first base station or the distributed unit.
Optionally, the uplink resource managed by the first base station or the distributed unit includes at least one of: the scheduling method comprises the steps of SR sending resources, CQI reporting resources, CSI reporting resources, SRS reporting resources, PUSCH resources for sending uplink data and terminal equipment identification used for scheduling in a single cell.
Optionally, the method further comprises: and the first base station or the distributed unit sends the allocated dedicated uplink resource to the terminal equipment when sending an RAR message or a CR message or in a time period between sending the RAR message and the CR message.
Optionally, the method further comprises: and the first base station or the distributed unit sends the allocated special uplink resource to the terminal equipment through a physical layer control signaling or an MAC CE or PDCP control unit.
A second aspect of the present invention provides a resource allocation apparatus, which is a first base station or a distributed unit of a base station, including: the processor is used for allocating special uplink resources to the terminal equipment from the uplink resources managed by the processor; a transmitter, configured to transmit the allocated dedicated uplink resource to the terminal device; and the receiver is used for receiving the information sent by the terminal equipment by using the received dedicated uplink resource.
Optionally, the processor is further configured to generate notification information when detecting that the terminal device sends the allocated dedicated uplink resource or the receiver receives an uplink resource configuration acknowledgement feedback indication sent by the terminal device, where the notification information is used to indicate that the dedicated uplink resource has been allocated to the terminal device; the transmitter is further configured to transmit the notification information to a second base station or a centralized unit of the base station.
Optionally, the receiver is further configured to receive verification information sent by the terminal device; the transmitter is further configured to transmit the verification information of the terminal device to a second base station or a centralized unit of the base station.
Optionally, the receiver is further configured to receive a dedicated resource release indication sent when the integrity check of the terminal device by the second base station or the centralized unit fails; the transmitter is further configured to notify the terminal device of the dedicated resource release indication.
Optionally, the receiver is further configured to receive a check result of integrity check performed on the terminal device by the second base station or the centralized unit; the processor is further configured to determine whether to generate a dedicated resource release indication according to the check result; the transmitter is further configured to transmit the generated dedicated resource release indication to the terminal device when the verification fails.
Optionally, the receiver is further configured to obtain at least a portion of uplink resources from a second base station or a centralized unit of the base station as uplink resources managed by the first base station or the distributed unit.
Optionally, the uplink resource managed by the first base station or the distributed unit includes at least one of: the scheduling method comprises the steps of SR sending resources, CQI reporting resources, CSI reporting resources, SRS reporting resources, PUSCH resources for sending uplink data and terminal equipment identification used for scheduling in a single cell.
Optionally, the transmitter is further configured to send the allocated dedicated uplink resource to the terminal device when sending an RAR message or a CR message or a time period between sending the RAR message and the CR message.
Optionally, the transmitter is further configured to transmit the allocated dedicated uplink resource to the terminal device through a physical layer control signaling or a MAC CE or PDCP control unit.
A third aspect of the present invention provides a resource allocation method, the method comprising: a base station receives a random access request sent by terminal equipment; and the base station sends at least one of the SR sending resource, the CQI reporting resource, the CSI reporting resource and the SRS reporting resource which are managed by the base station to the terminal equipment when sending the RAR message or in the time period between the sending of the RAR message and the sending of the CR message.
Optionally, the method further comprises: the base station receives the verification information sent by the terminal equipment; and the base station sends a special resource release instruction to the terminal equipment when the integrity check of the terminal equipment is failed according to the check information.
Optionally, the method further comprises: and the base station sends the allocated resources to the terminal equipment through a physical layer control signaling or an MAC CE or PDCP control unit.
A fourth aspect of the present invention provides a resource allocation apparatus, the apparatus comprising: the receiver is used for receiving a random access request sent by the terminal equipment; the processor is used for allocating at least one of the SR sending resource, the CQI reporting resource, the CSI reporting resource and the SRS reporting resource which are managed by the processor to the terminal equipment; a transmitter for transmitting the allocated resources to the terminal device.
Optionally, the receiver is further configured to receive check information sent by the terminal device; the processor is further configured to perform integrity check on the terminal device according to the check information; the transmitter is further configured to transmit a dedicated resource release indication to the terminal device if the integrity check fails.
Optionally, the transmitter is further configured to transmit the allocated resource to the terminal device through physical layer control signaling or a MAC CE or PDCP control unit.
A fifth aspect of the present invention provides an integrity checking method, comprising: the terminal equipment generates an uplink MAC-I for integrity check according to all or part of a Counting (COUNT) value corresponding to a radio bearer for sending uplink information and an uplink safety input parameter; and the terminal equipment sends the generated uplink MAC-I to a base station for integrity check.
Optionally, the method further comprises: the terminal equipment receives downlink MAC-I sent by the base station, and the downlink MAC-I is generated by the base station according to the COUNT value and the downlink safety input parameter; and the terminal equipment checks whether the base station is a legal base station or not according to the downlink MAC-I.
A sixth aspect of the present invention provides an integrity checking apparatus, comprising: a processor, configured to generate an uplink MAC-I for integrity check according to all or part of a COUNT (COUNT) value corresponding to a radio bearer that sends uplink information and an uplink security input parameter; and the transmitter is used for transmitting the generated uplink MAC-I to a base station for integrity check.
Optionally, the apparatus further comprises: the receiver is used for receiving downlink MAC-I sent by the base station, and the downlink MAC-I is generated by the base station according to the COUNT value and the downlink security input parameter; the processor is further configured to check whether the base station is legal according to the downlink MAC-I.
A sixth aspect of the present invention provides a resource allocation method, including: the terminal equipment receives at least one of the following resources sent by the base station through physical layer control signaling or MAC CE: SR sending resources, CQI reporting resources, CSI reporting resources and SRS reporting resources; and the terminal equipment transmits corresponding information by using the received resources.
Optionally, the terminal device receives the resource sent by the base station when receiving the RAR message or the CR message or a time period between the RAR message and the CR message.
Optionally, before the terminal device receives the resource sent by the base station, the method further includes: and the terminal equipment sends uplink information.
A seventh aspect of the present invention provides a terminal device, including: a receiver, configured to receive, through physical layer control signaling or MAC CE, at least one of the following resources transmitted by a base station: SR sending resources, CQI reporting resources, CSI reporting resources and SRS reporting resources; a transmitter for transmitting corresponding information using the received resources.
Optionally, the receiver is configured to receive the resource sent by the base station when receiving the RAR message or the CR message or a time period between the RAR message and the CR message.
Optionally, before the receiver receives the resource sent by the base station, the transmitter is further configured to send uplink information.
The above-described resource allocation method and apparatus and terminal device allocate and send resources to the terminal device before checking the integrity of the terminal device, so that the waiting time delay in allocating resources can be reduced.
Drawings
Fig. 1 is a schematic diagram of a network structure of a 5G system in the prior art;
fig. 2 is a diagram illustrating a procedure of RRC connection recovery in the prior art;
fig. 3 is a flowchart illustrating a resource allocation method according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a resource allocation apparatus according to another embodiment of the present invention;
fig. 5A is a schematic structural diagram of a resource allocation system according to an embodiment of the present invention;
FIG. 5B is a schematic diagram of a resource allocation system according to another embodiment of the present invention;
FIG. 6 is a flowchart illustrating a method for acquiring resources according to another embodiment of the present invention;
FIG. 7 is a flowchart illustrating a method for acquiring resources according to another embodiment of the present invention;
FIG. 8 is a flowchart illustrating a resource allocation method according to another embodiment of the present invention;
FIG. 9 is a flowchart illustrating a resource allocation method according to another embodiment of the present invention;
fig. 10 is a schematic structural diagram of a resource allocation apparatus according to another embodiment of the present invention;
FIG. 11 is a flowchart illustrating a resource allocation method according to another embodiment of the present invention;
fig. 12 is a schematic structural diagram of a resource allocation apparatus according to another embodiment of the present invention;
fig. 13 is a flowchart illustrating an integrity checking method according to another embodiment of the present invention;
fig. 14 is a schematic structural diagram of an integrity check device according to another embodiment of the present invention;
fig. 15 is a flowchart illustrating an integrity checking method according to another embodiment of the present invention;
fig. 16 is a flowchart illustrating an integrity checking method according to another embodiment of the present invention;
FIG. 17 is a flowchart illustrating a resource allocation method according to another embodiment of the present invention;
fig. 18 is a schematic structural diagram of a terminal device according to another embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first," "second," and the like, as used herein do not denote any order, quantity, or importance, but rather are used to distinguish one element from another. Also, the use of the terms "a" or "an" and the like do not denote a limitation of quantity, but rather denote the presence of at least one. The terms "connected" or "coupled" and the like are not restricted to physical or mechanical connections, but may include electrical connections, whether direct or indirect.
Reference herein to a "module" generally refers to a program or instructions stored in memory that is capable of performing certain functions; reference herein to "a unit" generally refers to a logically partitioned functional structure, and the "unit" may be implemented by pure hardware or a combination of hardware and software.
Reference herein to "a plurality" means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
The techniques described herein may be used in various communication systems, such as current 2G, 3G communication systems and new Radio Access networks, such as Global System for Mobile communications (GSM) systems, Code Division Multiple Access (CDMA) systems, Time Division Multiple Access (TDMA) systems, Wideband Code Division Multiple Access (WCDMA), Frequency Division Multiple Access (FDMA) systems, Orthogonal Frequency Division Multiple Access (OFDMA) systems, FDMA (SC-FDMA) systems, General Packet Radio Service (General Packet Radio Service, GPRS) systems, Long Term Evolution (Long Term Evolution, LTE) systems, and other such communication systems. Among other things, the new radio access network, also referred to as a 5G network, a next generation network, etc., is capable of providing higher transmission rates than the LTE network.
Various aspects are described herein in connection with a terminal device and/or a base station controller.
A Terminal Device (Terminal Device) may be a wireless Terminal or a wired Terminal, a wireless Terminal may be a Device that provides voice and/or data connectivity to the Terminal Device, a handheld Device having wireless connection capability, or other processing Device connected to a wireless modem. Wireless terminals, which may be mobile terminals such as mobile telephones (or "cellular" telephones) and computers having mobile terminals, such as portable, pocket, hand-held, computer-included, or vehicle-mounted mobile devices, may communicate with one or more core networks via a Radio Access Network (e.g., RAN). Examples of such devices include Personal Communication Service (PCS) phones, cordless phones, Session Initiation Protocol (SIP) phones, Wireless Local Loop (WLL) stations, Personal Digital Assistants (PDAs), and the like. A wireless Terminal may also be referred to as a system, a Subscriber Unit (Subscriber Unit), a Subscriber Station (Subscriber Station), a Mobile Station (Mobile), a Remote Station (Remote Station), an Access Point (Access Point), a Remote Terminal (Remote Terminal), an Access Terminal (Access Terminal), a User Terminal (User Terminal), a User Equipment (User Equipment), or a User Agent (User Agent).
A base station (i.e., node) may refer to a device in an access network that communicates over the air-interface, through one or more sectors, with wireless terminals. The base station may be configured to interconvert received air frames and IP packets as a router between the wireless terminal and the rest of the access network, which may include an Internet Protocol (IP) network. The base station may also coordinate management of attributes for the air interface. For example, the Base Station may be a Base Transceiver Station (BTS) in a GSM system or a CDMA system, may also be a Base Station (NodeB) in a WCDMA system, and may also be an evolved node b (eNodeB, eNB, or e-NodeB) in an LTE system, which is not limited in this application. The access network equipment of the new radio access network is also referred to as a Base Station (gNB), NR Node (Node), or NR BS (Base Station), and is not limited herein, but is collectively referred to as a gNB herein for convenience of description.
The Base Station Controller (i.e., the control node) may be a Base Station Controller (BSC) in GSM or CDMA, or may also be a Radio Network Controller (RNC) in WCDMA, and the application is not limited in this application.
As shown in fig. 3, which is a schematic flow chart of a resource allocation method according to an embodiment of the present invention, the resource allocation method is executed by a first base station or a distributed unit of the base station, and if the resource allocation method is executed by a distributed unit of the base station, the base station includes a distributed unit and a centralized unit, and the distributed unit and the centralized unit are connected by a wire or wirelessly. In another embodiment of the present invention, if the resource allocation method is performed by a first base station, the first base station is connected to a second base station through a wired or wireless connection, so that the first base station and the distributed unit have the same function in this embodiment, and the second base station and the centralized unit have the same function in this embodiment, that is, this embodiment describes two communication scenarios: one is that a terminal device communicates with a first base station through an air interface, and then the first base station communicates with a second base station, where the first base station acquires and manages resources by the second base station, and the second base station manages contexts (contexts) of the terminal devices, and the first base station may also be referred to as a serving base station, and the second base station may also be referred to as an anchor base station; the other is that the terminal device communicates with a distributed unit of the base station through an air interface, and then the distributed unit communicates with a centralized unit of the base station, the distributed unit acquires and manages resources from the centralized unit, and the centralized unit manages contexts (contexts) of the terminal devices.
Optionally, the first base station or the base station may be a base station (BTS) in a GSM system or a CDMA system, a base station (NodeB) in a WCDMA system, an evolved node b (eNodeB) in an LTE system, or a base station (gNB) of a new radio access network.
Step 301, the first base station/distributed unit allocates a dedicated uplink resource to the terminal device from the uplink resources managed by the first base station/distributed unit and sends the dedicated uplink resource to the terminal device.
Optionally, before or after receiving the uplink information sent by the terminal device, the first base station/distributed unit may allocate a dedicated uplink resource to the terminal device from the uplink resources managed by the first base station/distributed unit and send the dedicated uplink resource to the terminal device, for example, before the first base station/distributed unit receives the uplink information of the terminal device, if the timer maintained by the first base station/distributed unit expires and the first base station/distributed unit does not receive the information sent by using the resource by the terminal device, it is determined that the terminal device does not have the corresponding resource or releases the corresponding resource, and actively allocate the dedicated uplink resource to the terminal device and send the dedicated uplink resource to the terminal device.
Optionally, the uplink information may be service data, RRC message (e.g., RRC connection establishment request, RRC connection reestablishment request), measurement report, SR, MAC or RLC layer control information, or random access request (e.g., preamble sending).
For example, the terminal device requests an opportunity, for example, the terminal device transmits data, but there is no dedicated uplink dedicated control or dedicated resource for data.
Step 302, the first base station or the distributed unit receives information sent by the terminal device using the received dedicated uplink resource.
The term "dedicated" refers to being only related to the terminal device, that is, the dedicated uplink resource is only allocated to the terminal device for use. In another embodiment of the invention, the resources allocated by the plurality of terminal devices are the same over a period of time.
Optionally, the first base station or the distributed unit sends the allocated dedicated uplink resource to the terminal device through a physical layer Control signaling or a Media Access Control (MAC) Control unit (MAC CE) or a Packet Data Convergence Protocol (PDCP) Control unit.
Optionally, when detecting that the terminal device transmits the allocated dedicated uplink resource or receives an uplink resource configuration acknowledgement feedback indication transmitted by the terminal device, the first base station/distributed unit notifies the second base station or a centralized unit (i.e., a second base station/centralized unit) that the dedicated uplink resource has been allocated to the terminal device.
Optionally, the first base station/distributed unit receives verification information sent by the terminal device; and the first base station/distributed unit sends the verification information of the terminal equipment to the second base station/centralized unit.
For example, the verification information may be a Message Authentication Code for Integrity (MAC-I) for Integrity verification, which may also be referred to as validity verification. For example, the MAC-I is carried by an RRC message, where the MAC-I may be generated based on data or signaling and a key, and the terminal device uses part or all of the MAC-I generated based on independent data and signaling as check information. If the terminal device uses part or all of the MAC-I generated based on the independent data and signaling as the check information, optionally, the input of the terminal device generating the MAC-I may contain an access stratum Context identification (Context ID).
Optionally, the first base station/distributed unit receives a dedicated resource release instruction sent by the second base station/centralized unit when the integrity check on the terminal device fails; and the first base station/distributed unit informs the terminal equipment of the dedicated resource release indication.
For example, the second base station/centralized unit determines whether to generate and send a dedicated resource release instruction to the first base station/distributed unit according to the check result, and if the check fails, the second base station/centralized unit generates and sends a dedicated resource release instruction to the first base station/distributed unit; if the verification is successful, the second base station/centralized unit may generate and send a verification success indication to the first base station/distributed unit, or the second base station/centralized unit may not generate a verification success indication. And if the second base station/centralized unit does not generate the verification success indication, the first base station/distributed unit defaults to verify successfully if the verification success indication is not received when the timer is overtime. The timer may be started when the first base station/distributed unit sends a check message to the second base station/centralized unit.
Optionally, when the second base station/centralized unit succeeds in checking, the first base station/distributed unit may send a checking success indication to the terminal device, or may not send the checking success indication to the terminal device.
Optionally, if the first base station/distributed unit does not receive the verification success indication sent by the second base station/centralized unit within the predetermined time, generating and sending a dedicated resource release indication to notify the terminal device.
Optionally, the first base station/distributed unit receives a check result of integrity check of the terminal device by the second base station/centralized unit; and the first base station/distributed unit determines whether to generate and send a special resource release instruction to inform the terminal equipment according to the check result. For example, if the check fails, the first base station/distributed unit generates and sends a dedicated resource release instruction to the terminal device according to a check failure instruction sent by the second base station/centralized unit; if the verification is successful, the first base station/distributed unit may send a verification success indication sent by the second base station/centralized unit to the terminal device, or the first base station/distributed unit may not send the verification success indication of the second base station/centralized unit to the terminal device. If the first base station/distributed unit does not send the verification success indication of the second base station/centralized unit to the terminal equipment, the terminal equipment defaults to verify successfully if the timer is overtime and the special resource release indication is not received. The timer may be started when the terminal device sends a check message to the first base station/distributed unit.
In another embodiment of the present invention, if the terminal device does not receive the verification success indication within the predetermined time, the default verification fails, and then the dedicated uplink resource is released.
In another embodiment of the present invention, the second base station/centralized unit or the first base station/distributed unit determines whether to release dedicated resources according to the result of access control.
Optionally, the first base station/distributed unit receives a result of performing access control on the terminal device by the second base station/centralized unit; and the first base station/distributed unit determines whether to generate and send a special resource release instruction to inform the terminal equipment according to the access control result.
Optionally, the first base station/distributed unit receives a dedicated resource release instruction sent by the second base station/centralized unit when access to the terminal device is rejected; and the first base station/distributed unit informs the terminal equipment of the dedicated resource release indication.
Optionally, the first base station/distributed unit acquires at least a part of uplink resources from the second base station/centralized unit as the uplink resources managed by the first base station/distributed unit.
For example, the uplink resource managed by the first base station/distributed unit includes at least one of: SR transmission resources, CQI reporting resources, CSI reporting resources, SRs reporting resources, and Physical Uplink Shared Channel (PUSCH) resources for transmitting data.
In another embodiment of the present invention, the first base station/distributed unit may manage, in addition to the uplink resource, other resources that need to be sent to the terminal device, such as a terminal device identifier (e.g., C-RNTI) used for scheduling by a single cell.
Optionally, the first base station/distributed unit receives the uplink information sent by the terminal device in an IDLE state, an ACTIVE state, or an INACTIVE state (INACTIVE). For example, the terminal device in IDLE state sends a random access request, a physical layer or MAC layer, RLC layer signaling, service data or re-establishment request, the terminal device in ACTIVE state sends service data, a physical layer or MAC layer, RLC layer signaling, etc., the terminal device in INACTIVE state sends an RRC connection recovery request, a random access request, service data, MAC layer signaling, RLC layer signaling, etc., and these information may be sent on shared or dedicated resources.
Optionally, the first base station or the distributed unit sends the dedicated resource release indication to the terminal device through a physical layer control signaling, or an MAC CE or a PDCP control unit.
In another embodiment of the present invention, in order to achieve fast data transmission, the first base station or the distributed unit of the base station receives the protocol layer configuration parameters related to data transmission sent by the second base station/centralized unit. The protocol layer configuration parameters include parameters of RLC of the corresponding logical channel. The protocol layer configuration parameters may be default configuration parameters specific to the terminal device or common to the terminal device. The transmission channel before the distributed unit of the first base station or base station and the second base station/centralized unit may also be configured in advance, based on parameters of logical channels or common transmission announcements.
Optionally, after receiving the uplink information of the terminal device, the first base station or the distributed Unit of the base station performs Data processing based on the pre-configured or default parameters after allocating dedicated resources, and transfers an RLC Service Data Unit (SDU) or an RLC Protocol Data Unit (PDU) to the second base station or the centralized Unit of the base station.
Optionally, if the terminal device moves to a new cell, after receiving the uplink information of the terminal device and the allocated dedicated resource, the first base station or the distributed unit of the base station creates an RLC entity for the received new logical channel, and performs data processing using the RLC configuration parameter pre-configured or default by the CU corresponding to the channel, where the SN of the RLC PDU starts from 0 and uses the configuration parameter pre-configured or default by the CU. And if the mode of the RLC is not determined by the first base station or the distributed unit of the base station, storing the received data for a period of time to wait for uplink feedback or downlink retransmission. And the first base station or the distributed unit of the base station sends the processed RLC SDU, the channel identifier and the terminal equipment identifier to the second base station/centralized unit. The first base station or the distributed unit of the base station may send the RLC SDU and the channel identifier to the second base station/centralized unit after triggering establishment of the transmission channel dedicated to the terminal device.
In this embodiment, after receiving the uplink information of the terminal device, the first base station or the distributed unit of the base station does not need to wait for the second base station/the centralized unit to perform integrity check on the terminal device and then acquire resources from the second base station/the centralized unit and send the resources to the terminal device, but the first base station/the distributed unit does not wait for an integrity check result and autonomously allocates resources managed by the first base station/the distributed unit to the terminal device in advance, so that the time for the first base station/the distributed unit to wait for the integrity check and the time for acquiring resources from the second base station/the centralized unit are saved.
Further, if the integrity check result fails, the second base station/centralized unit notifies the terminal device to release the resource through the first base station/distributed unit, or the first base station/distributed unit notifies the terminal device to release the resource according to the integrity check result of the second base station/centralized unit.
As shown in fig. 4, which is a schematic structural diagram of a resource allocation apparatus according to another embodiment of the present invention, the resource allocation apparatus may be a first base station or a distributed unit of a base station, and if the resource allocation apparatus is a distributed unit of a base station, the base station includes a distributed unit and a centralized unit, and the distributed unit and the centralized unit are connected by wire or wirelessly. In another embodiment of the present invention, if the resource allocation apparatus is a first base station, the first base station is connected to a second base station through a wired or wireless connection, so that the first base station and the distributed unit have the same function in this embodiment, and the second base station and the centralized unit have the same function in this embodiment, that is, this embodiment describes two communication scenarios: one is that a terminal device communicates with a first base station through an air interface, and then the first base station communicates with a second base station, where the first base station acquires and manages resources by the second base station, and the second base station manages contexts (contexts) of the terminal devices, and the first base station may also be referred to as a serving base station, and the second base station may also be referred to as an anchor base station; the other is that the terminal device communicates with a distributed unit of the base station through an air interface, and then the distributed unit communicates with a centralized unit of the base station, the distributed unit acquires and manages resources from the centralized unit, and the centralized unit manages contexts (contexts) of the terminal devices.
Optionally, the first base station or the second base station or the base station may be a base station (BTS) in a GSM system or a CDMA system, a base station (NodeB) in a WCDMA system, an evolved node b (eNodeB) in an LTE system, or a base station (gNB) of a new radio access network.
Whether the resource allocation means is the first base station or a distributed unit of base stations, it may comprise a receiver 401, a processor 402, a transmitter 403 and a memory 404.
It should be understood that in the embodiment of the present application, the receiver 401, the processor 402, the transmitter 403 and the memory 404 are connected to each other through a bus.
It should be understood that, in the embodiment of the present Application, the Processor 402 may be an Erasable Programmable Logic Device (EPLD), a Field Programmable Gate Array (FPGA), a Digital Signal Processor (DSP) chip, an Application Specific Integrated Circuit (ASIC), or other Programmable Logic Device, discrete Gate or transistor Logic Device, discrete hardware component, etc.
The Memory 404 is used for storing code or instruction information, and the Memory 404 may include a Read-Only Memory (ROM) and a Random Access Memory (RAM) for providing instructions and data to the processor 402. A portion of the memory 404 may also include non-volatile random access memory. For example, the memory 404 may also store device type information.
The processor 402 is configured to allocate a dedicated uplink resource to the terminal device from the uplink resources managed by the processor.
The receiver 401 is configured to receive uplink information sent by a terminal device.
Optionally, before or after the receiver 401 receives the uplink information sent by the terminal device, the processor 402 allocates a dedicated uplink resource to the terminal device from the uplink resources managed by the processor 402, for example, before the receiver 401 receives the uplink information of the terminal device, if a timer maintained by the processor 402 expires, the processor 402 determines that the receiver 401 does not receive information sent by using a resource by the terminal device, determines that the terminal device does not have a corresponding resource or releases a corresponding resource, and the processor 402 actively allocates a dedicated uplink resource to the terminal device.
Optionally, the uplink information may be service data, an RRC message (e.g., an RRC connection establishment request, an RRC connection reestablishment request), a measurement report, an SR, or a random access request (e.g., sending a preamble).
The transmitter 403 is configured to transmit the allocated dedicated uplink resource to the terminal device.
The receiver 401 is further configured to receive information sent by the terminal device using the received dedicated uplink resource.
The term "dedicated" refers to being only related to the terminal device, that is, the dedicated uplink resource is only allocated to the terminal device for use. In another embodiment of the invention, the resources allocated by the plurality of terminal devices are the same over a period of time.
Optionally, the transmitter 403 transmits the allocated dedicated uplink resource to the terminal device through a physical layer control signaling or a MAC CE or PDCP control unit.
Optionally, the processor 402 is further configured to generate notification information when detecting that the terminal device sends the allocated dedicated uplink resource or receives an uplink resource configuration acknowledgement feedback indication sent by the terminal device, where the transmitter 403 is further configured to send the notification information to the second base station/centralized unit, and the notification information is used to inform the second base station/centralized unit that the dedicated uplink resource has been allocated to the terminal device.
Optionally, the receiver 401 is further configured to receive check information sent by the terminal device; the transmitter 403 is further configured to transmit the check information of the terminal device to the second base station/centralized unit.
For example, the check information may be a Message Authentication Code for Integrity check (MAC-I), for example, the MAC-I is carried by an RRC Message, where the MAC-I may be generated based on data or signaling and a secret key, and the terminal device uses part or all of the MAC-I generated based on independent data and signaling as the check information. If the terminal device uses part or all of the MAC-I generated based on the independent data and signaling as the check information, optionally, the input of the terminal device generating the MAC-I may contain an access stratum Context identification (Context ID).
Optionally, the receiver 401 is further configured to receive a dedicated resource release indication sent by the second base station/centralized unit when the integrity check on the terminal device fails; the transmitter 403 is further configured to notify the terminal device of the dedicated resource release indication.
For example, the second base station/centralized unit determines whether to generate and send a dedicated resource release indication to the receiver 401 according to the check result, and if the check fails, the second base station/centralized unit generates and sends a dedicated resource release indication to the receiver 401; if the check is successful, the second base station/centralized unit may generate and send a check success indication to the receiver 401, or the second base station/centralized unit may not generate a check success indication. The processor 402 is further configured to default to the verification if the verification success indication is not received when the timer expires if the second base station/centralized unit does not generate the verification success indication. This timer may be started when the transmitter 403 transmits a check message to the second base station/centralized unit.
Optionally, when the second base station/centralized unit succeeds in checking, the transmitter 403 may send a checking success indication to the terminal device, or may not send the checking success indication to the terminal device.
Optionally, the processor 402 is further configured to generate and send a dedicated resource release indication to notify the terminal device if the receiver 401 does not receive a verification success indication sent by the second base station/centralized unit within a predetermined time.
Optionally, the receiver 401 is further configured to receive a check result of the integrity check performed on the terminal device by the second base station/centralized unit; the processor 402 is further configured to determine whether to generate and send a dedicated resource release indication to notify the terminal device according to the check result. For example, if the check fails, the processor 402 is further configured to generate a dedicated resource release indication according to the check failure indication sent by the second base station/centralized unit, and the transmitter 403 is further configured to send the dedicated resource release indication to the terminal device; if the verification is successful, the transmitter 403 may transmit a verification success indication sent by the second base station/centralized unit to the terminal device, or the transmitter 403 may not transmit the verification success indication to the terminal device. If the sender 403 does not send the verification success indication to the terminal device, the terminal device may default to verification success if it does not receive the dedicated resource release indication when the timer expires. The timer may be started when the terminal device sends a check message to the distributed unit.
In another embodiment of the present invention, if the terminal device does not receive the verification success indication within the predetermined time, the default verification fails, and then the dedicated uplink resource is released.
Optionally, the processor 402 is further configured to obtain at least a part of uplink resources from the second base station/centralized unit as the uplink resources managed by the distributed unit.
For example, the uplink resource managed by the distributed unit includes at least one of: SR transmission resources, CQI reporting resources, CSI reporting resources, SRs reporting resources, and Physical Uplink Shared Channel (PUSCH) resources for transmitting data.
In another embodiment of the present invention, the processor 402 is further configured to manage, in addition to the uplink resource, other resources that need to be sent to the terminal device, such as a terminal device identity (e.g., C-RNTI) used for scheduling by a single cell.
Optionally, the receiver 401 is further configured to receive the uplink information sent by the terminal device in an IDLE state, an ACTIVE state, and an INACTIVE state (INACTIVE). For example, the terminal device in IDLE state sends a random access request, a physical layer or MAC layer, RLC layer signaling, service data or re-establishment request, the terminal device in ACTIVE state sends service data, a physical layer or MAC layer, RLC layer signaling, etc., the terminal device in INACTIVE state sends an RRC connection recovery request, a random access request, service data, MAC layer signaling, RLC layer signaling, etc., and these information may be sent on shared or dedicated resources.
Optionally, the transmitter 403 is further configured to transmit the dedicated resource release indication to the terminal device through physical layer control signaling or MAC CE or PDCP control unit.
In another embodiment of the present invention, in order to achieve fast data transmission, the receiver 401 receives the protocol layer configuration parameters related to data transmission sent by the second base station/centralized unit. The protocol layer configuration parameters include parameters of RLC of the corresponding logical channel. The protocol layer configuration parameters may be default configuration parameters specific to the terminal device or common to the terminal device. The transmission channel before the distributed unit of the first base station or base station and the second base station/centralized unit may also be configured in advance, based on parameters of logical channels or common transmission announcements.
Optionally, after the receiver 401 receives the uplink information of the terminal device, the processor 402 allocates a dedicated resource and performs Data processing based on a pre-configured or default parameter, and the transmitter 403 transfers an RLC Service Data Unit (SDU) or an RLC Protocol Data Unit (PDU) to the second base station or the centralized Unit of the base station.
Optionally, if the terminal device moves to a new cell, after the receiver 401 receives uplink information of the terminal device and dedicated resources allocated by the processor 402, an RLC entity is created for the received new logical channel, and the RLC configuration parameters corresponding to the channel are configured or defaulted by the CU and are used for data processing, where the SN of the RLC PDU starts from 0 and the configuration parameters of the MAC configured or defaulted by the CU are used. If the processor 402 does not determine the RLC mode, it stores the received data for a period of time to wait for uplink feedback or downlink retransmission. The transmitter 403 transmits the processed RLC SDU, the channel identifier and the terminal device identifier to the second base station/centralized unit. The transmitter 403 may send RLC SDU and channel id to the second base station/centralized unit after triggering the establishment of the transmission channel dedicated to the terminal device.
In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 402. The steps of a method disclosed in connection with the embodiments of the present application may be directly implemented by a hardware processor, or may be implemented by a combination of hardware and software modules in a processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in a memory, and the processor 402 reads information in the memory and performs the steps of the method in combination with hardware thereof. To avoid repetition, it is not described in detail here. Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
As shown in fig. 5A, a schematic structural diagram of a resource allocation system according to an embodiment of the present invention, the resource allocation system includes a base station system 51 and a terminal device 52, the base station system 51 includes a distributed unit 511 and a centralized unit 512, or, as shown in fig. 5B, a schematic structural diagram of a resource allocation system according to another embodiment of the present invention, the base station system 51 includes a first base station 511 ' and a second base station 512 ', and optionally, the first base station 511 '/the distributed unit 511, the centralized unit 512, the first base station 511 ' or the second base station 512 ' may be a base station (BTS) in a GSM system or a CDMA system, or a base station (NodeB) in a WCDMA system, an evolved node B (eNodeB) in an LTE system, or a base station (gNB) in a new radio access network.
The first base station 511 '/the distribution unit 511 is configured to allocate a dedicated uplink resource to the terminal device 52 from the uplink resources managed by the first base station 511'/the distribution unit 511, and transmit the dedicated uplink resource to the terminal device 52.
The first base station 511'/the distribution unit 511 is further configured to receive uplink information sent by the terminal device 52.
Optionally, before or after receiving the uplink information sent by the terminal device 52, the first base station 511 '/distributed unit 511 may allocate a dedicated uplink resource to the terminal device 52 from the uplink resources managed by the first base station 511'/distributed unit 511 and send the dedicated uplink resource to the terminal device 52, for example, if the timer maintained by the first base station 511 '/distributed unit 511 expires and the first base station 511'/distributed unit 511 does not receive the information that the terminal device 52 uses the resource to send before receiving the uplink information of the terminal device 52, it is determined that the terminal device 52 does not have the corresponding resource or releases the corresponding resource, and the terminal device 52 is actively allocated with the dedicated uplink resource and sent to the terminal device 52.
Optionally, the uplink information may be service data, an RRC message (e.g., an RRC connection establishment request, an RRC connection reestablishment request), a measurement report, an SR, or a random access request (e.g., sending a preamble).
The term "dedicated" refers to being only related to the terminal device 52, that is, the dedicated uplink resource is only allocated to the terminal device 52 for use. In another embodiment of the invention, the resources allocated by the plurality of terminal devices are the same over a period of time.
Optionally, the first base station 511'/the distribution unit 511 sends the allocated dedicated uplink resource to the terminal device 52 through a physical layer control signaling, or an MAC CE or a PDCP control unit.
The first base station 511'/the distribution unit 511 is further configured to receive information that is sent by the terminal device using the received dedicated uplink resource.
Optionally, the first base station 511 '/distributed unit 511 is further configured to notify the second base station 512'/centralized unit 512 that the dedicated uplink resource is already allocated to the terminal device 52 when detecting that the terminal device 52 sends the allocated dedicated uplink resource or receives an uplink resource configuration acknowledgement feedback indication sent by the terminal device 52.
Optionally, the first base station 511'/the distributed unit 511 is further configured to receive check information sent by the terminal device 52; the first base station 511 '/distributed unit 511 is further configured to send the check information of the terminal device 52 to the second base station 512'/centralized unit 512.
For example, the check information may be a Message Authentication Code for Integrity check (MAC-I), for example, the MAC-I is carried by an RRC Message, where the MAC-I may be generated based on data or signaling and a secret key, and the terminal device 52 uses part or all of the MAC-I generated based on independent data and signaling as the check information. If the terminal device 52 uses part or all of the MAC-I generated based on the independent data and signaling as the check information, the input of the terminal device generated MAC-I may optionally contain an access stratum Context identification (Context ID).
Optionally, the first base station 511 '/distributed unit 511 is further configured to receive a dedicated resource release indication sent by the second base station 512'/centralized unit 512 when the integrity check on the terminal device 52 fails; the first base station 511'/distribution unit 511 is further configured to notify the terminal device 52 of the dedicated resource release indication. For example, the second base station 512 '/centralized unit 512 is further configured to determine whether to generate and send a dedicated resource release indication to the first base station 511'/distributed unit 511 according to the check result, and if the check fails, the second base station 512 '/centralized unit 512 is further configured to generate and send a dedicated resource release indication to the first base station 511'/distributed unit 511; if the verification is successful, the second base station 512 '/centralized unit 512 may generate and send a verification success indication to the first base station 511 '/distributed unit 511, or the second base station 512 '/centralized unit 512 may not generate a verification success indication. If the second base station 512 '/centralized unit 512 does not generate a verification success indication, the first base station 511'/distributed unit 511 is further configured to default to verification success if the verification success indication is not received when the timer expires. This timer may be started when the first base station 511 '/distributed unit 511 sends a check message to the second base station 512'/centralized unit 512.
Optionally, when the second base station 512 '/centralized unit 512 checks successfully, the first base station 511'/distributed unit 511 may send a check success indication to the terminal device, or may not send the check success indication to the terminal device.
Alternatively, if the first base station 511 '/distributed unit 511 does not receive the verification success indication generation and transmission dedicated resource release indication notification sent by the second base station 512'/centralized unit 512 within a predetermined time, the terminal device is notified.
Optionally, the first base station 511 '/distributed unit 511 is further configured to receive a verification result of the integrity verification performed on the terminal device 52 by the second base station 512'/centralized unit 512; the first base station 511'/distributed unit 511 is further configured to determine whether to generate and send a dedicated resource release indication to notify the terminal device 52 according to the check result. For example, if the check fails, the first base station 511 '/distributed unit 511 is further configured to generate and send a dedicated resource release indication to the terminal device 52 according to the check failure indication sent by the second base station 512'/centralized unit 512; if the verification is successful, the first base station 511 '/distributed unit 511 may send the verification success indication sent by the second base station 512'/centralized unit 512 to the terminal device 52, or the first base station 511 '/distributed unit 511 may not send the verification success indication of the second base station 512'/centralized unit 512 to the terminal device 52. If the first base station 511 '/distributed unit 511 does not send the verification success indication of the second base station 512'/centralized unit 512 to the terminal device 52, the terminal device 52 may default to the verification success if no dedicated resource release indication is received when the timer expires. This timer may be started when the terminal device 52 sends a check message to the first base station 511'/distribution unit 511.
In another embodiment of the present invention, if the terminal device 52 does not receive the verification success indication within the predetermined time, the default verification fails, and then the dedicated uplink resource is released.
Optionally, the first base station 511 '/distributed unit 511 is further configured to obtain at least a portion of uplink resources from the second base station 512 '/centralized unit 512 as the uplink resources managed by the first base station 511 '/distributed unit 511.
For example, the uplink resources managed by the first base station 511'/the distributed unit 511 include at least one of: SR sending resources, CQI reporting resources, CSI reporting resources, SRS reporting resources, and Physical Uplink Shared Channel (PUSCH) resources for sending data.
In another embodiment of the present invention, the first base station 511'/the distributed unit 511 is further configured to manage, in addition to the uplink resource, other resources that need to be sent to the terminal device 52, such as a terminal device identifier (e.g., C-RNTI) used for scheduling by a single cell.
Optionally, the first base station 511'/the distributed unit 511 is further configured to receive the uplink information sent by the terminal device 52 in an IDLE state, an ACTIVE state, and an INACTIVE state (INACTIVE). For example, the terminal device 52 in IDLE state sends a random access request or a reestablishment request, the terminal device 52 in ACTIVE state sends service data, and the terminal device 52 in INACTIVE state sends an RRC connection recovery request. The terminal device in IDLE state sends a random access request, a physical layer or a MAC layer, RLC layer signaling, service data or a reestablishment request, the terminal device in ACTIVE state sends service data, a physical layer or a MAC layer, RLC layer signaling, etc., the terminal device in INACTIVE state sends an RRC connection recovery request, a random access request, service data, MAC layer signaling, RLC layer signaling, etc., and these information can be sent on shared or dedicated resources.
Optionally, the first base station 511'/the distributed unit 511 is further configured to send the dedicated resource release indication to the terminal device through a physical layer control signaling or a MAC CE or a PDCP control unit.
In another embodiment of the present invention, in order to realize fast data transmission, the first base station 511 '/the distributed unit 511 receives the protocol layer configuration parameters related to data transmission sent by the second base station 512'/the centralized unit 512. The protocol layer configuration parameters include parameters of RLC of the corresponding logical channel. The protocol layer configuration parameters may be default configuration parameters specific to the terminal device or common to the terminal device. The transmission channel between the first base station 511 '/distributed unit 511 and the second base station 512'/centralized unit 512 may also be pre-configured, based on parameters of logical channels or common transmission announcements.
Optionally, after receiving the uplink information of the terminal device and allocating dedicated resources, the first base station 511 '/the distributed unit 511 performs data processing based on the pre-configured or default parameters, and transfers RLC SDUs or RLC PDUs to the second base station 512'/the centralized unit 512.
Optionally, if the terminal device moves to a new cell, after receiving the uplink information of the terminal device and allocating dedicated resources, the first base station 511'/the distributed unit 511 creates an RLC entity for the received new logical channel, and performs data processing using the RLC configuration parameters corresponding to the channel that are pre-configured or default by the CU, where the SN of the RLC PDU starts from 0 and uses the configuration parameters of the MAC that is pre-configured or default by the CU. If the first base station 511'/distributed unit 511 does not determine the RLC mode, it stores the received data for a period of time to wait for uplink feedback or downlink retransmission. The first base station 511 '/distributed unit 511 sends the processed RLC SDU, the channel identifier and the terminal device identifier to the second base station 512'/centralized unit 512. The first base station 511 '/distributed unit 511 may send RLC SDU and channel id to the second base station 512'/centralized unit 512 after triggering the establishment of the transmission channel dedicated to the terminal device.
Fig. 6 is a flowchart illustrating a method for acquiring a resource according to another embodiment of the present invention.
The method for acquiring resources is executed by a first base station or a distributed unit of the base station, if the method for acquiring resources is executed by the distributed unit of the base station, the base station comprises a distributed unit and a centralized unit, and the distributed unit and the centralized unit are connected through wires or wirelessly. In another embodiment of the present invention, if the method for acquiring resources is performed by a first base station, the first base station is connected to a second base station through a wired or wireless connection, so that the first base station and the distributed unit have the same function in this embodiment, and the second base station and the centralized unit have the same function in this embodiment, that is, this embodiment describes two communication scenarios: one is that a terminal device communicates with a first base station through an air interface, and then the first base station communicates with a second base station, where the first base station acquires and manages resources by the second base station, and the second base station manages contexts (contexts) of the terminal devices, and the first base station may also be referred to as a serving base station, and the second base station may also be referred to as an anchor base station; the other is that the terminal device communicates with a distributed unit of the base station through an air interface, and then the distributed unit communicates with a centralized unit of the base station, the distributed unit acquires and manages resources from the centralized unit, and the centralized unit manages contexts (contexts) of the terminal devices.
Optionally, the first base station or the base station may be a base station (BTS) in a GSM system or a CDMA system, a base station (NodeB) in a WCDMA system, an evolved node b (eNodeB) in an LTE system, or a base station (gNB) of a new radio access network.
Step 601, the first base station/distributed unit sends a resource acquisition request to the second base station/centralized unit.
In another embodiment of the present invention, the first base station/distributed unit has used up the resources managed and actively requests the resources from the second base station/centralized unit; alternatively, the first base station/distributed unit actively requests resources from the second base station/centralized unit at any time or periodically. The period parameter may be a default value or a pre-assigned value to the terminal device.
The resource acquisition request may be a request for the second base station/centralized unit to issue SR transmission resources, CQI reporting resources, CSI reporting resources, SRs reporting resources, or PUSCH resources for transmitting data.
In another embodiment of the present invention, the first base station/distributed unit may manage, in addition to the uplink resource, other resources that need to be sent to the terminal device, such as a terminal device identifier (e.g., C-RNTI) used for scheduling by a single cell.
In another embodiment of the present invention, if the first base station/distributed unit periodically requests resources from the second base station/centralized unit, the first base station/distributed unit also sends a period related parameter, such as a period time, to the second base station/centralized unit. The cycle-related parameter may be carried in the resource acquisition request.
Step 602, the second base station/centralized unit allocates resources.
For example, the second base station/centralized unit allocates at least one of the following resources: the scheduling method comprises the steps of SR sending resources, CQI reporting resources, CSI reporting resources, SRS reporting resources, PUSCH resources and terminal equipment identification used for scheduling by a single cell. For example, SR transmission resources are used for terminal equipment to transmit SR, CQI reporting resources are used for terminal equipment to report CQI, CSI reporting resources are used for terminal equipment to transmit CSI, SRs reporting resources are used for terminal equipment to report SRs, PUSCH resources for transmitting data are used for terminal equipment to transmit data, and a terminal equipment identifier for single cell scheduling is used for terminal equipment to identify the terminal equipment on contention resources or to schedule resources for the terminal equipment or to transmit downlink information.
Optionally, the second base station/centralized unit allocates a configuration parameter related to the resource, such as a transmission period or a number of transmissions.
Step 603, the first base station/distributed unit receives the resource allocated by the second base station/centralized unit.
For example, the first base station/distributed unit receives at least one of the following resources transmitted by the second base station/centralized unit: the scheduling method comprises the steps of SR sending resources, CQI reporting resources, CSI reporting resources, SRS reporting resources, PUSCH resources and terminal equipment identification used for scheduling by a single cell.
Optionally, the first base station/distributed unit receives a configuration parameter related to the resource, such as a transmission cycle or a number of transmissions.
With this embodiment, the first base station/distributed unit can acquire and manage at least one of the following resources: the scheduling method comprises the steps of SR sending resources, CQI reporting resources, CSI reporting resources, SRS reporting resources, PUSCH resources and terminal equipment identification used for scheduling by a single cell.
Fig. 7 is a flowchart illustrating a method for acquiring resources according to another embodiment of the present invention.
The method for acquiring resources is executed by a first base station or a distributed unit of the base station, if the method for acquiring resources is executed by the distributed unit of the base station, the base station comprises a distributed unit and a centralized unit, and the distributed unit and the centralized unit are connected through wires or wirelessly. In another embodiment of the present invention, if the method for acquiring resources is performed by a first base station, the first base station is connected to a second base station through a wired or wireless connection, so that the first base station and the distributed unit have the same function in this embodiment, and the second base station and the centralized unit have the same function in this embodiment, that is, this embodiment describes two communication scenarios: one is that a terminal device communicates with a first base station through an air interface, and then the first base station communicates with a second base station, where the first base station acquires and manages resources by the second base station, and the second base station manages contexts (contexts) of the terminal devices, and the first base station may also be referred to as a serving base station, and the second base station may also be referred to as an anchor base station; the other is that the terminal device communicates with a distributed unit of the base station through an air interface, and then the distributed unit communicates with a centralized unit of the base station, the distributed unit acquires and manages resources from the centralized unit, and the centralized unit manages contexts (contexts) of the terminal devices.
Optionally, the first base station or the base station may be a base station (BTS) in a GSM system or a CDMA system, a base station (NodeB) in a WCDMA system, an evolved node b (eNodeB) in an LTE system, or a base station (gNB) of a new radio access network.
In step 701, the first base station/distributed unit reports resource usage information to the second base station/centralized unit.
For example, the first base station/distributed unit detects the use of the terminal device or receives a confirmation response of the terminal device, and reports the used resource information to the second base station/centralized unit. Optionally, the first base station/distributed unit may notify all the allocated resource lists to the second base station/centralized unit at once, for example, the first base station/distributed unit may report in a manner of user plane or control plane signaling.
In another embodiment of the present invention, the first base station/distributed unit informs the second base station/centralized unit of its resource usage at any time or periodically, wherein the period parameter may be a default value or a pre-configured value to the terminal device.
The first base station/distributed unit reports the resource use condition of at least one of the following: the scheduling method comprises the steps of SR sending resources, CQI reporting resources, CSI reporting resources, SRS reporting resources, PUSCH resources and terminal equipment identification used for scheduling by a single cell. For example, the first base station/distribution unit reports whether at least one of the various resources is used up, or reports a remaining value or a used value of at least one of the various resources, and so on.
In another embodiment of the present invention, if the first base station/distributed unit periodically reports the resource usage information to the second base station/centralized unit, the first base station/distributed unit further sends a parameter related to a period, such as a period time, to the second base station/centralized unit. The period-related parameter may be carried in the resource usage information. Wherein this step is optional.
Step 702, the second base station/centralized unit allocates resources to the first base station or distributed unit.
For example, if the terminal device switches to another cell or the terminal device leaves the connected state, for example, the terminal device enters the INACTIVE state or the IDLE state, the terminal device notifies the second base station/centralized unit of the information of switching or leaving the connected state, and the second base station/centralized unit notifies the first base station/distributed unit of the following information according to the information of switching or leaving the connected state of the terminal device: the terminal device leaves the connected state, or the terminal device has released the resource, or the resource allocated for the terminal device becomes available, and the first base station/distribution unit re-manages the released resource or the available resource for allocation to other terminal devices or for the next allocation. In another embodiment of the present invention, the second base station/centralized unit periodically allocates resources to the first base station or distributed unit.
The second base station/centralized unit may also update the resources that can be allocated to the terminal device to the first base station or the distributed unit according to the resource usage information reported by the first base station/distributed unit.
For example, if the first base station/distribution unit reports that at least one of the various resources is used up, the second base station/centralized unit allocates the used up resource to the first base station/distribution unit again.
For example, the first base station/distribution unit reports a remaining value or a used value of at least one resource of the various resources, if the second base station/centralized unit determines whether the remaining value of the resource is less than or equal to a first threshold, if the remaining value is less than or equal to the first threshold, the second base station/centralized unit allocates the resource to the first base station/distribution unit again, and if the remaining value is greater than the first threshold, the second base station/centralized unit does not allocate the resource to the first base station/distribution unit; for example, if the second base station/centralized unit determines whether the usage value of the resource is greater than or equal to a second threshold, if the usage value is greater than or equal to the second threshold, the second base station/centralized unit allocates the resource to the first base station/distributed unit again, and if the usage value is less than the second threshold, the second base station/centralized unit does not allocate the resource to the first base station/distributed unit.
For example, the second base station/centralized unit allocates at least one of the following resources: the scheduling method comprises the steps of SR sending resources, CQI reporting resources, CSI reporting resources, SRS reporting resources, PUSCH resources and terminal equipment identification used for scheduling by a single cell.
Step 703, the first base station/distributed unit receives the resource allocated by the second base station/centralized unit.
For example, the first base station/distributed unit receives at least one of the following resources transmitted by the second base station/centralized unit: the scheduling method comprises the steps of SR sending resources, CQI reporting resources, CSI reporting resources, SRS reporting resources, PUSCH resources and terminal equipment identification used for scheduling by a single cell.
With this embodiment, the first base station/distributed unit can acquire and manage at least one of the following resources: the scheduling method comprises the steps of SR sending resources, CQI reporting resources, CSI reporting resources, SRS reporting resources, PUSCH resources and terminal equipment identification used for scheduling by a single cell.
Fig. 8 is a schematic flow chart of a resource allocation method according to another embodiment of the present invention, in this embodiment, a base station is a first base station or a gNB, for example, a terminal device in an INACTIVE state in a single cell or a paging area.
The resource allocation method is performed by a distributed unit of a first base station or a gNB, and if the resource allocation method is performed by a distributed unit of a gNB, the gNB comprises a distributed unit and a centralized unit, and the distributed unit and the centralized unit are connected through wires or wirelessly. In another embodiment of the present invention, if the resource allocation method is performed by a first base station, the first base station is connected to a second base station through a wired or wireless connection, so that the first base station and the distributed unit have the same function in this embodiment, and the second base station and the centralized unit have the same function in this embodiment, that is, this embodiment describes two communication scenarios: one is that a terminal device communicates with a first base station through an air interface, and then the first base station communicates with a second base station, where the first base station acquires and manages resources by the second base station, and the second base station manages contexts (contexts) of the terminal devices, and the first base station may also be referred to as a serving base station, and the second base station may also be referred to as an anchor base station; the other is that the terminal device communicates with a distributed unit of the base station through an air interface, and then the distributed unit communicates with a centralized unit of the base station, the distributed unit acquires and manages resources from the centralized unit, and the centralized unit manages contexts (contexts) of the terminal devices.
Optionally, the first base station or the second base station may be a base station (BTS) in a GSM system or a CDMA system, a base station (NodeB) in a WCDMA system, an evolved node b (eNodeB) in an LTE system, or a base station (gNB) of a new radio access network.
The resources include at least one of: the SR transmission resource, CQI report resource, CSI report resource, SRs report resource, PUSCH resource, and terminal equipment identifier for scheduling in a single cell are exemplified for explanation.
The paging area refers to a wireless network area range in which the terminal device is located, the area may be a single cell or a plurality of cells, the terminal device has a unique wireless network identifier (Resume ID) or context identifier (context ID), and if the terminal device moves between cells in the paging area, the terminal device does not need to notify the network, such as a base station.
Step 801, the terminal device in INACTIVE state sends uplink information to the first base station/distributed unit.
For example, the terminal device sends uplink information to the first base station/distributed unit through a non-scheduling or Random Access Channel (RACH) procedure, where the uplink information may include at least one of the following: preamble, terminal _ ID, MAC-I, Buffer State Report (BSR), signaling, or packet.
Step 802, the first base station/distributed unit sends at least one of the following managed resources to the terminal device: the scheduling method comprises the steps of SR sending resources, CQI reporting resources, CSI reporting resources, SRS reporting resources, PUSCH resources and terminal equipment identification used for scheduling by a single cell.
For example, at least one of the following resources that the first base station/distributed unit manages: the SR transmission resource, the CQI report resource, the CSI report resource, the SRs report resource, the PUSCH resource, and the identifier of the terminal device used for scheduling in a single cell are transmitted to the terminal device through a Physical Downlink Control Channel (PDCCH) or a MAC Control element.
For example, in the RACH procedure, the uplink information is a random access request, and the first base station/distributed unit transmits the allocated resource to the terminal device when transmitting a RAR random access response (i.e., MSG2) or MSG4, or any time period between MSG2 and MSG 4. For example, the first base station/distributed unit transmits the allocated resources to the terminal device through MSG2 (e.g., transmit grant) or MSG4 (e.g., transmit CR). In another embodiment of the present invention, the first base station/distributed unit may transmit the allocated resources to the terminal device in a time period between transmitting MSG2 (e.g., transmitting grant) and MSG4 (e.g., transmitting CR).
For example, in the non-scheduled transmission process, when the first base station/distributed unit receives uplink data transmitted by the terminal device, the allocated resources are transmitted to the terminal device when the non-scheduled transmission conflict resolution response is received.
For example, the terminal device may report the capability supporting the first base station/distributed unit to allocate the resource, and the terminal device indicates to the first base station/distributed unit when sending uplink, for example, through a MAC control element (control element) or a special preamble indication; in another embodiment of the invention, the terminal device reports the capability to support the allocation of the resources by the first base station/distributed unit to the second base station/centralized unit, which in turn indicates the capability to the first base station/distributed unit.
If the downlink service is triggered, after the second base station/centralized unit determines the cell where the terminal device is located, the first base station/distributed unit sends at least one of the allocated SR transmission resource, CQI reporting resource, CSI reporting resource, SRs reporting resource, PUSCH resource, and the identifier of the terminal device used for scheduling in a single cell to the terminal device through a physical layer control signaling (such as PDCCH) or a higher layer signaling (such as MAC CE) or a PDCP control unit. In this embodiment, step 801 is optional.
The allocated resources may include static parameters (e.g., periodicity, etc.) required for the transmission using the resources. If not, the terminal device uses default or previously pre-configured static parameters.
Step 803, the terminal device sends an acknowledgement feedback indication to the first base station/distributed unit after receiving the resource.
This step is optional, and may be executed or not, and the terminal device sends an acknowledgement feedback indication to the first base station/distributed unit after receiving a certain resource or all resources, and may send a resource list indication to the first base station/distributed unit if the terminal device receives multiple resources. For example, if the terminal device receives at least two of an SR transmission resource, a CQI reporting resource, a CSI reporting resource, an SRs reporting resource, a PUSCH resource, and a terminal device identifier used by a single cell for scheduling, the terminal device transmits a corresponding resource list indication to the first base station/distributed unit.
Step 804, the terminal device performs corresponding transmission through the corresponding resource allocated by the first base station/distributed unit as required.
Optionally, if the terminal device in the INACTIVE state receives the allocated dedicated resource, the terminal device recovers the previously stored ACTIVE configuration parameter, for example, carries the relevant configuration information, and considers that the terminal device enters the ACTIVE state. And the terminal equipment calculates a new key for the safety protection of the ACTIVE state.
For example, if a terminal device needs to send a scheduling request, the terminal device sends the scheduling request by using the SR transmission resource allocated by the first base station/distributed unit.
For example, if the terminal device needs to send CQI, the terminal device sends CQI using the CQI reporting resource allocated by the first base station/distributed unit.
For example, if the terminal device needs to send CSI, the terminal device sends CSI using the CSI reporting resource allocated by the first base station/distributed unit.
For example, if the terminal device needs to transmit the SRS, the terminal device transmits the SRS using the SRS reporting resource allocated by the first base station/distributed unit.
For example, if a terminal device needs to transmit Data (Data), the terminal device transmits Data using the PUSCH resource allocated by the first base station/distributed unit.
For example, if a terminal device needs to send uplink data or signaling on a shared resource, the terminal device sends the data/signaling together with a terminal device identifier for scheduling in a single cell allocated by the first base station/distributed unit.
Step 805, the first base station/distributed unit sends to the second base station/centralized unit an indication that dedicated resources have been allocated for the terminal device.
For example, if the first base station/distributed unit detects that the terminal device is transmitting in the allocated resource, or receives a feedback indication of configuration confirmation transmitted by the terminal device, the first base station/distributed unit notifies the second base station/centralized unit of an indication that the terminal device has been allocated with a dedicated resource, for example, an index of the allocated resource or content of the resource may be transmitted.
For example, if the first base station/distributed unit detects that the terminal device sends an SR in the allocated SR sending resource, or sends a CQI in the allocated CQI reporting resource, or sends a CSI in the allocated CSI reporting resource, or sends an SRs in the allocated SRs reporting resource, or sends data in the allocated PUSCH resource, or sends a terminal device identifier used for scheduling by a single cell, or the first base station/distributed unit receives a feedback indication of configuration confirmation for configuring these resources sent by the terminal device, the first base station/distributed unit notifies the second base station/centralized unit of an indication that the corresponding dedicated resource has been allocated to the terminal device, for example, the indication includes an index of the corresponding resource.
Optionally, the first base station/distributed unit may further notify the second base station/centralized unit that the terminal device enters active indication. This embodiment does not exclude that 8.5 steps are replaced in this way, implicitly indicating that dedicated resources are allocated to the terminal device. The following 806-809 steps are optional.
Step 806 and 807, the terminal device sends the MAC-I to the second base station/centralized unit through the first base station/distributed unit for integrity check.
And if the first base station/distributed unit receives the MAC-I sent by the terminal equipment, the first base station/distributed unit forwards the MAC-I to the second base station/centralized unit, and the second base station/centralized unit carries out integrity check.
Step 808, the second base station/centralized unit sends the dedicated resource release indication or the check result indication that the check fails to the first base station/distributed unit.
Step 809, the first base station/distributed unit sends the dedicated resource release indication or the check result indication to the terminal device.
Optionally, the first base station or the distributed unit sends the dedicated resource release indication to the terminal device through a physical layer control signaling, or an MAC CE or a PDCP control unit.
For example, the second base station/centralized unit determines whether to generate and send the dedicated resource release instruction according to the check result, and if the check fails, the second base station/centralized unit generates and sends the dedicated resource release instruction to the first base station/distributed unit, and then the first base station/distributed unit sends the dedicated resource release instruction to the terminal device to notify the terminal device to release the corresponding dedicated resource. If the verification is successful, the second base station/centralized unit may generate and send a verification success indication to the first base station/distributed unit, or the second base station/centralized unit may not generate a verification success indication. And if the second base station/centralized unit does not generate the verification success indication, the first base station/distributed unit defaults to verify successfully if the verification success indication is not received when the timer is overtime. The timer may be started when the first base station/distributed unit sends a check message to the second base station/centralized unit.
Optionally, when the second base station/centralized unit succeeds in checking, the first base station/distributed unit may send a checking success indication to the terminal device, or may not send the checking success indication to the terminal device.
Optionally, if the first base station/distributed unit does not receive the verification success indication sent by the second base station/centralized unit within the predetermined time, generating and sending a dedicated resource release indication to notify the terminal device.
In another embodiment of the present invention, the second base station/centralized unit sends the result of successful verification to the first base station/distributed unit, and the first base station/distributed unit determines whether to generate a dedicated resource release indication according to the result of successful verification, for example, if the verification fails, the first base station/distributed unit generates a dedicated resource release indication and sends the dedicated resource release indication to the terminal device, and notifies the terminal device to release corresponding dedicated resources; if the verification is successful, the first base station/distributed unit may send a verification success indication sent by the second base station/centralized unit to the terminal device, or the first base station/distributed unit may not send the verification success indication of the second base station/centralized unit to the terminal device. If the first base station/distributed unit does not send the verification success indication of the second base station/centralized unit to the terminal equipment, the terminal equipment defaults to verify successfully if the timer is overtime and the special resource release indication is not received. The timer may be started when the terminal device sends a check message to the first base station/distributed unit.
In another embodiment of the present invention, if the terminal device does not receive the verification success indication within the predetermined time, the default verification fails, and then the dedicated uplink resource is released.
And if the verification fails, the first base station/distributed unit informs the terminal equipment to perform operations such as RRC connection release or RRC suspension, reconfiguration, key updating and the like.
In another embodiment of the present invention, step 806 and 809 may be performed before step 804, that is, integrity check is performed before the terminal device performs corresponding transmission according to the allocated corresponding resource.
In another embodiment of the present invention, if the terminal device is in a paging area, the second base station/the centralized unit respectively configures multiple sets of common combined resources (for example, at least two of SR transmission resources, CQI reporting resources, CSI reporting resources, SRs reporting resources, PUSCH resources, and terminal device identification resources for scheduling in a single cell) and corresponding periods for the first base station/the distributed unit network, and these period parameters are agreed by broadcasting or protocol. The first base station or the first base station/distributed unit allocates the resource combination index value to the terminal device. The resource combination index value indicates information of at least two resources, and the terminal device uses the resource combination index value to obtain corresponding resources from resources agreed or pre-configured by a protocol.
Optionally, the same resource may be allocated to multiple terminal devices.
In this embodiment, after receiving the uplink information of the terminal device, the first base station/distributed unit of the base station does not need to wait for the second base station/centralized unit to perform integrity check on the terminal device and then acquire resources from the second base station/centralized unit and send the resources to the terminal device, but the first base station/distributed unit does not wait for an integrity check result and autonomously allocates resources managed by the first base station/distributed unit to the terminal device in advance, so that the time for the first base station/distributed unit to wait for the integrity check and the time for acquiring resources from the second base station/centralized unit are saved.
As shown in fig. 9, which is a flowchart illustrating a resource allocation method according to another embodiment of the present invention, in this embodiment, a terminal device communicates with a base station over an air interface, and the base station manages resources and contexts (contexts) of the terminal devices.
Alternatively, the base station may be a base station (BTS) in a GSM system or a CDMA system, a base station (NodeB) in a WCDMA system, an evolved node b (eNodeB) in an LTE system, or a base station (gNB) of a new radio access network.
The resources include at least one of: the SR transmission resource, CQI report resource, CSI report resource, SRs report resource, PUSCH resource, and terminal equipment identifier for scheduling in a single cell are exemplified for explanation.
For example, the terminal device is an INACTIVE state terminal device in a single cell or a paging area, where the paging area refers to a range of a wireless network area, the area may be a single cell or multiple cells, and the terminal device has a unique wireless network identifier (Resume ID) or context identifier (context ID).
In another embodiment of the present invention, the terminal device may also be in a connected state or an idle state.
Step 901, the terminal device sends uplink information to the base station.
For example, the uplink information that the terminal device sends the uplink information to the base station through a non-scheduling or Random Access Channel (RACH) procedure may include at least one of the following: preamble, terminal _ ID, MAC-I, Buffer State Report (BSR), signaling, or packet.
Step 902, the base station allocates and sends the resources managed by the base station to the terminal equipment.
For example, the base station allocates and transmits at least one of the following resources managed by the base station to the terminal device: the scheduling method comprises the steps of SR sending resources, CQI reporting resources, CSI reporting resources, SRS reporting resources, PUSCH resources and terminal equipment identification used for scheduling by a single cell.
And the base station sends at least one of the SR sending resource, the CQI reporting resource, the CSI reporting resource, the SRS reporting resource, the PUSCH resource and the terminal equipment identifier used for scheduling by the single cell to the terminal equipment through a physical layer control signaling or an MAC CE or a PDCP control unit.
For example, in the RACH procedure, the uplink information is a random access request, the base station sends the allocated resource to the terminal device when sending a RAR random access response (i.e., MSG2) or MSG4 or any time slot between MSG2 and MSG 4. For example, the base station transmits the allocated resources to the terminal device through MSG2 (e.g., transmit grant) or MSG4 (e.g., transmit CR).
For example, in the non-scheduled transmission process, when the base station receives uplink data transmitted by the terminal device, the base station transmits the allocated resource to the terminal device when the non-scheduled transmission conflict resolution response is received.
Optionally, in order to quickly support data transmission, in a scenario where a CU and a DU are separated, the CU configures parameters of a related bearer on the DU, where the parameters of the related bearer include at least one of: logical channels, mode of RLC, size of SN, window size, reordering timer, etc. For example, the terminal device may report the capability supporting the base station to allocate the resource, and the terminal device may indicate to the base station when transmitting uplink, for example, through a MAC control element (control element) or a special preamble.
If the downlink service is triggered, after the base station determines the cell where the terminal device is located, the base station sends at least one of the allocated SR transmission resource, CQI reporting resource, CSI reporting resource, SRs reporting resource, PUSCH resource, and a terminal device identifier for scheduling in a single cell to the terminal device through a physical layer control signaling (such as PDCCH) or a higher layer signaling (such as MAC CE) or a PDCP control unit.
The allocated resources may include static parameters (e.g., periodicity, etc.) required for the transmission using the resources. If not, the terminal device uses default or previously pre-configured static parameters.
Step 903, after receiving the resource, the terminal device sends an acknowledgement feedback indication to the base station.
This step is optional, and may be executed or not, and the terminal device sends an acknowledgement feedback indication to the base station after receiving a certain resource or all resources, and may send a resource list indication to the base station if the terminal device receives multiple resources. For example, if the terminal device receives at least two of the SR transmission resource, the CQI reporting resource, the CSI reporting resource, the SRs reporting resource, the PUSCH resource, and the terminal device identifier used for scheduling by the single cell, the terminal device transmits a corresponding resource list indication to the base station.
And 904, the terminal equipment correspondingly sends the information through the corresponding resources distributed by the base station according to the requirement.
Optionally, if the terminal device in the INACTIVE state receives the allocated dedicated resource, the previously stored ACTIVE configuration parameter is restored, for example, the relevant configuration information is carried, the terminal device considers that the terminal device enters the ACTIVE state, and the terminal device calculates a new key for security protection in the ACTIVE state.
For example, if a terminal device needs to send a scheduling request, the terminal device sends the scheduling request by using the SR transmission resource allocated by the base station.
For example, if the terminal equipment needs to send CQI, the terminal equipment sends CQI by using the CQI report resource allocated by the base station.
For example, if the terminal device needs to send CSI, the terminal device sends CSI using the CSI reporting resource allocated by the base station.
For example, if the terminal device needs to send the SRS, the terminal device sends the SRS by using the SRS reporting resource allocated by the base station.
For example, if a terminal device needs to transmit Data (Data), the terminal device transmits Data using a PUSCH resource allocated by the base station.
For example, if a terminal device needs to send uplink data or signaling on a shared resource, the terminal device sends the data/signaling together with a terminal device identifier for scheduling in a single cell allocated by the base station.
Step 905, the terminal device sends the MAC-I to the base station for integrity check.
Step 906, the base station sends the dedicated resource release indication or the verification success indication which fails to be verified to the terminal device.
For example, the base station determines whether to generate and send the dedicated resource release instruction according to the check result, and if the check fails, the base station generates the dedicated resource release instruction and sends the dedicated resource release instruction to the terminal device to notify the terminal device to release the corresponding dedicated resource. If the verification is successful, the base station may generate and send a verification success indication to the terminal device, or the base station may not generate the verification success indication.
Optionally, the base station sends the dedicated resource release indication to the terminal device through a physical layer control signaling or a MAC CE or PDCP control unit.
If the base station does not generate the verification success indication, the terminal equipment defaults to verification success if the verification success indication is not received when the timer is overtime. The timer may be started when the terminal device sends a check message to the second base station/centralized unit.
In another embodiment of the present invention, if the terminal device does not receive the verification success indication within the predetermined time, the default verification fails, and then the dedicated uplink resource is released.
And if the verification fails, the base station informs the terminal equipment to perform operations such as RRC connection release or RRC suspension, reconfiguration, key updating and the like.
In another embodiment of the present invention, the steps 905 and 906 may be performed before the step 904, that is, before the terminal device performs corresponding transmission according to the allocated corresponding resource, the integrity check is performed.
In another embodiment of the present invention, if the terminal device is within a paging area, the base station configures multiple sets of common combined resources (e.g., at least two of SR transmission resources, CQI reporting resources, CSI reporting resources, SRs reporting resources, PUSCH resources, and terminal device identification resources for scheduling by a single cell) and corresponding periods, and these period parameters are agreed by broadcasting or protocol. The base station allocates the resource combination index value to the terminal equipment. The resource combination index value indicates information of at least two resources, and the terminal device uses the resource combination index value to obtain corresponding resources from resources agreed or pre-configured by a protocol.
Optionally, the same resource may be allocated to multiple terminal devices.
As shown in fig. 10, which is a schematic structural diagram of a resource allocation apparatus according to another embodiment of the present invention, in this embodiment, the resource allocation apparatus is a base station or a part of the base station, a terminal device communicates with the base station over an air interface, and the base station manages resources and contexts (contexts) of each terminal device.
Alternatively, the base station may be a base station (BTS) in a GSM system or a CDMA system, a base station (NodeB) in a WCDMA system, an evolved node b (eNodeB) in an LTE system, or a base station (gNB) of a new radio access network.
The resources include at least one of: the SR transmission resource, CQI report resource, CSI report resource, SRs report resource, PUSCH resource, and terminal equipment identifier for scheduling in a single cell are exemplified for explanation.
For example, the terminal device is an INACTIVE state terminal device in a single cell or a paging area, where the paging area refers to a range of a wireless network area, the area may be a single cell or multiple cells, and the terminal device has a unique wireless network identifier (Resume ID) or context identifier (context ID).
In another embodiment of the present invention, the terminal device may also be in a connected state or an idle state.
The resource allocation means comprises a receiver 1001, a processor 1002, a transmitter 1003 and a memory 1004.
It should be understood that, in the embodiment of the present application, the receiver 1001, the processor 1002, the transmitter 1003, and the memory 1004 are connected to each other through a bus.
It should be understood that in the embodiments of the present application, the processor 1002 may be an EPLD, an FPGA, a DSP chip, an ASIC, or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, or the like.
The Memory 1004 is used for storing code or instruction information, and the Memory 1004 may include a Read-Only Memory (ROM) and a Random Access Memory (RAM) for providing instructions and data to the processor 1002. A portion of the memory 1004 may also include non-volatile random access memory. For example, the memory 1004 may also store device type information.
The receiver 1001 is configured to receive uplink information sent by a terminal device.
The processor 1002 is configured to allocate the terminal device with the managed resources.
Optionally, before or after the receiver 1001 receives the uplink information sent by the terminal device, the processor 1002 may allocate a dedicated uplink resource to the terminal device from the uplink resources managed by the processor, for example, before the receiver 1001 receives the uplink information of the terminal device, if the timer maintained by the processor 1002 expires and the receiver 1001 does not receive the information sent by using the resource by the terminal device, the processor 1002 determines that the terminal device has no corresponding resource or releases the corresponding resource, and the processor 1002 actively allocates the dedicated uplink resource to the terminal device.
For example, the uplink information that the terminal device sends the uplink information to the base station through a non-scheduling or Random Access Channel (RACH) procedure may include at least one of the following: preamble, terminal _ ID, MAC-I, Buffer State Report (BSR), signaling, or packet.
For example, the processor 1002 is configured to allocate at least one of the following resources managed by the terminal device to the terminal device: the scheduling method comprises the steps of SR sending resources, CQI reporting resources, CSI reporting resources, SRS reporting resources, PUSCH resources and terminal equipment identification used for scheduling by a single cell.
The transmitter 1003 is configured to transmit the allocated resource to the terminal device.
For example, the transmitter 1003 is configured to transmit at least one of the SR transmission resource, the CQI reporting resource, the CSI reporting resource, the SRs reporting resource, the PUSCH resource, and a terminal device identifier used by a single cell for scheduling to the terminal device through a physical layer control signaling or a MAC CE or PDCP control unit.
For example, in the RACH procedure, the uplink information is a random access request, and the transmitter 1003 is configured to transmit the allocated resource to the terminal device when transmitting a RAR random access response (i.e., MSG2) or MSG4, or any time period between MSG2 and MSG 4. For example, the transmitter 1003 is configured to transmit the allocated resource to the terminal device through MSG2 (e.g., transmission grant) or MSG4 (e.g., transmission CR).
For example, in the non-scheduled transmission process, when the receiver 1001 receives uplink data transmitted by a terminal device, the transmitter 1003 is configured to transmit the allocated resource to the terminal device in response to non-scheduled transmission collision resolution.
For example, the terminal device may report the capability supporting the base station to allocate the resource, and the terminal device indicates to the receiver 1001 in uplink transmission, for example, through a MAC control element (control element) or a special preamble.
If the downlink service is triggered, after the processor 1002 determines the cell where the terminal device is located, the transmitter 1003 is configured to send at least one of the allocated SR transmission resource, CQI reporting resource, CSI reporting resource, SRs reporting resource, PUSCH resource, and a terminal device identifier used for scheduling in a single cell to the terminal device through a physical layer control signaling (such as PDCCH) or a higher layer signaling (such as MAC CE) or a PDCP control unit.
The allocated resources may include static parameters (e.g., periodicity, etc.) required for the transmission using the resources. If not, the terminal device uses default or previously pre-configured static parameters.
The receiver 1001 is further configured to receive an acknowledgement feedback indication sent by the terminal device after receiving the resource.
For example, the terminal device sends an acknowledgement feedback indication to the receiver 1001 after receiving a certain resource or all resources, and may send a resource list indication to the receiver 1001 if the terminal device receives multiple resources. For example, if the terminal device receives at least two of an SR transmission resource, a CQI reporting resource, a CSI reporting resource, an SRs reporting resource, a PUSCH resource, and a terminal device identifier used by a single cell for scheduling, it sends a corresponding resource list indication to the receiver 1001.
In another embodiment of the present invention, the terminal device does not send an acknowledgement feedback indication.
The receiver 1001 is further configured to receive information sent by the terminal device through the allocated corresponding resource as needed.
Optionally, if the terminal device in the INACTIVE state receives the allocated dedicated resource, the previously stored ACTIVE configuration parameter is restored, for example, the relevant configuration information is carried, the terminal device considers that the terminal device enters the ACTIVE state, and the terminal device calculates a new key for security protection in the ACTIVE state.
For example, if the terminal device needs to send a scheduling request, the receiver 1001 is further configured to receive a scheduling request sent by the terminal device using the SR transmission resource allocated by the base station.
For example, if the terminal device needs to send CQI, the receiver 1001 is further configured to receive CQI sent by the terminal device using the CQI reporting resource allocated by the processor 1002.
For example, if the terminal device needs to send CSI, the receiver 1001 is further configured to receive CSI sent by the terminal device using the CSI reporting resource allocated by the processor 1002.
For example, if the terminal device needs to transmit an SRS, the receiver 1001 is further configured to receive the SRS, which is transmitted by the terminal device using the SRS reporting resource allocated by the processor 1002.
For example, if a terminal device needs to transmit Data (Data), the receiver 1001 is further configured to receive Data transmitted by the terminal device using the PUSCH resource allocated by the processor 1002.
For example, if a terminal device needs to send uplink data or signaling on a shared resource, the terminal device sends the data/signaling together with the identifier of the terminal device for scheduling in a single cell allocated by the processor 1002.
The receiver 1001 is further configured to receive check information sent by the terminal device.
For example, the receiver 1001 is further configured to receive a MAC-I sent by the terminal device, and the processor 1002 is further configured to perform integrity check according to the MAC-I.
The transmitter 1003 is further configured to send a dedicated resource release indication or a verification success indication generated by the processor 1002 due to a verification failure to the terminal device.
For example, the processor 1002 determines whether to generate the dedicated resource release instruction or the verification success instruction according to the verification result, and if the verification fails, the processor 1002 generates the dedicated resource release instruction and sends the dedicated resource release instruction to the terminal device through the sender 1003, so as to notify the terminal device to release the corresponding dedicated resource. If the verification is successful, the processor 1002 may generate a verification success indication and send the verification success indication to the terminal device through the transmitter 1003, or the processor 1002 may not generate the verification success indication.
If the processor 1002 does not generate the verification success indication, the terminal device, when the timer is overtime, if the verification success indication is not received, performs the default verification successfully. The timer may be started when the terminal device sends a check message to the second base station/centralized unit.
Optionally, the transmitter 1003 is further configured to transmit the dedicated resource release indication to the terminal device through a physical layer control signaling or a MAC CE or PDCP control unit.
In another embodiment of the present invention, if the terminal device does not receive the verification success indication within the predetermined time, the default verification fails, and then the dedicated uplink resource is released.
If the verification fails, the transmitter 1003 is further configured to notify the terminal device to perform operations such as RRC connection release or RRC suspend, reconfiguration, and key update.
In another embodiment of the present invention, the terminal device may perform integrity check before performing corresponding transmission according to the allocated corresponding resource.
In another embodiment of the present invention, if the terminal device is in a paging area, the memory 1004 configures multiple sets of common combined resources (e.g., at least two of SR transmission resources, CQI reporting resources, CSI reporting resources, SRs reporting resources, PUSCH resources, and terminal device identification resources for scheduling by a single cell) and corresponding periods, and these period parameters are agreed by broadcast or protocol. The processor 1002 assigns a resource combination index value to the terminal device. The resource combination index value indicates information of at least two resources, and the terminal device uses the resource combination index value to obtain corresponding resources from resources agreed or pre-configured by a protocol.
Optionally, the same resource may be allocated to multiple terminal devices.
As shown in fig. 11, which is a flowchart illustrating a resource allocation method according to another embodiment of the present invention, in this embodiment, a terminal device communicates with a base station over an air interface, and the base station manages resources and contexts (contexts) of the terminal devices.
Alternatively, the base station may be a base station (BTS) in a GSM system or a CDMA system, a base station (NodeB) in a WCDMA system, an evolved node b (eNodeB) in an LTE system, or a base station (gNB) of a new radio access network.
The resources managed by the base station include at least one of: SR sending resources, CQI reporting resources, CSI reporting resources and SRS reporting resources.
For example, the terminal device is an INACTIVE state terminal device in a single cell or a paging area, where the paging area refers to a range of a wireless network area, the area may be a single cell or multiple cells, and the terminal device has a unique wireless network identifier (Resume ID) or context identifier (context ID).
In another embodiment of the present invention, the terminal device may also be in a connected state or an idle state.
Step 1101, the terminal device sends a random access request to the base station.
For example, the terminal device sends a preamble to the base station.
Step 1102, the base station sends at least one of SR sending resources, CQI reporting resources, CSI reporting resources, and SRs reporting resource allocations managed by the base station to the terminal device when sending the RAR message or in a time period between sending the RAR message and the CR message.
For example, the base station transmits the allocated resources to the terminal device through physical layer control signaling or MAC CE or PDCP control unit in any period between transmission of RAR random access response (i.e., MSG2) or MSG2 and MSG 4.
Step 1103, the terminal device sends an acknowledgement feedback indication to the base station after receiving the resource.
This step is optional, and may be executed or not, and the terminal device sends an acknowledgement feedback indication to the base station after receiving a certain resource or all resources, and may send a resource list indication to the base station if the terminal device receives multiple resources. For example, if the terminal device receives at least two of the SR transmission resource, the CQI reporting resource, the CSI reporting resource, and the SRs reporting resource, the terminal device transmits a corresponding resource list indication to the base station.
And 1104, the terminal equipment performs corresponding transmission through the corresponding resource allocated by the base station according to the requirement.
Optionally, if the terminal device in the INACTIVE state receives the allocated dedicated resource, the previously stored ACTIVE configuration parameter is restored, for example, the relevant configuration information is carried, the terminal device considers that the terminal device enters the ACTIVE state, and the terminal device calculates a new key for security protection in the ACTIVE state.
For example, if a terminal device needs to send a scheduling request, the terminal device sends the scheduling request by using the SR transmission resource allocated by the base station.
For example, if the terminal equipment needs to send CQI, the terminal equipment sends CQI by using the CQI report resource allocated by the base station.
For example, if the terminal device needs to send CSI, the terminal device sends CSI using the CSI reporting resource allocated by the base station.
For example, if the terminal device needs to send the SRS, the terminal device sends the SRS by using the SRS reporting resource allocated by the base station.
Step 1105, the terminal device sends verification information to the base station.
For example, the terminal device sends MAC-I to the base station for integrity check, and the base station performs integrity check on the terminal device according to the MAC-I.
Step 1106, the base station sends the dedicated resource release indication or the verification success indication that the verification fails to the terminal device.
For example, the base station determines whether to generate and send the dedicated resource release instruction according to the check result, and if the check fails, the base station generates the dedicated resource release instruction and sends the dedicated resource release instruction to the terminal device to notify the terminal device to release the corresponding dedicated resource. If the verification is successful, the base station may generate and send a verification success indication to the terminal device, or the base station may not generate the verification success indication.
If the base station does not generate the verification success indication, the terminal equipment defaults to verification success if the verification success indication is not received when the timer is overtime. The timer may be started when the terminal device sends a check message to the second base station/centralized unit.
In another embodiment of the present invention, if the terminal device does not receive the verification success indication within the predetermined time, the default verification fails, and then the dedicated uplink resource is released.
In another embodiment of the present invention, the steps 1105-1106 may be performed before the step 1104, that is, the integrity check is performed before the terminal device performs corresponding transmission according to the allocated corresponding resources.
In step 1107, the base station sends a contention resolution message (i.e. MSG4) to the terminal device.
For example, the base station transmits a CR message to the terminal device.
In another embodiment of the present invention, the base station may send the check success indication to the terminal device simultaneously with sending the CR message.
In another embodiment of the present invention, if the terminal device is in a paging area, the base station configures multiple sets of common combined resources (e.g., at least two of SR transmission resource, CQI reporting resource, CSI reporting resource, and SRs reporting resource) and corresponding periods, and these period parameters are agreed by broadcast or protocol. The base station allocates the resource combination index value to the terminal equipment. The resource combination index value indicates information of at least two resources, and the terminal device uses the resource combination index value to obtain corresponding resources from resources agreed or pre-configured by a protocol.
In this embodiment, for the random access process, before performing integrity check on the terminal device, the base station sends the resource to the terminal device in advance in any time period between MSG2 or MSG2 and MSG4, and then performs integrity check, so that compared with the prior art in which the base station waits for integrity check on the terminal device and then reallocates the resource to the terminal device, time delay can be saved.
As shown in fig. 12, which is a schematic structural diagram of a resource allocation apparatus according to another embodiment of the present invention, in this embodiment, the resource allocation apparatus is a base station or a part of the base station, a terminal device communicates with the base station over an air interface, and the base station manages resources and contexts (contexts) of each terminal device.
Alternatively, the base station may be a base station (BTS) in a GSM system or a CDMA system, a base station (NodeB) in a WCDMA system, an evolved node b (eNodeB) in an LTE system, or a base station (gNB) of a new radio access network.
The resources managed by the base station include at least one of: SR sending resources, CQI reporting resources, CSI reporting resources and SRS reporting resources.
For example, the terminal device is an INACTIVE state terminal device in a single cell or a paging area, where the paging area refers to a range of a wireless network area, the area may be a single cell or multiple cells, and the terminal device has a unique wireless network identifier (Resume ID) or context identifier (context ID).
In another embodiment of the present invention, the terminal device may also be in a connected state or an idle state.
The resource allocation means comprises a receiver 1201, a processor 1202, a transmitter 1203 and a memory 1204.
It should be understood that in the embodiment of the present application, the receiver 1201, the processor 1202, the transmitter 1203 and the memory 1204 are connected to each other through a bus.
It should be understood that in the embodiments of the present application, the processor 1202 may be an EPLD, an FPGA, a DSP chip, an ASIC, or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, or the like.
The Memory 1204 is used for storing code or instruction information, and the Memory 1204 may include a Read-Only Memory (ROM) and a Random Access Memory (RAM) for providing instructions and data to the processor 1202. A portion of the memory 1204 may also include non-volatile random access memory. For example, the memory 1204 may also store information of device types.
The receiver 1201 is configured to receive a random access request sent by a terminal device.
For example, the receiver 1201 is configured to receive a preamble sent by the terminal device.
The processor 1202 is configured to allocate at least one of the SR sending resource, the CQI reporting resource, the CSI reporting resource, and the SRs reporting resource that is managed by the processor to the terminal device.
The transmitter 1203 is configured to send the allocated resource to the terminal device when sending the RAR message or in a time period between sending the RAR message and the CR message.
For example, the transmitter 1203 is configured to transmit the allocated resource to the terminal device through physical layer control signaling or MAC CE or PDCP control unit in any time period between transmitting RAR random access response (i.e. MSG2) or MSG2 and MSG 4.
The receiver 1201 is further configured to receive an acknowledgement feedback indication sent by the terminal device after receiving the resource.
The terminal device sends an acknowledgement feedback indication to the base station after receiving a certain resource or all resources, and may send a resource list indication to the receiver 1201 if the terminal device receives multiple resources. For example, if the terminal device receives at least two of the SR transmission resource, the CQI reporting resource, the CSI reporting resource, and the SRs reporting resource, the terminal device transmits a corresponding resource list indication to the receiver 1201.
In another embodiment of the present invention, the terminal device may not send the acknowledgement feedback indication.
The receiver 1201 is further configured to receive information sent by the terminal device through the allocated corresponding resource as needed.
Optionally, if the terminal device in the INACTIVE state receives the allocated dedicated resource, the previously stored ACTIVE configuration parameter is restored, for example, the relevant configuration information is carried, the terminal device considers that the terminal device enters the ACTIVE state, and the terminal device calculates a new key for security protection in the ACTIVE state.
For example, if the terminal device needs to transmit a scheduling request, the receiver 1201 is further configured to receive the scheduling request transmitted by the terminal device using the SR transmission resource allocated by the processor 1202.
For example, if the terminal device needs to send a CQI, the receiver 1201 is further configured to receive a CQI sent by the terminal device using the CQI reporting resource allocated by the processor 1202.
For example, if the terminal device needs to send CSI, the receiver 1201 is further configured to receive CSI sent by the terminal device using the CSI reporting resource allocated by the processor 1202.
For example, if the terminal device needs to transmit an SRS, the receiver 1201 is further configured to receive the SRS, which is transmitted by the terminal device using the SRS reporting resource allocated by the processor 1202.
The receiver 1201 is further configured to receive check information sent by the terminal device.
For example, the receiver 1201 is further configured to receive a MAC-I sent by the terminal device, and the processor 1202 is further configured to perform integrity check according to the MAC-I.
The transmitter 1203 is further configured to send a dedicated resource release indication or a verification success indication that verification fails to be sent to the terminal device.
For example, the processor 1202 determines whether to generate and send the dedicated resource release indication according to the check result, if the check fails, the processor 1202 generates the dedicated resource release indication, and the transmitter 1203 sends the dedicated resource release indication to the terminal device to notify the terminal device to release the corresponding dedicated resource. If the verification is successful, the processor 1202 may generate and send a verification success indication to the terminal device, or the processor 1202 may not generate a verification success indication.
If the processor 1202 does not generate the verification success indication, the terminal device, when the timer is overtime, if the verification success indication is not received, defaults to verify successfully. The timer may be started when the terminal device sends a check message to the second base station/centralized unit.
In another embodiment of the present invention, if the terminal device does not receive the verification success indication within the predetermined time, the default verification fails, and then the dedicated uplink resource is released.
In another embodiment of the present invention, before the terminal device performs corresponding transmission according to the allocated corresponding resource, the processor 1202 performs integrity check according to the check information.
In another embodiment of the present invention, if the terminal device is in a paging area, the memory 1204 configures a plurality of sets of common combined resources (e.g., at least two of SR transmission resource, CQI reporting resource, CSI reporting resource, and SRs reporting resource) and corresponding periods, and these period parameters are agreed by broadcast or protocol. The transmitter 1203 transmits the resource combination index value to the terminal device. The resource combination index value indicates information of at least two resources, and the terminal device uses the resource combination index value to obtain corresponding resources from resources agreed or pre-configured by a protocol.
In this embodiment, for the random access process, before performing integrity check on the terminal device, the base station sends the resource to the terminal device in advance in any time period between MSG2 or MSG2 and MSG4, and then performs integrity check, so that compared with the prior art in which the base station waits for integrity check on the terminal device and then reallocates the resource to the terminal device, time delay can be saved.
Fig. 13 is a schematic flow chart of an integrity check method according to another embodiment of the present invention, and the integrity check method according to this embodiment may be used for integrity check of all the embodiments described above.
Step 1301, the terminal device generates an uplink MAC-I for integrity check according to all or part of a COUNT (COUNT) value corresponding to a radio bearer that transmits uplink information and the uplink security input parameter.
For example, the uplink information includes: uplink messages (e.g., RRC messages, preambles, reestablishment messages, access stratum context restoration requests), uplink data, uplink control signaling (e.g., MAC layer control signaling such as BSR; physical layer control signaling such as ACK; RLC layer control signaling such as RLC status reports), or uplink data and access stratum context restoration request messages.
The COUNT value includes a PDCP Sequence Number (SN) and a Hyper Frame Number (HFN). For example, the terminal device generates the uplink MAC-I according to the PDCP SN and HFN of the COUNT value and the uplink security input parameter. For another example, the terminal device generates the uplink MAC-I according to the uplink security input parameter and one of the PDCP SN and the HFN of the COUNT value.
For example, the uplink security input parameter includes at least one of: the method comprises the steps of secret key, integrity protection algorithm, terminal equipment identification, radio BEARER identification (BEARER ID), sending DIRECTION (DIRECTION), uplink information, a cell entering into an INACTIVE state, a current cell identification of the terminal equipment, C-RNTI and AS context identification.
Optionally, the key is an old key stored by the terminal device or a new key derived by the terminal device. Preferably, the derived new key is employed when the terminal device moves to a new cell.
Step 1302, the terminal device sends the generated uplink MAC-I to a base station for integrity check.
Optionally, if the terminal device uses the stored old key, the base station is the base station storing the old key for the terminal device.
Optionally, if the terminal device uses the derived new key, the base station has a base station for the terminal device to derive the new key.
Optionally, if the terminal device moves across base stations, the base station receiving the uplink MAC-I forwards the uplink MAC-I to the base station having the key corresponding to the terminal device for processing.
And step 1303, the terminal device receives the downlink MAC-I sent by the base station and performs integrity check.
For example, the terminal device receives a downlink MAC-I sent by the base station, where the downlink MAC-I is generated by the base station according to the COUNT value and a downlink security input parameter; and the terminal equipment checks whether the base station receiving the information is legal or not according to the downlink MAC-I.
Optionally, the downlink security input parameter includes at least one of: key, integrity protection algorithm, terminal device identification, radio BEARER identification (BEARER ID), DIRECTION of transmission (DIRECTION), uplink information.
Optionally, starting a timer when the terminal device sends the uplink MAC-I; and after the timer is overtime, if the terminal equipment sends the uplink information again, the terminal equipment sends the uplink MAC-I again.
Optionally, if the terminal device uses the stored old key, the downlink MAC-I is generated by the base station having the old key of the terminal device based on the old key.
Optionally, if the terminal device moves across base stations, the base station generating the downlink MAC-I is a base station processing and receiving the uplink MAC-I.
Optionally, if the terminal device uses the derived new key, the downlink MAC-I is generated by the base station having the new key derived by the processor 1401 based on the new key. In another embodiment of the present invention, the key, the integrity protection algorithm, the terminal device identifier, the radio BEARER identifier (BEARER ID), the sending DIRECTION (DIRECTION), and the uplink information included in the uplink security input parameter and the downlink security input parameter may be the same or different, respectively.
Optionally, the DIRECTION indicates whether to go up or down.
In another embodiment of the present invention, the base station may be a base station that manages resources and a context (context) of each terminal device, or may be the first base station or the distributed unit of the above-described embodiment. If the base station is the first base station or the distributed unit in the above embodiment, the first base station or the distributed unit further needs to send the uplink MAC-I to the second base station or the centralized unit for integrity check, and the second base station or the centralized unit generates the downlink MAC-I and sends the downlink MAC-I to the terminal device through the first base station or the distributed unit.
Fig. 14 is a schematic structural diagram of an integrity check apparatus according to another embodiment of the present invention, where the integrity check apparatus may be a terminal device or a part of a terminal device, and the integrity check apparatus according to this embodiment may be used for integrity check of all the embodiments.
The integrity checking means comprises a processor 1401, a transmitter 1402, a receiver 1403 and a memory 1404.
The processor 1401 is configured to generate an uplink MAC-I for integrity check according to all or a part of a COUNT (COUNT) value corresponding to a radio bearer that sends uplink information and an uplink security input parameter.
For example, the uplink information includes: uplink messages (e.g., RRC messages, preambles, reestablishment messages, access stratum context restoration requests), uplink data, uplink control signaling (e.g., MAC layer control signaling such as BSR; physical layer control signaling such as ACK; RLC layer control signaling such as RLC status reports), or uplink data and access stratum context restoration request messages.
The COUNT value includes a PDCP Sequence Number (SN) and a Hyper Frame Number (HFN). For example, the processor 1401 generates the uplink MAC-I according to the PDCP SN and HFN of the COUNT value and the uplink security input parameter. For another example, the processor 1401 generates the uplink MAC-I according to the uplink security input parameter and one of the PDCP SN and the HFN of the COUNT value.
For example, the uplink security input parameter includes at least one of: the method comprises the steps of secret key, integrity protection algorithm, terminal equipment identification, radio BEARER identification (BEARER ID), sending DIRECTION (DIRECTION), uplink information, a cell entering into an INACTIVE state, a current cell identification of the terminal equipment, C-RNTI and AS context identification.
Optionally, the key is an old key stored by the memory 1404 or a new key derived by the processor 1401. Preferably, the processor 1401 is adapted to use the derived new key when the terminal device moves to a new cell.
The transmitter 1402 is configured to transmit the generated uplink MAC-I to a base station for integrity check.
Optionally, if the processor 1401 adopts the stored old key, the base station stores the old key for the terminal device.
Optionally, if the processor 1401 adopts the derived new key, the base station has a base station for the terminal device to derive the new key.
Optionally, if the terminal device moves across base stations, the base station receiving the uplink MAC-I forwards the uplink MAC-I to the base station having the key corresponding to the terminal device for processing.
The receiver 1403 is configured to receive a downlink MAC-I sent by the base station, and the processor 1401 is further configured to perform integrity check on the base station that receives the uplink information according to the downlink MAC-I.
For example, the receiver 1403 is configured to receive a downlink MAC-I sent by the base station, where the downlink MAC-I is generated by the base station according to the COUNT value and the downlink security input parameter; the processor 1401 checks whether the base station is a legitimate base station according to the downlink MAC-I.
Optionally, the downlink security input parameter includes at least one of: key, integrity protection algorithm, terminal device identification, radio BEARER identification (BEARER ID), DIRECTION of transmission (DIRECTION), uplink information.
The processor 1401 is further configured to start a timer when the transmitter transmits the uplink MAC-I.
The transmitter 1402 is further configured to, after the timer expires, if the uplink information is transmitted again, transmit the uplink MAC-I again.
Optionally, if the terminal device uses the stored old key, the downlink MAC-I is generated by the base station having the old key of the terminal device based on the old key.
Optionally, if the terminal device moves across base stations, the base station generating the downlink MAC-I is a base station processing and receiving the uplink MAC-I.
Optionally, if the terminal device uses the derived new key, the downlink MAC-I is generated by the base station having the new key derived by the processor 1401 based on the new key.
In another embodiment of the present invention, the key, the integrity protection algorithm, the terminal device identifier, the radio BEARER identifier (BEARER ID), the sending DIRECTION (DIRECTION), and the uplink information included in the uplink security input parameter and the downlink security input parameter may be the same or different, respectively.
Optionally, the DIRECTION indicates whether to go up or down.
In another embodiment of the present invention, the base station may be a base station that manages resources and a context (context) of each terminal device, or may be the first base station or the distributed unit of the above-described embodiment. If the base station is the first base station or the distributed unit in the above embodiment, the first base station or the distributed unit further needs to send the uplink MAC-I to the second base station or the centralized unit for integrity check, and the second base station or the centralized unit generates the downlink MAC-I and sends the downlink MAC-I to the receiver 1403 of the terminal device through the first base station or the distributed unit.
Fig. 15 is a flowchart illustrating an integrity check method according to another embodiment of the present invention, where a terminal device communicates with a base station over an air interface, and the base station manages resources and contexts (contexts) of the terminal devices.
In step 1501, the terminal device generates an uplink MAC-I.
For example, the terminal device generates an uplink MAC-I for integrity check according to all or part of a COUNT (COUNT) value corresponding to a radio bearer transmitting the uplink information and the uplink security input parameter.
For example, the uplink information includes: uplink messages (e.g., RRC messages, preambles, reestablishment messages, access stratum context restoration requests), uplink data, uplink control signaling (e.g., MAC layer control signaling such as BSR; physical layer control signaling such as ACK; RLC layer control signaling such as RLC status reports), or uplink data and access stratum context restoration request messages.
The COUNT value includes PDCP SN and HFN. For example, the terminal device generates the uplink MAC-I according to the PDCP SN and HFN of the COUNT value and the uplink security input parameter. For another example, the terminal device generates the uplink MAC-I according to the uplink security input parameter and one of the PDCP SN and the HFN of the COUNT value.
For example, the uplink security input parameter includes at least one of: the method comprises the steps of secret key, integrity protection algorithm, terminal equipment identification, radio BEARER identification (BEARER ID), sending DIRECTION (DIRECTION), uplink information, a cell entering into an INACTIVE state, a current cell identification of the terminal equipment, C-RNTI and AS context identification.
Optionally, the key is an old key stored by the terminal device or a new key derived by the terminal device. Preferably, the derived new key is employed when the terminal device moves to a new cell.
The terminal equipment identification comprises one of Context ID, C-RNTI and Resume ID. If the terminal device identifier is agreed between the terminal device and the base station, the terminal device may not display the identifier and send the identifier to the base station.
The integrity protection algorithm may be configured for transmitting data or signaling.
In another embodiment of the present invention, the identifier of the original cell and the identifier of the current cell may also be used as one of the uplink security input parameters.
Step 1502, the terminal device sends the uplink information and the uplink MAC-I to the base station.
For example, the terminal device sends uplink information, Context ID, and the uplink MAC-I to the base station.
Optionally, if the terminal device uses the stored old key, the base station is the base station storing the old key for the terminal device.
Optionally, if the terminal device uses the derived new key, the base station has a base station for the terminal device to derive the new key.
Optionally, if the terminal device moves across base stations, the base station receiving the uplink MAC-I forwards the uplink MAC-I to the base station having the key corresponding to the terminal device for processing.
In step 1503, the base station sends determination information (ACK) to the terminal device.
Step 1503 is an optional step and may not be performed.
Step 1504, the base station performs integrity check according to the uplink MAC-I.
For example, the base station compares the received uplink MAC-I with the stored uplink MAC-I or the uplink MAC-I generated by the base station, and if the received uplink MAC-I is the same as the stored uplink MAC-I, the base station determines that the terminal device is legal, and if the received uplink MAC-I is not the same as the stored uplink MAC-I, the base station indicates that the terminal device is illegal, and the base station instructs the terminal device to release resources.
For example, after receiving the uplink information, the base station generates an uplink MAC-I according to all or part of a COUNT (COUNT) value corresponding to a radio bearer for transmitting the uplink information and the uplink security input parameter.
In step 1505, the base station generates a downlink MAC-I.
Optionally, if the terminal device uses the stored old key, the downlink MAC-I is generated by the base station having the old key of the terminal device based on the old key.
Optionally, if the terminal device moves across base stations, the base station generating the downlink MAC-I is a base station processing and receiving the uplink MAC-I.
Optionally, if the terminal device uses the derived new key, the downlink MAC-I is generated by the base station having the new key derived by the processor 1401 based on the new key.
For example, the base station generates the downlink MAC-I according to the COUNT value and the downlink security input parameter.
Optionally, if there is no downlink data or signaling, the downlink security input parameter includes at least one of: key, integrity protection algorithm, terminal device identification, radio BEARER identification (BEARER ID), DIRECTION of transmission (DIRECTION), uplink information.
In another embodiment of the present invention, the key, the integrity protection algorithm, the terminal device identifier, the radio BEARER identifier (BEARER ID), the sending DIRECTION (DIRECTION), and the uplink information included in the uplink security input parameter and the downlink security input parameter may be the same or different, respectively.
Step 1506, the base station sends downlink MAC-I to the terminal device.
For example, after receiving the uplink information, the base station may optionally send a downlink MAC-I and a terminal device identifier to the terminal device, and the terminal device checks whether the base station receiving the data is legal according to the downlink MAC-I.
For example, after receiving the downlink MAC-I, the terminal device compares the downlink MAC-I with the stored downlink MAC-I or the generated downlink MAC-I, and if the downlink MAC-I is the same as the stored downlink MAC-I, the terminal device determines that the base station is legal, and if the downlink MAC-I is not the same as the stored downlink MAC-I, the terminal device determines that the base station is illegal, and the terminal device releases resources.
Optionally, the COUNT value of the downlink MAC-I generated by the base station may be sent to the terminal device simultaneously with the downlink MAC-I. If the base station and the terminal device agree on the COUNT value to use, the base station may not transmit the COUNT value.
Optionally, the base station generates the downlink MAC-I based on the above manner only when there is no RRC message. And the BSR of the base station requests the PDCP to generate the downlink MAC-I when receiving the data without signaling.
Optionally, starting a timer when the terminal device sends the uplink MAC-I; and after the timer is overtime, if the terminal equipment sends the uplink information again, the terminal equipment sends the uplink MAC-I again.
In another embodiment of the present invention, steps 1505 and 1506 are optional steps, and may not be performed.
Fig. 16 is a flowchart illustrating an integrity check method according to another embodiment of the present invention, in which a terminal device communicates with a first base station/distributed unit through an air interface, the first base station/distributed unit communicates with a second base station/centralized unit through a wired or wireless interface, the first base station/distributed unit acquires and manages resources from the second base station/centralized unit, and the second base station/centralized unit manages a context (context) of each terminal device.
Step 1601, the terminal device generates an uplink MAC-I.
For example, the terminal device generates an uplink MAC-I for integrity check according to all or part of a COUNT (COUNT) value corresponding to a radio bearer transmitting the uplink information and the uplink security input parameter.
For example, the uplink information includes: an uplink message (e.g., RRC message, preamble, reestablishment message, access stratum context restoration request), uplink data or uplink control signaling (e.g., MAC layer control signaling such as BSR; physical layer control signaling such as ACK; RLC layer control signaling such as RLC status report), or, an uplink data and access stratum context restoration request message.
For example, the uplink security input parameter includes at least one of: the method comprises the steps of secret key, integrity protection algorithm, terminal equipment identification, radio BEARER identification (BEARER ID), sending DIRECTION (DIRECTION), uplink information, a cell entering into an INACTIVE state, a current cell identification of the terminal equipment, C-RNTI and AS context identification.
The COUNT value includes PDCP SN and HFN. For example, the terminal device generates the uplink MAC-I according to the PDCP SN and HFN of the COUNT value and the uplink security input parameter. For another example, the terminal device generates the uplink MAC-I according to the uplink security input parameter and one of the PDCP SN and the HFN of the COUNT value.
Optionally, the key is an old key stored by the terminal device or a new key derived by the terminal device. Preferably, the derived new key is employed when the terminal device moves to a new cell.
The terminal equipment identification comprises one of Context ID, C-RNTI and Resume ID. If the terminal device identifier is agreed between the terminal device and the base station, the terminal device may not display the identifier and send the identifier to the base station.
The integrity protection algorithm may be configured for transmitting data or signaling.
In another embodiment of the present invention, the identifier of the original cell and the identifier of the current cell may also be used as one of the uplink security input parameters.
Step 1602, the terminal device sends the uplink information and the uplink MAC-I to the first base station/distributed unit.
For example, the terminal device sends uplink information, Context ID, and the uplink MAC-I to the base station.
Optionally, if the terminal device uses the stored old key, the base station is the base station storing the old key for the terminal device.
Optionally, if the terminal device uses the derived new key, the base station has a base station for the terminal device to derive the new key.
Optionally, if the terminal device moves across base stations, the base station receiving the uplink MAC-I forwards the uplink MAC-I to the base station having the key corresponding to the terminal device for processing.
Step 1603, the first base station/distribution unit sends determination information (ACK) to the terminal device.
Step 1603 is an optional step that may not be performed.
Step 1604, the first base station/distributed unit sends the uplink information, Context ID and the uplink MAC-I to the second base station/centralized unit.
Step 1605, the second base station/centralized unit checks the integrity according to the uplink MAC-I.
For example, the second base station/centralized unit compares the received uplink MAC-I with the stored uplink MAC-I or the uplink MAC-I generated by the second base station/centralized unit, and if the received uplink MAC-I is the same as the stored uplink MAC-I or the uplink MAC-I generated by the second base station/centralized unit, the terminal device is determined to be legal, and if the received uplink MAC-I is not the same as the stored uplink MAC-I, the terminal device is determined to be illegal, and the base station instructs the terminal device to release resources.
For example, after receiving the uplink information, the second base station/centralized unit generates an uplink MAC-I according to all or part of a COUNT (COUNT) value corresponding to a radio bearer for transmitting the uplink information and the uplink security input parameter.
In step 1606, the second base station/centralized unit generates a downlink MAC-I.
Optionally, if the terminal device uses the stored old key, the downlink MAC-I is generated by the base station having the old key of the terminal device based on the old key.
Optionally, if the terminal device moves across base stations, the base station generating the downlink MAC-I is a base station processing and receiving the uplink MAC-I.
Optionally, if the terminal device uses the derived new key, the downlink MAC-I is generated by the base station having the new key derived by the processor 1401 based on the new key.
For example, the second base station/centralized unit generates the downlink MAC-I according to the COUNT value and a downlink security input parameter.
Optionally, if there is no downlink data or signaling, the downlink security input parameter includes at least one of: key, integrity protection algorithm, terminal device identification, radio BEARER identification (BEARER ID), DIRECTION of transmission (DIRECTION), uplink information.
In another embodiment of the present invention, the key, the integrity protection algorithm, the terminal device identifier, the radio BEARER identifier (BEARER ID), the sending DIRECTION (DIRECTION), and the uplink information included in the uplink security input parameter and the downlink security input parameter may be the same or different, respectively.
Step 1607, the second base station/centralized unit sends the downlink MAC-I to the first base station/distributed unit.
For example, after receiving the uplink information, the second base station/centralized unit may optionally send a downlink MAC-I and a terminal device identifier to the terminal device, where the downlink MAC-I is used for the terminal device to check whether the base station receiving the data is legal.
In another embodiment of the present invention, after receiving the uplink information, the second base station/centralized unit sends the downlink MAC-I and the terminal device identifier to the first base station/distributed unit.
Optionally, the second base station/centralized unit sends the downlink MAC-I, the terminal equipment identifier and the COUNT value to the first base station/distributed unit. If the second bs/centralized unit and the terminal device agree to use the COUNT value, the second bs/centralized unit may not send the COUNT value.
Optionally, the second base station/centralized unit generates the downlink MAC-I based on the above manner only when there is no RRC message. For example, the BSR of the second base station/centralized unit requests the PDCP entity to generate the downlink MAC-I only when receiving data without signaling.
Step 1608, the first base station/distribution unit sends the downlink MAC-I to the terminal device.
And the terminal equipment carries out validity check on the first base station/distributed unit and the second base station/centralized unit according to the received downlink MAC-I.
For example, after receiving the downlink MAC-I, the terminal device compares the downlink MAC-I with the downlink MAC-I stored in the terminal device or the generated downlink MAC-I, and if the downlink MAC-I is the same as the downlink MAC-I, the terminal device determines that the first base station/distributed unit and the second base station/centralized unit are legal, and if the downlink MAC-I is not the same as the downlink MAC-I, the terminal device determines that the first base station/distributed unit and the second base station/centralized unit are illegal, and the terminal device releases resources.
In another embodiment of the present invention, the first base station/distribution unit sends the downlink MAC-I and a terminal device identity to the terminal device.
Optionally, starting a timer when the terminal device sends the uplink MAC-I; and after the timer is overtime, if the terminal equipment sends the uplink information again, the terminal equipment sends the uplink MAC-I again.
Fig. 17 is a flowchart illustrating a resource allocation method according to another embodiment of the present invention, where in this embodiment, a base station is a first base station or a gNB, for example, a terminal device in an INACTIVE state in a single cell or a paging area.
The resource allocation method is performed by a distributed unit of a first base station or a gNB, and if the resource allocation method is performed by a distributed unit of a gNB, the gNB comprises a distributed unit and a centralized unit, and the distributed unit and the centralized unit are connected through wires or wirelessly. In another embodiment of the present invention, if the resource allocation method is performed by a first base station, the first base station is connected to a second base station through a wired or wireless connection, so that the first base station and the distributed unit have the same function in this embodiment, and the second base station and the centralized unit have the same function in this embodiment, that is, this embodiment describes two communication scenarios: one is that a terminal device communicates with a first base station through an air interface, and then the first base station communicates with a second base station, where the first base station acquires and manages resources by the second base station, and the second base station manages contexts (contexts) of the terminal devices, and the first base station may also be referred to as a serving base station, and the second base station may also be referred to as an anchor base station; the other is that the terminal device communicates with a distributed unit of the base station through an air interface, and then the distributed unit communicates with a centralized unit of the base station, the distributed unit acquires and manages resources from the centralized unit, and the centralized unit manages contexts (contexts) of the terminal devices.
Optionally, the first base station or the second base station may be a base station (BTS) in a GSM system or a CDMA system, a base station (NodeB) in a WCDMA system, an evolved node b (eNodeB) in an LTE system, or a base station (gNB) of a new radio access network.
The resources include at least one of: SR sending resources, CQI reporting resources, CSI reporting resources and SRS reporting resources.
The paging area refers to a wireless network area range in which the terminal device is located, the area may be a single cell or a plurality of cells, the terminal device has a unique wireless network identifier (Resume ID) or context identifier (context ID), and if the terminal device moves between cells in the paging area, the terminal device does not need to notify the network, such as a base station.
Step 1701, the terminal equipment receives at least one of the following resources sent by the base station through physical layer control signaling or MAC CE: SR sending resources, CQI reporting resources, CSI reporting resources and SRS reporting resources.
For example, when receiving the RAR message or the CR message or the time period between the RAR message and the CR message, the terminal device receives the resource sent by the base station through physical layer control signaling or MAC CE.
Optionally, before the terminal device receives the resource sent by the base station, the method further includes: and the terminal equipment sends uplink information.
Step 1702, the terminal device sends corresponding information using the received resource.
For example, if the terminal device needs to send a scheduling request, the terminal device sends the scheduling request to the base station by using the received SR transmission resource.
For example, if the terminal device needs to send CQI, the terminal device sends CQI to the base station using the received CQI reporting resource.
For example, if the terminal device needs to send CSI, the terminal device sends CSI to the base station using the received CSI reporting resource.
For example, if the terminal device needs to send the SRS, the terminal device sends the SRS to the base station by using the received SRS reporting resource.
After the terminal equipment finishes sending the corresponding information, the terminal equipment also sends the verification information sent by the terminal equipment to the base station.
For example, the terminal device further sends an uplink MAC-I to the base station, where the uplink MAC-I is used for the base station to perform integrity check, and the integrity check refers to the description of the foregoing embodiments and is not described herein again.
The terminal equipment also receives a dedicated resource release indication or a verification success indication sent by the base station through a physical layer control signaling or an MAC CE.
Fig. 18 is a schematic structural diagram of a terminal device according to another embodiment of the present invention, in this embodiment, a terminal device in an INACTIVE state in a single cell or a paging zone is taken, and a base station is a first base station or a gNB as an example.
The resource allocation method is performed by a distributed unit of a first base station or a gNB, and if the resource allocation method is performed by a distributed unit of a gNB, the gNB comprises a distributed unit and a centralized unit, and the distributed unit and the centralized unit are connected through wires or wirelessly. In another embodiment of the present invention, if the resource allocation method is performed by a first base station, the first base station is connected to a second base station through a wired or wireless connection, so that the first base station and the distributed unit have the same function in this embodiment, and the second base station and the centralized unit have the same function in this embodiment, that is, this embodiment describes two communication scenarios: one is that a terminal device communicates with a first base station through an air interface, and then the first base station communicates with a second base station, where the first base station acquires and manages resources by the second base station, and the second base station manages contexts (contexts) of the terminal devices, and the first base station may also be referred to as a serving base station, and the second base station may also be referred to as an anchor base station; the other is that the terminal device communicates with a distributed unit of the base station through an air interface, and then the distributed unit communicates with a centralized unit of the base station, the distributed unit acquires and manages resources from the centralized unit, and the centralized unit manages contexts (contexts) of the terminal devices.
Optionally, the first base station or the second base station may be a base station (BTS) in a GSM system or a CDMA system, a base station (NodeB) in a WCDMA system, an evolved node b (eNodeB) in an LTE system, or a base station (gNB) of a new radio access network.
The resources include at least one of: SR sending resources, CQI reporting resources, CSI reporting resources and SRS reporting resources.
The paging area refers to a wireless network area range in which the terminal device is located, the area may be a single cell or a plurality of cells, the terminal device has a unique wireless network identifier (Resume ID) or context identifier (context ID), and if the terminal device moves between cells in the paging area, the terminal device does not need to notify the network, such as a base station.
The terminal device includes: a receiver 1801, a transmitter 1802, and a processor 1803, wherein the receiver 1801, the transmitter 1802, and the processor 1803 are connected to each other by a bus.
The receiver 1801 is configured to receive, through a physical layer control signaling or MAC CE, at least one of the following resources sent by a base station: SR sending resources, CQI reporting resources, CSI reporting resources and SRS reporting resources; the transmitter 1802 is configured to transmit corresponding information using the received resource.
Optionally, the receiver 1801 is configured to receive, through a physical layer control signaling or a MAC CE, the resource sent by the base station when receiving the RAR message or the CR message or a time period between the RAR message and the CR message.
Optionally, before the receiver 1801 receives the resource sent by the base station, the transmitter 1802 is further configured to send uplink information.
For example, if the processor 1803 determines that a scheduling request needs to be transmitted, the transmitter 1802 transmits the scheduling request to the base station using the received SR transmission resource.
For example, if the processor 1803 determines that CQI needs to be sent, the transmitter 1802 sends CQI to the base station using the received CQI reporting resource.
For example, if the processor 1803 determines that CSI needs to be sent, the transmitter 1802 sends CSI to the base station using the received CSI reporting resource.
For example, if the processor 1803 determines that an SRS needs to be transmitted, the transmitter 1802 transmits the SRS to the base station using the received SRS reporting resource.
After the transmitter 1802 finishes transmitting the corresponding information, the transmitter 1802 further transmits the check information transmitted by the terminal device to the base station.
For example, the transmitter 1802 is further configured to transmit an uplink MAC-I to the base station, where the uplink MAC-I is used for the base station to perform integrity check, and the integrity check refers to the description of the foregoing embodiments and is not described herein again.
The receiver 1801 is further configured to receive a dedicated resource release indication or a verification success indication sent by the base station through a physical layer control signaling or an MAC CE.
In another embodiment of the present invention, the processor 1803 is further configured to start a timer when the transmitter 1802 transmits the MAC-I, if the timer expires, the processor 1803 determines that the receiver 1801 does not receive a verification success indication, determines that the integrity verification fails, and the processor 1803 releases a related resource or RRC suspend, reconfigure, and update a key.
In implementation, at least one step of the above method may be performed by a hardware integrated logic circuit in a processor, or the integrated logic circuit may perform the at least one step under instruction driving in a software form. Thus, the communication means may be a single chip or a chip set. The steps of a method disclosed in connection with the embodiments of the present application may be directly implemented by a hardware processor, or may be implemented by a combination of hardware and software modules in a processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in a memory, and a processor reads information in the memory and completes the steps of the method in combination with hardware of the processor. To avoid repetition, it is not described in detail here.
It should be understood that, in the embodiments of the present application, the sequence numbers of the above-mentioned processes do not imply an execution sequence, and the execution sequence of the processes should be determined by their functions and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the unit is only one logical functional division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
This functionality, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present disclosure, and all the changes or substitutions should be covered by the scope of the present invention. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (19)

1. An integrity checking method, the method comprising:
generating an uplink message authentication code MAC-I for integrity check according to all or part of a count value corresponding to a radio bearer for sending uplink information and an uplink security input parameter, wherein the uplink information is a reestablishment message or an access stratum context recovery request;
sending the generated uplink MAC-I to a base station; and
and receiving the downlink MAC-I from the base station and carrying out integrity check.
2. The method of claim 1 wherein the count value comprises a packet data convergence protocol PDCP sequence number and a hyper frame number.
3. The method according to claim 1 or 2, wherein the uplink security input parameters comprise at least one of: the method comprises the steps of secret key, integrity protection algorithm, terminal equipment identification, radio bearer identification, sending direction, uplink information, a cell entering an INACTIVE INACTIVE state, current cell identification of the terminal equipment, cell radio network temporary identification (C-RNTI) and Access Stratum (AS) context identification.
4. The method of claim 3, wherein the key is a stored old key or a derived new key.
5. The method of claim 4, wherein the new key is a new key derived when moving to a new cell.
6. The method according to any one of claims 1 to 5,
the downlink MAC-I is generated according to the counting value and the downlink safety input parameter;
the method further comprises the following steps: and checking whether the base station receiving the information is legal or not according to the downlink MAC-I.
7. The method of claim 6, wherein the downlink security input parameters comprise at least one of: secret key, integrity protection algorithm, terminal equipment identification, radio bearer identification, sending direction and uplink information.
8. The method of claim 7, wherein the transmission direction indicates uplink or downlink.
9. The method according to any of claims 1-8, wherein said sending the generated uplink MAC-I to a base station comprises:
starting a timer when the uplink MAC-I is sent;
the method further comprises the following steps:
and when the timer is overtime, sending the uplink information and sending the uplink MAC-I.
10. An integrity checking apparatus, comprising: a processor, a transmitter and a receiver;
the processor is used for generating an uplink message authentication code MAC-I for integrity check according to all or part of a count value corresponding to a radio bearer for sending uplink information and an uplink security input parameter, wherein the uplink information is a reestablishment message or an access stratum context recovery request;
the transmitter is used for transmitting the generated uplink MAC-I to a base station;
the receiver is configured to receive a downlink MAC-I from the base station, and the processor is further configured to perform integrity check according to the downlink MAC-I.
11. The apparatus of claim 10, wherein the count value comprises a packet data convergence protocol PDCP sequence number and a hyper frame number.
12. The apparatus of claim 10 or 11, wherein the uplink security input parameters comprise at least one of: the method comprises the steps of secret key, integrity protection algorithm, terminal equipment identification, radio bearer identification, sending direction, uplink information, a cell entering an INACTIVE INACTIVE state, current cell identification of the terminal equipment, cell radio network temporary identification (C-RNTI) and Access Stratum (AS) context identification.
13. The apparatus of claim 12, wherein the key is a new key derived by the processor; or
The apparatus also includes a memory, the key being an old key stored by the memory.
14. The apparatus of claim 13, wherein the new key is a new key derived by the processor when moving to a new cell.
15. The apparatus of any one of claims 10-14,
the downlink MAC-I is generated according to the counting value and the downlink safety input parameter;
the processor is further configured to verify whether the base station is legitimate according to the downlink MAC-I.
16. The apparatus of claim 15, wherein the downlink security input parameters comprise at least one of: secret key, integrity protection algorithm, terminal equipment identification, radio bearer identification, sending direction and uplink information.
17. The apparatus of claim 16, wherein the transmit direction represents uplink or downlink.
18. The apparatus of any of claims 10-17, wherein the processor is further configured to start a timer when the transmitter transmits the uplink MAC-I;
the transmitter is further configured to transmit the uplink MAC-I when the timer times out and transmits the uplink information.
19. A computer-readable storage medium having instructions stored thereon that, when executed, cause a computer to perform the method of any of claims 1-9.
CN202111091292.0A 2017-03-16 2017-03-16 Resource allocation method and device and terminal equipment Pending CN113873668A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111091292.0A CN113873668A (en) 2017-03-16 2017-03-16 Resource allocation method and device and terminal equipment

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710157343.2A CN108633003B (en) 2017-03-16 2017-03-16 Resource allocation method and device and terminal equipment
CN202111091292.0A CN113873668A (en) 2017-03-16 2017-03-16 Resource allocation method and device and terminal equipment

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201710157343.2A Division CN108633003B (en) 2017-03-16 2017-03-16 Resource allocation method and device and terminal equipment

Publications (1)

Publication Number Publication Date
CN113873668A true CN113873668A (en) 2021-12-31

Family

ID=63521689

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201710157343.2A Active CN108633003B (en) 2017-03-16 2017-03-16 Resource allocation method and device and terminal equipment
CN202111091292.0A Pending CN113873668A (en) 2017-03-16 2017-03-16 Resource allocation method and device and terminal equipment

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN201710157343.2A Active CN108633003B (en) 2017-03-16 2017-03-16 Resource allocation method and device and terminal equipment

Country Status (2)

Country Link
CN (2) CN108633003B (en)
WO (1) WO2018166331A1 (en)

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111148224B (en) * 2018-11-01 2022-11-18 大唐移动通信设备有限公司 Resource allocation method and communication equipment
CN111132328A (en) * 2018-11-01 2020-05-08 夏普株式会社 User equipment and method executed by user equipment
KR20200062793A (en) * 2018-11-27 2020-06-04 삼성전자주식회사 Electronic device for managing bearer and operation method thereof
CN111328149B (en) * 2018-12-14 2024-04-16 北京三星通信技术研究有限公司 Scheduling method, corresponding node, UE and computer readable medium
CN111315039B (en) * 2018-12-24 2023-02-24 维沃移动通信有限公司 Integrity protection failure processing method and terminal
CN113303017B (en) * 2019-01-11 2023-09-29 Lg 电子株式会社 Method for transmitting and receiving signal in wireless communication system and apparatus supporting the same
CN111565459B (en) * 2019-02-14 2023-11-10 华为技术有限公司 Communication method and device
CN111726210B (en) * 2019-03-21 2022-02-08 大唐移动通信设备有限公司 Information acquisition and transmission method, network equipment, terminal and centralized network configuration
CN114128394B (en) * 2019-08-02 2024-04-09 华为技术有限公司 Resource processing method and device
CN110536472A (en) * 2019-08-08 2019-12-03 中兴通讯股份有限公司 A kind of data transmission method, device and computer readable storage medium
CN113994733B (en) * 2019-08-16 2024-01-12 Oppo广东移动通信有限公司 Method for controlling measurement, electronic equipment and storage medium
CN112398554B (en) * 2019-08-16 2022-06-07 华为技术有限公司 Method for channel measurement and terminal device
CN112788795B (en) * 2019-11-08 2023-04-07 华为技术有限公司 Connection recovery method and device
CN113747427B (en) * 2020-05-29 2023-12-12 维沃移动通信有限公司 Method, device, terminal and storage medium for processing downlink data
CN113766516B (en) * 2020-06-01 2024-01-26 中国电信股份有限公司 Uplink configuration method, system, base station and storage medium
CN115804201A (en) * 2020-07-17 2023-03-14 中兴通讯股份有限公司 Data forwarding in a centralized unit and distributed unit separation architecture

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101675618A (en) * 2007-08-10 2010-03-17 Lg电子株式会社 Method for detecting security error in mobile telecommunications system and device of mobile telecommunications
CN101779391A (en) * 2007-08-12 2010-07-14 Lg电子株式会社 Handover method with link failure recovery, wireless device and base station for implementing such method
WO2010078684A1 (en) * 2008-12-30 2010-07-15 中兴通讯股份有限公司 Initial security activation processing method and terminal thereof
CN101931956A (en) * 2002-08-12 2010-12-29 埃沃列姆公司 A kind of method of protecting the integrality of the message that sends in the mobile radio system
CN102026165A (en) * 2009-09-14 2011-04-20 中兴通讯股份有限公司 Method and system for identifying terminal
CN102300335A (en) * 2010-06-22 2011-12-28 中兴通讯股份有限公司 Method and device for processing wireless link error
CN102487507A (en) * 2010-12-01 2012-06-06 中兴通讯股份有限公司 Method and system for realizing integrality protection
CN104469745A (en) * 2014-11-26 2015-03-25 大唐移动通信设备有限公司 Application method and device for integrity protection parameters
US20160227403A1 (en) * 2015-01-29 2016-08-04 Motorola Mobility Llc Method and apparatus for operating a user client wireless communication device on a wireless wide area network

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005060132A1 (en) * 2003-12-18 2005-06-30 Electronics And Telecommunications Research Institute Method and apparatus for requesting and reporting channel quality information in mobile communication system
CN101426271B (en) * 2007-10-29 2011-08-10 电信科学技术研究院 Method and system for channel configuration
CN101500309B (en) * 2008-01-30 2010-12-01 大唐移动通信设备有限公司 Method, system and apparatus for allocating dedicated scheduling request resource
JP5061164B2 (en) * 2009-08-17 2012-10-31 株式会社エヌ・ティ・ティ・ドコモ Mobile communication method, mobile station and radio base station
CN103796320B (en) * 2010-01-08 2018-01-16 华为技术有限公司 The method and device of dispatch request
CN106211331A (en) * 2015-05-05 2016-12-07 中兴通讯股份有限公司 The method and apparatus of resource distribution
CN106162730B (en) * 2016-07-12 2019-11-15 上海华为技术有限公司 A kind of method of communication, equipment and system

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101931956A (en) * 2002-08-12 2010-12-29 埃沃列姆公司 A kind of method of protecting the integrality of the message that sends in the mobile radio system
CN101675618A (en) * 2007-08-10 2010-03-17 Lg电子株式会社 Method for detecting security error in mobile telecommunications system and device of mobile telecommunications
CN101779391A (en) * 2007-08-12 2010-07-14 Lg电子株式会社 Handover method with link failure recovery, wireless device and base station for implementing such method
WO2010078684A1 (en) * 2008-12-30 2010-07-15 中兴通讯股份有限公司 Initial security activation processing method and terminal thereof
CN102026165A (en) * 2009-09-14 2011-04-20 中兴通讯股份有限公司 Method and system for identifying terminal
CN102300335A (en) * 2010-06-22 2011-12-28 中兴通讯股份有限公司 Method and device for processing wireless link error
CN102487507A (en) * 2010-12-01 2012-06-06 中兴通讯股份有限公司 Method and system for realizing integrality protection
CN104469745A (en) * 2014-11-26 2015-03-25 大唐移动通信设备有限公司 Application method and device for integrity protection parameters
US20160227403A1 (en) * 2015-01-29 2016-08-04 Motorola Mobility Llc Method and apparatus for operating a user client wireless communication device on a wireless wide area network

Also Published As

Publication number Publication date
CN108633003B (en) 2021-10-01
CN108633003A (en) 2018-10-09
WO2018166331A1 (en) 2018-09-20

Similar Documents

Publication Publication Date Title
CN108633003B (en) Resource allocation method and device and terminal equipment
JP6618215B2 (en) System and method for control plane of D2D communication
WO2018196520A1 (en) Beam management method, terminal device, and network device
CN111165060B (en) Random access method, device and communication system
KR102348988B1 (en) Beam failure recovery method, device and device
CN115398987A (en) Small data transmission in Radio Resource Control (RRC) inactive state
CN107360562B (en) Apparatus and method for processing radio resource control status change
KR102240644B1 (en) Data transmission/reception apparatus and method, and communication system
KR20190115466A (en) Method, Device, and System for Communication in a Wireless Network
US20190364539A1 (en) Data transmission processing method, user equipment, and base station
CN108365912B (en) Transmission mode switching method and device
WO2019140663A1 (en) Timer-based bandwidth part switching method, terminal device, and network device
CN112771910B (en) Method and system for measurement reporting for network maintenance
CN113412675A (en) Communication device, infrastructure device and method
CN115552961A (en) Method, apparatus, and computer storage medium for communication
KR101719072B1 (en) Method for transmitting scheduling request effectively in wireless communication system
CN111466128B (en) Configuration method, device and communication system for beam failure recovery
JP6294492B2 (en) Uplink data transmission confirmation apparatus, device and method
US20220287004A1 (en) Communication control method and user equipment
CN112997575B (en) Wireless communication method, terminal device and network device
CN114208079B (en) Data transmission method and device and communication system
JP6455768B2 (en) Uplink data transmission confirmation apparatus, device and method
CN116941323A (en) Triggering method, device and system for discontinuous reception command of side link
CN116097898A (en) Method and apparatus for data transmission and RNAU procedure for UE in RRC inactive state
CN116347651A (en) Wireless communication method, terminal device and network device

Legal Events

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