WO2018166331A1 - Resource allocation method and apparatus, and terminal device - Google Patents
Resource allocation method and apparatus, and terminal device Download PDFInfo
- Publication number
- WO2018166331A1 WO2018166331A1 PCT/CN2018/076889 CN2018076889W WO2018166331A1 WO 2018166331 A1 WO2018166331 A1 WO 2018166331A1 CN 2018076889 W CN2018076889 W CN 2018076889W WO 2018166331 A1 WO2018166331 A1 WO 2018166331A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- base station
- terminal device
- resource
- uplink
- unit
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 132
- 238000013468 resource allocation Methods 0.000 title claims abstract description 65
- 238000012795 verification Methods 0.000 claims abstract description 182
- 230000011664 signaling Effects 0.000 claims description 89
- 230000005540 biological transmission Effects 0.000 claims description 80
- 230000004044 response Effects 0.000 claims description 26
- 238000012790 confirmation Methods 0.000 claims description 4
- 238000010586 diagram Methods 0.000 description 25
- 230000008569 process Effects 0.000 description 23
- 230000006870 function Effects 0.000 description 20
- 238000011084 recovery Methods 0.000 description 20
- 101100396152 Arabidopsis thaliana IAA19 gene Proteins 0.000 description 18
- 101100274486 Mus musculus Cited2 gene Proteins 0.000 description 18
- 101150096622 Smr2 gene Proteins 0.000 description 18
- 238000004891 communication Methods 0.000 description 15
- 238000012545 processing Methods 0.000 description 13
- 238000005516 engineering process Methods 0.000 description 6
- 230000003068 static effect Effects 0.000 description 6
- 239000000725 suspension Substances 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000007774 longterm Effects 0.000 description 3
- 238000005259 measurement Methods 0.000 description 3
- 238000013461 design Methods 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 238000010295 mobile communication Methods 0.000 description 2
- 230000001413 cellular effect Effects 0.000 description 1
- 239000003795 chemical substances by application Substances 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000977 initiatory effect Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000000737 periodic effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W72/00—Local resource management
- H04W72/12—Wireless traffic scheduling
- H04W72/1263—Mapping of traffic onto schedule, e.g. scheduled allocation or multiplexing of flows
- H04W72/1268—Mapping of traffic onto schedule, e.g. scheduled allocation or multiplexing of flows of uplink data flows
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L5/00—Arrangements affording multiple use of the transmission path
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W72/00—Local resource management
- H04W72/04—Wireless resource allocation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W72/00—Local resource management
- H04W72/12—Wireless traffic scheduling
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W74/00—Wireless channel access
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W74/00—Wireless channel access
- H04W74/08—Non-scheduled access, e.g. ALOHA
- H04W74/0833—Random access procedures, e.g. with 4-step access
Definitions
- the embodiments of the present invention relate to communication technologies, and in particular, to a resource allocation method and apparatus, and a terminal device.
- the Long Term Evolution (LTE) network has a faster transmission rate, and its highest theoretical transmission rate can reach tens of gigabytes per second (Gigabyte, Gb for short).
- UE User Equipment
- LTE Long-Term Evolution
- LTE-DETACHED When the UE is powered on, the UE first enters the LTE-DETACHED state. At this time, the UE does not register with the network, and may fail to register because there is no registration or no suitable network.
- LTE-IDLE (idle state): The UE is registered to the network but is not activated. The user equipment is in the standby state. There is no state when the service exists. After the UE is powered on, it stays in the idle mode and is in the low power mode. The domain has already learned the location of the UE. If there is service establishment, the UE can switch to the ACTIVE mode in a very short time and continue the previously activated data session.
- the network side can know exactly the tracking area where the UE is located. When the UE is called, the network can page within the latest tracking area of the user equipment.
- IDLE state the UE has no context, and the UE is not connected to the base station (eNodeB) and the core network (CN).
- LTE-ACTIVE refers to the state when the radio resource control (RRC) connection is established between the user equipment and the radio network controller (RNC).
- RRC radio resource control
- RNC radio network controller
- the user equipment has Stationed in a cell, the UE is in a state of receiving and transmitting data, which is the only active state in which the UE and the network actually exchange data and signaling.
- the UE in the LTE-ACTIVE state moves between two LTE cells, a handover will occur, and the eNodeB can determine the mechanism of handover, thereby reducing the delay of data transmission interruption.
- the eNodeB stores the Access Stratum (AS) context of the UE, and the Cell Radio Network Temming Identity (C-RNTI) of the UE.
- AS Access Stratum
- C-RNTI Cell Radio Network Temming Identity
- connection state There is also a concept of a light connection state in LTE.
- a state called Inactive State (INACTIVE) is also introduced in the Radio Access Technology (RAT) of the 5G system, and the INACTIVE state and LTE are light.
- the connection state is similar, except that the UE is connected between the CN and the access network.
- FIG. 1 it is a schematic diagram of a network structure of a 5G system in the prior art, where the 5G system generally includes a new core network (NG-core, NGC) and at least one new radio access technology base station (gNB), at 5G.
- the gNB In the INACTIVE state of the system, the gNB has a dedicated connection with the NGC.
- the gNB stores the context of the UE, and also stores the identifier of the UE context (Resume ID or Context ID) of an area (called a notification area or a paging area).
- the Resume ID is unique in the area, and the Resume ID generally includes a base station identifier (gNB ID) and a user equipment identifier (UE ID), and the area corresponding to the Resume ID may include multiple cells.
- gNB ID base station identifier
- UE ID user equipment identifier
- the interface between the CN and the Radio Access Network (RAN) is anchored to one RAN node (for example, the second base station), and then the cell reselection mobility can be performed.
- the UE does not need to notify the base station when moving within the area of one Resume ID, and once the UE leaves the area, the UE needs to inform the base station of its location. This process is called location area update.
- FIG. 2 it is a schematic diagram of a process of RRC connection recovery in the prior art.
- the UE randomly selects a signature ID (Signature ID), and sends a Preamble (Message1) corresponding to the signature ID.
- the physical layer processes the signal through correlation, and accurately acquires the uplink time advance.
- the amount and the uplink transmit power read the preamble of the UE, and report it to the MAC.
- the MAC of the gNB allocates a C-RNTI, selects a response channel of the preamble, and transmits the C-RNTI to the physical layer.
- the physical layer transmits C-RNTI, time and power information (Message 2) to the UE on the response channel of the preamble corresponding to the signature ID.
- the gNB can distinguish preambles of different UEs and provide different C-RNTIs and other information to different UEs on different preamble response channels. .
- the UE initiates an RRC connection recovery procedure in the message 3.
- the UE sends a connection recovery request (RRC Conn. Resume Request) to the gNB, and the gNB allocates a dedicated transmission scheduling request (Scheduling Reqeust, SR) resource and channel quality indication (Channel).
- RRC Conn. Resume Request a connection recovery request
- SR scheduling Reqeust
- Channel quality indication Channel quality indication
- the quality indicator reports the resource, the channel state information (CSI), the resource, the sounding reference signal (SRS), and other bearer configuration parameters; the UE receives the connection recovery response message sent by the gNB ( RRC Conn.Resume Response), the connection recovery response message includes the UE-specific SR transmission resource, CQI reporting resource, CSI reporting resource, SRS transmission resource, and other bearer configuration parameters, and the UE then sends an RRC connection recovery complete message (RRC Conn) .Resume Complete), then the UE enters the ACTIVE state for data transmission, and releases the RRC link resource after the data transmission is completed.
- RRC Conn RRC connection recovery complete
- the gNB when the gNB is composed of a centralized unit (CU) and a distributed unit (DU), the CU is generally responsible for centralized radio resources and connection management control, and the DU generally includes implementing distributed users.
- Surface processing function The resources allocated by the CU are first transmitted to the DU and then transmitted to the UE by the DU. Therefore, the interface between the CU and the DU may be an undesired transmission link, and the connection process is extended by the transmission of the DU and the CU, so the AC connection is entered. The delay is longer and the delay in sending data is also compared.
- the UE needs to initiate a random access procedure. After the access succeeds, the DU needs to wait for the CU to allocate through the RRC message.
- Dedicated resources Dedicated resources.
- 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), and the terminal device communicates with the first base station through an air interface.
- the first base station communicates with the second base station by wire or wirelessly, and the second base station manages various resources and contexts of the respective terminal devices.
- the base station also needs to wait for the integrity check of the terminal device to allocate resources to the terminal device, and thus, it also causes more delay.
- aspects of the present invention provide a resource allocation method and apparatus, and a terminal device, which can reduce the delay in allocating resources.
- a first aspect of the present invention provides a resource allocation method, where the method includes: receiving, by a first base station or a distributed unit of a base station, uplink information sent by a terminal device; and uplink resources managed by the first base station or a distributed unit The dedicated uplink resource is allocated to the terminal device and sent to the terminal device.
- the method further includes: if the first base station or the distributed unit detects that the terminal device sends or receives an uplink resource configuration acknowledgement sent by the terminal device in the allocated dedicated uplink resource.
- the feedback indication notifies the second base station or the centralized unit of the base station that the dedicated uplink resource has been allocated to the terminal device.
- the method further includes: the first base station or the distributed unit receives verification information sent by the terminal device; the first base station or the distributed unit uses the terminal device The verification information is sent to the second base station or a centralized unit of the base station.
- the method further includes: if the first base station or the distributed unit receives a dedicated resource that is sent by the second base station or the centralized unit fails to perform integrity check on the terminal device Release the indication; the first base station or the distributed unit notifies the terminal device of the dedicated resource release indication.
- the method further includes: receiving, by the first base station or the distributed unit, a verification result of performing integrity check on the terminal device by the second base station or the centralized unit; The first base station or the distributed unit determines whether to generate and send a dedicated resource release indication to the terminal device according to the check result.
- the method further includes: the first base station or the distributed unit acquiring at least a part of an uplink resource from the second base station or a centralized unit of the base station as the first base station or the distributed unit Managed uplink resources.
- the uplink resource managed by the first base station or the distributed unit includes at least one of the following: an SR sending resource, a CQI reporting resource, a CSI reporting resource, an SRS reporting resource, a PUSCH resource for sending uplink data, and a single cell.
- the terminal device identifier for scheduling is not limited to: a SR sending resource, a CQI reporting resource, a CSI reporting resource, an SRS reporting resource, a PUSCH resource for sending uplink data, and a single cell.
- the method further includes: sending, by the first base station or the distributed unit, the allocated dedicated uplink resource in a time period between sending a RAR message or a CR message or sending a RAR message and a CR message To the terminal device.
- the method further includes: sending, by the first base station or the distributed unit, the allocated dedicated uplink resource to the terminal device by using physical layer control signaling or a MAC CE or a PDCP control unit.
- a second aspect of the present invention provides a resource allocation apparatus, where the resource allocation apparatus is a distributed unit of a first base station or a base station, and includes: a processor, configured to allocate a dedicated uplink resource to a terminal equipment from an uplink resource that is managed by the same. a transmitter, configured to send the allocated dedicated uplink resource to the terminal device, and a receiver, configured to receive information that is sent by the terminal device by using the received dedicated uplink resource.
- the processor is further configured to: when the terminal device detects that the allocated dedicated uplink resource is sent, or the receiver receives the uplink resource configuration confirmation feedback indication sent by the terminal device, generate the notification information.
- 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 send the notification information to a second base station or a centralized unit of the base station.
- the receiver is further configured to receive the verification information sent by the terminal device, where the transmitter is further configured to send the verification information of the terminal device to the second base station or the base station.
- Centralized unit is further configured to send the verification information of the terminal device to the second base station or the base station.
- the receiver is further configured to receive a dedicated resource release indication sent when the second base station or the centralized unit fails to perform an integrity check on the terminal device; the transmitter is further configured to: The dedicated resource release indication notifies the terminal device.
- the receiver is further configured to receive a verification result that the second base station or the centralized unit performs an integrity check on the terminal device; the processor is further configured to perform, according to the verification A result is determined whether a dedicated resource release indication is generated; the sender is further configured to send the generated dedicated resource release indication to the terminal device when the verification fails.
- the receiver is further configured to acquire, from the second base station or the centralized unit of the base station, at least a part of the uplink resource as an uplink resource managed by the first base station or the distributed unit.
- the uplink resource managed by the first base station or the distributed unit includes at least one of the following: an SR sending resource, a CQI reporting resource, a CSI reporting resource, an SRS reporting resource, a PUSCH resource for sending uplink data, and a single cell.
- the terminal device identifier for scheduling is not limited to: a SR sending resource, a CQI reporting resource, a CSI reporting resource, an SRS reporting resource, a PUSCH resource for sending uplink data, and a single cell.
- the sender is further configured to send the allocated dedicated uplink resource to the terminal device during a time period between sending the RAR message or the CR message or sending the RAR message and the CR message.
- the transmitter is further configured to send the allocated dedicated uplink resource to the terminal device by using physical layer control signaling or a MAC CE or a PDCP control unit.
- a third aspect of the present invention provides a resource allocation method, where the method includes: a base station receiving a random access request sent by a terminal device; and a time period between when the base station sends a RAR message or when sending a RAR message and a CR message At least one of the SR transmission resource, the CQI reporting resource, the CSI reporting resource, and the SRS reporting resource allocation is sent to the terminal device.
- the method further includes: the base station receiving the verification information sent by the terminal device; and the base station sending a dedicated resource release indication when the terminal device fails to perform an integrity check according to the verification information. To the terminal device.
- the method further includes: the base station sending the allocated resource to the terminal device by using physical layer control signaling or a MAC CE or a PDCP control unit.
- a fourth aspect of the present invention provides a resource allocation apparatus, where the apparatus includes: a receiver, configured to receive a random access request sent by a terminal device, and a processor, configured to allocate an SR sending resource and a CQI reporting resource that are managed by the processor, At least one of the CSI reporting resource and the SRS reporting resource is sent to the terminal device, and the transmitter is configured to send the allocated resource to the terminal device.
- the receiver is further configured to receive verification information sent by the terminal device, where the processor is further configured to perform integrity verification on the terminal device according to the verification information;
- the transmitter is further configured to send a dedicated resource release indication to the terminal device if the integrity check fails.
- the transmitter is further configured to send the allocated resource to the terminal device by using physical layer control signaling or a MAC CE or a PDCP control unit.
- a fifth aspect of the present invention provides an integrity verification method, the method comprising: generating, by the terminal device, all or part of a count (COUNT) value corresponding to a radio bearer transmitting uplink information and an uplink security input parameter for integrity The verified uplink MAC-I; the terminal device sends the generated uplink MAC-I to perform integrity check on the base station.
- COUNT count
- the method further includes: receiving, by the terminal device, 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; The device checks whether the base station is a legal base station according to the downlink MAC-I.
- a sixth aspect of the present invention provides an integrity check apparatus, the apparatus comprising: a processor, configured to generate all or part of a count (COUNT) value corresponding to a radio bearer transmitting uplink information, and generate an uplink secure input parameter
- COUNT count
- the uplink MAC-I of the integrity check is used by the transmitter to send the generated uplink MAC-I to perform integrity check on the base station.
- the device further includes: a receiver, 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 a 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, where the method includes: receiving, by a physical layer control signaling or a MAC CE, a terminal device, at least one resource sent by a base station: an SR sending resource, a CQI reporting resource, and a CSI reporting resource. And the SRS reports the resource; the terminal device sends the corresponding information by using the received resource.
- the terminal device receives the resource sent by the base station when receiving the RAR message or the CR message or receiving the RAR message and the CR message.
- the method before the receiving, by the terminal device, the resource sent by the base station, the method further includes: the terminal device sending uplink information.
- a seventh aspect of the present invention provides a terminal device, where the terminal device includes: a receiver, configured to receive, by using a physical layer control signaling or a MAC CE, at least one resource sent by a base station: an SR sending resource, a CQI reporting resource, The CSI reports the resource and the SRS report resource, and the sender is configured to send the corresponding information by using the received resource.
- the receiver is configured to receive the resource sent by the base station when receiving the RAR message or the CR message or receiving the RAR message and the CR message.
- the transmitter is further configured to send uplink information before the receiver receives the resource sent by the base station.
- the resource allocation method and apparatus and the terminal device described above allocate and send resources to the terminal device before the terminal device integrity check, and can reduce the waiting delay when allocating resources.
- FIG. 1 is a schematic diagram of a network structure of a 5G system in the prior art
- FIG. 2 is a schematic diagram of a process of RRC connection recovery in the prior art
- FIG. 3 is a schematic flowchart of 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 structural diagram of a resource allocation system according to another embodiment of the present invention.
- FIG. 6 is a schematic flowchart diagram of a method for acquiring a resource according to another embodiment of the present invention.
- FIG. 7 is a schematic flowchart diagram of a method for acquiring a resource according to another embodiment of the present invention.
- FIG. 8 is a schematic flowchart of a resource allocation method according to another embodiment of the present invention.
- FIG. 9 is a schematic flowchart of 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 schematic flowchart of 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 schematic flowchart diagram of an integrity verification method according to another embodiment of the present invention.
- FIG. 14 is a schematic structural diagram of an integrity verification apparatus according to another embodiment of the present invention.
- FIG. 15 is a schematic flowchart diagram of an integrity verification method according to another embodiment of the present invention.
- FIG. 16 is a schematic flowchart diagram of an integrity verification method according to another embodiment of the present invention.
- FIG. 17 is a schematic flowchart of 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.
- a “module” as referred to herein generally refers to a program or instruction stored in a memory that is capable of performing certain functions;
- "unit” as referred to herein generally refers to a functional structure that is logically divided, the "unit” It can be implemented by pure hardware or a combination of hardware and software.
- Multiple as referred to herein means two or more. "and/or”, describing the association relationship of the associated objects, indicating that there may be three relationships, for example, A and/or B, which may indicate that there are three cases where A exists separately, A and B exist at the same time, and B exists separately.
- the character "/" generally indicates that the contextual object is an "or" relationship.
- the techniques described herein can be used in a variety of communication systems, such as current 2G, 3G communication systems and new wireless access networks, such as the Global System of Mobile communication (GSM) system, Code Division Multiple Access (Code Division Multiple Access). , CDMA) system, Time Division Multiple Access (TDMA) system, Wideband Code Division Multiple Access (WCDMA), Frequency Division Multiple Addressing (FDMA) system, orthogonal frequency Orthogonal Frequency-Division Multiple Access (OFDMA) system, single carrier FDMA (SC-FDMA) system, General Packet Radio Service (GPRS) system, Long Term Evolution (LTE) system, UMTS networks and other such communication systems.
- GSM Global System of Mobile communication
- CDMA Code Division Multiple Access
- TDMA Time Division Multiple Access
- WCDMA Wideband Code Division Multiple Access
- FDMA Frequency Division Multiple Addressing
- OFDMA orthogonal frequency Orthogonal Frequency-Division Multiple Access
- SC-FDMA single carrier FDMA
- GPRS General Packe
- the terminal device may be a wireless terminal or a wired terminal, and the wireless terminal may be a device that provides voice and/or data connectivity to the terminal device, a handheld device with wireless connection function, or a wireless modem. Other processing equipment.
- the wireless terminal can communicate with one or more core networks via a radio access network (eg, RAN, Radio Access Network), which can be a mobile terminal, such as a mobile phone (or "cellular" phone) and with a mobile terminal
- RAN Radio Access Network
- the computers for example, can be portable, pocket-sized, handheld, computer-integrated or in-vehicle mobile devices that exchange language and/or data with the wireless access network.
- a wireless terminal may also be called a system, a subscriber unit, a subscriber station, a mobile station, a mobile station, a remote station, an access point, or an access point.
- Remote Terminal Access Terminal, User Terminal, User Equipment, or User Agent.
- a base station may refer to a device in an access network that communicates with a wireless terminal over one or more sectors over an air interface.
- the base station can be used to convert the received air frame to the IP packet as a router between the wireless terminal and the rest of the access network, wherein the remainder of the access network can include an Internet Protocol (IP) network.
- IP Internet Protocol
- the base station can also coordinate attribute management of the air interface.
- the base station may be a base station (Base Transceiver Station, BTS) in a GSM system or a CDMA system, or may be a base station (NodeB) in a WCDMA system, or may be an evolved base station (eNodeB or eNB or e- in an LTE system).
- the access network device of the new radio access network is also referred to as a base station (gNB), an NR Node (node), or an NR BS (Base Station), which is not limited herein, but is conveniently referred to herein as gNB for convenience of description.
- gNB base station
- node node
- NR BS Base Station
- the base station controller (ie, the control node) may be a base station controller (BSC) in GSM or CDMA, or may be a radio network controller (RNC) in WCDMA. limited.
- BSC base station controller
- RNC radio network controller
- FIG. 3 a schematic flowchart of a resource allocation method according to an embodiment of the present invention, where the resource allocation method is performed by a distributed unit of a first base station or a base station, if the resource allocation method is performed by a distributed unit of a base station Executing, the base station includes a distributed unit and a centralized unit, and the distributed unit and the centralized unit are connected by wire or wireless.
- the first base station is connected to the second base station by wire or wireless, and therefore, the first base station and the distributed in this embodiment
- the unit has the same function
- the second base station has the same function as the centralized unit
- the present embodiment describes two communication scenarios: one is that the terminal device communicates with the first base station through the air interface, and then the first base station and the second base station
- the first base station acquires resources and manages the second base station
- the second base station manages a context of each terminal device, where the first base station may also be referred to as a serving base station, and the second base station may also It is called an anchor base station;
- the other is that the terminal device communicates with the distributed unit of the base station through the air interface, and then the distributed unit communicates with the centralized unit of the base station, and the distributed unit acquires resources from the centralized unit and manages the same.
- the centralized unit manages the context of each terminal device.
- 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 WCDMA, an evolved base station (eNodeB) in an LTE system, or a new A base station (gNB) of a radio access network.
- BTS base station
- NodeB base station
- eNodeB evolved base station
- gNB new A base station
- Step 301 The first base station/distributed unit allocates a dedicated uplink resource to the terminal device from the uplink resource it manages, and sends the dedicated uplink resource to the terminal device.
- the first base station/distributed unit may allocate the dedicated uplink resource to the terminal device from the uplink resource it manages before and after receiving the uplink information sent by the terminal device, and send the dedicated uplink resource to the terminal device.
- the first base station/distributed unit does not receive the first base station/distributed unit if the timer maintained by the first base station/distributed unit expires before receiving the uplink information of the terminal device.
- the terminal device uses the information sent by the resource, it is determined that the terminal device does not have the corresponding resource or releases the corresponding resource, and actively allocates the dedicated uplink resource to the terminal device and sends the dedicated uplink resource to the terminal device.
- the uplink information may be service data, an RRC message (eg, an RRC connection setup request, an RRC connection reestablishment request), a measurement report, a layer control information of an SR, a MAC, or an RLC, or a random access request (eg, sending Preamble).
- RRC message eg, an RRC connection setup request, an RRC connection reestablishment request
- measurement report e.g., a measurement report
- a layer control information of an SR e.g, a MAC, or an RLC
- a random access request eg, sending Preamble
- the timing of the terminal device request for example, the terminal device is to transmit data, but there is no dedicated dedicated dedicated control or data dedicated resource.
- Step 302 The first base station or the distributed unit receives information that is sent by the terminal device by using the received dedicated uplink resource.
- the “dedicated” refers to only the terminal device, that is, the dedicated uplink resource is only allocated to the terminal device for use.
- resources allocated by a plurality of terminal devices are the same over a period of time.
- the first base station or the distributed unit passes physical layer control signaling or a Media Access Control (MAC) Control Unit (MAC CE) or a Packet Data Convergence Protocol (PDCP). And the control unit sends the allocated dedicated uplink resource to the terminal device.
- MAC Media Access Control
- MAC CE Media Access Control Control Unit
- PDCP Packet Data Convergence Protocol
- the first base station/distributed unit detects that the terminal device notifies the second when the allocated dedicated uplink resource is sent or receives an uplink resource configuration acknowledgement feedback indication sent by the terminal device.
- the base station or centralized unit ie, the second base station/centralized unit
- the first base station/distributed unit receives the verification information sent by the terminal device; the first base station/distributed unit sends the verification information of the terminal device to the second Base station / centralized unit.
- the verification information may be a Message Authentication Code for Integrity (MAC-I), and the integrity check may also be referred to as a validity check.
- MAC-I Message Authentication Code for Integrity
- the MAC-I is carried by an RRC message, wherein 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.
- the input of the terminal device to generate the MAC-I may include an access layer context identifier (Context ID).
- the first base station/distributed unit receives a dedicated resource release indication sent when the second base station/centralized unit fails to perform integrity check on the terminal device; the first base station/distribution The formula unit notifies the terminal device of the dedicated resource release indication.
- the second base station/centralized unit determines whether to generate and send a dedicated resource release indication 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 transmitting a dedicated resource release indication to the first base station/distributed unit; if the verification is successful, the second base station/centralized unit can generate and send a verification success indication to the first base station/distributed unit
- the second base station/centralized unit may also not generate a verification success indication. If the second base station/centralized unit does not generate a check success indication, the first base station/distributed unit fails to receive a check success indication when the timer expires, and the default check succeeds. The timer can be started when the first base station/distributed unit transmits verification information to the second base station/centralized unit.
- the first base station/distributed unit may send the verification success indication to the terminal device, or may not send the verification success. Indicated to the terminal device.
- the first base station/distributed unit does not receive the verification success indication generated by the second base station/centralized unit and generates a dedicated resource release indication to notify the terminal device within a predetermined time.
- the first base station/distributed unit receives a verification result of performing integrity check on the terminal device by the second base station/centralized unit; the first base station/distributed unit according to the The verification result determines whether a dedicated resource release indication is generated and transmitted to notify the terminal device.
- the first base station/distributed unit For example, if the verification fails, the first base station/distributed unit generates and sends a dedicated resource release indication to the terminal device according to the verification failure indication 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, and the first base station/distributed unit may not send the first The verification success indication of the second base station/centralized unit is sent 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 device, if the terminal device does not receive the dedicated resource release indication when the timer expires The default verification is successful. The timer may be started when the terminal device sends verification information to the first base station/distributed unit.
- the terminal device if the terminal device does not receive the verification success indication within a predetermined time, the default verification fails, and then the dedicated uplink resource is released.
- the second base station/centralized unit or the first base station/distributed unit determines whether to release dedicated resources according to a result of the access control.
- the first base station/distributed unit receives a result of performing access control on the terminal device by the second base station/centralized unit; the first base station/distributed unit is configured according to the access The result of the control determines whether a dedicated resource release indication is generated and transmitted to notify the terminal device.
- the first base station/distributed unit receives a dedicated resource release indication sent when the second base station/centralized unit performs an access rejection on the terminal device; the first base station/distributed unit Notifying the terminal device of the dedicated resource release indication.
- the first base station/distributed unit acquires at least a part of uplink resources from the second base station/centralized unit as an uplink resource managed by the first base station/distributed unit.
- the uplink resource managed by the first base station/distributed unit includes at least one of the following: an SR uplink resource, a CQI report resource, a CSI report resource, an SRS report resource, and a physical uplink shared channel (Physical Uplink Shared Channel, PUSCH). ) Resources.
- the first base station/distributed unit may manage other resources that need to be sent to the terminal device, such as a terminal device identifier used by the single cell for scheduling, in addition to managing uplink resources ( For example C-RNTI).
- a terminal device identifier used by the single cell for scheduling, in addition to managing uplink resources ( For example C-RNTI).
- the first base station/distributed unit receives the uplink information sent by the terminal device in an IDLE state, an ACTIVE state, and an inactive state (INACTIVE).
- the terminal device in the IDLE state sends a random access request, a physical layer or a MAC layer, RLC layer signaling, service data, or a re-establishment request
- the terminal device in the ACTIVE state sends the service data, the physical layer or the MAC layer, and the RLC layer signaling.
- the terminal device of INACTIVE transmits an RRC connection recovery request, a random access request, service data, MAC layer signaling, RLC layer signaling, etc., and the information can be sent on a shared or dedicated resource.
- the first base station or the distributed unit sends the dedicated resource release indication to the terminal device by using physical layer control signaling or a MAC CE or a PDCP control unit.
- the distributed unit of the first base station or the base station receives the protocol layer configuration parameter about the data transmission sent by the second base station/centralized unit.
- the protocol layer configuration parameters include parameters of the RLC of the corresponding logical channel.
- the protocol layer configuration parameters may be terminal device specific or common default configuration parameters.
- the distributed unit of the first base station or base station and the transmission channel before the second base station/centralized unit may also be pre-configured based on logical channel parameters or public transmission announcements.
- the distributed unit of the first base station or the base station after receiving the uplink information of the terminal device, performs data processing based on the pre-provisioned or default parameters, and performs the RLC service data unit.
- a Service Data Unit (SDU) or an RLC Protocol Data Unit (PDU) is forwarded to the centralized unit of the second base station or base station.
- the distributed unit of the first base station or the base station receives the uplink information of the terminal device, and after the allocated dedicated resource, is the received new logical channel.
- the RLC entity is created, and the RL pre-configured or default RLC configuration parameters corresponding to the channel are used for data processing.
- the SN of the RLC PDU starts from 0, and uses CU provisioning or default MAC configuration parameters. If the distributed unit of the first base station or the base station does not determine the mode of the RLC, the received data stored for a period of time is awaiting for uplink feedback or downlink retransmission.
- the distributed unit of the first base station or the base station sends the processed RLC SDU and the channel identifier and the terminal device identifier to the second base station/centralized unit.
- the distributed unit of the first base station or the base station may send the RLC SDU and the channel identifier to the second base station/centralized unit after triggering the establishment of the transmission channel dedicated to the terminal device.
- the distributed unit of the first base station or the base station after receiving the uplink information of the terminal device, the distributed unit of the first base station or the base station does not have to wait for the second base station/centralized unit to perform the integrity check on the terminal device, and then The second base station/centralized unit acquires the resource and sends the resource to the terminal device, but the first base station/distributed unit does not wait for the integrity check result to autonomously allocate the managed resource to the terminal device in advance, saving the first The time at which a base station/distributed unit waits for an integrity check and the time at which resources are acquired from the second base station/centralized unit.
- the second base station/centralized unit notifies the terminal device to release resources by using the first base station/distributed unit, or the first base station/distributed unit according to the The integrity check result of the second base station/centralized unit notifies the terminal device to release the resource.
- FIG. 4 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 distributed unit of a first base station or a base station, if the resource allocation apparatus is a distributed 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 wireless.
- the resource allocation device is the first base station
- the first base station is connected to the second base station by wire or wireless, and therefore, the first base station and the distributed unit in this embodiment
- the second base station has the same function as the centralized unit, that is, the present embodiment describes two communication scenarios: one is that the terminal device communicates with the first base station through the air interface, and then the first base station communicates with the second base station.
- the second base station of the first base station acquires resources and manages, and the second base station manages a context of each terminal device, where the first base station may also be referred to as a serving base station, and the second base station may also be called
- the terminal device communicates with the distributed unit of the base station through the air interface, and then the distributed unit communicates with the centralized unit of the base station, and the distributed unit acquires resources from the centralized unit and manages the
- the centralized unit manages the context of each terminal device.
- 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, or a base station (NodeB) in a WCDMA, and an evolved base station in an LTE system. (eNodeB), or a base station (gNB) of a new radio access network.
- BTS base station
- NodeB base station
- gNB base station
- the receiver 401, the processor 402, the transmitter 403, and the memory 404 may be included regardless of whether the resource allocation device is a first base station or a distributed unit of a base station.
- the receiver 401, the processor 402, the transmitter 403, and the memory 404 are connected to each other through a bus.
- the processor 402 may be an Erasable Programmable Logic Device (EPLD), a Field Programmable Gate Array (FPGA), a digital signal processor. (DSP, Digital Signal Processor) chip, Application Specific Integrated Circuit (ASIC), or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, and the like.
- EPLD Erasable Programmable Logic Device
- FPGA Field Programmable Gate Array
- DSP Digital Signal Processor
- ASIC Application Specific Integrated Circuit
- the memory 404 is configured to store code or instruction information.
- 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 memory 404 may also include non-volatile random access memory.
- the memory 404 can also store information of the device type.
- the processor 402 is configured to allocate a dedicated uplink resource to the terminal device from an uplink resource that it manages.
- the receiver 401 is configured to receive uplink information sent by the terminal device.
- the processor 402 allocates a dedicated uplink resource to the terminal device from the uplink resource it manages, for example, at the receiver 401.
- the processor 402 determines that the receiver 401 does not receive the information sent by the terminal device using the resource, and determines that the timer is The terminal device does not have a corresponding resource or releases the corresponding resource, and the processor 402 actively allocates a dedicated uplink resource to the terminal device.
- the uplink information may be service data, an RRC message (eg, an RRC connection setup request, an RRC connection reestablishment request), a measurement report, an SR, or a random access request (eg, sending a preamble).
- RRC message eg, an RRC connection setup request, an RRC connection reestablishment request
- measurement report e.g., a measurement report, a SR
- random access request eg, sending a preamble
- the transmitter 403 is configured to send the allocated dedicated uplink resource to the terminal device.
- the receiver 401 is further configured to receive information that is sent by the terminal device by using the received dedicated uplink resource.
- the “dedicated” refers to only the terminal device, that is, the dedicated uplink resource is only allocated to the terminal device for use.
- resources allocated by a plurality of terminal devices are the same over a period of time.
- the transmitter 403 sends the allocated dedicated uplink resource to the terminal device by using physical layer control signaling or a MAC CE or a PDCP control unit.
- the processor 402 is further configured to: when the terminal device sends the uplink resource configuration confirmation feedback indication sent by the terminal device,
- the transmitter 403 is further configured to send the notification information to the second base station/centralized unit, where the notification information is used to notify the second base station/centralized unit that the dedicated uplink resource has been allocated to the terminal device. .
- the receiver 401 is further configured to receive the verification information sent by the terminal device, where the transmitter 403 is further configured to send the verification information of the terminal device to the second base station/ Centralized unit.
- the verification information may be a message authentication code for Integrity (MAC-I), for example, the MAC-I is carried by an RRC message, where the MAC-I may It is 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 the independent data and signaling as the verification 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 to generate the MAC-I may include an access layer context identifier (Context ID).
- Context ID access layer context identifier
- the receiver 401 is further configured to receive a dedicated resource release indication that is sent when the second base station/centralized unit fails to perform integrity check on the terminal device; the transmitter 403 is further configured to: Notifying the terminal device of the dedicated resource release indication.
- 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 the indication to the receiver 401; if the verification is successful, the second base station/centralized unit may generate and send a verification success indication to the receiver 401, and the second base station/central unit may also No verification success indication is generated. If the second base station/centralized unit does not generate a check success indication, the processor 402 is further configured to: if the check success indication is not received when the timer expires, the default check succeeds. The timer can be started when the transmitter 403 sends verification information to the second base station/centralized unit.
- the sender 403 may send the verification success indication to the terminal device, or may not send the verification success indication to the Terminal Equipment.
- the processor 402 is further configured to: generate and send a dedicated resource release indication notification station if the receiver 401 does not receive the verification success indication sent by the second base station/centralized unit within a predetermined time. Said terminal equipment.
- the receiver 401 is further configured to receive a verification result that the second base station/centralized unit performs an integrity check on the terminal device; the processor 402 is further configured to use, according to the school The result of the test determines whether a dedicated resource release indication is generated and transmitted to notify the terminal device. For example, if the verification fails, the processor 402 is further configured to generate a dedicated resource release indication according to the verification failure indication sent by the second base station/centralized unit, where the transmitter 403 is further configured to send the dedicated resource. Release the indication to the terminal device; if the verification is successful, the transmitter 403 may send the verification success indication sent by the second base station/centralized unit to the terminal device, and the transmitter 403 may also The verification success indication is not sent to the terminal device.
- the sender 403 does not send the verification success indication to the terminal device, if the terminal device does not receive the dedicated resource release indication when the timer expires, the default verification is successful.
- the timer can be started when the terminal device sends verification information to the distributed unit.
- the terminal device if the terminal device does not receive the verification success indication within a predetermined time, the default verification fails, and then the dedicated uplink resource is released.
- the processor 402 is further configured to acquire, from the second base station/centralized unit, at least a part of the uplink resource as an uplink resource managed by the distributed unit.
- the uplink resource managed by the distributed unit includes at least one of the following: an SR transmission resource, a CQI reporting resource, a CSI reporting resource, an SRS reporting resource, and a Physical Uplink Shared Channel (PUSCH) resource for transmitting data.
- an SR transmission resource e.g., a SR transmission resource, a CQI reporting resource, a CSI reporting resource, an SRS reporting resource, and a Physical Uplink Shared Channel (PUSCH) resource for transmitting data.
- PUSCH Physical Uplink Shared Channel
- the processor 402 is further configured to manage, in addition to managing uplink resources, other resources that need to be sent to the terminal device, such as a terminal device identifier used by the single cell for scheduling (for example, C-RNTI).
- a terminal device identifier used by the single cell for scheduling for example, C-RNTI
- 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).
- the terminal device in the IDLE state sends a random access request, a physical layer or a MAC layer, RLC layer signaling, service data, or a re-establishment request
- the terminal device in the ACTIVE state sends the service data, the physical layer or the MAC layer, and the RLC layer signaling.
- the terminal device of INACTIVE transmits an RRC connection recovery request, a random access request, service data, MAC layer signaling, RLC layer signaling, etc., and the information can be sent on a shared or dedicated resource.
- the transmitter 403 is further configured to send the dedicated resource release indication to the terminal device by using physical layer control signaling or a MAC CE or a PDCP control unit.
- the receiver 401 receives protocol layer configuration parameters for data transmission sent by the second base station/centralized unit.
- the protocol layer configuration parameters include parameters of the RLC of the corresponding logical channel.
- the protocol layer configuration parameters may be terminal device specific or common default configuration parameters.
- the distributed unit of the first base station or base station and the transmission channel before the second base station/centralized unit may also be pre-configured based on logical channel parameters or public transmission announcements.
- the receiver 401 after receiving the uplink information of the terminal device, the receiver 401 performs data processing based on the pre-provisioned or default parameters, and the transmitter 403 sets the RLC.
- a Service Data Unit (SDU) or an RLC Protocol Data Unit (PDU) is forwarded to the centralized unit of the second base station or base station.
- SDU Service Data Unit
- PDU RLC Protocol Data Unit
- the receiver 401 receives the uplink information of the terminal device, and after the dedicated resource allocated by the processor 402, creates a new logical channel for the received new logical channel.
- the RLC entity uses the CU pre-configured or default RLC configuration parameters corresponding to the channel and performs data processing.
- the SN of the RLC PDU starts from 0, and uses CU provisioning or default MAC configuration parameters.
- the processor 402 is unsure of the mode of the RLC, the received data stored for a period of time is awaiting for uplink feedback or downlink retransmission.
- the transmitter 403 sends the processed RLC SDU and the channel identifier and the terminal device identifier to the second base station/centralized unit.
- the transmitter 403 may send the RLC SDU and the channel identifier to the second base station/centralized unit after triggering the establishment of the transmission channel dedicated to the terminal device.
- each step of the foregoing method may be completed by an integrated logic circuit of hardware in the processor 402 or an instruction in a form of software.
- the steps of the method disclosed in the embodiments of the present application may be directly implemented as a hardware processor, or may be performed by a combination of hardware and software modules in the processor.
- the software module can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like.
- the storage medium is located in the memory, and the processor 402 reads the information in the memory and combines the hardware to perform the steps of the above method. To avoid repetition, it will not be described in detail here.
- FIG. 5A is 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.
- the base station system 51 includes a first base station 511' and a second base station 512'
- the A base station 511'/distributed unit 511, a centralized unit 512, a first base station 511' or a second base station 512' may be either a base station (BTS) in a GSM system or a CDMA system, or a base station in a WCDMA (NodeB) ) an evolved base station (eNodeB) in an LTE system, or a base station (gNB) of a new radio access network.
- BTS base station
- NodeB NodeB
- eNodeB evolved base station
- LTE Long Term Evolution
- gNB base station
- the first base station 511'/distribution unit 511 is configured to allocate dedicated uplink resources to the terminal device 52 from the uplink resources it manages and transmit to the terminal device 52.
- the first base station 511'/distribution unit 511 is further configured to receive uplink information sent by the terminal device 52.
- the first base station 511 ′/distributed unit 511 may allocate the dedicated uplink resource to the terminal device 52 from the uplink resource it manages before or after receiving the uplink information sent by the terminal device 52.
- the terminal device 52 sends, for example, the first base station 511'/distributed unit 511, before receiving the uplink information of the terminal device 52, if the timer maintained by the first base station 511'/distribution unit 511 expires,
- the first base station 511 ′/distributed unit 511 does not receive the information that the terminal device 52 uses the resource to transmit, and determines that the terminal device 52 does not have the corresponding resource or releases the corresponding resource, and actively allocates the dedicated uplink to the terminal device 52.
- the resource is sent to the terminal device 52.
- the uplink information may be service data, an RRC message (eg, an RRC connection setup request, an RRC connection reestablishment request), a measurement report, an SR, or a random access request (eg, sending a preamble).
- RRC message eg, an RRC connection setup request, an RRC connection reestablishment request
- measurement report e.g., a measurement report, a SR
- random access request eg, sending a preamble
- the “dedicated” refers to only the terminal device 52, that is, the dedicated uplink resource is only allocated to the terminal device 52 for use.
- resources allocated by a plurality of terminal devices are the same over a period of time.
- the first base station 511 ′/distributed unit 511 sends the allocated dedicated uplink resource to the terminal device 52 by using physical layer control signaling or a MAC CE or a PDCP control unit.
- the first base station 511'/distribution unit 511 is further configured to receive information that the terminal device sends using the received dedicated uplink resource.
- the first base station 511 ′/distributed unit 511 is further configured to detect that the terminal device 52 sends or receives the uplink resource configuration acknowledgement sent by the terminal device 52 in the allocated dedicated uplink resource.
- the second base station 512'/centralized unit 512 is notified that the dedicated uplink resource has been allocated to the terminal device 52.
- the first base station 511 ′/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 use the terminal.
- the verification information of device 52 is sent to the second base station 512'/centralized unit 512.
- the verification information may be a message authentication code for Integrity (MAC-I), for example, the MAC-I is carried by an RRC message, where the MAC-I may It is 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 the 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, optionally, the input of the terminal device to generate the MAC-I may include an access layer context identifier (Context ID).
- Context ID access layer context identifier
- the first base station 511 ′/distributed unit 511 is further configured to receive a dedicated resource that is sent when the second base station 512 ′ or the centralized unit 512 fails to perform integrity check on the terminal device 52.
- the first base station 511'/distribution unit 511 is further configured to notify the terminal device 52 of the dedicated resource release indication.
- the second base station 512 ′/concentrated unit 512 is further configured to determine, according to the check result, whether to generate and send a dedicated resource release indication to the first base station 511 ′/distributed unit 511, if the verification 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 transmit a verification success indication to the first base station 511 '/distributed unit 511, and the second base station 512'/centralized unit 512 may also not generate a verification success indication.
- the first base station 511'/distribution unit 511 is further configured to: if the timer is timed out, if the verification success indication is not received The default verification is successful. The timer can be started when the first base station 511'/distributed unit 511 transmits check information to the second base station 512'/centralized unit 512.
- the first base station 511 ′/distributed unit 511 may send a verification success indication to the terminal device, or may not Sending the verification success indication to the terminal device.
- the first base station 511 ′/distributed unit 511 does not receive the verification success indication sent by the second base station 512 ′ or the centralized unit 512 within a predetermined time, generate and send a dedicated resource release indication notification.
- the terminal device If the first base station 511 ′/distributed unit 511 does not receive the verification success indication sent by the second base station 512 ′ or the centralized unit 512 within a predetermined time, generate and send a dedicated resource release indication notification.
- the terminal device if the first base station 511 ′/distributed unit 511 does not receive the verification success indication sent by the second base station 512 ′ or the centralized unit 512 within a predetermined time, generate and send a dedicated resource release indication notification.
- the terminal device if the first base station 511 ′/distributed unit 511 does not receive the verification success indication sent by the second base station 512 ′ or the centralized unit 512 within a predetermined time, generate and send a dedicated resource release indication notification.
- the first base station 511 ′/distributed unit 511 is further configured to receive a verification result of the integrity check performed by the second base station 512 ′ or the centralized unit 512 on the terminal device 52;
- the first base station 511 ′/distributed unit 511 is further configured to determine, according to the check result, whether to generate and send a dedicated resource release indication to notify the terminal device 52. For example, if the verification fails, the first base station 511'/distribution unit 511 is further configured to generate and send a dedicated resource release indication according to the verification failure indication sent by the second base station 512'/centralized unit 512.
- the terminal device 52 if the verification is successful, the first base station 511'/distribution unit 511 can send the verification success indication sent by the second base station 512'/centralized unit 512 to the terminal device 52.
- the first base station 511 ′/distributed unit 511 may also send the verification success indication of the second base station 512 ′ or the centralized unit 512 to the terminal device 52 . If the first base station 511'/distributed unit 511 does not send a check success indication of the second base station 512'/centralized unit 512 to the terminal device 52, the terminal device 52 when the timer expires If the dedicated resource release indication is not received, the default check is successful. The timer may be initiated when the terminal device 52 transmits verification information to the first base station 511'/distributed unit 511.
- the terminal device 52 if the terminal device 52 does not receive the verification success indication within a predetermined time, the default verification fails, and then the dedicated uplink resource is released.
- the first base station 511 ′/distributed unit 511 is further configured to acquire at least a part of uplink resources from the second base station 512 ′/concentrated unit 512 as the first base station 511 ′/distributed unit 511 .
- Managed uplink resources are further configured to acquire at least a part of uplink resources from the second base station 512 ′/concentrated unit 512 as the first base station 511 ′/distributed unit 511 .
- Managed uplink resources are managed uplink resources.
- the uplink resource managed by the first base station 511'/distributed unit 511 includes at least one of the following: an SR transmission resource, a CQI reporting resource, a CSI reporting resource, an SRS reporting resource, and a physical uplink shared channel PUSCH resource for transmitting data.
- the first base station 511 ′/distributed unit 511 is further configured to manage other resources that need to be sent to the terminal device 52, such as a single cell, in addition to managing uplink resources.
- the scheduled terminal device identifier for example, C-RNTI.
- the first base station 511'/distribution 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).
- the terminal device 52 in the IDLE state transmits a random access request or a re-establishment request
- the terminal device 52 in the ACTIVE state transmits the service data
- the terminal device 52 in the INACTIVE transmits the RRC connection recovery request.
- the terminal device in the IDLE state sends a random access request, a physical layer or a MAC layer, an RLC layer signaling, a service data, or a re-establishment request, and the terminal device in the ACTIVE state transmits service data, a physical layer or a MAC layer, and an RLC layer signaling.
- the INACTIVE terminal device transmits an RRC connection recovery request, a random access request, service data, MAC layer signaling, RLC layer signaling, etc., and the information can be sent on a shared or dedicated resource.
- the first base station 511 ′/distributed unit 511 is further configured to send the dedicated resource release indication to the terminal device by using physical layer control signaling or a MAC CE or a PDCP control unit.
- the first base station 511'/distribution unit 511 receives protocol layer configuration parameters about data transmission sent by the second base station 512'/centralized unit 512.
- the protocol layer configuration parameters include parameters of the RLC of the corresponding logical channel.
- the protocol layer configuration parameters may be terminal device specific or common default configuration parameters.
- the transmission channels preceding the first base station 511'/distributed unit 511 and the second base station 512'/centralized unit 512 may also be pre-configured based on logical channel parameters or public transmission announcements.
- the first base station 511 ′/distributed unit 511 after receiving the uplink information of the terminal device, performs data processing based on the pre-provisioned or default parameters, and performs RLC SDU or The RLC PDU is forwarded to the second base station 512'/centralized unit 512.
- the first base station 511 ′/distributed unit 511 receives the uplink information of the terminal device, and after the dedicated resource is allocated, the new logic is received.
- the channel creates an RLC entity, uses CU pre-configuration or default RLC configuration parameters corresponding to the channel and performs data processing.
- the SN of the RLC PDU starts from 0, and uses CU provisioning or default MAC configuration parameters. If the first base station 511'/distributed unit 511 is unsure of the mode of the RLC, the received data stored for a period of time is awaiting for uplink feedback or downlink retransmission.
- the first base station 511'/distribution unit 511 transmits the processed RLC SDU and the channel identifier and the terminal device identifier to the second base station 512'/centralized unit 512.
- the first base station 511'/distribution unit 511 may send the RLC SDU and the channel identifier to the second base station 512'/centralized unit 512 after triggering the establishment of the terminal device-specific transmission channel.
- FIG. 6 is a schematic flowchart diagram of a method for acquiring a resource according to another embodiment of the present invention.
- the method for acquiring a resource is performed by a first base station or a distributed unit of a base station, and if the method for acquiring a resource is performed by a distributed unit of a base station, the base station includes a distributed unit and a centralized unit, and the distributed The unit and the centralized unit are connected by wire or wirelessly.
- the first base station is connected to the second base station by wire or wireless, and therefore, the first base station and the distribution in this embodiment
- the second unit has the same function as the centralized unit, that is, the present embodiment describes two communication scenarios: one is that the terminal device communicates with the first base station through the air interface, and then the first base station and the second base station The base station communicates, the second base station acquires resources and manages the first base station, and the second base station manages a context of each terminal device, where the first base station may also be referred to as a serving base station, and the second base station is also It may be referred to as an anchor base station; the other is that the terminal device communicates with the distributed unit of the base station through the air interface, and then the distributed unit communicates with the centralized unit of the base station, and the distributed unit acquires resources from the centralized unit and manages
- the centralized unit manages the context of each terminal device.
- 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 WCDMA, an evolved base station (eNodeB) in an LTE system, or a new A base station (gNB) of a radio access network.
- BTS base station
- NodeB base station
- eNodeB evolved base station
- gNB new A base station
- Step 601 The first base station/distributed unit sends a resource acquisition request to the second base station/centralized unit.
- the resources managed by the first base station/distributed unit have been used up, and the resources are actively requested from the second base station/centralized unit; or the first base station/distributed unit is always or periodically
- the resource is requested to the second base station/central unit.
- the period parameter may be a default value or pre-assigned to the terminal device.
- the resource acquisition request may be a PUSCH resource that requests the second base station/centralized unit to send an SR sending resource, a CQI reporting resource, a CSI reporting resource, an SRS reporting resource, or sending data.
- the first base station/distributed unit may manage other resources that need to be sent to the terminal device, such as a terminal device identifier used by the single cell for scheduling, in addition to managing uplink resources ( For example C-RNTI).
- a terminal device identifier used by the single cell for scheduling, in addition to managing uplink resources ( For example C-RNTI).
- the first base station/distributed unit if the first base station/distributed unit periodically requests resources from the second base station/centralized unit, the first base station/distributed unit further reports to the The second base station/centralized unit transmits period related parameters, such as cycle time.
- the period related parameters may be carried in the resource acquisition request.
- Step 602 The second base station/centralized unit allocates resources.
- the second base station/centralized unit allocates at least one of the following resources: 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 the single cell for scheduling.
- the SR transmission resource is used by the terminal device to send the SR
- the CQI reporting resource is used for the terminal device to report the CQI
- the CSI reporting resource is used for the terminal device to send the CSI
- the SRS reporting resource is used for the terminal device to report the SRS
- the PUSCH resource for transmitting the data is used for the terminal.
- the device sends data
- the terminal device identifier used by the single cell for scheduling is used when the terminal device identifies the terminal device on the contention resource or is used to schedule resources or send downlink information to the terminal device.
- the second base station/centralized unit allocates configuration parameters related to the resource, such as a sending period or a sending number.
- Step 603 The first base station/distributed unit receives the resource allocated by the second base station/centralized unit.
- the first base station/distributed unit receives at least one of the following resources sent by the second base station/centralized unit: an SR transmission resource, a CQI reporting resource, a CSI reporting resource, an SRS reporting resource, a PUSCH resource, and a single The terminal device identifier used by the cell for scheduling.
- the first base station/distributed unit receives configuration parameters related to the resource, such as a sending period or a sending number.
- the first base station/distributed unit can acquire and manage at least one of the following resources: an SR sending resource, a CQI reporting resource, a CSI reporting resource, an SRS reporting resource, a PUSCH resource, and a single cell for scheduling. Terminal device identification.
- FIG. 7 is a schematic flowchart diagram of a method for acquiring resources according to another embodiment of the present invention.
- the method for acquiring a resource is performed by a first base station or a distributed unit of a base station, and if the method for acquiring a resource is performed by a distributed unit of a base station, the base station includes a distributed unit and a centralized unit, and the distributed The unit and the centralized unit are connected by wire or wirelessly.
- the first base station is connected to the second base station by wire or wireless, and therefore, the first base station and the distribution in this embodiment
- the second unit has the same function as the centralized unit, that is, the present embodiment describes two communication scenarios: one is that the terminal device communicates with the first base station through the air interface, and then the first base station and the second base station The base station communicates, the second base station acquires resources and manages the first base station, and the second base station manages a context of each terminal device, where the first base station may also be referred to as a serving base station, and the second base station is also It may be referred to as an anchor base station; the other is that the terminal device communicates with the distributed unit of the base station through the air interface, and then the distributed unit communicates with the centralized unit of the base station, and the distributed unit acquires resources from the centralized unit and manages
- the centralized unit manages the context of each terminal device.
- 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 WCDMA, an evolved base station (eNodeB) in an LTE system, or a new A base station (gNB) of a radio access network.
- BTS base station
- NodeB base station
- eNodeB evolved base station
- gNB new A base station
- Step 701 The first base station/distributed unit reports resource usage information to the second base station/centralized unit.
- the first base station/distributed unit detects that the terminal device uses or receives an acknowledgment response from the terminal device, and reports usage resource information to the second base station/centralized unit.
- the first base station/distributed unit may notify all the allocated resource lists to the second base station/centralized unit at one time, for example, the first base station/distributed unit may be through a user plane or a control plane. Report the way.
- the first base station/distributed unit informs the second base station/centralized unit of its resource usage at any time or periodically, wherein the periodic parameters may be default values or pre-assigned to the terminal device.
- the first base station/distributed unit reports the resource usage of at least one of the following: 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 the single cell for scheduling. For example, the first base station/distributed unit reports whether at least one resource of the foregoing various resources is used up, or reports a residual value or a used value of at least one resource of the foregoing various resources, and the like.
- the first base station/distributed unit if the first base station/distributed unit periodically reports resource usage information to the second base station/centralized unit, the first base station/distributed unit further The second base station/centralized unit transmits period related parameters, such as cycle time.
- the period related parameters may be carried in the resource usage information. Among them, this step is optional.
- Step 702 The second base station/centralized unit allocates resources to the first base station or the distributed unit.
- the terminal device 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 information about the switching or leaving the connected state.
- a second base station/centralized unit the second base station/centralized unit notifying the first base station/distributed unit of the following information according to the information of the handover or leaving the connection state of the terminal device: the terminal device leaves the connection state Or the terminal device has released the resource, or the resource allocated for the terminal device becomes available, and the first base station/distributed unit re-manages the released resource or available resource for allocation to other terminal device or Secondary allocation.
- the second base station/centralized unit periodically allocates resources to the first base station or the distributed unit.
- the second base station/centralized unit may further update the resources that can be allocated to the terminal device according to the resource usage information reported by the first base station/distributed unit to the first base station or the distributed unit.
- the first base station/distributed unit reports that at least one resource of the foregoing various resources has been used, and the second base station/centralized unit allocates the used resource to the first base station/distributed again. unit.
- the first base station/distributed unit reports a residual value or a used value of at least one resource of the foregoing various resources, if the second base station/centralized unit determines whether the remaining value of the resource is less than or equal to the first threshold.
- the second base station/centralized unit allocates the resource to the first base station/distributed unit again, and if the remaining value is greater than the first threshold, the second base station/ The centralized unit does not allocate the resource to the first base station/distributed 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 used value is less than the second threshold, the second base station/centralized unit is not allocated. The resource is given to the first base station/distributed unit.
- the second base station/centralized unit allocates at least one of the following resources: 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 the single cell for scheduling.
- Step 703 The first base station/distributed unit receives the resource allocated by the second base station/centralized unit.
- the first base station/distributed unit receives at least one of the following resources sent by the second base station/centralized unit: an SR transmission resource, a CQI reporting resource, a CSI reporting resource, an SRS reporting resource, a PUSCH resource, and a single The terminal device identifier used by the cell for scheduling.
- the first base station/distributed unit can acquire and manage at least one of the following resources: an SR sending resource, a CQI reporting resource, a CSI reporting resource, an SRS reporting resource, a PUSCH resource, and a single cell for scheduling. Terminal device identification.
- FIG. 8 is a schematic flowchart of a resource allocation method according to another embodiment of the present invention.
- a terminal device in an INACTIVE state in a single cell or paging area where the base station is the first base station or gNB is example.
- the resource allocation method is performed by a first base station or a distributed unit of a gNB, and if the resource allocation method is performed by a distributed unit of a gNB, the gNB includes a distributed unit and a centralized unit, and the distributed unit and The centralized unit is connected by wire or wireless.
- the first base station is connected to the second base station by wire or wireless, and therefore, the first base station and the distributed in this embodiment
- the unit has the same function
- the second base station has the same function as the centralized unit
- the present embodiment describes two communication scenarios: one is that the terminal device communicates with the first base station through the air interface, and then the first base station and the second base station
- the first base station acquires resources and manages the second base station
- the second base station manages a context of each terminal device, where the first base station may also be referred to as a serving base station, and the second base station may also It is called an anchor base station;
- the other is that the terminal device communicates with the distributed unit of the base station through the air interface, and then the distributed unit communicates with the centralized unit of the base station, and the distributed unit acquires resources from the centralized unit and manages the same.
- the centralized unit manages the context of each terminal device.
- the first base station or the second base station may be a base station (BTS) in a GSM system or a CDMA system, or a base station (NodeB) in WCDMA, and an evolved base station (eNodeB) in an LTE system.
- BTS base station
- NodeB base station
- eNodeB evolved base station
- gNB base station of a new radio access network.
- the resource includes at least one of the following: 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 the single cell for scheduling.
- the paging area refers to a terminal device in a range of a wireless network area, where 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).
- the terminal device moves between cells in this paging area without notifying the network, such as a base station.
- Step 801 The terminal device in the INACTIVE state sends uplink information to the first base station/distributed unit.
- the terminal device sends the uplink information to the first base station/distributed unit through a non-scheduled or random access (RACH) process, and the uplink information may include at least one of the following: preamble, terminal device_ID, and MAC-I. , Buffer State Report (BSR), signaling, or data packet.
- RACH non-scheduled or random access
- Step 802 The first base station/distributed unit sends at least one of the following resources that are managed by the first base station/distributed unit: an SR sending resource, a CQI reporting resource, a CSI reporting resource, an SRS reporting resource, a PUSCH resource, and a single cell for scheduling Terminal device identification.
- the SR transmission resource For example, at least one of the following resources managed by the first base station/distributed unit: 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 by the single cell for scheduling
- the physical downlink control channel (PDCCH, Physical Downlink Control Channel) or the MAC control unit is sent to the terminal device.
- PDCCH Physical Downlink Control Channel
- MAC control unit is sent to the terminal device.
- the uplink information is a random access request
- the first base station/distributed unit will send any RAR random access response (ie, MSG2) or MSG4 or any time period between MSG2 and MSG4.
- the allocated resources are sent to the terminal device.
- the first base station/distributed unit transmits the allocated resources to the terminal device through MSG2 (eg, sending grant) or MSG4 (eg, transmitting CR).
- the first base station/distributed unit may transmit the allocated resources to the terminal during a time period between transmitting MSG2 (eg, transmitting grant) and MSG4 (eg, transmitting CR). device.
- the first base station/distributed unit when the first base station/distributed unit receives the uplink data sent by the terminal device, the first base station/distributed unit sends the allocated resource to the terminal device when the collision resolution response is not scheduled.
- the terminal device may report the capability of supporting the first base station/distributed unit to allocate the resource, and the terminal device indicates to the first base station/distributed unit when transmitting uplink, such as by using a MAC control unit ( a control element) or a special preamble indication; in another embodiment of the present invention, the terminal device reports to the second base station/centralized unit that the first base station/distributed unit allocates the resource The capability, the second base station/centralized unit then indicates the capability to the first base station/distributed unit.
- a MAC control unit a control element
- the terminal device reports to the second base station/centralized unit that the first base station/distributed unit allocates the resource
- the capability, the second base station/centralized unit then indicates the capability to the first base station/distributed unit.
- the second base station/centralized unit determines the cell where the terminal device is located, and the first base station/distributed unit passes physical layer control signaling (such as PDCCH) or high layer signaling (such as MAC CE). Or the PDCP control unit sends at least one of the allocated SR transmission resource, the CQI reporting resource, the CSI reporting resource, the SRS reporting resource, the PUSCH resource, and the terminal device identifier used by the single cell for scheduling to the terminal device.
- step 801 is optional.
- the allocated resources may include static parameters (eg, periods, etc.) required for the use of the resources for transmission. If not included, the terminal device uses default or pre-configured static parameters.
- Step 803 After receiving the resource, the terminal device sends an acknowledgement feedback indication to the first base station/distributed unit.
- the terminal device After receiving a resource or all resources, the terminal device sends an acknowledgement feedback indication to the first base station/distributed unit. If the terminal device receives multiple resources, the terminal may send the resource. A list is indicated to the first base station/distributed unit. 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 by the single cell for scheduling, sending the corresponding resource list indication to the First base station/distributed unit.
- Step 804 The terminal device performs corresponding transmission by using corresponding resources allocated by the first base station/distributed unit according to requirements.
- the terminal device in the INACTIVE state receives the allocated dedicated resource, and restores the previously saved ACTIVE configuration parameter, for example, carrying the relevant configuration information, the terminal device considers that the ACTIVE state is entered.
- the terminal device calculates a new key for security protection in the ACTIVE state.
- the terminal device sends a scheduling request by using the SR transmission resource allocated by the first base station/distributed unit.
- the terminal device sends the CQI by using the CQI reporting resource allocated by the first base station/distributed unit.
- the terminal device sends CSI by using the CSI reporting resource allocated by the first base station/distributed unit.
- the terminal device sends the SRS by using the SRS reporting resource allocated by the first base station/distributed unit.
- the terminal device transmits Data by using the PUSCH resource allocated by the first base station/distributed unit.
- the terminal device uses the single cell allocated by the first base station/distributed unit for scheduling terminal device identification and data/signaling together. send.
- Step 805 The first base station/distributed unit sends an indication that the dedicated resource has been allocated to the terminal device to the second base station/centralized unit.
- the first base station/distributed unit detects that the terminal device transmits the allocated resource, or receives a feedback indication of the configuration acknowledgement sent by the terminal device, the first base station/distributed unit notifies the first
- the second base station/centralized unit has assigned an indication of the dedicated resource to the terminal device, for example, an index of the allocated resource or the content of the resource may be transmitted.
- the first base station/distributed unit detects that the terminal device transmits the SR in the allocated SR transmission resource, or reports the resource transmission CQI on the allocated CQI, or reports the resource transmission CSI in the allocated CSI, or the allocated SRS.
- the reporting resource sends the SRS, or the data is transmitted in the allocated PUSCH resource, or the single cell is used to send the terminal device identifier, or the first base station/distributed unit receives the configuration confirmation that the terminal device sends the configuration.
- the first base station/distributed unit notifies the second base station/centralized unit that an indication of the corresponding dedicated resource has been allocated to the terminal device, for example, including an index of the corresponding resource.
- the first base station/distributed unit may further notify the second base station/centralized unit by entering the terminal device into an active indication.
- This embodiment does not exclude the use of this method instead of the 8.5 step, implicitly indicating that the terminal device is allocated a dedicated resource.
- the following steps 806 to 809 are optional.
- Steps 806-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.
- the first base station/distributed unit receives the MAC-I sent by the terminal device, the first base station/distributed unit forwards the MAC-I to the second base station/concentrated unit, the second base station / Centralized unit for integrity checking.
- Step 808 The second base station/centralized unit sends a dedicated resource release indication or a check result indication that fails verification to the first base station/distributed unit.
- Step 809 The first base station/distributed unit sends a dedicated resource release indication or a check result indication to the terminal device.
- the first base station or the distributed unit sends the dedicated resource release indication to the terminal device by using physical layer control signaling or a MAC CE or a PDCP control unit.
- the second base station/centralized unit determines whether to generate and send the dedicated resource release indication according to the check result, and if the check fails, the second base station/centralized unit generates a dedicated resource release indication and sends the indication to the local base station.
- the first base station/distributed unit is then sent 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, and the second base station/centralized unit may also not generate a verification success. Instructions.
- the second base station/centralized unit does not generate a check success indication
- the first base station/distributed unit does not receive the check success indication when the timer expires, the default check succeeds.
- the timer can be started when the first base station/distributed unit transmits verification information to the second base station/centralized unit.
- the first base station/distributed unit may send the verification success indication to the terminal device, or may not send the verification success. Indicated to the terminal device.
- the first base station/distributed unit does not receive the verification success indication generated by the second base station/centralized unit and generates a dedicated resource release indication to notify the terminal device within a predetermined time.
- the second base station/centralized unit sends a verification success result to the first base station/distributed unit, and the first base station/distributed unit performs verification according to the first base station/distributed unit.
- the success result determines whether a dedicated resource release indication is generated, 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 the corresponding dedicated resource.
- the first base station/distributed unit may send a verification success indication sent by the second base station/central unit to the terminal device, and the first base station/distributed unit also The verification success indication of the second base station/centralized unit may not be sent 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 device, if the terminal device does not receive the dedicated resource release indication when the timer expires The default verification is successful. The timer may be started when the terminal device sends verification information to the first base station/distributed unit.
- the terminal device if the terminal device does not receive the verification success indication within a predetermined time, the default verification fails, and then the dedicated uplink resource is released.
- the first base station/distributed unit notifies the terminal device to perform an RRC connection release or an RRC suspension, reconfiguration, update key, and the like.
- steps 806-809 may be performed prior to step 804, ie, an integrity check is performed before the terminal device performs a corresponding transmission according to the assigned respective resource.
- the second base station/second base station/central unit respectively configures multiple sets of common to the first base station/first base station/distributed unit network.
- the combined resources for example, 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 single cell for scheduling a terminal device identification resource
- the first base station or the first base station/distributed unit allocates 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 acquire a corresponding resource from a protocol agreement or a pre-configured resource.
- the same resource can be allocated to multiple terminal devices.
- the first base station/distributed unit of the base station after receiving the uplink information of the terminal device, the first base station/distributed unit of the base station does not have to wait for the second base station/centralized unit to perform integrity check on the terminal device, and then The second base station/centralized unit acquires the resource and sends the resource to the terminal device, but the first base station/distributed unit does not wait for the integrity check result to autonomously allocate the managed resource to the terminal device in advance, saving the first The time at which a base station/distributed unit waits for an integrity check and the time at which resources are acquired from the second base station/centralized unit.
- FIG. 9 is a schematic flowchart of a resource allocation method according to another embodiment of the present invention.
- a terminal device communicates with a base station through an air interface, and the base station manages a resource and a context of each terminal device.
- the base station may be a base station (BTS) in a GSM system or a CDMA system, a base station (NodeB) in WCDMA, an evolved base station (eNodeB) in an LTE system, or a new radio access network.
- BTS base station
- NodeB base station
- eNodeB evolved base station
- LTE long term evolution
- gNB Base station
- the resource includes at least one of the following: 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 the single cell for scheduling.
- the terminal device is a terminal device in an INACTIVE state in a single cell or paging area
- the paging area refers to a terminal device in a range of a wireless network region, where the region may be a single cell or multiple cells, and the terminal device There will be a unique wireless network identifier (Resume ID) or context identifier (context ID). If the terminal device moves between cells in this paging area, there is no need to notify the network, such as a base station.
- 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.
- the uplink information that the terminal device sends the uplink information to the base station by using a non-scheduled or random access (RACH) process may include at least one of the following: preamble, terminal device_ID, MAC-I, and buffer status report (Buffer). State Report, BSR), signaling or data packet.
- RACH non-scheduled or random access
- Step 902 The base station allocates and sends the managed resources to the terminal device.
- the base station allocates and transmits to the terminal device at least one of the following resources: 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 by the single cell for scheduling.
- the base station uses the physical layer control signaling or the MAC CE or the PDCP control unit to at least one 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 by the single cell for scheduling. Transmitted to the terminal device.
- the uplink information is a random access request
- the uplink information is a random access request
- the base station sends an RAR random access response (ie, MSG2) or MSG4 or between MSG2 and MSG4.
- the allocated resources are transmitted to the terminal device at any time period.
- the base station transmits the allocated resources to the terminal device through MSG2 (eg, sending grant) or MSG4 (eg, transmitting CR).
- the base station when receiving the uplink data sent by the terminal device, the base station sends the allocated resource to the terminal device when the collision resolution response is not scheduled.
- the CU configures parameters of the relevant bearer on the DU.
- the parameters of the related bearer include at least one of the following: a logical channel, a mode of the RLC. , SN size, window size, reordering timer, etc.
- the terminal device may report the capability of supporting the base station to allocate the resource, and the terminal device indicates to the base station when transmitting uplink, such as by a MAC control unit or a special preamble.
- the base station After the downlink service triggers, the base station determines the cell where the terminal device is located, and the base station sends the allocated SR resource, CQI, through physical layer control signaling (such as PDCCH) or high layer signaling (such as MAC CE) or PDCP control unit. At least one of the reporting resource, the CSI reporting resource, the SRS reporting resource, the PUSCH resource, and the terminal device identifier used by the single cell for scheduling is sent to the terminal device.
- PDCCH physical layer control signaling
- high layer signaling such as MAC CE
- the allocated resources may include static parameters (eg, periods, etc.) required for the use of the resources for transmission. If not included, the terminal device uses default or pre-configured static parameters.
- Step 903 After receiving the resource, the terminal device sends an acknowledgement feedback indication to the base station.
- the terminal device After receiving a resource or all resources, the terminal device sends an acknowledgement feedback indication to the base station. If the terminal device receives multiple resources, the terminal may send a resource list indication to the base station. . 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 by the single cell for scheduling, sending the corresponding resource list indication to the Base station.
- Step 904 The terminal device performs corresponding transmission according to the corresponding resource allocated by the base station as needed.
- the terminal device in the INACTIVE state receives the allocated dedicated resource, and restores the previously saved ACTIVE configuration parameter, for example, carrying the relevant configuration information, the terminal device considers that the terminal enters the ACTIVE state, and the terminal device calculates the new key. Used for security protection in the ACTIVE state.
- the terminal device sends a scheduling request by using the SR transmission resource allocated by the base station.
- the terminal device sends the CQI by using the CQI reporting resource allocated by the base station.
- the terminal device transmits CSI by using the CSI reporting resource allocated by the base station.
- the terminal device sends the SRS by using the SRS reporting resource allocated by the base station.
- the terminal device For example, if the terminal device needs to transmit data (Data), the terminal device transmits Data by using the PUSCH resource allocated by the base station.
- Data data
- the terminal device uses the single cell allocated by the base station to send the terminal device identifier and the data/signaling together.
- Step 905 The terminal device sends the MAC-I to the base station for integrity check.
- Step 906 The base station sends, to the terminal device, a dedicated resource release indication or a verification success indication that fails to be verified.
- the base station determines whether to generate and send the dedicated resource release indication according to the check result. If the check fails, the base station generates a dedicated resource release indication and sends the dedicated resource release indication to the terminal device, and notifies the terminal device to release the corresponding Dedicated resources. If the verification is successful, the base station may generate and send a verification success indication to the terminal device, and the base station may not generate a verification success indication.
- the base station sends the dedicated resource release indication to the terminal device by using physical layer control signaling or a MAC CE or a PDCP control unit.
- the base station does not generate a check success indication
- the terminal device does not receive the check success indication when the timer expires, the default check succeeds.
- the timer can be started when the terminal device sends the verification information to the second base station/centralized unit.
- the terminal device if the terminal device does not receive the verification success indication within a predetermined time, the default verification fails, and then the dedicated uplink resource is released.
- the base station If the verification fails, the base station notifies the terminal device to perform an operation such as RRC connection release or RRC suspension, reconfiguration, and update of a key.
- steps 905-906 may be performed prior to step 904, ie, an integrity check is performed before the terminal device performs a corresponding transmission according to the assigned respective resource.
- the base station configures multiple sets of common combined resources (for example, an SR sending resource, a CQI reporting resource, a CSI reporting resource, an SRS reporting resource,
- the PUSCH resource and the single cell are used for at least two of the scheduled terminal device identification resources and corresponding periods, which are agreed by broadcast or protocol.
- the base station allocates 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 acquire a corresponding resource from a protocol agreement or a pre-configured resource.
- the same resource can be allocated to multiple terminal devices.
- FIG. 10 is a schematic structural diagram of a resource allocation apparatus according to another embodiment of the present invention.
- the resource allocation apparatus is a part of a base station or a base station, and the terminal equipment communicates with the base station through an air interface.
- the base station manages resources and contexts of respective terminal devices.
- the base station may be a base station (BTS) in a GSM system or a CDMA system, a base station (NodeB) in WCDMA, an evolved base station (eNodeB) in an LTE system, or a new radio access network.
- BTS base station
- NodeB base station
- eNodeB evolved base station
- LTE long term evolution
- gNB Base station
- the resource includes at least one of the following: 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 the single cell for scheduling.
- the terminal device is a terminal device in an INACTIVE state in a single cell or paging area
- the paging area refers to a terminal device in a range of a wireless network region, where the region may be a single cell or multiple cells, and the terminal device There will be a unique wireless network identifier (Resume ID) or context identifier (context ID). If the terminal device moves between cells in this paging area, there is no need to notify the network, such as a base station.
- the terminal device may also be in a connected state or an idle state.
- the resource allocation apparatus includes a receiver 1001, a processor 1002, a transmitter 1003, and a memory 1004.
- the receiver 1001, the processor 1002, the transmitter 1003, and the memory 1004 are connected to each other through a bus.
- the processor 1002 may be an EPLD, an FPGA, a DSP chip, an ASIC, or other programmable logic device, a discrete gate or a transistor logic device, a discrete hardware component, or the like.
- the memory 1004 is configured to store code or instruction information.
- 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 a non-volatile random access memory.
- the memory 1004 can also store information of the device type.
- the receiver 1001 is configured to receive uplink information sent by the terminal device.
- the processor 1002 is configured to allocate the resources managed by the terminal device.
- the processor 1002 may allocate the dedicated uplink resource to the terminal device from the uplink resource it manages, for example, at the receiver.
- the processor 1002 determines that the The terminal device does not have a corresponding resource or releases the corresponding resource, and the processor 1002 actively allocates a dedicated uplink resource to the terminal device.
- the uplink information that the terminal device sends the uplink information to the base station by using a non-scheduled or random access (RACH) process may include at least one of the following: preamble, terminal device_ID, MAC-I, and buffer status report (Buffer). State Report, BSR), signaling or data packet.
- RACH non-scheduled or random access
- the processor 1002 is configured to allocate, to the terminal device, at least one of the following resources: an SR transmission resource, a CQI reporting resource, a CSI reporting resource, an SRS reporting resource, a PUSCH resource, and a single cell for scheduling.
- Terminal device identification is configured to allocate, to the terminal device, at least one of the following resources: an SR transmission resource, a CQI reporting resource, a CSI reporting resource, an SRS reporting resource, a PUSCH resource, and a single cell for scheduling. Terminal device identification.
- the transmitter 1003 is configured to send the allocated resource to the terminal device.
- the transmitter 1003 is configured to use the physical layer control signaling or the MAC CE or the PDCP control unit to use the SR sending resource, the CQI reporting resource, the CSI reporting resource, the SRS reporting resource, the PUSCH resource, and the single cell for scheduling. At least one of the terminal device identifiers is sent to the terminal device.
- the uplink information is a random access request
- the uplink information is a random access request
- the transmitter 1003 is configured to send an RAR random access response (ie, MSG2) or MSG4 or MSG2.
- the allocated resources are transmitted to the terminal device at any time period with the MSG 4.
- the transmitter 1003 is configured to send the allocated resources to the terminal device through MSG2 (eg, sending grant) or MSG4 (eg, transmitting CR).
- the transmitter 1003 is configured to send the allocated resource to the terminal device when the conflict resolution response is not scheduled.
- the terminal device may report the capability of supporting the base station to allocate the resource, and the terminal device indicates to the receiver 1001 when transmitting uplink, such as by a MAC control unit or a special preamble indication.
- the processor 1002 determines, after the terminal device is located, the transmitter 1003 is configured to allocate the physical layer control signaling (such as PDCCH) or higher layer signaling (such as MAC CE) or the PDCP control unit. At least one 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 by the single cell for scheduling is sent to the terminal device.
- the physical layer control signaling such as PDCCH
- higher layer signaling such as MAC CE
- the allocated resources may include static parameters (eg, periods, etc.) required for the use of the resources for transmission. If not included, the terminal device uses default or 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.
- the terminal device sends an acknowledgment feedback indication to the receiver 1001 after receiving a certain resource or all resources, and if the terminal device receives multiple resources, the resource list indication may be sent to the receiver 1001. 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 by the single cell for scheduling, sending the corresponding resource list indication to the Receiver 1001.
- the terminal device does not send an acknowledgement feedback indication.
- the receiver 1001 is further configured to receive information that is sent by the terminal device by using the allocated corresponding resource as needed.
- the terminal device in the INACTIVE state receives the allocated dedicated resource, and restores the previously saved ACTIVE configuration parameter, for example, carrying the relevant configuration information, the terminal device considers that the terminal enters the ACTIVE state, and the terminal device calculates the new key. Used for security protection in the ACTIVE state.
- the receiver 1001 is further configured to receive, by the terminal device, the SR transmission resource allocation scheduling request by using the base station.
- the receiver 1001 is further configured to receive a CQI sent by the terminal device by using the CQI reporting resource allocated by the processor 1002.
- the receiver 1001 is further configured to receive CSI sent by the terminal device by using the CSI reporting resource allocated by the processor 1002.
- the receiver 1001 is further configured to receive an SRS sent by the terminal device by using the SRS reporting resource allocated by the processor 1002.
- the receiver 1001 is further configured to receive Data sent by the terminal device by using the PUSCH resource allocated by the processor 1002.
- the terminal device uses the single cell allocated by the processor 1002 for the scheduled terminal device identification and data/signaling to be sent together.
- the receiver 1001 is further configured to receive verification information sent by the terminal device.
- 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 an integrity check according to the MAC-I.
- the transmitter 1003 is further configured to send, to the terminal device, a dedicated resource release indication or a verification success indication generated by the processor 1002 check failure.
- the processor 1002 determines whether to generate the dedicated resource release indication or the verification success indication according to the check result. If the check fails, the processor 1002 generates a dedicated resource release indication and sends the identifier to the transmitter 1003. The terminal device notifies the terminal device to release a 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, and the processor 1002 may not generate a verification success indication. .
- the processor 1002 does not generate a verification success indication, if the terminal device does not receive the verification success indication when the timer expires, the default verification is successful.
- the timer can be started when the terminal device sends the verification information to the second base station/centralized unit.
- the transmitter 1003 is further configured to send the dedicated resource release indication to the terminal device by using physical layer control signaling or a MAC CE or a PDCP control unit.
- the terminal device if the terminal device does not receive the verification success indication within a predetermined time, the default verification fails, and then the dedicated uplink resource is released.
- the transmitter 1003 is further configured to notify the terminal device to perform an RRC connection release, an RRC suspension, a reconfiguration, an update key, and the like.
- the terminal device may perform an integrity check before performing corresponding transmission according to the allocated corresponding resource.
- the memory 1004 configures multiple sets of common combined resources (for example, an SR sending resource, a CQI reporting resource, a CSI reporting resource, and an SRS reporting resource). And, the PUSCH resource and at least two of the terminal device identification resources used by the single cell for scheduling, and the corresponding period, the period parameters are agreed by a broadcast or a protocol.
- the processor 1002 allocates 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 acquire a corresponding resource from a protocol agreement or a pre-configured resource.
- the same resource can be allocated to multiple terminal devices.
- FIG. 11 is a schematic flowchart of a resource allocation method according to another embodiment of the present invention.
- a terminal device communicates with a base station through an air interface, and the base station manages resources and a context of each terminal device.
- the base station may be a base station (BTS) in a GSM system or a CDMA system, a base station (NodeB) in WCDMA, an evolved base station (eNodeB) in an LTE system, or a new radio access network.
- BTS base station
- NodeB base station
- eNodeB evolved base station
- LTE long term evolution
- gNB Base station
- the resources managed by the base station include at least one of the following: an SR sending resource, a CQI reporting resource, a CSI reporting resource, and an SRS reporting resource.
- the terminal device is a terminal device in an INACTIVE state in a single cell or paging area
- the paging area refers to a terminal device in a range of a wireless network region, where the region may be a single cell or multiple cells, and the terminal device There will be a unique wireless network identifier (Resume ID) or context identifier (context ID). If the terminal device moves between cells in this paging area, there is no need to notify the network, such as a base station.
- 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.
- the terminal device sends a preamble to the base station.
- Step 1102 The base station sends at least one of the SR transmission resource, the CQI report resource, the CSI report resource, and the SRS report resource allocation that is managed by the base station to the RSR message or the RAR message and the CR message. Terminal Equipment.
- the base station sends the allocated resources to the terminal device by using physical layer control signaling or a MAC CE or PDCP control unit to transmit an RAR random access response (ie, MSG2) or any time period between MSG2 and MSG4.
- RAR random access response ie, MSG2
- MSG4 RAR random access response
- Step 1103 After receiving the resource, the terminal device sends an acknowledgement feedback indication to the base station.
- the terminal device After receiving a resource or all resources, the terminal device sends an acknowledgement feedback indication to the base station. If the terminal device receives multiple resources, the terminal may send a resource list indication to the base station. . 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 corresponding resource list is sent to the base station.
- Step 1104 The terminal device performs corresponding transmission by using corresponding resources allocated by the base station according to requirements.
- the terminal device in the INACTIVE state receives the allocated dedicated resource, and restores the previously saved ACTIVE configuration parameter, for example, carrying the relevant configuration information, the terminal device considers that the terminal enters the ACTIVE state, and the terminal device calculates the new key. Used for security protection in the ACTIVE state.
- the terminal device sends a scheduling request by using the SR transmission resource allocated by the base station.
- the terminal device sends the CQI by using the CQI reporting resource allocated by the base station.
- the terminal device transmits CSI by using the CSI reporting resource allocated by the base station.
- 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.
- the terminal device sends a 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 a dedicated resource release indication or a verification success indication that fails verification to the terminal device.
- the base station determines whether to generate and send the dedicated resource release indication according to the check result. If the check fails, the base station generates a dedicated resource release indication and sends the dedicated resource release indication to the terminal device, and notifies the terminal device to release the corresponding Dedicated resources. If the verification is successful, the base station may generate and send a verification success indication to the terminal device, and the base station may not generate a verification success indication.
- the base station does not generate a check success indication
- the terminal device does not receive the check success indication when the timer expires, the default check succeeds.
- the timer can be started when the terminal device sends the verification information to the second base station/centralized unit.
- the terminal device if the terminal device does not receive the verification success indication within a predetermined time, the default verification fails, and then the dedicated uplink resource is released.
- steps 1105-1106 may be performed prior to step 1104, ie, an integrity check is performed before the terminal device performs a corresponding transmission according to the assigned respective resource.
- Step 1107 The base station sends a contention resolution message (ie, MSG4) to the terminal device.
- MSG4 a contention resolution message
- the base station sends a CR message to the terminal device.
- the base station may send the verification success indication to the terminal device while transmitting the CR message.
- the base station configures multiple sets of common combined resources (for example, an SR sending resource, a CQI reporting resource, a CSI reporting resource, and an SRS reporting resource). Two) and corresponding periods, these period parameters are agreed by broadcast or protocol.
- the base station allocates 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 acquire a corresponding resource from a protocol agreement or a pre-configured resource.
- the base station before performing integrity check on the terminal device, the base station sends resources to the terminal device in advance at any time between MSG2 or MSG2 and MSG4, and then performs integrity check. Compared with the prior art, the base station waits for the integrity check of the terminal device, and then allocates resources to the terminal device, which can save time delay.
- FIG. 12 is a schematic structural diagram of a resource allocation apparatus according to another embodiment of the present invention.
- the resource allocation apparatus is a part of a base station or a base station, and the terminal equipment communicates with the base station through an air interface.
- the base station manages resources and contexts of respective terminal devices.
- the base station may be a base station (BTS) in a GSM system or a CDMA system, a base station (NodeB) in WCDMA, an evolved base station (eNodeB) in an LTE system, or a new radio access network.
- BTS base station
- NodeB base station
- eNodeB evolved base station
- LTE long term evolution
- gNB Base station
- the resources managed by the base station include at least one of the following: an SR sending resource, a CQI reporting resource, a CSI reporting resource, and an SRS reporting resource.
- the terminal device is a terminal device in an INACTIVE state in a single cell or paging area
- the paging area refers to a terminal device in a range of a wireless network region, where the region may be a single cell or multiple cells, and the terminal device There will be a unique wireless network identifier (Resume ID) or context identifier (context ID). If the terminal device moves between cells in this paging area, there is no need to notify the network, such as a base station.
- the terminal device may also be in a connected state or an idle state.
- the resource allocation apparatus includes a receiver 1201, a processor 1202, a transmitter 1203, and a memory 1204.
- the receiver 1201, the processor 1202, the transmitter 1203, and the memory 1204 are connected to each other through a bus.
- the processor 1202 may be an EPLD, an FPGA, a DSP chip, an ASIC, or other programmable logic device, a discrete gate or a transistor logic device, a discrete hardware component, or the like.
- the memory 1204 is configured to store code or instruction information.
- 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 a non-volatile random access memory.
- the memory 1204 can also store information of the device type.
- the receiver 1201 is configured to receive a random access request sent by the terminal device.
- 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 an SR transmission resource, a CQI reporting resource, a CSI reporting resource, and an SRS reporting resource allocation managed by the processor 1202 to the terminal device.
- the transmitter 1203 is configured to send the allocated resource to the terminal device during a time period between sending a RAR message or sending a RAR message and a CR message.
- the transmitter 1203 is configured to send the allocated resources to the RAR random access response (ie, MSG2) or any time period between the MSG2 and the MSG4 by using physical layer control signaling or a MAC CE or a PDCP control unit.
- MSG2 the RAR random access response
- MSG4 any time period between the MSG2 and the MSG4 by using physical layer control signaling or a MAC CE or a PDCP control unit.
- the terminal device is configured to send the allocated resources to the RAR random access response (ie, MSG2) or any time period between the MSG2 and the MSG4 by using physical layer control signaling or a MAC CE or a PDCP control unit.
- the receiver 1201 is further configured to receive an acknowledgement feedback indication sent by the terminal device after receiving the resource.
- the terminal device After receiving the resource or all resources, the terminal device sends an acknowledgement feedback indication to the base station. If the terminal device receives multiple resources, the terminal device may send a resource list indication to the receiver 1201. 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 corresponding resource list is sent to the receiver 1201.
- the terminal device may also not send the acknowledgement feedback indication.
- the receiver 1201 is further configured to receive information that is sent by the terminal device by using the allocated corresponding resource as needed.
- the terminal device in the INACTIVE state receives the allocated dedicated resource, and restores the previously saved ACTIVE configuration parameter, for example, carrying the relevant configuration information, the terminal device considers that the terminal enters the ACTIVE state, and the terminal device calculates the new key. Used for security protection in the ACTIVE state.
- the receiver 1201 is further configured to receive a scheduling request that is sent by the terminal device by using the SR sending resource allocated by the processor 1202.
- the receiver 1201 is further configured to receive a CQI sent by the terminal device by using the CQI reporting resource allocated by the processor 1202.
- the receiver 1201 is further configured to receive CSI sent by the terminal device by using the CSI reporting resource allocated by the processor 1202.
- the receiver 1201 is further configured to receive an SRS sent by the terminal device by using the SRS reporting resource allocated by the processor 1202.
- the receiver 1201 is further configured to receive verification information sent by the terminal device.
- 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 an integrity check according to the MAC-I.
- the transmitter 1203 is further configured to send, to the terminal device, a dedicated resource release indication or a verification success indication that fails verification.
- 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 a dedicated resource release indication, and the transmitter 1203 sends the dedicated resource release. Instructing 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, and the processor 1202 may not generate a verification success indication.
- the processor 1202 does not generate a verification success indication, if the terminal device does not receive the verification success indication when the timer expires, the default verification is successful.
- the timer can be started when the terminal device sends the verification information to the second base station/centralized unit.
- the terminal device if the terminal device does not receive the verification success indication within a predetermined time, the default verification fails, and then the dedicated uplink resource is released.
- the processor 1202 before the terminal device performs corresponding transmission according to the allocated corresponding resources, performs an integrity check according to the verification information.
- the memory 1204 configures multiple sets of common combined resources (for example, an SR sending resource, a CQI reporting resource, a CSI reporting resource, and an SRS reporting resource). At least two) and corresponding periods, these period parameters are agreed by broadcast or protocol.
- the transmitter 1203 sends 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 acquire a corresponding resource from a protocol agreement or a pre-configured resource.
- the base station before performing integrity check on the terminal device, the base station sends resources to the terminal device in advance at any time between MSG2 or MSG2 and MSG4, and then performs integrity check. Compared with the prior art, the base station waits for the integrity check of the terminal device, and then allocates resources to the terminal device, which can save time delay.
- FIG. 13 is a schematic flowchart of an integrity verification method according to another embodiment of the present invention.
- the integrity verification method in this embodiment may be used for integrity verification of all the foregoing embodiments.
- Step 1301 The terminal device generates an uplink MAC-I for integrity check according to all or part of the count (COUNT) value corresponding to the radio bearer transmitting the uplink information and the uplink security input parameter.
- COUNT count
- the uplink information includes: an uplink message (eg, RRC message, preamble, re-establishment message, access layer context recovery request), uplink data, uplink control signaling (eg, MAC layer control signaling, such as BSR; physical layer Control signaling, such as ACK; RLC layer control signaling, such as RLC status reporting), or uplink data and access layer context recovery request messages.
- an uplink message eg, RRC message, preamble, re-establishment message, access layer context recovery request
- uplink data eg, uplink control signaling (eg, MAC layer control signaling, such as BSR; physical layer Control signaling, such as ACK; RLC layer control signaling, such as RLC status reporting), or uplink data and access layer context recovery request messages.
- uplink control signaling eg, MAC layer control signaling, such as BSR; physical layer Control signaling, such as ACK; RLC layer control signaling, such as RLC status reporting
- the COUNT value includes a PDCP sequence number (SN) and a Hyper Frame Number (HFN).
- SN PDCP sequence number
- HFN Hyper Frame Number
- the terminal device generates the uplink MAC-I according to the PDCP SN and the HFN of the COUNT value and the uplink security input parameter.
- the terminal device generates the uplink MAC-I according to one of a PDCP SN and an HFN of the COUNT value and the uplink security input parameter.
- the uplink security input parameter includes at least one of the following: a key, an integrity protection algorithm, a terminal device identifier, a radio bearer identifier (BEARER ID), a DIRECTION, an uplink information, a cell entering an INACTIVE state, and a terminal.
- a key an integrity protection algorithm
- a terminal device identifier a radio bearer identifier (BEARER ID)
- BEARER ID radio bearer identifier
- DIRECTION DIRECTION
- an uplink information a cell entering an INACTIVE state
- a terminal Current cell identifier
- C-RNTI C-RNTI
- AS context identifier of the device AS context identifier
- the key is an old key stored by the terminal device or a new key derived by the terminal device.
- the deduced new key is used when the terminal device moves to the new cell.
- Step 1302 The terminal device sends the generated uplink MAC-I to perform integrity check on the base station.
- the base station is a base station that stores the old key for the terminal device.
- the base station has a base station that the terminal device derives a new key.
- the base station that receives the uplink MAC-I forwards the uplink MAC-I to a base station that has the corresponding terminal device key for processing.
- Step 1303 The terminal device receives the downlink MAC-I sent by the base station and performs an integrity check.
- 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; the terminal device is configured according to the downlink MAC-I Verify that the base station receiving the information is legitimate.
- the downlink security input parameter includes at least one of the following: a key, an integrity protection algorithm, a terminal device identifier, a radio bearer identifier (BEARER ID), a DIRECTION, and an uplink information.
- the terminal device starts a timer when the uplink MAC-I is sent; after the timer expires, the terminal device sends the uplink MAC-I again if the uplink information is sent again.
- the downlink MAC-I is generated by the base station having the old key of the terminal device based on the old key.
- the base station that generates the downlink MAC-I is a base station that processes the uplink MAC-I.
- the downlink MAC-I is generated by the base station of the new key deduced by the processor 1401 based on the new key.
- the uplink security input parameter includes a key, an integrity protection algorithm, a terminal device identifier, a radio bearer identifier (BEARER ID), a DIRECTION, an uplink information, and the downlink.
- the key included in the security input parameter, the integrity protection algorithm, the terminal device identifier, the radio bearer identifier (BEARER ID), the sending direction (DIRECTION), and the uplink information may be the same or different.
- the DIRECTION indicates whether it is uplink or downlink.
- the base station may be a base station that manages resources and a context of each terminal device, or may be a first base station or a distributed unit of the foregoing embodiment. If the base station is the first base station or a distributed unit of the foregoing embodiment, the first base station or the distributed unit further needs to send the uplink MAC-I to the second base station or a centralized unit for integrity calibration.
- the downlink MAC-I is generated by the second base station or the centralized unit and sent to the terminal device by the first base station or the distributed unit.
- FIG. 14 is a schematic structural diagram of an integrity verification apparatus according to another embodiment of the present invention.
- the integrity verification apparatus may be a terminal device or a part of a terminal device, and the integrity verification apparatus of this embodiment may be Used for integrity verification of all of the above embodiments.
- the integrity verification device includes 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 part of a count (COUNT) value corresponding to a radio bearer transmitting uplink information and an uplink security input parameter.
- COUNT count
- the uplink information includes: an uplink message (eg, RRC message, preamble, re-establishment message, access layer context recovery request), uplink data, uplink control signaling (eg, MAC layer control signaling, such as BSR; physical layer Control signaling, such as ACK; RLC layer control signaling, such as RLC status reporting), or uplink data and access layer context recovery request messages.
- an uplink message eg, RRC message, preamble, re-establishment message, access layer context recovery request
- uplink data eg, uplink control signaling (eg, MAC layer control signaling, such as BSR; physical layer Control signaling, such as ACK; RLC layer control signaling, such as RLC status reporting), or uplink data and access layer context recovery request messages.
- uplink control signaling eg, MAC layer control signaling, such as BSR; physical layer Control signaling, such as ACK; RLC layer control signaling, such as RLC status reporting
- the COUNT value includes a PDCP sequence number (SN) and a Hyper Frame Number (HFN).
- 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.
- the processor 1401 generates the uplink MAC-I according to one of the PDCP SN and the HFN of the COUNT value and the uplink security input parameter.
- the uplink security input parameter includes at least one of the following: a key, an integrity protection algorithm, a terminal device identifier, a radio bearer identifier (BEARER ID), a DIRECTION, an uplink information, a cell entering an INACTIVE state, and a terminal.
- a key an integrity protection algorithm
- a terminal device identifier a radio bearer identifier (BEARER ID)
- BEARER ID radio bearer identifier
- DIRECTION DIRECTION
- an uplink information a cell entering an INACTIVE state
- a terminal Current cell identifier
- C-RNTI C-RNTI
- AS context identifier of the device AS context identifier
- the key is an old key stored by the memory 1404 or a new key derived by the processor 1401.
- the processor 1401 uses a deduced new key when the terminal device moves to a new cell.
- the transmitter 1402 is configured to send the generated uplink MAC-I to perform integrity check on the base station.
- the base station is a base station that stores the old key for the terminal device.
- the base station has a base station that the terminal device derives a new key.
- the base station that receives the uplink MAC-I forwards the uplink MAC-I to a base station that has the corresponding terminal device key for processing.
- the receiver 1403 is configured to receive a downlink MAC-I sent by the base station, where the processor 1401 is further configured to perform integrity verification on a base station that receives uplink information according to the downlink MAC-I.
- 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 a downlink security input parameter; the processor 1401 is configured according to the The downlink MAC-I checks whether the base station is a legal base station.
- the downlink security input parameter includes at least one of the following: a key, an integrity protection algorithm, a terminal device identifier, a radio bearer identifier (BEARER ID), a DIRECTION, and an uplink information.
- the processor 1401 is further configured to start a timer when the transmitter sends the uplink MAC-I.
- the transmitter 1402 is further configured to: after the timer expires, send the uplink MAC-I again if the uplink information is sent again.
- the downlink MAC-I is generated by the base station having the old key of the terminal device based on the old key.
- the base station that generates the downlink MAC-I is a base station that processes the uplink MAC-I.
- the downlink MAC-I is generated by the base station of the new key deduced by the processor 1401 based on the new key.
- the uplink security input parameter includes a key, an integrity protection algorithm, a terminal device identifier, a radio bearer identifier (BEARER ID), a DIRECTION, an uplink information, and the downlink.
- the key included in the security input parameter, the integrity protection algorithm, the terminal device identifier, the radio bearer identifier (BEARER ID), the sending direction (DIRECTION), and the uplink information may be the same or different.
- the DIRECTION indicates whether it is uplink or downlink.
- the base station may be a base station that manages resources and a context of each terminal device, or may be a first base station or a distributed unit of the foregoing embodiment. If the base station is the first base station or a distributed unit of the foregoing embodiment, the first base station or the distributed unit further needs to send the uplink MAC-I to the second base station or a centralized unit for integrity calibration.
- the downlink MAC-I is generated by the second base station or the centralized unit and sent to the receiver 1403 of the terminal device by the first base station or the distributed unit.
- FIG. 15 is a schematic flowchart of an integrity check method according to another embodiment of the present invention.
- a terminal device communicates with a base station through an air interface, and the base station manages resources and each terminal. The context of the device.
- step 1501 the terminal device generates an uplink MAC-I.
- the terminal device generates an uplink MAC-I for integrity check according to all or part of the count (COUNT) value corresponding to the radio bearer transmitting the uplink information and the uplink security input parameter.
- COUNT count
- the uplink information includes: an uplink message (eg, RRC message, preamble, re-establishment message, access layer context recovery request), uplink data, uplink control signaling (eg, MAC layer control signaling, such as BSR; physical layer Control signaling, such as ACK; RLC layer control signaling, such as RLC status reporting), or uplink data and access layer context recovery request messages.
- an uplink message eg, RRC message, preamble, re-establishment message, access layer context recovery request
- uplink data eg, uplink control signaling (eg, MAC layer control signaling, such as BSR; physical layer Control signaling, such as ACK; RLC layer control signaling, such as RLC status reporting), or uplink data and access layer context recovery request messages.
- uplink control signaling eg, MAC layer control signaling, such as BSR; physical layer Control signaling, such as ACK; RLC layer control signaling, such as RLC status reporting
- the COUNT value includes a PDCP SN and an HFN.
- the terminal device generates the uplink MAC-I according to the PDCP SN and the HFN of the COUNT value and the uplink security input parameter.
- the terminal device generates the uplink MAC-I according to one of a PDCP SN and an HFN of the COUNT value and the uplink security input parameter.
- the uplink security input parameter includes at least one of the following: a key, an integrity protection algorithm, a terminal device identifier, a radio bearer identifier (BEARER ID), a DIRECTION, an uplink information, a cell entering an INACTIVE state, and a terminal.
- a key an integrity protection algorithm
- a terminal device identifier a radio bearer identifier (BEARER ID)
- BEARER ID radio bearer identifier
- DIRECTION DIRECTION
- an uplink information a cell entering an INACTIVE state
- a terminal Current cell identifier
- C-RNTI C-RNTI
- AS context identifier of the device AS context identifier
- the key is an old key stored by the terminal device or a new key derived by the terminal device.
- the deduced new key is used when the terminal device moves to the new cell.
- the terminal device identifier includes one of a Context ID, a C-RNTI, and a Resume ID. If the terminal device identifier is agreed by the terminal device and the base station, the terminal device may not display and send to the base station.
- the integrity protection algorithm may be configured for transmitting data or signaling.
- the identifier of the original cell and the identifier of the current cell may also be 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.
- the terminal device sends uplink information, a Context ID, and the uplink MAC-I to the base station.
- the base station is a base station that stores the old key for the terminal device.
- the base station has a base station that the terminal device derives a new key.
- the base station receiving the uplink MAC-I forwards the uplink MAC-I to a base station having a corresponding terminal device key for processing.
- Step 1503 The base station sends an OK message (ACK) to the terminal device.
- ACK OK message
- Step 1503 is an optional step and may not be performed.
- Step 1504 The base station performs an integrity check according to the uplink MAC-I.
- 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 they are the same, confirm that the terminal device is legal, if not, The terminal device is confirmed to be illegal, and the base station instructs the terminal device to release resources.
- the base station After receiving the uplink information, the base station generates an uplink MAC-I according to all or part of the count (COUNT) value corresponding to the radio bearer transmitting the uplink information and the uplink security input parameter.
- COUNT count
- Step 1505 the base station generates a downlink MAC-I.
- the downlink MAC-I is generated by the base station having the old key of the terminal device based on the old key.
- the base station that generates the downlink MAC-I is a base station that processes the uplink MAC-I.
- the downlink MAC-I is generated by the base station of the new key deduced by the processor 1401 based on the new key.
- the base station generates the downlink MAC-I according to the COUNT value and the downlink security input parameter.
- the downlink security input parameter includes at least one of the following: a key, an integrity protection algorithm, a terminal device identifier, a radio bearer identifier (BEARER ID), a sending direction (DIRECTION), Uplink information.
- the uplink security input parameter includes a key, an integrity protection algorithm, a terminal device identifier, a radio bearer identifier (BEARER ID), a DIRECTION, an uplink information, and the downlink.
- the key included in the security input parameter, the integrity protection algorithm, the terminal device identifier, the radio bearer identifier (BEARER ID), the sending direction (DIRECTION), and the uplink information may be the same or different.
- Step 1506 The base station sends a downlink MAC-I to the terminal device.
- the base station may optionally send a downlink MAC-I and a terminal device identifier to the terminal device, where the terminal device checks whether the base station receives data according to the downlink MAC-I. legitimate.
- the terminal device After receiving the downlink MAC-I, the terminal device compares with the saved downlink MAC-I or the generated downlink MAC-I. If they are the same, the terminal device determines that the base station is legal. If not, The terminal device determines that the base station is invalid, and the terminal device releases resources.
- 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 to use the COUNT value, the base station may not send the COUNT value.
- the base station generates the downlink MAC-I according to the foregoing manner when there is no RRC message.
- the BSR of the base station requests the PDCP to generate the downlink MAC-I when receiving the unsignaled data.
- the terminal device starts a timer when the uplink MAC-I is sent; after the timer expires, the terminal device sends the uplink MAC-I again if the uplink information is sent again.
- steps 1505 and 1506 are optional steps and may not be performed.
- FIG. 16 is a schematic flowchart of an integrity verification method according to another embodiment of the present invention.
- a terminal device communicates with a first base station/distributed unit through an air interface.
- the first base station/distributed unit communicates with the second base station/centralized unit by wire or wireless, the first base station/distributed unit acquires resources from the second base station/centralized unit and manages the
- the second base station/central unit manages the context of each terminal device.
- step 1601 the terminal device generates an uplink MAC-I.
- the terminal device generates an uplink MAC-I for integrity check according to all or part of the count (COUNT) value corresponding to the radio bearer transmitting the uplink information and the uplink security input parameter.
- COUNT count
- the uplink information includes: an uplink message (eg, RRC message, preamble, re-establishment message, access layer context recovery request), uplink data, or uplink control signaling (eg, MAC layer control signaling, such as BSR; physical layer) Control signaling, such as ACK; RLC layer control signaling, such as RLC status reporting), or uplink data and access layer context recovery request messages.
- an uplink message eg, RRC message, preamble, re-establishment message, access layer context recovery request
- uplink data eg, uplink data
- uplink control signaling eg, MAC layer control signaling, such as BSR; physical layer
- Control signaling such as ACK
- RLC layer control signaling such as RLC status reporting
- the uplink security input parameter includes at least one of the following: a key, an integrity protection algorithm, a terminal device identifier, a radio bearer identifier (BEARER ID), a DIRECTION, an uplink information, a cell entering an INACTIVE state, and a terminal.
- a key an integrity protection algorithm
- a terminal device identifier a radio bearer identifier (BEARER ID)
- BEARER ID radio bearer identifier
- DIRECTION DIRECTION
- an uplink information a cell entering an INACTIVE state
- a terminal Current cell identifier
- C-RNTI C-RNTI
- AS context identifier of the device AS context identifier
- the COUNT value includes a PDCP SN and an HFN.
- the terminal device generates the uplink MAC-I according to the PDCP SN and the HFN of the COUNT value and the uplink security input parameter.
- the terminal device generates the uplink MAC-I according to one of a PDCP SN and an HFN of the COUNT value and the uplink security input parameter.
- the key is an old key stored by the terminal device or a new key derived by the terminal device.
- the deduced new key is used when the terminal device moves to the new cell.
- the terminal device identifier includes one of a Context ID, a C-RNTI, and a Resume ID. If the terminal device identifier is agreed by the terminal device and the base station, the terminal device may not display and send to the base station.
- the integrity protection algorithm may be configured for transmitting data or signaling.
- the identifier of the original cell and the identifier of the current cell may also be 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.
- the terminal device sends uplink information, a Context ID, and the uplink MAC-I to the base station.
- the base station is a base station that stores the old key for the terminal device.
- the base station has a base station that the terminal device derives a new key.
- the base station that receives the uplink MAC-I forwards the uplink MAC-I to a base station that has the corresponding terminal device key for processing.
- Step 1603 the first base station/distributed unit sends the determination information (ACK) to the terminal device.
- Step 1603 is an optional step and may not be performed.
- Step 1604 The first base station/distributed unit sends the uplink information, the Context ID, and the uplink MAC-I to the second base station/centralized unit.
- Step 1605 the second base station/centralized unit performs an integrity check according to the uplink MAC-I.
- the second base station/centralized unit compares the received uplink MAC-I with its stored uplink MAC-I or the uplink MAC-I generated by the second base station/centralized unit, if the same, Assuming that the terminal device is legal, if not, confirming that the terminal device is illegal, and the base station instructs the terminal device to release resources.
- the second base station/concentrated unit After receiving the uplink information, the second base station/concentrated unit generates an uplink MAC-I according to all or part of the count (COUNT) value corresponding to the radio bearer transmitting the uplink information and the uplink security input parameter.
- COUNT count
- Step 1606 the second base station/centralized unit generates a downlink MAC-I.
- the downlink MAC-I is generated by the base station having the old key of the terminal device based on the old key.
- the base station that generates the downlink MAC-I is a base station that processes the uplink MAC-I.
- the downlink MAC-I is generated by the base station of the new key deduced by the processor 1401 based on the new key.
- the second base station/centralized unit generates the downlink MAC-I according to the COUNT value and the downlink security input parameter.
- the downlink security input parameter includes at least one of the following: a key, an integrity protection algorithm, a terminal device identifier, a radio bearer identifier (BEARER ID), a sending direction (DIRECTION), Uplink information.
- the uplink security input parameter includes a key, an integrity protection algorithm, a terminal device identifier, a radio bearer identifier (BEARER ID), a DIRECTION, an uplink information, and the downlink.
- the key included in the security input parameter, the integrity protection algorithm, the terminal device identifier, the radio bearer identifier (BEARER ID), the sending direction (DIRECTION), and the uplink information may be the same or different.
- Step 1607 the second base station/centralized unit sends the downlink MAC-I to the first base station/distributed unit.
- the second base station/concentrated 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 verification. Whether the base station receiving the data is legal.
- the second base station/concentrated unit after receiving the uplink information, sends the downlink MAC-I and the terminal device identifier to the first base station/distributed unit.
- the second base station/central unit sends the downlink MAC-I, the terminal device identifier, and the COUNT value to the first base station/distributed unit.
- the second base station/centralized unit may not transmit the COUNT value if the second base station/centralized unit and the terminal device agree to use the COUNT value.
- the second base station/centralized unit generates the downlink MAC-I according to the foregoing manner when there is no RRC message.
- the BSR of the second base station/centralized unit requests the PDCP to generate the downlink MAC-I when receiving no signaling data.
- Step 1608 the first base station/distributed unit sends the downlink MAC-I to the terminal device.
- the terminal device performs legality verification on the first base station/distributed unit and the second base station/centralized unit according to the received downlink MAC-I.
- the terminal device After receiving the downlink MAC-I, the terminal device compares with the saved downlink MAC-I or the generated downlink MAC-I, and if the same, the terminal device determines the first base station/distributed unit And the second base station/centralized unit is legal. If not, the terminal device determines that the first base station/distributed unit and the second base station/centralized unit are invalid, and the terminal device releases resources.
- the first base station/distributed unit transmits the downlink MAC-I and the terminal device identifier to the terminal device.
- the terminal device starts a timer when the uplink MAC-I is sent; after the timer expires, the terminal device sends the uplink MAC-I again if the uplink information is sent again.
- FIG. 17 is a schematic flowchart of a resource allocation method according to another embodiment of the present invention.
- a terminal device in an INACTIVE state in a single cell or paging area where the base station is the first base station or gNB is example.
- the resource allocation method is performed by a first base station or a distributed unit of a gNB, and if the resource allocation method is performed by a distributed unit of a gNB, the gNB includes a distributed unit and a centralized unit, and the distributed unit and The centralized unit is connected by wire or wireless.
- the first base station is connected to the second base station by wire or wireless, and therefore, the first base station and the distributed in this embodiment
- the unit has the same function
- the second base station has the same function as the centralized unit
- the present embodiment describes two communication scenarios: one is that the terminal device communicates with the first base station through the air interface, and then the first base station and the second base station
- the first base station acquires resources and manages the second base station
- the second base station manages a context of each terminal device, where the first base station may also be referred to as a serving base station, and the second base station may also It is called an anchor base station;
- the other is that the terminal device communicates with the distributed unit of the base station through the air interface, and then the distributed unit communicates with the centralized unit of the base station, and the distributed unit acquires resources from the centralized unit and manages the same.
- the centralized unit manages the context of each terminal device.
- the first base station or the second base station may be a base station (BTS) in a GSM system or a CDMA system, or a base station (NodeB) in WCDMA, and an evolved base station (eNodeB) in an LTE system.
- BTS base station
- NodeB base station
- eNodeB evolved base station
- gNB base station of a new radio access network.
- the resource includes at least one of the following: an SR sending resource, a CQI reporting resource, a CSI reporting resource, and an SRS reporting resource.
- the paging area refers to a terminal device in a range of a wireless network area, where 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).
- the terminal device moves between cells in this paging area without notifying the network, such as a base station.
- Step 1701 The terminal device receives, by using the physical layer control signaling or the MAC CE, at least one of the following resources: the SR sending resource, the CQI reporting resource, the CSI reporting resource, and the SRS reporting resource.
- the terminal device receives the resource sent by the base station by using physical layer control signaling or a MAC CE during a time period between receiving the RAR message or the CR message or receiving the RAR message and the CR message.
- the method before the receiving, by the terminal device, the resource sent by the base station, the method further includes: the terminal device sending uplink information.
- Step 1702 The terminal device sends the corresponding information by using the received resource.
- the terminal device sends a scheduling request to the base station by using the received SR sending resource.
- the terminal device sends a CQI to the base station by using the received CQI reporting resource.
- the terminal device sends CSI to the base station by using the received CSI reporting resource.
- the terminal device sends an SRS to the base station by using the received SRS reporting resource.
- the terminal device After the terminal device sends the corresponding information, the terminal device further sends the verification information sent by the terminal device to the base station.
- the terminal device further sends an uplink MAC-I to the base station, where the uplink MAC-I is used for the integrity check of the base station, and the integrity check refers to the description content of the foregoing embodiment, and is no longer Narration.
- the terminal device further receives a dedicated resource release indication or a verification success indication sent by the base station by using physical layer control signaling or a MAC CE.
- FIG. 18 is a schematic structural diagram of a terminal device according to another embodiment of the present invention.
- a terminal device in an INACTIVE state in a single cell or a paging area and a base station is a first base station or a gNB as an example. .
- the resource allocation method is performed by a first base station or a distributed unit of a gNB, and if the resource allocation method is performed by a distributed unit of a gNB, the gNB includes a distributed unit and a centralized unit, and the distributed unit and The centralized unit is connected by wire or wireless.
- the first base station is connected to the second base station by wire or wireless, and therefore, the first base station and the distributed in this embodiment
- the unit has the same function
- the second base station has the same function as the centralized unit
- the present embodiment describes two communication scenarios: one is that the terminal device communicates with the first base station through the air interface, and then the first base station and the second base station
- the first base station acquires resources and manages the second base station
- the second base station manages a context of each terminal device, where the first base station may also be referred to as a serving base station, and the second base station may also It is called an anchor base station;
- the other is that the terminal device communicates with the distributed unit of the base station through the air interface, and then the distributed unit communicates with the centralized unit of the base station, and the distributed unit acquires resources from the centralized unit and manages the same.
- the centralized unit manages the context of each terminal device.
- the first base station or the second base station may be a base station (BTS) in a GSM system or a CDMA system, or a base station (NodeB) in WCDMA, and an evolved base station (eNodeB) in an LTE system.
- BTS base station
- NodeB base station
- eNodeB evolved base station
- gNB base station of a new radio access network.
- the resource includes at least one of the following: an SR sending resource, a CQI reporting resource, a CSI reporting resource, and an SRS reporting resource.
- the paging area refers to a terminal device in a range of a wireless network area, where 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).
- the terminal device moves between cells in this paging area without notifying 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 mutually connected by a bus.
- the receiver 1801 is configured to receive, by using the physical layer control signaling or the MAC CE, at least one of the following resources: the SR sending resource, the CQI reporting resource, the CSI reporting resource, and the SRS reporting resource; the transmitter 1802 The corresponding information is sent using the received resource.
- the receiver 1801 is configured to receive, by using 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 receiving the RAR message and the CR message.
- the transmitter 1802 is further configured to send uplink information before the receiver 1801 receives the resource sent by the base station.
- the transmitter 1802 transmits a scheduling request to the base station using the received SR transmission resource.
- the transmitter 1802 transmits the CQI to the base station by using the received CQI reporting resource.
- the transmitter 1802 transmits CSI to the base station by using the received CSI reporting resource.
- the transmitter 1802 transmits the SRS to the base station by using the received SRS reporting resource.
- the transmitter 1802 After the transmitter 1802 sends the corresponding information, the transmitter 1802 also sends the verification information sent by the terminal device to the base station.
- the transmitter 1802 is further configured to send an uplink MAC-I to the base station, where the uplink MAC-I is used by the base station to perform an integrity check, where the integrity check refers to the foregoing description, in This will not be repeated here.
- the receiver 1801 is further configured to receive a dedicated resource release indication or a verification success indication sent by the base station by using physical layer control signaling or a MAC CE.
- the processor 1803 is further configured to start a timer when the transmitter 1802 sends the MAC-I, and if the timer is off, the processor 1803 determines The receiver 1801 does not receive the verification success indication, determines that the integrity check fails, and the processor 1803 releases the related resources or the RRC suspension, reconfiguration, and update key.
- the communication device can be a chip or chipset.
- the steps of the method disclosed in the embodiments of the present application may be directly implemented as a hardware processor, or may be performed by a combination of hardware and software modules in the processor.
- the software module can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like.
- the storage medium is located in the memory, and the processor reads the information in the memory and combines the hardware to complete the steps of the above method. To avoid repetition, it will not be described in detail here.
- sequence numbers of the above processes do not mean the order of execution, and the order of execution of each process should be determined by its function and internal logic, and should not be implemented in the embodiments of the present application.
- the process constitutes any limitation.
- the disclosed systems, devices, and methods may be implemented in other manners.
- the device embodiments described above are merely illustrative.
- the division of the unit is only a logical function division.
- there may be another division manner for example, multiple units or components may be combined or may be Integrate into another system, or some features can be ignored or not executed.
- the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
- the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
- each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
- This functionality if implemented as a software functional unit and sold or used as a standalone product, can be stored on a computer readable storage medium.
- the technical solution of the present application which is essential or contributes to the prior art, or a part of the technical solution, may be embodied in the form of a software product, which is stored in a storage medium, including The instructions are used to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method in accordance with various embodiments of the present invention.
- the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
Disclosed in multiple aspects of the present invention are a resource allocation method and apparatus and an integrity verification method and apparatus. A first base station or a distributed unit allocates to a terminal device a dedicated uplink resource from uplink resources managed by the first base station or the distributed unit itself, and sends the dedicated uplink resource to the terminal device; the first base station or the distributed unit receives information sent by the terminal device using the received dedicated uplink resource. According to the resource allocation method and apparatus, a resource is allocated and sent to a terminal device before integrity verification is performed on the terminal device, thereby reducing the waiting delay during resource allocation.
Description
本申请要求于2017年3月16日提交中国专利局、申请号为201710157343.2、发明名称为“一种资源分配方法和装置以及终端设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims priority to Chinese Patent Application, filed on March 16, 2017, to the Chinese Patent Office, the number of which is hereby incorporated by reference. In this application.
本发明实施例涉及通信技术,尤其涉及一种资源分配方法和装置以及终端设备。The embodiments of the present invention relate to communication technologies, and in particular, to a resource allocation method and apparatus, and a terminal device.
随着终端设备需求和技术的飞速发展,第五代移动通信(the 5th Generation mobile communication technology,5G)系统或者新无线接入技术(New radio,NR)即将到来,5G系统或NR系统能够提供比长期演进(Long Term Evolution,LTE)网络更快的传输速率,其最高理论传输速率可达每秒数十吉字节(Gigabyte,简称Gb)。With the rapid development of terminal equipment requirements and technology, the 5th Generation mobile communication technology (5G) system or the new radio access technology (New radio, NR) is coming soon, and the 5G system or NR system can provide the ratio. The Long Term Evolution (LTE) network has a faster transmission rate, and its highest theoretical transmission rate can reach tens of gigabytes per second (Gigabyte, Gb for short).
用户设备(User Equipment,UE)在长期演进(Long-Term Evolution,LTE)系统中有三种基本的运行模式:DETACHED、IDLE、ACTIVE。User Equipment (UE) has three basic modes of operation in the Long-Term Evolution (LTE) system: DETACHED, IDLE, and ACTIVE.
LTE-DETACHED:UE开机时,UE首先进入LTE-DETACHED状态,此时UE没有向网络注册,可能因为没注册或无适合可用的网络下注册失败。LTE-DETACHED: When the UE is powered on, the UE first enters the LTE-DETACHED state. At this time, the UE does not register with the network, and may fail to register because there is no registration or no suitable network.
LTE-IDLE(空闲态):UE已注册到网络,但未激活,用户设备处于待机状态,尚无业务存在时的状态,UE开机后停留在空闲模式下,处于低功耗模式下,分组核心域已经了解到UE的位置,如有服务建立,UE能在非常短时间内切换到ACTIVE模式,继续先前激活的数据会话,在LTE-IDLE状态下,网络侧能够确切知道UE所处的跟踪区,当UE被呼叫时,网络能在用户设备最新的跟踪区范围内进行寻呼。在IDLE状态,UE没有上下文,UE没有与基站(eNodeB)和核心网(Core Network,CN)连接。LTE-IDLE (idle state): The UE is registered to the network but is not activated. The user equipment is in the standby state. There is no state when the service exists. After the UE is powered on, it stays in the idle mode and is in the low power mode. The domain has already learned the location of the UE. If there is service establishment, the UE can switch to the ACTIVE mode in a very short time and continue the previously activated data session. In the LTE-IDLE state, the network side can know exactly the tracking area where the UE is located. When the UE is called, the network can page within the latest tracking area of the user equipment. In the IDLE state, the UE has no context, and the UE is not connected to the base station (eNodeB) and the core network (CN).
LTE-ACTIVE(激活态):是指用户设备与无线网络控制器(Radio Network Controller,RNC)之间已经完成无线资源控制(Radio Resource Control,RRC)连接建立时的状态,此时,用户设备已驻扎在一个小区中,UE处于接收和发送数据时的状态,这是UE和网络实际交换数据和信令的惟一的一个激活状态。当处于LTE-ACTIVE状态下的UE在两个LTE小区间移动时,将发生切换,eNodeB能够决定切换的机制,因而减少数据传输中断的时延。在ACTIVE状态,eNodeB保存有UE的接入层(Access Stratum,AS)上下文(AS context),以及UE的小区无线网络临时识别标识(Cell Radio Network Temmporary Identify,C-RNTI),eNodeB和CN有专用连接。LTE-ACTIVE (active state): refers to the state when the radio resource control (RRC) connection is established between the user equipment and the radio network controller (RNC). At this time, the user equipment has Stationed in a cell, the UE is in a state of receiving and transmitting data, which is the only active state in which the UE and the network actually exchange data and signaling. When the UE in the LTE-ACTIVE state moves between two LTE cells, a handover will occur, and the eNodeB can determine the mechanism of handover, thereby reducing the delay of data transmission interruption. In the ACTIVE state, the eNodeB stores the Access Stratum (AS) context of the UE, and the Cell Radio Network Temming Identity (C-RNTI) of the UE. The eNodeB and the CN are dedicated. connection.
在LTE里中还存在一种轻连接状态的概念,在5G系统的无线接入技术(Radio Access Technology,RAT)中也引入一个状态称为不活动态(INACTIVE),该INACTIVE态和LTE的轻连接态类似,只是保持UE在CN和接入网间的连接。There is also a concept of a light connection state in LTE. A state called Inactive State (INACTIVE) is also introduced in the Radio Access Technology (RAT) of the 5G system, and the INACTIVE state and LTE are light. The connection state is similar, except that the UE is connected between the CN and the access network.
如图1所示,为现有技术一种5G系统的网络结构示意图,所述5G系统一般包括新核心网(NG-core,NGC)和至少一个新无线接入技术基站(gNB),在5G系统的INACTIVE状态下,gNB与NGC有专用连接,gNB保存有UE的上下文(context),同时还保存一个区域(称为通知区或寻呼区)的UE上下文的标识(Resume ID或Context ID),其中,该Resume ID在该区域内唯一,该Resume ID一般包括基站标识(gNB ID)和用户设备标识(UE ID),Resume ID对应的区域可以包括多个小区。As shown in FIG. 1 , it is a schematic diagram of a network structure of a 5G system in the prior art, where the 5G system generally includes a new core network (NG-core, NGC) and at least one new radio access technology base station (gNB), at 5G. In the INACTIVE state of the system, the gNB has a dedicated connection with the NGC. The gNB stores the context of the UE, and also stores the identifier of the UE context (Resume ID or Context ID) of an area (called a notification area or a paging area). The Resume ID is unique in the area, and the Resume ID generally includes a base station identifier (gNB ID) and a user equipment identifier (UE ID), and the area corresponding to the Resume ID may include multiple cells.
对应处于轻连接/INACITVE态的UE,其CN和无线接入网(Radio Access Network,RAN)的接口会锚定在一个RAN节点(比如:第二基站),然后可以执行小区重选移动性,UE在一个Resume ID的区域内移动时不需要通知基站,而UE一旦出了该区域,则UE需要向基站通知其位置,这个过程称为位置区更新。Corresponding to the UE in the light connection/INACITVE state, the interface between the CN and the Radio Access Network (RAN) is anchored to one RAN node (for example, the second base station), and then the cell reselection mobility can be performed. The UE does not need to notify the base station when moving within the area of one Resume ID, and once the UE leaves the area, the UE needs to inform the base station of its location. This process is called location area update.
当UE从INACITVE态要恢复到ACTIVE态时,需要发起无线资源控制(Radio Resource Control,RRC)连接恢复过程,如图2所示,为现有技术一种RRC连接恢复的过程示意图。When the UE is to be restored from the INACITVE state to the ACTIVE state, a radio resource control (RRC) connection recovery process needs to be initiated. As shown in FIG. 2, it is a schematic diagram of a process of RRC connection recovery in the prior art.
UE随机选择签名ID(Signature ID),发送签名ID对应的前导码(Preamble)(Message1),当gNB接收到前导码信号时,由其物理层通过相关来处理该信号,准确地获取上行时间提前量和上行发射功率,读取UE的前导码,以及上报给MAC。gNB的MAC分配C-RNTI,选择前导码的响应信道,并将C-RNTI传送给物理层。物理层在与签名ID对应的前导码的响应信道上向UE发送C-RNTI、时间和功率信息(Message 2)。当两个或更多个UE通过不同的签名ID同时发送前导码信号时,gNB能区分不同UE的前导码,并在不同的前导码响应信道上给不同UE提供不同的C-RNTI和其它信息。The UE randomly selects a signature ID (Signature ID), and sends a Preamble (Message1) corresponding to the signature ID. When the gNB receives the preamble signal, the physical layer processes the signal through correlation, and accurately acquires the uplink time advance. The amount and the uplink transmit power, read the preamble of the UE, and report it to the MAC. The MAC of the gNB allocates a C-RNTI, selects a response channel of the preamble, and transmits the C-RNTI to the physical layer. The physical layer transmits C-RNTI, time and power information (Message 2) to the UE on the response channel of the preamble corresponding to the signature ID. When two or more UEs simultaneously transmit preamble signals through different signature IDs, the gNB can distinguish preambles of different UEs and provide different C-RNTIs and other information to different UEs on different preamble response channels. .
UE在Message 3步骤发起RRC连接恢复过程:UE向gNB发送连接恢复请求(RRC Conn.Resume Request),gNB为该UE分配专用的发送调度请求(Scheduling Reqeust,SR)的资源、信道质量指示(Channel Quality Indicator,CQI)上报资源、信道状态信息(Channel State Information,CSI)上报资源、发送探测参考信号(Sounding Reference Signal,SRS)的资源以及其他承载配置参数;UE接收gNB发送的连接恢复响应消息(RRC Conn.Resume Response),该连接恢复响应消息中包含该UE专用的SR发送资源、CQI上报资源、CSI上报资源、SRS发送资源以及其他承载配置参数,UE然后发送RRC连接恢复完成消息(RRC Conn.Resume Complete),然后UE进入ACTIVE态进行数据传输,数据传输完成后释放RRC链接资源。The UE initiates an RRC connection recovery procedure in the message 3. The UE sends a connection recovery request (RRC Conn. Resume Request) to the gNB, and the gNB allocates a dedicated transmission scheduling request (Scheduling Reqeust, SR) resource and channel quality indication (Channel). The quality indicator (CQI) reports the resource, the channel state information (CSI), the resource, the sounding reference signal (SRS), and other bearer configuration parameters; the UE receives the connection recovery response message sent by the gNB ( RRC Conn.Resume Response), the connection recovery response message includes the UE-specific SR transmission resource, CQI reporting resource, CSI reporting resource, SRS transmission resource, and other bearer configuration parameters, and the UE then sends an RRC connection recovery complete message (RRC Conn) .Resume Complete), then the UE enters the ACTIVE state for data transmission, and releases the RRC link resource after the data transmission is completed.
但是,目前5G中,当gNB由集中式单元(Centralized Unit,CU)和分布式单元(Distributed Unit,DU)构成时,CU一般负责集中式无线资源和连接管理控制,DU一般包含实现分布式用户面处理功能。CU分配的资源先要传输给DU,然后再由DU传输给UE,因此,CU和DU间的接口可能是不理想传输链路,连接过程通过DU和CU的传输时延长,因此进入ACTIVE连接的时延比较长,发送数据的时延也比较。而且,当UE处于ACTIVE态且已经释放物理上行链路控制信道(Physical Uplink Control Channel,PUCCH)专用资源后,UE需要发起随机接入过程,在接入成功后,DU需要等待CU通过RRC消息分配专用资源。However, in the current 5G, when the gNB is composed of a centralized unit (CU) and a distributed unit (DU), the CU is generally responsible for centralized radio resources and connection management control, and the DU generally includes implementing distributed users. Surface processing function. The resources allocated by the CU are first transmitted to the DU and then transmitted to the UE by the DU. Therefore, the interface between the CU and the DU may be an undesired transmission link, and the connection process is extended by the transmission of the DU and the CU, so the AC connection is entered. The delay is longer and the delay in sending data is also compared. Moreover, after the UE is in the ACTIVE state and the physical uplink control channel (PUCCH) dedicated resource has been released, the UE needs to initiate a random access procedure. After the access succeeds, the DU needs to wait for the CU to allocate through the RRC message. Dedicated resources.
因此,由于DU和CU之间传输需要时间,所以容易引起UE接入的更多时延。Therefore, since the transmission between the DU and the CU takes time, it is easy to cause more delay for the UE to access.
同时,对分布式基站系统也存在相同的问题,所述分布式基站包括第一基站(也称服务基站)和第二基站(也称锚基站),终端设备通过空口和所述第一基站通信,所述第一基站通过有线或无线与所述第二基站通信,所述第二基站管理各种资源和各个终端设备的上下文。At the same time, the same problem exists in the 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), and the terminal device communicates with the first base station through an air interface. The first base station communicates with the second base station by wire or wirelessly, and the second base station manages various resources and contexts of the respective 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 to allocate resources to the terminal device, and thus, it also causes more delay.
发明内容Summary of the invention
本发明的多个方面提供一种资源分配方法和装置以及终端设备,能降低分配资源的时延。Aspects of the present invention provide a resource allocation method and apparatus, and a terminal device, which can reduce the delay in allocating resources.
本发明的第一方面提供一种资源分配方法,所述方法包括:第一基站或基站的分布式单元接收终端设备发送的上行信息;所述第一基站或分布式单元从其管理的上行资源中给所述终端设备分配专用上行资源并向所述终端设备发送。A first aspect of the present invention provides a resource allocation method, where the method includes: receiving, by a first base station or a distributed unit of a base station, uplink information sent by a terminal device; and uplink resources managed by the first base station or a distributed unit The dedicated uplink resource is allocated to the terminal device and sent to the terminal device.
可选地,所述方法还包括:若所述第一基站或所述分布式单元检测到所述终端设备在分配的所述专用上行资源进行发送或接收所述终端设备发送的上行资源配置确认反馈指示,通知第二基站或所述基站的集中式单元已经为所述终端设备分配所述专用上行资源。Optionally, the method further includes: if the first base station or the distributed unit detects that the terminal device sends or receives an uplink resource configuration acknowledgement sent by the terminal device in the allocated dedicated uplink resource. The feedback indication notifies the second base station or the centralized unit of the base station that the dedicated uplink resource has been allocated to the terminal device.
可选地,所述方法还包括:所述第一基站或所述分布式单元接收所述终端设备发送的校验信息;所述第一基站或所述分布式单元将所述终端设备的所述校验信息发送给第二基站或所述基站的集中式单元。Optionally, the method further includes: the first base station or the distributed unit receives verification information sent by the terminal device; the first base station or the distributed unit uses the terminal device The verification information is sent to the second base station or a centralized unit of the base station.
可选地,所述方法还包括:若所述第一基站或所述分布式单元接收所述第二基站或所述集中式单元对所述终端设备进行完整性校验失败则发送的专用资源释放指示;所述第一基站或所述分布式单元将所述专用资源释放指示通知所述终端设备。Optionally, the method further includes: if the first base station or the distributed unit receives a dedicated resource that is sent by the second base station or the centralized unit fails to perform integrity check on the terminal device Release the indication; the first base station or the distributed unit notifies the terminal device of the dedicated resource release indication.
可选地,所述方法还包括:所述第一基站或所述分布式单元接收所述第二基站或所述集中式单元对所述终端设备进行完整性校验的校验结果;所述第一基站或所述分布式单元根据所述校验结果确定是否生成和发送专用资源释放指示给所述终端设备。Optionally, the method further includes: receiving, by the first base station or the distributed unit, a verification result of performing integrity check on the terminal device by the second base station or the centralized unit; The first base station or the distributed unit determines whether to generate and send a dedicated resource release indication to the terminal device according to the check result.
可选地,所述方法还包括:所述第一基站或所述分布式单元从第二基站或所述基站的集中式单元获取至少一部分上行资源作为所述第一基站或所述分布式单元管理的上行资源。Optionally, the method further includes: the first base station or the distributed unit acquiring at least a part of an uplink resource from the second base station or a centralized unit of the base station as the first base station or the distributed unit Managed uplink resources.
可选地,所述第一基站或所述分布式单元管理的上行资源包括如下至少一个:SR发送资源、CQI上报资源、CSI上报资源、SRS上报资源、发送上行数据的PUSCH资源、单小区用于调度的终端设备标识。Optionally, the uplink resource managed by the first base station or the distributed unit includes at least one of the following: an SR sending resource, a CQI reporting resource, a CSI reporting resource, an SRS reporting resource, a PUSCH resource for sending uplink data, and a single cell. The terminal device identifier for scheduling.
可选地,所述方法还包括:所述第一基站或所述分布式单元在发送RAR消息或CR消息时或发送RAR消息和CR消息之间的时间段将所述分配的专用上行资源发送给所述终端设备。Optionally, the method further includes: sending, by the first base station or the distributed unit, the allocated dedicated uplink resource in a time period between sending a RAR message or a CR message or sending a RAR message and a CR message To the terminal device.
可选地,所述方法还包括:所述第一基站或所述分布式单元通过物理层控制信令或者MAC CE或者PDCP控制单元将所述分配的专用上行资源发送给所述终端设备。Optionally, the method further includes: sending, by the first base station or the distributed unit, the allocated dedicated uplink resource to the terminal device by using physical layer control signaling or a MAC CE or a PDCP control unit.
本发明的第二方面提供一种资源分配装置,所述资源分配装置为第一基站或基站的分布式单元,包括:处理器,用于从其管理的上行资源中给终端设备分配专用上行资源;发送器,用于向所述终端设备发送所述分配的专用上行资源;接收器,用于接收所述终端设备使用所接收的专用上行资源发送的信息。A second aspect of the present invention provides a resource allocation apparatus, where the resource allocation apparatus is a distributed unit of a first base station or a base station, and includes: a processor, configured to allocate a dedicated uplink resource to a terminal equipment from an uplink resource that is managed by the same. a transmitter, configured to send the allocated dedicated uplink resource to the terminal device, and a receiver, configured to receive information that is sent by the terminal device by using the received dedicated uplink resource.
可选地,所述处理器还用于检测到所述终端设备在分配的所述专用上行资源进行发送或所述接收器接收所述终端设备发送的上行资源配置确认反馈指示时,生成通知信息,所述通知信息用于指示已经为所述终端设备分配所述专用上行资源;所述发送器还用于将所述通知信息发送给第二基站或所述基站的集中式单元。Optionally, the processor is further configured to: when the terminal device detects that the allocated dedicated uplink resource is sent, or the receiver receives the uplink resource configuration confirmation feedback indication sent by the terminal device, generate the notification information. 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 send the notification information to a second base station or a centralized unit of the base station.
可选地,所述接收器还用于接收所述终端设备发送的校验信息;所述发送器还用于将所述终端设备的所述校验信息发送给第二基站或所述基站的集中式单元。Optionally, the receiver is further configured to receive the verification information sent by the terminal device, where the transmitter is further configured to send the verification information of the terminal device to the second base station or the base station. Centralized unit.
可选地,所述接收器还用于接收所述第二基站或所述集中式单元对所述终端设备进行完整性校验失败时发送的专用资源释放指示;所述发送器还用于将所述专用资源释放指示通知所述终端设备。Optionally, the receiver is further configured to receive a dedicated resource release indication sent when the second base station or the centralized unit fails to perform an integrity check on the terminal device; the transmitter is further configured to: The dedicated resource release indication notifies the terminal device.
可选地,所述接收器还用于接收所述第二基站或所述集中式单元对所述终端设备进行完整性校验的校验结果;所述处理器还用于根据所述校验结果确定是否生成专用资源释放指示;所述发送器还用于校验失败时将所述生成的专用资源释放指示发送给所述终端设备。Optionally, the receiver is further configured to receive a verification result that the second base station or the centralized unit performs an integrity check on the terminal device; the processor is further configured to perform, according to the verification A result is determined whether a dedicated resource release indication is generated; the sender is further configured to send the generated dedicated resource release indication to the terminal device when the verification fails.
可选地,所述接收器还用于从第二基站或所述基站的集中式单元获取至少一部分上行资源作为所述第一基站或所述分布式单元管理的上行资源。Optionally, the receiver is further configured to acquire, from the second base station or the centralized unit of the base station, at least a part of the uplink resource as an uplink resource managed by the first base station or the distributed unit.
可选地,所述第一基站或所述分布式单元管理的上行资源包括如下至少一个:SR发送资源、CQI上报资源、CSI上报资源、SRS上报资源、发送上行数据的PUSCH资源、单小区用于调度的终端设备标识。Optionally, the uplink resource managed by the first base station or the distributed unit includes at least one of the following: an SR sending resource, a CQI reporting resource, a CSI reporting resource, an SRS reporting resource, a PUSCH resource for sending uplink data, and a single cell. The terminal device identifier for scheduling.
可选地,所述发送器还用于在发送RAR消息或CR消息时或发送RAR消息和CR消息之间的时间段将所述分配的专用上行资源发送给所述终端设备。Optionally, the sender is further configured to send the allocated dedicated uplink resource to the terminal device during a time period between sending the RAR message or the CR message or sending the RAR message and the CR message.
可选地,所述发送器还用于通过物理层控制信令或者MAC CE或者PDCP控制单元将所述分配的专用上行资源发送给所述终端设备。Optionally, the transmitter is further configured to send the allocated dedicated uplink resource to the terminal device by using physical layer control signaling or a MAC CE or a PDCP control unit.
本发明的第三方面提供一种资源分配方法,所述方法包括:基站接收终端设备发送的随机接入请求;所述基站在发送RAR消息时或发送RAR消息和CR消息之间的时间段将其管理的SR发送资源、CQI上报资源、CSI上报资源、SRS上报资源分配至少之一发送给所述终端设备。A third aspect of the present invention provides a resource allocation method, where the method includes: a base station receiving a random access request sent by a terminal device; and a time period between when the base station sends a RAR message or when sending a RAR message and a CR message At least one of the SR transmission resource, the CQI reporting resource, the CSI reporting resource, and the SRS reporting resource allocation is sent to the terminal device.
可选地,所述方法还包括:所述基站接收所述终端设备发送的校验信息;所述基站根据所述校验信息对所述终端设备进行完整性校验失败时发送专用资源释放指示给所述终端设备。Optionally, the method further includes: the base station receiving the verification information sent by the terminal device; and the base station sending a dedicated resource release indication when the terminal device fails to perform an integrity check according to the verification information. To the terminal device.
可选地,所述方法还包括:所述基站通过物理层控制信令或者MAC CE或者PDCP控制单元将所述分配的资源发送给所述终端设备。Optionally, the method further includes: the base station sending the allocated resource to the terminal device by using physical layer control signaling or a MAC CE or a PDCP control unit.
本发明的第四方面提供一种资源分配装置,所述装置包括:接收器,用于接收终端设备发送的随机接入请求;处理器,用于分配其管理的SR发送资源、CQI上报资源、CSI上报资源、SRS上报资源至少之一给所述终端设备;发送器,用于发送所分配的资源给所述终端设备。A fourth aspect of the present invention provides a resource allocation apparatus, where the apparatus includes: a receiver, configured to receive a random access request sent by a terminal device, and a processor, configured to allocate an SR sending resource and a CQI reporting resource that are managed by the processor, At least one of the CSI reporting resource and the SRS reporting resource is sent to the terminal device, and the transmitter is configured to send the allocated resource to the terminal device.
可选地,所述接收器,还用于接收所述终端设备发送的校验信息;所述处理器,还用于根据所述校验信息对所述终端设备进行完整性校验;所述发送器,还用于如果完整性校验失败,发送专用资源释放指示给所述终端设备。Optionally, the receiver is further configured to receive verification information sent by the terminal device, where the processor is further configured to perform integrity verification on the terminal device according to the verification information; The transmitter is further configured to send a dedicated resource release indication to the terminal device if the integrity check fails.
可选地,所述发送器还用于通过物理层控制信令或者MAC CE或者PDCP控制单元将所述分配的资源发送给所述终端设备。Optionally, the transmitter is further configured to send the allocated resource to the terminal device by using physical layer control signaling or a MAC CE or a PDCP control unit.
本发明的第五方面提供一种完整性校验方法,所述方法包括:终端设备根据发送上行信息的无线承载对应的计数(COUNT)值的全部或部分和上行安全输入参数生成用于完整性校验的上行MAC-I;所述终端设备发送所述生成的上行MAC-I给基站进行完整性校验。A fifth aspect of the present invention provides an integrity verification method, the method comprising: generating, by the terminal device, all or part of a count (COUNT) value corresponding to a radio bearer transmitting uplink information and an uplink security input parameter for integrity The verified uplink MAC-I; the terminal device sends the generated uplink MAC-I to perform integrity check on the base station.
可选地,所述方法还包括:所述终端设备接收所述基站发送的下行MAC-I,所述下行MAC-I由所述基站根据所述COUNT值和下行安全输入参数生成;所述终端设备根据所述下行MAC-I校验所述基站是否是合法基站。Optionally, the method further includes: receiving, by the terminal device, 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; The device checks whether the base station is a legal base station according to the downlink MAC-I.
本发明的第六方面提供一种完整性校验装置,所述装置包括:处理器,用于根据发送上行信息的无线承载对应的计数(COUNT)值的全部或部分和上行安全输入参数生成用于完整性校验的上行MAC-I;发送器,用于发送所述生成的上行MAC-I给基站进行完整性校验。A sixth aspect of the present invention provides an integrity check apparatus, the apparatus comprising: a processor, configured to generate all or part of a count (COUNT) value corresponding to a radio bearer transmitting uplink information, and generate an uplink secure input parameter The uplink MAC-I of the integrity check is used by the transmitter to send the generated uplink MAC-I to perform integrity check on the base station.
可选地,所述装置还包括:接收器,用于接收所述基站发送的下行MAC-I,所述下行MAC-I由所述基站根据所述COUNT值和下行安全输入参数生成;所述处理器,还用于根据所述下行MAC-I校验所述基站是否是合法。Optionally, the device further includes: a receiver, 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 a downlink security input parameter; The processor is further configured to check whether the base station is legal according to the downlink MAC-I.
本发明的第六方面提供一种资源分配方法,所述方法包括:终端设备通过物理层控制信令或MAC CE接收基站发送的如下至少一种资源:SR发送资源、CQI上报资源、CSI上报资源、SRS上报资源;所述终端设备使用接收的资源发送对应的信息。A sixth aspect of the present invention provides a resource allocation method, where the method includes: receiving, by a physical layer control signaling or a MAC CE, a terminal device, at least one resource sent by a base station: an SR sending resource, a CQI reporting resource, and a CSI reporting resource. And the SRS reports the resource; the terminal device sends the corresponding information by using the received resource.
可选地,所述终端设备在接收RAR消息或CR消息时或接收RAR消息和CR消息之间的时间段接收所述基站发送的资源。Optionally, the terminal device receives the resource sent by the base station when receiving the RAR message or the CR message or receiving the RAR message and the CR message.
可选地,在所述终端设备接收所述基站发送的资源之前,所述方法还包括:所述终端设备发送上行信息。Optionally, before the receiving, by the terminal device, the resource sent by the base station, the method further includes: the terminal device sending uplink information.
本发明的第七方面提供一种终端设备,所述终端设备包括:接收器,用于通过物理层控制信令或MAC CE接收基站发送的如下至少一种资源:SR发送资源、CQI上报资源、CSI上报资源、SRS上报资源;发送器,用于使用接收的资源发送对应的信息。A seventh aspect of the present invention provides a terminal device, where the terminal device includes: a receiver, configured to receive, by using a physical layer control signaling or a MAC CE, at least one resource sent by a base station: an SR sending resource, a CQI reporting resource, The CSI reports the resource and the SRS report resource, and the sender is configured to send the corresponding information by using the received resource.
可选地,所述接收器用于在接收RAR消息或CR消息时或接收RAR消息和CR消息之间的时间段接收所述基站发送的资源。Optionally, the receiver is configured to receive the resource sent by the base station when receiving the RAR message or the CR message or receiving the RAR message and the CR message.
可选地,在所述接收器接收所述基站发送的资源之前,所述发送器还用于发送上行信息。Optionally, the transmitter is further configured to send uplink information before the receiver receives the resource sent by the base station.
上述描述的资源分配方法和装置以及终端设备,在对终端设备完整性校验之前给所述终端设备分配和发送资源,可以降低分配资源时的等待时延。The resource allocation method and apparatus and the terminal device described above allocate and send resources to the terminal device before the terminal device integrity check, and can reduce the waiting delay when allocating resources.
图1为现有技术一种5G系统的网络结构示意图;1 is a schematic diagram of a network structure of a 5G system in the prior art;
图2为现有技术一种RRC连接恢复的过程示意图;2 is a schematic diagram of a process of RRC connection recovery in the prior art;
图3为本发明一实施例的一种资源分配方法流程示意图;FIG. 3 is a schematic flowchart of a resource allocation method according to an embodiment of the present invention; FIG.
图4为本发明另一实施例的一种资源分配装置结构示意图;FIG. 4 is a schematic structural diagram of a resource allocation apparatus according to another embodiment of the present invention; FIG.
图5A为本发明一实施例的一种资源分配系统结构示意图;FIG. 5A is a schematic structural diagram of a resource allocation system according to an embodiment of the present invention; FIG.
图5B为本发明另一实施例的一种资源分配系统结构示意图;FIG. 5B is a schematic structural diagram of a resource allocation system according to another embodiment of the present invention; FIG.
图6为本发明另一实施例的一种获取资源的方法的流程示意图;FIG. 6 is a schematic flowchart diagram of a method for acquiring a resource according to another embodiment of the present invention;
图7为本发明另一实施例的一种获取资源的方法的流程示意图;FIG. 7 is a schematic flowchart diagram of a method for acquiring a resource according to another embodiment of the present invention;
图8为本发明另一实施例的一种资源分配方法流程示意图;FIG. 8 is a schematic flowchart of a resource allocation method according to another embodiment of the present invention; FIG.
图9为本发明另一实施例的一种资源分配方法流程示意图;FIG. 9 is a schematic flowchart of a resource allocation method according to another embodiment of the present invention; FIG.
图10为本发明另一实施例的一种资源分配装置的结构示意图;FIG. 10 is a schematic structural diagram of a resource allocation apparatus according to another embodiment of the present invention; FIG.
图11为本发明另一实施例的一种资源分配方法流程示意图;FIG. 11 is a schematic flowchart of a resource allocation method according to another embodiment of the present invention; FIG.
图12为本发明另一实施例的一种资源分配装置的结构示意图;FIG. 12 is a schematic structural diagram of a resource allocation apparatus according to another embodiment of the present invention; FIG.
图13为本发明另一实施例的一种完整性校验方法的流程示意图;FIG. 13 is a schematic flowchart diagram of an integrity verification method according to another embodiment of the present invention; FIG.
图14为本发明另一实施例的一种完整性校验装置的结构示意图;FIG. 14 is a schematic structural diagram of an integrity verification apparatus according to another embodiment of the present invention; FIG.
图15为本发明另一实施例的一种完整性校验方法的流程示意图;FIG. 15 is a schematic flowchart diagram of an integrity verification method according to another embodiment of the present invention; FIG.
图16为本发明另一实施例的一种完整性校验方法的流程示意图;FIG. 16 is a schematic flowchart diagram of an integrity verification method according to another embodiment of the present invention; FIG.
图17为本发明另一实施例的一种资源分配方法流程示意图;FIG. 17 is a schematic flowchart of a resource allocation method according to another embodiment of the present invention; FIG.
图18为本发明另一实施例的一种终端设备的结构示意图。FIG. 18 is a schematic structural diagram of a terminal device according to another embodiment of the present invention.
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the drawings in the embodiments of the present invention. It is a partial embodiment of the invention, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
本文所提及的“第一”、“第二”以及类似的词语并不表示任何顺序、数量或者重要性,而只是用来区分不同的组成部分。同样,“一个”或者“一”等类似词语也不表示数量限制,而是表示存在至少一个。“连接”或者“相连”等类似的词语并非限定于物理的或者机械的连接,而是可以包括电性的连接,不管是直接的还是间接的。The words "first", "second", and the like, as used herein, are not meant to indicate any order, quantity, or importance, but are used to distinguish different components. Similarly, the words "a" or "an" and the like do not denote a quantity limitation, but mean that there is at least one. The words "connected" or "connected" and the like are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect.
在本文提及的“模块”通常是指存储在存储器中的能够实现某些功能的程序或指令;在本文中提及的“单元”通常是指按照逻辑划分的功能性结构,该“单元”可以由纯硬件实现,或者,软硬件的结合实现。A "module" as referred to herein generally refers to a program or instruction stored in a memory that is capable of performing certain functions; "unit" as referred to herein generally refers to a functional structure that is logically divided, the "unit" It can be implemented by pure hardware or a combination of hardware and software.
在本文中提及的“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。"Multiple" as referred to herein means two or more. "and/or", describing the association relationship of the associated objects, indicating that there may be three relationships, for example, A and/or B, which may indicate that there are three cases where A exists separately, A and B exist at the same time, and B exists separately. The character "/" generally indicates that the contextual object is an "or" relationship.
本文中描述的技术可用于各种通信系统,例如当前2G,3G通信系统和新无线接入网络,例如全球移动通信(Global System of Mobile communication,GSM)系统,码分多址(Code Division Multiple Access,CDMA)系统,时分多址(Time Division Multiple Access,TDMA)系统,宽带码分多址(Wideband Code Division Multiple Access,WCDMA),频分多址(Frequency Division Multiple Addressing,FDMA)系统,正交频分多址(Orthogonal Frequency-Division Multiple Access,OFDMA)系统,单载波FDMA(SC-FDMA)系统,通用分组无线业务(General Packet Radio Service,GPRS)系统,长期演进(Long Term Evolution,LTE)系统,UMTS网络以及其他此类通信系统。其中,新无线接入网络能够提供比LTE网络更高的传输速率,新无线接入网络也称为5G网络、下一代网络等。The techniques described herein can be used in a variety of communication systems, such as current 2G, 3G communication systems and new wireless access networks, such as the Global System of Mobile communication (GSM) system, Code Division Multiple Access (Code Division Multiple Access). , CDMA) system, Time Division Multiple Access (TDMA) system, Wideband Code Division Multiple Access (WCDMA), Frequency Division Multiple Addressing (FDMA) system, orthogonal frequency Orthogonal Frequency-Division Multiple Access (OFDMA) system, single carrier FDMA (SC-FDMA) system, General Packet Radio Service (GPRS) system, Long Term Evolution (LTE) system, UMTS networks and other such communication systems. Among them, the new wireless access network can provide a higher transmission rate than the LTE network, and the new wireless access network is also called a 5G network, a next generation network, and the like.
本文中结合终端设备和/或基站和/或基站控制器来描述各种方面。Various aspects are described herein in connection with a terminal device and/or a base station and/or a base station controller.
终端设备(Terminal Device),可以是无线终端也可以是有线终端,无线终端可以是指向终端设备提供语音和/或数据连通性的设备,具有无线连接功能的手持式设备、或连接到无线调制解调器的其他处理设备。无线终端可以经无线接入网(例如,RAN,Radio Access Network)与一个或多个核心网进行通信,无线终端可以是移动终端,如移动电话(或称为“蜂窝”电话)和具有移动终端的计算机,例如,可以是便携式、袖珍式、手持式、计算机内置的或者车载的移动装置,它们与无线接入网交换语言和/或数据。例如,个人通信业务(Personal Communication Service,PCS)电话、无绳电话、会话发起协议(SIP)话机、无线本地环路(Wireless Local Loop,WLL)站、个人数字助理(Personal Digital Assistant,PDA)等设备。无线终端也可以称为系统、订户单元(Subscriber Unit)、订户站(Subscriber Station),移动站(Mobile Station)、移动台(Mobile)、远程站(Remote Station)、接入点(Access Point)、远程终端(Remote Terminal)、接入终端(Access Terminal)、用户终端(User Terminal)、用户设备(User Equipment)或用户代理(User Agent)。The terminal device (Terminal Device) may be a wireless terminal or a wired terminal, and the wireless terminal may be a device that provides voice and/or data connectivity to the terminal device, a handheld device with wireless connection function, or a wireless modem. Other processing equipment. The wireless terminal can communicate with one or more core networks via a radio access network (eg, RAN, Radio Access Network), which can be a mobile terminal, such as a mobile phone (or "cellular" phone) and with a mobile terminal The computers, for example, can be portable, pocket-sized, handheld, computer-integrated or in-vehicle mobile devices that exchange language and/or data with the wireless access network. For example, Personal Communication Service (PCS) phones, cordless phones, Session Initiation Protocol (SIP) phones, Wireless Local Loop (WLL) stations, Personal Digital Assistants (PDAs), etc. . A wireless terminal may also be called a system, a subscriber unit, a subscriber station, a mobile station, a mobile station, a remote station, an access point, or an access point. Remote Terminal, Access Terminal, User Terminal, User Equipment, or User Agent.
基站(即,节点)可以是指接入网中在空中接口上通过一个或多个扇区与无线终端通信的设备。基站可用于将收到的空中帧与IP分组进行相互转换,作为无线终端与接入网的其余部分之间的路由器,其中接入网的其余部分可包括网际协议(IP)网络。基站还可协调对空中接口的属性管理。例如,基站可以是GSM系统或CDMA系统中的基站(Base Transceiver Station,BTS),也可以是WCDMA系统中的基站(NodeB),还可以是LTE系统中的演进型基站(eNodeB或eNB或e-NodeB),本申请并不限定。新无线接入网络的接入网设备也称为基站(gNB)、NR Node(节点)或者NR BS(基站,Base Station),在此不作限制,但为描述方便,本文中统一称为gNB。A base station (ie, a node) may refer to a device in an access network that communicates with a wireless terminal over one or more sectors over an air interface. The base station can be used to convert the received air frame to the IP packet as a router between the wireless terminal and the rest of the access network, wherein the remainder of the access network can include an Internet Protocol (IP) network. The base station can also coordinate attribute management of the air interface. For example, the base station may be a base station (Base Transceiver Station, BTS) in a GSM system or a CDMA system, or may be a base station (NodeB) in a WCDMA system, or may be an evolved base station (eNodeB or eNB or e- in an LTE system). NodeB), this application is not limited. The access network device of the new radio access network is also referred to as a base station (gNB), an NR Node (node), or an NR BS (Base Station), which is not limited herein, but is conveniently referred to herein as gNB for convenience of description.
基站控制器(即,控制节点),可以是GSM或CDMA中的基站控制器(Base Station Controller,BSC),也可以是WCDMA中的无线网络控制器(Radio Network Controller,RNC),本申请并不限定。The base station controller (ie, the control node) may be a base station controller (BSC) in GSM or CDMA, or may be a radio network controller (RNC) in WCDMA. limited.
如图3所示,为本发明一实施例的一种资源分配方法流程示意图,所述资源分配方法由第一基站或基站的分布式单元执行,如果所述资源分配方法由基站的分布式单元执行,则所述基站包括分布式单元和集中式单元,所述分布式单元和集中式单元通过有线或无线连接。在本发明的另一实施例中,如果所述资源分配方法由第一基站执行,则所述第一基站通过有线或无线与第二基站连接,因此,本实施例中第一基站和分布式单元具有相同的功能,第二基站与集中式单元具有相同的功能,也即本实施例描述两种通信场景:一种是终端设备与第一基站通过空口通信,然后第一基站与第二基站通信,所述第一基站所述第二基站获取资源并进行管理,所述第二基站管理各个终端设备的上下文(context),该第一基站也可以称为服务基站,该第二基站也可以称为锚基站;另一种是终端设备通过空口与基站的分布式单元通信,然后分布式单元与基站的集中式单元通信,所述分布式单元从所述集中式单元获取资源并进行管理,所述集中式单元管理各个终端设备的上下文(context)。As shown in FIG. 3, a schematic flowchart of a resource allocation method according to an embodiment of the present invention, where the resource allocation method is performed by a distributed unit of a first base station or a base station, if the resource allocation method is performed by a distributed unit of a base station Executing, the base station includes a distributed unit and a centralized unit, and the distributed unit and the centralized unit are connected by wire or wireless. In another embodiment of the present invention, if the resource allocation method is performed by the first base station, the first base station is connected to the second base station by wire or wireless, and therefore, the first base station and the distributed in this embodiment The unit has the same function, and the second base station has the same function as the centralized unit, that is, the present embodiment describes two communication scenarios: one is that the terminal device communicates with the first base station through the air interface, and then the first base station and the second base station The first base station acquires resources and manages the second base station, and the second base station manages a context of each terminal device, where the first base station may also be referred to as a serving base station, and the second base station may also It is called an anchor base station; the other is that the terminal device communicates with the distributed unit of the base station through the air interface, and then the distributed unit communicates with the centralized unit of the base station, and the distributed unit acquires resources from the centralized unit and manages the same. The centralized unit manages the context of each terminal device.
可选地,所述第一基站或基站既可以为GSM系统或CDMA系统中的基站(BTS),也可以为WCDMA中的基站(NodeB),LTE系统中的演进型基站(eNodeB),或新无线接入网络的基站(gNB)。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 WCDMA, an evolved base station (eNodeB) in an LTE system, or a new A base station (gNB) of a radio access network.
步骤301,第一基站/分布式单元从其管理的上行资源中给终端设备分配专用上行资源并向所述终端设备发送。Step 301: The first base station/distributed unit allocates a dedicated uplink resource to the terminal device from the uplink resource it manages, and sends the dedicated uplink resource to the terminal device.
可选地,所述第一基站/分布式单元在接收终端设备发送的上行信息之前或之后,可以从其管理的上行资源中给所述终端设备分配专用上行资源并向所述终端设备发送,例如所述第一基站/分布式单元在接收所述终端设备的上行信息之前,如果所述第一基站/分布式单元维护的定时器届满,所述第一基站/分布式单元没有收到所述终端设备使用 资源发送的信息,则判定所述终端设备没有相应资源或释放了相应资源,主动给终端设备分配专用上行资源并向所述终端设备发送。Optionally, the first base station/distributed unit may allocate the dedicated uplink resource to the terminal device from the uplink resource it manages before and after receiving the uplink information sent by the terminal device, and send the dedicated uplink resource to the terminal device. For example, the first base station/distributed unit does not receive the first base station/distributed unit if the timer maintained by the first base station/distributed unit expires before receiving the uplink information of the terminal device. When the terminal device uses the information sent by the resource, it is determined that the terminal device does not have the corresponding resource or releases the corresponding resource, and actively allocates the dedicated uplink resource to the terminal device and sends the dedicated uplink resource to the terminal device.
可选地,所述上行信息可以为业务数据、RRC消息(例如,RRC连接建立请求、RRC连接重建请求)、测量报告、SR,MAC或RLC的层控制信息或随机接入请求(例如,发送preamble)。Optionally, the uplink information may be service data, an RRC message (eg, an RRC connection setup request, an RRC connection reestablishment request), a measurement report, a layer control information of an SR, a MAC, or an RLC, or a random access request (eg, sending Preamble).
举例,终端设备请求的时机,比如,终端设备要发送数据,可是没有专用的上行专用控制或数据的专用资源。For example, the timing of the terminal device request, for example, the terminal device is to transmit data, but there is no dedicated dedicated dedicated control or data dedicated resource.
步骤302,所述第一基站或分布式单元接收所述终端设备使用所接收的专用上行资源发送的信息。Step 302: The first base station or the distributed unit receives information that is sent by the terminal device by using the received dedicated uplink resource.
其中,所述“专用”是指仅与所述终端设备相关,即所述专用上行资源仅仅分配给所述终端设备使用。在本发明中的另一种实施方式,在一段时间内多个终端设备分配的资源是相同的。The “dedicated” refers to only the terminal device, that is, the dedicated uplink resource is only allocated to the terminal device for use. In another embodiment of the present invention, resources allocated by a plurality of terminal devices are the same over a period of time.
可选地,所述第一基站或所述分布式单元通过物理层控制信令或者媒体介入控制(Media Access Control,MAC)控制单元(MAC CE)或者分组数据汇聚协议(Packet Data Convergence Protocol,PDCP)控制单元将所述分配的专用上行资源发送给所述终端设备。Optionally, the first base station or the distributed unit passes physical layer control signaling or a Media Access Control (MAC) Control Unit (MAC CE) or a Packet Data Convergence Protocol (PDCP). And the control unit sends the allocated dedicated uplink resource to the terminal device.
可选地,所述第一基站/分布式单元检测到所述终端设备在分配的所述专用上行资源进行发送或接收所述终端设备发送的上行资源配置确认反馈指示时,通知所述第二基站或集中式单元(即第二基站/集中式单元)已经为所述终端设备分配所述专用上行资源。Optionally, the first base station/distributed unit detects that the terminal device notifies the second when the allocated dedicated uplink resource is sent or receives an uplink resource configuration acknowledgement feedback indication sent by the terminal device. The base station or centralized unit (ie, the second base station/centralized unit) has allocated the dedicated uplink resource to the terminal device.
可选地,所述第一基站/分布式单元接收所述终端设备发送的校验信息;所述第一基站/分布式单元将所述终端设备的所述校验信息发送给所述第二基站/集中式单元。Optionally, the first base station/distributed unit receives the verification information sent by the terminal device; the first base station/distributed unit sends the verification information of the terminal device to the second Base station / centralized unit.
例如,所述校验信息可以为用于完整性校验的消息鉴权码(Message Authentication Code for Integrity,MAC-I),其中,所述完整性校验也可以称为合法性校验。例如,所述MAC-I通过RRC消息携带,其中,MAC-I可以是基于数据或信令和秘钥生成的,所述终端设备使用基于独立数据和信令生成的MAC-I的部分或全部作为校验信息。如果所述终端设备使用基于独立数据和信令生成的MAC-I的部分或全部作为校验信息,可选,终端设备生成MAC-I的输入可以包含接入层上下文标识(Context ID)。For example, the verification information may be a Message Authentication Code for Integrity (MAC-I), and the integrity check may also be referred to as a validity check. For example, the MAC-I is carried by an RRC message, wherein 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 verification 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 to generate the MAC-I may include an access layer context identifier (Context ID).
可选地,所述第一基站/分布式单元收到所述第二基站/集中式单元对所述终端设备进行完整性校验失败时发送的专用资源释放指示;所述第一基站/分布式单元将所述专用资源释放指示通知所述终端设备。Optionally, the first base station/distributed unit receives a dedicated resource release indication sent when the second base station/centralized unit fails to perform integrity check on the terminal device; the first base station/distribution The formula unit notifies 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 first base station/distributed unit according to the check result, and if the check fails, the second base station/centralized unit generates And transmitting a dedicated resource release indication to the first base station/distributed unit; if the verification is successful, the second base station/centralized unit can generate and send a verification success indication to the first base station/distributed unit The second base station/centralized unit may also not generate a verification success indication. If the second base station/centralized unit does not generate a check success indication, the first base station/distributed unit fails to receive a check success indication when the timer expires, and the default check succeeds. The timer can be started when the first base station/distributed unit transmits verification information to the second base station/centralized unit.
可选地,在所述第二基站/集中式单元校验成功时,所述第一基站/分布式单元既可以发送校验成功指示给所述终端设备,也可以不发送所述校验成功指示给所述终端设备。Optionally, when the second base station/centralized unit check succeeds, the first base station/distributed unit may send the verification success indication to the terminal device, or may not send the verification success. Indicated to the terminal device.
可选地,如果所述第一基站/分布式单元在预定时间内没有收到所述第二基站/集中式单元发送的校验成功指示生成和发送专用资源释放指示通知所述终端设备。Optionally, if the first base station/distributed unit does not receive the verification success indication generated by the second base station/centralized unit and generates a dedicated resource release indication to notify the terminal device within a predetermined time.
可选地,所述第一基站/分布式单元收到所述第二基站/集中式单元对所述终端设备进行完整性校验的校验结果;所述第一基站/分布式单元根据所述校验结果确定是否生成和发送专用资源释放指示通知所述终端设备。例如,如果校验失败,所述第一基站/分布式单元根据所述第二基站/集中式单元发送的校验失败指示生成和发送专用资源释放指示给所述终端设备;如果校验成功,所述第一基站/分布式单元既可以将所述第二基站/集中式单元发送的校验成功指示发送给所述终端设备,所述第一基站/分布式单元也可以不发送所述第二基站/集中式单元的校验成功指示发送给所述终端设备。如果所述第一基站/分布式单元不发送所述第二基站/集中式单元的校验成功指示发送给所述终端设备,所述终端设备在定时器超时时如果没有收到专用资源释放指示,默认校验成功。该定时器可以在所述终端设备发送校验信息给所述第一基站/分布式单元时启动。Optionally, the first base station/distributed unit receives a verification result of performing integrity check on the terminal device by the second base station/centralized unit; the first base station/distributed unit according to the The verification result determines whether a dedicated resource release indication is generated and transmitted to notify the terminal device. For example, if the verification fails, the first base station/distributed unit generates and sends a dedicated resource release indication to the terminal device according to the verification failure indication 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, and the first base station/distributed unit may not send the first The verification success indication of the second base station/centralized unit is sent 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 device, if the terminal device does not receive the dedicated resource release indication when the timer expires The default verification is successful. The timer may be started when the terminal device sends verification information 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 a 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 a result of the 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; the first base station/distributed unit is configured according to the access The result of the control determines whether a dedicated resource release indication is generated and transmitted to notify the terminal device.
可选地,所述第一基站/分布式单元收到所述第二基站/集中式单元对所述终端设备进行接入拒绝时发送的专用资源释放指示;所述第一基站/分布式单元将所述专用资源释放指示通知所述终端设备。Optionally, the first base station/distributed unit receives a dedicated resource release indication sent when the second base station/centralized unit performs an access rejection on the terminal device; the first base station/distributed unit Notifying the terminal device 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 an uplink resource managed by the first base station/distributed unit.
例如,所述第一基站/分布式单元管理的上行资源包括如下至少一个:SR发送资源、CQI上报资源、CSI上报资源、SRS上报资源、发送数据的物理上行共享信道(Physical Uplink Shared Channel,PUSCH)资源。For example, the uplink resource managed by the first base station/distributed unit includes at least one of the following: an SR uplink resource, a CQI report resource, a CSI report resource, an SRS report resource, and a physical uplink shared channel (Physical Uplink Shared Channel, PUSCH). ) Resources.
在本发明的另一实施例中,所述第一基站/分布式单元除了管理上行资源外,还可以管理其它需要发送给所述终端设备的资源,例如单小区用于调度的终端设备标识(例如C-RNTI)。In another embodiment of the present invention, the first base station/distributed unit may manage other resources that need to be sent to the terminal device, such as a terminal device identifier used by the single cell for scheduling, in addition to managing uplink resources ( For example C-RNTI).
可选地,所述第一基站/分布式单元接收IDLE态、ACTIVE态、不活动态 (INACTIVE)的所述终端设备发送的所述上行信息。例如,IDLE态的终端设备发送随机接入请求、物理层或MAC层、RLC层信令、业务数据或重建立请求,ACTIVE态的终端设备发送业务数据、物理层或MAC层、RLC层信令等,INACTIVE的终端设备发送RRC连接恢复请求、随机接入请求、业务数据、MAC层信令、RLC层信令等,这些信息可以在共享的或专用的资源上发送的。Optionally, the first base station/distributed unit receives 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 the IDLE state sends a random access request, a physical layer or a MAC layer, RLC layer signaling, service data, or a re-establishment request, and the terminal device in the ACTIVE state sends the service data, the physical layer or the MAC layer, and the RLC layer signaling. Etc., the terminal device of INACTIVE transmits an RRC connection recovery request, a random access request, service data, MAC layer signaling, RLC layer signaling, etc., and the information can be sent on a shared or dedicated resource.
可选地,所述第一基站或所述分布式单元通过物理层控制信令或者MAC CE或者PDCP控制单元将所述专用资源释放指示发送给所述终端设备。Optionally, the first base station or the distributed unit sends the dedicated resource release indication to the terminal device by using physical layer control signaling or a MAC CE or a PDCP control unit.
本发明的另一实施例,为了实现快速的数据传输,第一基站或基站的分布式单元接收所述第二基站/集中式单元发送的关于数据传输的协议层配置参数。所述协议层配置参数包括对应逻辑信道的RLC的参数。所述协议层配置参数可是终端设备专用的或公共的默认配置参数。第一基站或基站的分布式单元和所述第二基站/集中式单元之前的传输通道也可以预先配置好,基于逻辑信道的参数或公共传输通告。In another embodiment of the present invention, in order to achieve fast data transmission, the distributed unit of the first base station or the base station receives the protocol layer configuration parameter about the data transmission sent by the second base station/centralized unit. The protocol layer configuration parameters include parameters of the RLC of the corresponding logical channel. The protocol layer configuration parameters may be terminal device specific or common default configuration parameters. The distributed unit of the first base station or base station and the transmission channel before the second base station/centralized unit may also be pre-configured based on logical channel parameters or public transmission announcements.
可选的,所述第一基站或基站的分布式单元收到所述终端设备的上行信息后,分配的专用资源后,基于之前预配或默认的参数进行数据处理,并将RLC业务数据单元(Service Data Unit,SDU)或RLC协议数据单元(Protocol Data Unit,PDU)转给所述第二基站或基站的集中式单元。Optionally, after receiving the uplink information of the terminal device, the distributed unit of the first base station or the base station performs data processing based on the pre-provisioned or default parameters, and performs the RLC service data unit. A Service Data Unit (SDU) or an RLC Protocol Data Unit (PDU) is forwarded to the centralized unit of the second base station or base station.
可选的,若所述终端设备移动到新的小区,所述第一基站或基站的分布式单元收到所述终端设备的上行信息后,分配的专用资源后,为收到的新逻辑信道创建RLC实体,使用CU预配或默认的对应该信道的RLC配置参数并进行数据处理,RLC PDU的SN从0开始,使用CU预配或默认的MAC的配置参数。若所述第一基站或基站的分布式单元不确定RLC的模式则保存一段时间的接收的数据等待用于上行反馈或下行重传。所述第一基站或基站的分布式单元将处理后的RLC SDU和信道标识、终端设备标识发送给所述第二基站/集中式单元。所述第一基站或基站的分布式单元可以在触发建立所述终端设备专用的传输通道后,再将RLC SDU和信道标识的发送给所述第二基站/集中式单元。Optionally, if the terminal device moves to a new cell, the distributed unit of the first base station or the base station receives the uplink information of the terminal device, and after the allocated dedicated resource, is the received new logical channel. The RLC entity is created, and the RL pre-configured or default RLC configuration parameters corresponding to the channel are used for data processing. The SN of the RLC PDU starts from 0, and uses CU provisioning or default MAC configuration parameters. If the distributed unit of the first base station or the base station does not determine the mode of the RLC, the received data stored for a period of time is awaiting for uplink feedback or downlink retransmission. The distributed unit of the first base station or the base station sends the processed RLC SDU and the channel identifier and the terminal device identifier to the second base station/centralized unit. The distributed unit of the first base station or the base station may send the RLC SDU and the channel identifier to the second base station/centralized unit after triggering the establishment of the transmission channel dedicated to the terminal device.
本实施例中,由于第一基站或基站的分布式单元在收到终端设备的上行信息后,不必等待所述第二基站/集中式单元对终端设备进行完整性校验通过后再从所述第二基站/集中式单元获取资源再发给所述终端设备,而是所述第一基站/分布式单元不等待完整性校验结果提前自主为终端设备分配其管理的资源,节省所述第一基站/分布式单元等待完整性校验的时间以及从所述第二基站/集中式单元获取资源的交互时间。In this embodiment, after receiving the uplink information of the terminal device, the distributed unit of the first base station or the base station does not have to wait for the second base station/centralized unit to perform the integrity check on the terminal device, and then The second base station/centralized unit acquires the resource and sends the resource to the terminal device, but the first base station/distributed unit does not wait for the integrity check result to autonomously allocate the managed resource to the terminal device in advance, saving the first The time at which a base station/distributed unit waits for an integrity check and the time at which resources are acquired from the second base station/centralized unit.
进一步,若完整性校验结果失败,所述第二基站/集中式单元通过所述第一基站/分布式单元通知所述终端设备释放资源,或者所述第一基站/分布式单元根据所述第二基站/集中式单元的完整性校验结果通知所述终端设备释放资源。Further, if the integrity check result fails, the second base station/centralized unit notifies the terminal device to release resources by using the first base station/distributed unit, or the first base station/distributed unit according to the The integrity check result of the second base station/centralized unit notifies the terminal device to release the resource.
如图4所示,为本发明另一实施例的一种资源分配装置结构示意图,所述资源分配装置可以为第一基站或基站的分布式单元,如果所述资源分配装置为基站的分布式单元,则所述基站包括分布式单元和集中式单元,所述分布式单元和集中式单元通过有线或无线连接。在本发明的另一实施例中,如果所述资源分配装置为第一基站,则所述第 一基站通过有线或无线与第二基站连接,因此,本实施例中第一基站和分布式单元具有相同的功能,第二基站与集中式单元具有相同的功能,也即本实施例描述两种通信场景:一种是终端设备与第一基站通过空口通信,然后第一基站与第二基站通信,所述第一基站所述第二基站获取资源并进行管理,所述第二基站管理各个终端设备的上下文(context),该第一基站也可以称为服务基站,该第二基站也可以称为锚基站;另一种是终端设备通过空口与基站的分布式单元通信,然后分布式单元与基站的集中式单元通信,所述分布式单元从所述集中式单元获取资源并进行管理,所述集中式单元管理各个终端设备的上下文(context)。FIG. 4 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 distributed unit of a first base station or a base station, if the resource allocation apparatus is a distributed base station. And the base station includes a distributed unit and a centralized unit, and the distributed unit and the centralized unit are connected by wire or wireless. In another embodiment of the present invention, if the resource allocation device is the first base station, the first base station is connected to the second base station by wire or wireless, and therefore, the first base station and the distributed unit in this embodiment The second base station has the same function as the centralized unit, that is, the present embodiment describes two communication scenarios: one is that the terminal device communicates with the first base station through the air interface, and then the first base station communicates with the second base station. The second base station of the first base station acquires resources and manages, and the second base station manages a context of each terminal device, where the first base station may also be referred to as a serving base station, and the second base station may also be called Another is that the terminal device communicates with the distributed unit of the base station through the air interface, and then the distributed unit communicates with the centralized unit of the base station, and the distributed unit acquires resources from the centralized unit and manages the The centralized unit manages the context of each terminal device.
可选地,所述第一基站或所述第二基站或基站既可以为GSM系统或CDMA系统中的基站(BTS),也可以为WCDMA中的基站(NodeB),LTE系统中的演进型基站(eNodeB),或新无线接入网络的基站(gNB)。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, or a base station (NodeB) in a WCDMA, and an evolved base station in an LTE system. (eNodeB), or a base station (gNB) of a new radio access network.
不论所述资源分配装置为第一基站还是基站的分布式单元,均可以包括接收器401、处理器402、发送器403和存储器404。The receiver 401, the processor 402, the transmitter 403, and the memory 404 may be included regardless of whether the resource allocation device is a first base station or a distributed unit of a base station.
应理解,在本申请实施例中,所述接收器401、处理器402、发送器403和存储器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.
应理解,在本申请实施例中,该处理器402可以是可擦除可编辑逻辑器件(Erasable Programmable Logic Device,EPLD)、现场可编程门阵列(Field Programmable Gate Array,FPGA)、数字信号处理器(DSP,Digital Signal Processor)芯片、专用集成电路(Application Specific Integrated Circuit,ASIC)、或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。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, Digital Signal Processor) chip, Application Specific Integrated Circuit (ASIC), or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, and the like.
该存储器404用于存储代码或指令信息,该存储器404可以包括只读存储器(Read-Only Memory,ROM)和随机存取存储器(Random Access Memory,RAM),用于向处理器402提供指令和数据。存储器404的一部分还可以包括非易失性随机存取存储器。例如,存储器404还可以存储设备类型的信息。The memory 404 is configured to store code or instruction information. 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 memory 404 may also include non-volatile random access memory. For example, the memory 404 can also store information of the device type.
所述处理器402,用于从其管理的上行资源中给所述终端设备分配专用上行资源。The processor 402 is configured to allocate a dedicated uplink resource to the terminal device from an uplink resource that it manages.
所述接收器401,用于接收终端设备发送的上行信息。The receiver 401 is configured to receive uplink information sent by the terminal device.
可选地,在所述接收器401接收终端设备发送的上行信息之前或之后,所述处理器402从其管理的上行资源中给所述终端设备分配专用上行资源,例如在所述接收器401接收所述终端设备的上行信息之前,如果所述处理器402维护的定时器届满,所述处理器402确定所述接收器401没有收到所述终端设备使用资源发送的信息,则判定所述终端设备没有相应资源或释放了相应资源,所述处理器402主动给终端设备分配专用上行资源。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 resource it manages, for example, at the receiver 401. Before receiving the uplink information of the terminal device, if the timer maintained by the processor 402 expires, the processor 402 determines that the receiver 401 does not receive the information sent by the terminal device using the resource, and determines that the timer is The terminal device does not have a corresponding resource or releases the corresponding resource, and the processor 402 actively allocates a dedicated uplink resource to the terminal device.
可选地,所述上行信息可以为业务数据、RRC消息(例如,RRC连接建立请求、RRC连接重建请求)、测量报告、SR,或随机接入请求(例如,发送preamble)。Optionally, the uplink information may be service data, an RRC message (eg, an RRC connection setup request, an RRC connection reestablishment request), a measurement report, an SR, or a random access request (eg, sending a preamble).
所述发送器403,用于向所述终端设备发送所述分配的专用上行资源。The transmitter 403 is configured to send the allocated dedicated uplink resource to the terminal device.
所述接收器401,还用于接收所述终端设备使用所接收的专用上行资源发送的信 息。The receiver 401 is further configured to receive information that is sent by the terminal device by using the received dedicated uplink resource.
其中,所述“专用”是指仅与所述终端设备相关,即所述专用上行资源仅仅分配给所述终端设备使用。在本发明中的另一种实施方式,在一段时间内多个终端设备分配的资源是相同的。The “dedicated” refers to only the terminal device, that is, the dedicated uplink resource is only allocated to the terminal device for use. In another embodiment of the present invention, resources allocated by a plurality of terminal devices are the same over a period of time.
可选地,所述发送器403通过物理层控制信令或者MAC CE或者PDCP控制单元将所述分配的专用上行资源发送给所述终端设备。Optionally, the transmitter 403 sends the allocated dedicated uplink resource to the terminal device by using physical layer control signaling or a MAC CE or a PDCP control unit.
可选地,所述处理器402还用于检测到所述终端设备在分配的所述专用上行资源进行发送或接收所述终端设备发送的上行资源配置确认反馈指示时,生成通知信息,所述发送器403还用于向所述第二基站/集中式单元发送所述通知信息,所述通知信息用于告知所述第二基站/集中式单元已经为所述终端设备分配所述专用上行资源。Optionally, the processor 402 is further configured to: when the terminal device sends the uplink resource configuration confirmation feedback indication sent by the terminal device, The transmitter 403 is further configured to send the notification information to the second base station/centralized unit, where the notification information is used to notify the second base station/centralized unit that the dedicated uplink resource has been allocated to the terminal device. .
可选地,所述接收器401还用于接收所述终端设备发送的校验信息;所述发送器403还用于将所述终端设备的所述校验信息发送给所述第二基站/集中式单元。Optionally, the receiver 401 is further configured to receive the verification information sent by the terminal device, where the transmitter 403 is further configured to send the verification information of the terminal device to the second base station/ Centralized unit.
例如,所述校验信息可以为用于完整性校验的消息鉴权码(Message Authentication Code for Integrity,MAC-I),例如,所述MAC-I通过RRC消息携带,其中,MAC-I可以是基于数据或信令和秘钥生成的,所述终端设备使用基于独立数据和信令生成的MAC-I的部分或全部作为校验信息。如果所述终端设备使用基于独立数据和信令生成的MAC-I的部分或全部作为校验信息,可选,终端设备生成MAC-I的输入可以包含接入层上下文标识(Context ID)。For example, the verification information may be a message authentication code for Integrity (MAC-I), for example, the MAC-I is carried by an RRC message, where the MAC-I may It is 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 the independent data and signaling as the verification 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 to generate the MAC-I may include an access layer context identifier (Context ID).
可选地,所述接收器401还用于收到所述第二基站/集中式单元对所述终端设备进行完整性校验失败时发送的专用资源释放指示;所述发送器403还用于将所述专用资源释放指示通知所述终端设备。Optionally, the receiver 401 is further configured to receive a dedicated resource release indication that is sent when the second base station/centralized unit fails to perform integrity check on the terminal device; the transmitter 403 is further configured to: Notifying the terminal device of the dedicated resource release indication.
例如,所述第二基站/集中式单元根据校验结果确定是否生成和发送专用资源释放指示给所述接收器401,如果校验失败,所述第二基站/集中式单元生成和发送专用资源释放指示给所述接收器401;如果校验成功,所述第二基站/集中式单元既可以生成和发送校验成功指示给所述接收器401,所述第二基站/集中式单元也可以不生成校验成功指示。如果所述第二基站/集中式单元不生成校验成功指示,所述处理器402还用于在定时器超时时如果没有收到校验成功指示,默认校验成功。该定时器可以用在所述发送器403发送校验信息给所述第二基站/集中式单元时启动。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 the indication to the receiver 401; if the verification is successful, the second base station/centralized unit may generate and send a verification success indication to the receiver 401, and the second base station/central unit may also No verification success indication is generated. If the second base station/centralized unit does not generate a check success indication, the processor 402 is further configured to: if the check success indication is not received when the timer expires, the default check succeeds. The timer can be started when the transmitter 403 sends verification information to the second base station/centralized unit.
可选地,在所述第二基站/集中式单元校验成功时,所述发送器403既可以发送校验成功指示给所述终端设备,也可以不发送所述校验成功指示给所述终端设备。Optionally, when the second base station/centralized unit check succeeds, the sender 403 may send the verification success indication to the terminal device, or may not send the verification success indication to the Terminal Equipment.
可选地,所述处理器402还用于如果在预定时间内所述接收器401没有收到所述第二基站/集中式单元发送的校验成功指示,生成和发送专用资源释放指示通知所述终端设备。Optionally, the processor 402 is further configured to: generate and send a dedicated resource release indication notification station if the receiver 401 does not receive the verification success indication sent by the second base station/centralized unit within a predetermined time. Said terminal equipment.
可选地,所述接收器401还用于收到所述第二基站/集中式单元对所述终端设备进行完整性校验的校验结果;所述处理器402还用于根据所述校验结果确定是否生成和发送专用资源释放指示通知所述终端设备。例如,如果校验失败,所述处理器402还用于 根据所述第二基站/集中式单元发送的校验失败指示生成专用资源释放指示,所述发送器403还用于发送所述专用资源释放指示给所述终端设备;如果校验成功,所述发送器403既可以将所述第二基站/集中式单元发送的校验成功指示发送给所述终端设备,所述发送器403也可以不发送所述校验成功指示给所述终端设备。如果所述发送器403不发送所述校验成功指示给所述终端设备,所述终端设备在定时器超时时如果没有收到专用资源释放指示,默认校验成功。该定时器可以在所述终端设备发送校验信息给所述分布式单元时启动。Optionally, the receiver 401 is further configured to receive a verification result that the second base station/centralized unit performs an integrity check on the terminal device; the processor 402 is further configured to use, according to the school The result of the test determines whether a dedicated resource release indication is generated and transmitted to notify the terminal device. For example, if the verification fails, the processor 402 is further configured to generate a dedicated resource release indication according to the verification failure indication sent by the second base station/centralized unit, where the transmitter 403 is further configured to send the dedicated resource. Release the indication to the terminal device; if the verification is successful, the transmitter 403 may send the verification success indication sent by the second base station/centralized unit to the terminal device, and the transmitter 403 may also The verification success indication is not sent to the terminal device. If the sender 403 does not send the verification success indication to the terminal device, if the terminal device does not receive the dedicated resource release indication when the timer expires, the default verification is successful. The timer can be started when the terminal device sends verification information to the distributed unit.
在本发明的另一实施例中,所述终端设备如果在预定时间内没有收到校验成功指示,默认校验失败,然后释放所述专用上行资源。In another embodiment of the present invention, if the terminal device does not receive the verification success indication within a predetermined time, the default verification fails, and then the dedicated uplink resource is released.
可选地,所述处理器402还用于从所述第二基站/集中式单元获取至少一部分上行资源作为所述分布式单元管理的上行资源。Optionally, the processor 402 is further configured to acquire, from the second base station/centralized unit, at least a part of the uplink resource as an uplink resource managed by the distributed unit.
例如,所述分布式单元管理的上行资源包括如下至少一个:SR发送资源、CQI上报资源、CSI上报资源、SRS上报资源、发送数据的物理上行共享信道(Physical Uplink Shared Channel,PUSCH)资源。For example, the uplink resource managed by the distributed unit includes at least one of the following: an SR transmission resource, a CQI reporting resource, a CSI reporting resource, an SRS reporting resource, and a Physical Uplink Shared Channel (PUSCH) resource for transmitting data.
在本发明的另一实施例中,所述处理器402还用于除了管理上行资源外,还可以管理其它需要发送给所述终端设备的资源,例如单小区用于调度的终端设备标识(例如C-RNTI)。In another embodiment of the present invention, the processor 402 is further configured to manage, in addition to managing uplink resources, other resources that need to be sent to the terminal device, such as a terminal device identifier used by the single cell for scheduling (for example, C-RNTI).
可选地,所述接收器401还用于接收IDLE态、ACTIVE态、不活动态(INACTIVE)的所述终端设备发送的所述上行信息。例如,IDLE态的终端设备发送随机接入请求、物理层或MAC层、RLC层信令、业务数据或重建立请求,ACTIVE态的终端设备发送业务数据、物理层或MAC层、RLC层信令等,INACTIVE的终端设备发送RRC连接恢复请求、随机接入请求、业务数据、MAC层信令、RLC层信令等,这些信息可以在共享的或专用的资源上发送的。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 the IDLE state sends a random access request, a physical layer or a MAC layer, RLC layer signaling, service data, or a re-establishment request, and the terminal device in the ACTIVE state sends the service data, the physical layer or the MAC layer, and the RLC layer signaling. Etc., the terminal device of INACTIVE transmits an RRC connection recovery request, a random access request, service data, MAC layer signaling, RLC layer signaling, etc., and the information can be sent on a shared or dedicated resource.
可选地,所述发送器403还用于通过物理层控制信令或者MAC CE或者PDCP控制单元将所述专用资源释放指示发送给所述终端设备。Optionally, the transmitter 403 is further configured to send the dedicated resource release indication to the terminal device by using physical layer control signaling or a MAC CE or a PDCP control unit.
本发明的另一实施例,为了实现快速的数据传输,所述接收器401接收所述第二基站/集中式单元发送的关于数据传输的协议层配置参数。所述协议层配置参数包括对应逻辑信道的RLC的参数。所述协议层配置参数可是终端设备专用的或公共的默认配置参数。第一基站或基站的分布式单元和所述第二基站/集中式单元之前的传输通道也可以预先配置好,基于逻辑信道的参数或公共传输通告。In another embodiment of the present invention, in order to achieve fast data transmission, the receiver 401 receives protocol layer configuration parameters for data transmission sent by the second base station/centralized unit. The protocol layer configuration parameters include parameters of the RLC of the corresponding logical channel. The protocol layer configuration parameters may be terminal device specific or common default configuration parameters. The distributed unit of the first base station or base station and the transmission channel before the second base station/centralized unit may also be pre-configured based on logical channel parameters or public transmission announcements.
可选的,所述接收器401收到所述终端设备的上行信息后,所述处理器402分配的专用资源后,基于之前预配或默认的参数进行数据处理,所述发送器403将RLC业务数据单元(Service Data Unit,SDU)或RLC协议数据单元(Protocol Data Unit,PDU)转给所述第二基站或基站的集中式单元。Optionally, after receiving the uplink information of the terminal device, the receiver 401 performs data processing based on the pre-provisioned or default parameters, and the transmitter 403 sets the RLC. A Service Data Unit (SDU) or an RLC Protocol Data Unit (PDU) is forwarded to the centralized unit of the second base station or base station.
可选的,若所述终端设备移动到新的小区,所述接收器401收到所述终端设备的上行信息后,所述处理器402分配的专用资源后,为收到的新逻辑信道创建RLC实体, 使用CU预配或默认的对应该信道的RLC配置参数并进行数据处理,RLC PDU的SN从0开始,使用CU预配或默认的MAC的配置参数。若所述处理器402不确定RLC的模式则保存一段时间的接收的数据等待用于上行反馈或下行重传。所述发送器403将处理后的RLC SDU和信道标识、终端设备标识发送给所述第二基站/集中式单元。所述发送器403可以在触发建立所述终端设备专用的传输通道后,再将RLC SDU和信道标识的发送给所述第二基站/集中式单元。Optionally, if the terminal device moves to a new cell, the receiver 401 receives the uplink information of the terminal device, and after the dedicated resource allocated by the processor 402, creates a new logical channel for the received new logical channel. The RLC entity uses the CU pre-configured or default RLC configuration parameters corresponding to the channel and performs data processing. The SN of the RLC PDU starts from 0, and uses CU provisioning or default MAC configuration parameters. If the processor 402 is unsure of the mode of the RLC, the received data stored for a period of time is awaiting for uplink feedback or downlink retransmission. The transmitter 403 sends the processed RLC SDU and the channel identifier and the terminal device identifier to the second base station/centralized unit. The transmitter 403 may send the RLC SDU and the channel identifier to the second base station/centralized unit after triggering the establishment of the transmission channel dedicated to the terminal device.
在实现过程中,上述方法的各步骤可以通过处理器402中的硬件的集成逻辑电路或者软件形式的指令完成。结合本申请实施例所公开的方法的步骤可以直接体现为硬件处理器执行完成,或者用处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器,处理器402读取存储器中的信息,结合其硬件完成上述方法的步骤。为避免重复,这里不再详细描述。本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。In the implementation process, each step of the foregoing method may be completed by an integrated logic circuit of hardware in the processor 402 or an instruction in a form of software. The steps of the method disclosed in the embodiments of the present application may be directly implemented as a hardware processor, or may be performed by a combination of hardware and software modules in the processor. The software module can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like. The storage medium is located in the memory, and the processor 402 reads the information in the memory and combines the hardware to perform the steps of the above method. To avoid repetition, it will not be described in detail here. Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the various examples described in connection with the embodiments disclosed herein can be implemented in electronic hardware or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods to implement the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present application.
如图5A所示,为本发明一实施例的一种资源分配系统结构示意图,所述资源分配系统包括基站系统51和终端设备52,所述基站系统51包括分布式单元511和集中式单元512,或者,如图5B所示,为本发明另一实施例的一种资源分配系统结构示意图,所述基站系统51包括第一基站511’和第二基站512’,可选地,所述第一基站511’/分布式单元511、集中式单元512、第一基站511’或第二基站512’既可以为GSM系统或CDMA系统中的基站(BTS),也可以为WCDMA中的基站(NodeB),LTE系统中的演进型基站(eNodeB),或新无线接入网络的基站(gNB)。FIG. 5A is 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, where the base station system 51 includes a first base station 511' and a second base station 512', optionally, the A base station 511'/distributed unit 511, a centralized unit 512, a first base station 511' or a second base station 512' may be either a base station (BTS) in a GSM system or a CDMA system, or a base station in a WCDMA (NodeB) ) an evolved base station (eNodeB) in an LTE system, or a base station (gNB) of a new radio access network.
所述第一基站511’/分布式单元511用于从其管理的上行资源中给所述终端设备52分配专用上行资源并向所述终端设备52发送。The first base station 511'/distribution unit 511 is configured to allocate dedicated uplink resources to the terminal device 52 from the uplink resources it manages and transmit to the terminal device 52.
所述第一基站511’/分布式单元511还用于接收终端设备52发送的上行信息。The first base station 511'/distribution unit 511 is further configured to receive uplink information sent by the terminal device 52.
可选地,所述第一基站511’/分布式单元511在接收终端设备52发送的上行信息之前或之后,可以从其管理的上行资源中给所述终端设备52分配专用上行资源并向所述终端设备52发送,例如所述第一基站511’/分布式单元511在接收所述终端设备52的上行信息之前,如果所述第一基站511’/分布式单元511维护的定时器届满,所述第一基站511’/分布式单元511没有收到所述终端设备52使用资源发送的信息,则判定所述终端设备52没有相应资源或释放了相应资源,主动给终端设备52分配专用上行资源并向所述终端设备52发送。Optionally, the first base station 511 ′/distributed unit 511 may allocate the dedicated uplink resource to the terminal device 52 from the uplink resource it manages before or after receiving the uplink information sent by the terminal device 52. The terminal device 52 sends, for example, the first base station 511'/distributed unit 511, before receiving the uplink information of the terminal device 52, if the timer maintained by the first base station 511'/distribution unit 511 expires, The first base station 511 ′/distributed unit 511 does not receive the information that the terminal device 52 uses the resource to transmit, and determines that the terminal device 52 does not have the corresponding resource or releases the corresponding resource, and actively allocates the dedicated uplink to the terminal device 52. The resource is sent to the terminal device 52.
可选地,所述上行信息可以为业务数据、RRC消息(例如,RRC连接建立请求、RRC连接重建请求)、测量报告、SR,或随机接入请求(例如,发送preamble)。Optionally, the uplink information may be service data, an RRC message (eg, an RRC connection setup request, an RRC connection reestablishment request), a measurement report, an SR, or a random access request (eg, sending a preamble).
其中,所述“专用”是指仅与所述终端设备52相关,即所述专用上行资源仅仅 分配给所述终端设备52使用。在本发明中的另一种实施方式,在一段时间内多个终端设备分配的资源是相同的。The “dedicated” refers to only 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 present invention, resources allocated by a plurality of terminal devices are the same over a period of time.
可选地,所述第一基站511’/分布式单元511通过物理层控制信令或者MAC CE或者PDCP控制单元将所述分配的专用上行资源发送给所述终端设备52。Optionally, the first base station 511 ′/distributed unit 511 sends the allocated dedicated uplink resource to the terminal device 52 by using physical layer control signaling or a MAC CE or a PDCP control unit.
所述第一基站511’/分布式单元511还用于接收所述终端设备使用所接收的专用上行资源发送的信息。The first base station 511'/distribution unit 511 is further configured to receive information that the terminal device sends using the received dedicated uplink resource.
可选地,所述第一基站511’/分布式单元511还用于检测到所述终端设备52在分配的所述专用上行资源进行发送或接收所述终端设备52发送的上行资源配置确认反馈指示时,通知所述第二基站512’/集中式单元512已经为所述终端设备52分配所述专用上行资源。Optionally, the first base station 511 ′/distributed unit 511 is further configured to detect that the terminal device 52 sends or receives the uplink resource configuration acknowledgement sent by the terminal device 52 in the allocated dedicated uplink resource. When indicated, the second base station 512'/centralized unit 512 is notified that the dedicated uplink resource has been allocated to the terminal device 52.
可选地,所述第一基站511’/分布式单元511还用于接收所述终端设备52发送的校验信息;所述第一基站511’/分布式单元511还用于将所述终端设备52的所述校验信息发送给所述第二基站512’/集中式单元512。Optionally, the first base station 511 ′/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 use the terminal. The verification information of device 52 is sent to the second base station 512'/centralized unit 512.
例如,所述校验信息可以为用于完整性校验的消息鉴权码(Message Authentication Code for Integrity,MAC-I),例如,所述MAC-I通过RRC消息携带,其中,MAC-I可以是基于数据或信令和秘钥生成的,所述终端设备52使用基于独立数据和信令生成的MAC-I的部分或全部作为校验信息。如果所述终端设备52使用基于独立数据和信令生成的MAC-I的部分或全部作为校验信息,可选,终端设备生成MAC-I的输入可以包含接入层上下文标识(Context ID)。For example, the verification information may be a message authentication code for Integrity (MAC-I), for example, the MAC-I is carried by an RRC message, where the MAC-I may It is 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 the 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, optionally, the input of the terminal device to generate the MAC-I may include an access layer context identifier (Context ID).
可选地,所述第一基站511’/分布式单元511还用于收到所述第二基站512’/集中式单元512对所述终端设备52进行完整性校验失败时发送的专用资源释放指示;所述第一基站511’/分布式单元511还用于将所述专用资源释放指示通知所述终端设备52。例如,所述第二基站512’/集中式单元512还用于根据校验结果确定是否生成和发送专用资源释放指示给所述第一基站511’/分布式单元511,如果校验失败,所述第二基站512’/集中式单元512还用于生成和发送专用资源释放指示给所述第一基站511’/分布式单元511;如果校验成功,所述第二基站512’/集中式单元512既可以生成和发送校验成功指示给所述第一基站511’/分布式单元511,所述第二基站512’/集中式单元512也可以不生成校验成功指示。如果所述第二基站512’/集中式单元512不生成校验成功指示,所述第一基站511’/分布式单元511还用于在定时器超时时如果没有收到所述校验成功指示,默认校验成功。该定时器可以用在所述第一基站511’/分布式单元511发送校验信息给所述第二基站512’/集中式单元512时启动。Optionally, the first base station 511 ′/distributed unit 511 is further configured to receive a dedicated resource that is sent when the second base station 512 ′ or the centralized unit 512 fails to perform integrity check on the terminal device 52. 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 ′/concentrated unit 512 is further configured to determine, according to the check result, whether to generate and send a dedicated resource release indication to the first base station 511 ′/distributed unit 511, if the verification 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 transmit a verification success indication to the first base station 511 '/distributed unit 511, and the second base station 512'/centralized unit 512 may also 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'/distribution unit 511 is further configured to: if the timer is timed out, if the verification success indication is not received The default verification is successful. The timer can be started when the first base station 511'/distributed unit 511 transmits check information to the second base station 512'/centralized unit 512.
可选地,在所述第二基站512’/集中式单元512校验成功时,所述第一基站511’/分布式单元511既可以发送校验成功指示给所述终端设备,也可以不发送所述校验成功指示给所述终端设备。Optionally, when the second base station 512 ′/centralized unit 512 is successfully verified, the first base station 511 ′/distributed unit 511 may send a verification success indication to the terminal device, or may not Sending the verification success indication to the terminal device.
可选地,如果所述第一基站511’/分布式单元511在预定时间内没有收到所述第二基站512’/集中式单元512发送的校验成功指示生成和发送专用资源释放指示通知所述终端设备。Optionally, if the first base station 511 ′/distributed unit 511 does not receive the verification success indication sent by the second base station 512 ′ or the centralized unit 512 within a predetermined time, generate and send a dedicated resource release indication notification. The terminal device.
可选地,所述第一基站511’/分布式单元511还用于收到所述第二基站512’/集中式单元512对所述终端设备52进行完整性校验的校验结果;所述第一基站511’/分布式单元511还用于根据所述校验结果确定是否生成和发送专用资源释放指示通知所述终端设备52。例如,如果校验失败,所述第一基站511’/分布式单元511还用于根据所述第二基站512’/集中式单元512发送的校验失败指示生成和发送专用资源释放指示给所述终端设备52;如果校验成功,所述第一基站511’/分布式单元511既可以将所述第二基站512’/集中式单元512发送的校验成功指示发送给所述终端设备52,所述第一基站511’/分布式单元511也可以不发送所述第二基站512’/集中式单元512的校验成功指示发送给所述终端设备52。如果所述第一基站511’/分布式单元511不发送所述第二基站512’/集中式单元512的校验成功指示发送给所述终端设备52,所述终端设备52在定时器超时时如果没有收到专用资源释放指示,默认校验成功。该定时器可以在所述终端设备52发送校验信息给所述第一基站511’/分布式单元511时启动。Optionally, the first base station 511 ′/distributed unit 511 is further configured to receive a verification result of the integrity check performed by the second base station 512 ′ or the centralized unit 512 on the terminal device 52; The first base station 511 ′/distributed unit 511 is further configured to determine, according to the check result, whether to generate and send a dedicated resource release indication to notify the terminal device 52. For example, if the verification fails, the first base station 511'/distribution unit 511 is further configured to generate and send a dedicated resource release indication according to the verification failure indication sent by the second base station 512'/centralized unit 512. The terminal device 52; if the verification is successful, the first base station 511'/distribution unit 511 can send the verification success indication sent by the second base station 512'/centralized unit 512 to the terminal device 52. The first base station 511 ′/distributed unit 511 may also send the verification success indication of the second base station 512 ′ or the centralized unit 512 to the terminal device 52 . If the first base station 511'/distributed unit 511 does not send a check success indication of the second base station 512'/centralized unit 512 to the terminal device 52, the terminal device 52 when the timer expires If the dedicated resource release indication is not received, the default check is successful. The timer may be initiated when the terminal device 52 transmits verification information to the first base station 511'/distributed unit 511.
在本发明的另一实施例中,所述终端设备52如果在预定时间内没有收到校验成功指示,默认校验失败,然后释放所述专用上行资源。In another embodiment of the present invention, if the terminal device 52 does not receive the verification success indication within a predetermined time, the default verification fails, and then the dedicated uplink resource is released.
可选地,所述第一基站511’/分布式单元511还用于从所述第二基站512’/集中式单元512获取至少一部分上行资源作为所述第一基站511’/分布式单元511管理的上行资源。Optionally, the first base station 511 ′/distributed unit 511 is further configured to acquire at least a part of uplink resources from the second base station 512 ′/concentrated unit 512 as the first base station 511 ′/distributed unit 511 . Managed uplink resources.
例如,所述第一基站511’/分布式单元511管理的上行资源包括如下至少一个:SR发送资源、CQI上报资源、CSI上报资源、SRS上报资源、发送数据的物理上行共享信道PUSCH资源。For example, the uplink resource managed by the first base station 511'/distributed unit 511 includes at least one of the following: an SR transmission resource, a CQI reporting resource, a CSI reporting resource, an SRS reporting resource, and a physical uplink shared channel PUSCH resource for transmitting data.
在本发明的另一实施例中,所述第一基站511’/分布式单元511还用于除了管理上行资源外,还可以管理其它需要发送给所述终端设备52的资源,例如单小区用于调度的终端设备标识(例如C-RNTI)。In another embodiment of the present invention, the first base station 511 ′/distributed unit 511 is further configured to manage other resources that need to be sent to the terminal device 52, such as a single cell, in addition to managing uplink resources. The scheduled terminal device identifier (for example, C-RNTI).
可选地,所述第一基站511’/分布式单元511还用于接收IDLE态、ACTIVE态、不活动态(INACTIVE)的所述终端设备52发送的所述上行信息。例如,IDLE态的终端设备52发送随机接入请求或重建立请求,ACTIVE态的终端设备52发送业务数据,INACTIVE的终端设备52发送RRC连接恢复请求。IDLE态的终端设备发送随机接入请求、物理层或MAC层、RLC层信令、业务数据或重建立请求,ACTIVE态的终端设备发送业务数据、物理层或MAC层、RLC层信令等,INACTIVE的终端设备发送RRC连接恢复请求、随机接入请求、业务数据、MAC层信令、RLC层信令等,这些信息可以在共享的或专用的资源上发送的。Optionally, the first base station 511'/distribution 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 the IDLE state transmits a random access request or a re-establishment request, the terminal device 52 in the ACTIVE state transmits the service data, and the terminal device 52 in the INACTIVE transmits the RRC connection recovery request. The terminal device in the IDLE state sends a random access request, a physical layer or a MAC layer, an RLC layer signaling, a service data, or a re-establishment request, and the terminal device in the ACTIVE state transmits service data, a physical layer or a MAC layer, and an RLC layer signaling. The INACTIVE terminal device transmits an RRC connection recovery request, a random access request, service data, MAC layer signaling, RLC layer signaling, etc., and the information can be sent on a shared or dedicated resource.
可选地,所述第一基站511’/分布式单元511还用于通过物理层控制信令或者MAC CE或者PDCP控制单元将所述专用资源释放指示发送给所述终端设备。Optionally, the first base station 511 ′/distributed unit 511 is further configured to send the dedicated resource release indication to the terminal device by using physical layer control signaling or a MAC CE or a PDCP control unit.
本发明的另一实施例,为了实现快速的数据传输,所述第一基站511’/分布式单元511接收所述第二基站512’/集中式单元512发送的关于数据传输的协议层配置参数。所述协议层配置参数包括对应逻辑信道的RLC的参数。所述协议层配置参数可是终端设备专用的或公共的默认配置参数。所述第一基站511’/分布式单元511和所述第二基 站512’/集中式单元512之前的传输通道也可以预先配置好,基于逻辑信道的参数或公共传输通告。In another embodiment of the present invention, in order to achieve fast data transmission, the first base station 511'/distribution unit 511 receives protocol layer configuration parameters about data transmission sent by the second base station 512'/centralized unit 512. . The protocol layer configuration parameters include parameters of the RLC of the corresponding logical channel. The protocol layer configuration parameters may be terminal device specific or common default configuration parameters. The transmission channels preceding the first base station 511'/distributed unit 511 and the second base station 512'/centralized unit 512 may also be pre-configured based on logical channel parameters or public transmission announcements.
可选的,所述第一基站511’/分布式单元511收到所述终端设备的上行信息后,分配的专用资源后,基于之前预配或默认的参数进行数据处理,并将RLC SDU或RLC PDU转给所述第二基站512’/集中式单元512。Optionally, after receiving the uplink information of the terminal device, the first base station 511 ′/distributed unit 511 performs data processing based on the pre-provisioned or default parameters, and performs RLC SDU or The RLC PDU is forwarded to the second base station 512'/centralized unit 512.
可选的,若所述终端设备移动到新的小区,所述第一基站511’/分布式单元511收到所述终端设备的上行信息后,分配的专用资源后,为收到的新逻辑信道创建RLC实体,使用CU预配或默认的对应该信道的RLC配置参数并进行数据处理,RLC PDU的SN从0开始,使用CU预配或默认的MAC的配置参数。若所述第一基站511’/分布式单元511不确定RLC的模式则保存一段时间的接收的数据等待用于上行反馈或下行重传。所述第一基站511’/分布式单元511将处理后的RLC SDU和信道标识、终端设备标识发送给所述第二基站512’/集中式单元512。所述第一基站511’/分布式单元511可以在触发建立所述终端设备专用的传输通道后,再将RLC SDU和信道标识的发送给所述第二基站512’/集中式单元512。Optionally, if the terminal device moves to a new cell, the first base station 511 ′/distributed unit 511 receives the uplink information of the terminal device, and after the dedicated resource is allocated, the new logic is received. The channel creates an RLC entity, uses CU pre-configuration or default RLC configuration parameters corresponding to the channel and performs data processing. The SN of the RLC PDU starts from 0, and uses CU provisioning or default MAC configuration parameters. If the first base station 511'/distributed unit 511 is unsure of the mode of the RLC, the received data stored for a period of time is awaiting for uplink feedback or downlink retransmission. The first base station 511'/distribution unit 511 transmits the processed RLC SDU and the channel identifier and the terminal device identifier to the second base station 512'/centralized unit 512. The first base station 511'/distribution unit 511 may send the RLC SDU and the channel identifier to the second base station 512'/centralized unit 512 after triggering the establishment of the terminal device-specific transmission channel.
如图6所示,为本发明另一实施例的一种获取资源的方法的流程示意图。FIG. 6 is a schematic flowchart diagram of a method for acquiring a resource according to another embodiment of the present invention.
所述获取资源的方法由第一基站或基站的分布式单元执行,如果所述获取资源的方法由基站的分布式单元执行,则所述基站包括分布式单元和集中式单元,所述分布式单元和集中式单元通过有线或无线连接。在本发明的另一实施例中,如果所述获取资源的方法由第一基站执行,则所述第一基站通过有线或无线与第二基站连接,因此,本实施例中第一基站和分布式单元具有相同的功能,第二基站与集中式单元具有相同的功能,也即本实施例描述两种通信场景:一种是终端设备与第一基站通过空口通信,然后第一基站与第二基站通信,所述第一基站所述第二基站获取资源并进行管理,所述第二基站管理各个终端设备的上下文(context),该第一基站也可以称为服务基站,该第二基站也可以称为锚基站;另一种是终端设备通过空口与基站的分布式单元通信,然后分布式单元与基站的集中式单元通信,所述分布式单元从所述集中式单元获取资源并进行管理,所述集中式单元管理各个终端设备的上下文(context)。The method for acquiring a resource is performed by a first base station or a distributed unit of a base station, and if the method for acquiring a resource is performed by a distributed unit of a base station, the base station includes a distributed unit and a centralized unit, and the distributed The unit and the centralized unit are connected by wire or wirelessly. In another embodiment of the present invention, if the method for acquiring resources is performed by the first base station, the first base station is connected to the second base station by wire or wireless, and therefore, the first base station and the distribution in this embodiment The second unit has the same function as the centralized unit, that is, the present embodiment describes two communication scenarios: one is that the terminal device communicates with the first base station through the air interface, and then the first base station and the second base station The base station communicates, the second base station acquires resources and manages the first base station, and the second base station manages a context of each terminal device, where the first base station may also be referred to as a serving base station, and the second base station is also It may be referred to as an anchor base station; the other is that the terminal device communicates with the distributed unit of the base station through the air interface, and then the distributed unit communicates with the centralized unit of the base station, and the distributed unit acquires resources from the centralized unit and manages The centralized unit manages the context of each terminal device.
可选地,所述第一基站或基站既可以为GSM系统或CDMA系统中的基站(BTS),也可以为WCDMA中的基站(NodeB),LTE系统中的演进型基站(eNodeB),或新无线接入网络的基站(gNB)。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 WCDMA, an evolved base station (eNodeB) in an LTE system, or a new A base station (gNB) of a radio access network.
步骤601,第一基站/分布式单元向第二基站/集中式单元发送资源获取请求。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 resources managed by the first base station/distributed unit have been used up, and the resources are actively requested from the second base station/centralized unit; or the first base station/distributed unit is always or periodically The resource is requested to the second base station/central unit. The period parameter may be a default value or pre-assigned to the terminal device.
所述资源获取请求可以为请求所述第二基站/集中式单元下发SR发送资源、CQI上报资源、CSI上报资源、SRS上报资源、或发送数据的PUSCH资源。The resource acquisition request may be a PUSCH resource that requests the second base station/centralized unit to send an SR sending resource, a CQI reporting resource, a CSI reporting resource, an SRS reporting resource, or sending data.
在本发明的另一实施例中,所述第一基站/分布式单元除了管理上行资源外,还可 以管理其它需要发送给所述终端设备的资源,例如单小区用于调度的终端设备标识(例如C-RNTI)。In another embodiment of the present invention, the first base station/distributed unit may manage other resources that need to be sent to the terminal device, such as a terminal device identifier used by the single cell for scheduling, in addition to managing uplink resources ( For example C-RNTI).
在本发明的另一实施例中,如果所述第一基站/分布式单元周期性地向所述第二基站/集中式单元请求资源,则所述第一基站/分布式单元还向所述第二基站/集中式单元发送周期相关的参数,例如周期时间。所述周期相关的参数可以携带在所述资源获取请求中。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 further reports to the The second base station/centralized unit transmits period related parameters, such as cycle time. The period related parameters may be carried in the resource acquisition request.
步骤602,所述第二基站/集中式单元分配资源。Step 602: The second base station/centralized unit allocates resources.
例如,所述第二基站/集中式单元分配如下至少之一资源:SR发送资源、CQI上报资源、CSI上报资源、SRS上报资源、PUSCH资源、和单小区用于调度的终端设备标识。例如,SR发送资源用于终端设备发送SR,CQI上报资源用于终端设备上报CQI,CSI上报资源用于终端设备发送CSI,SRS上报资源用于终端设备上报SRS,发送数据的PUSCH资源用于终端设备发送数据,单小区用于调度的终端设备标识用于终端设备在竞争资源上标识所述终端设备或者用于给所述终端设备调度资源或发送下行信息时使用。For example, the second base station/centralized unit allocates at least one of the following resources: 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 the single cell for scheduling. For example, the SR transmission resource is used by the terminal device to send the SR, the CQI reporting resource is used for the terminal device to report the CQI, the CSI reporting resource is used for the terminal device to send the CSI, the SRS reporting resource is used for the terminal device to report the SRS, and the PUSCH resource for transmitting the data is used for the terminal. The device sends data, and the terminal device identifier used by the single cell for scheduling is used when the terminal device identifies the terminal device on the contention resource or is used to schedule resources or send downlink information to the terminal device.
可选的,所述第二基站/集中式单元分配该资源相关的配置参数,比如发送周期或发送次数。Optionally, the second base station/centralized unit allocates configuration parameters related to the resource, such as a sending period or a sending number.
步骤603,所述第一基站/分布式单元接收所述第二基站/集中式单元分配的资源。Step 603: The first base station/distributed unit receives the resource allocated by the second base station/centralized unit.
例如,所述第一基站/分布式单元接收所述第二基站/集中式单元发送的如下至少之一资源:SR发送资源、CQI上报资源、CSI上报资源、SRS上报资源、PUSCH资源、和单小区用于调度的终端设备标识。For example, the first base station/distributed unit receives at least one of the following resources sent by the second base station/centralized unit: an SR transmission resource, a CQI reporting resource, a CSI reporting resource, an SRS reporting resource, a PUSCH resource, and a single The terminal device identifier used by the cell for scheduling.
可选的,所述第一基站/分布式单元接收该资源相关的配置参数,比如发送周期或发送次数。Optionally, the first base station/distributed unit receives configuration parameters related to the resource, such as a sending period or a sending number.
通过本实施例,所述第一基站/分布式单元能获取和管理如下至少之一资源:SR发送资源、CQI上报资源、CSI上报资源、SRS上报资源、PUSCH资源、和单小区用于调度的终端设备标识。In this embodiment, the first base station/distributed unit can acquire and manage at least one of the following resources: an SR sending resource, a CQI reporting resource, a CSI reporting resource, an SRS reporting resource, a PUSCH resource, and a single cell for scheduling. Terminal device identification.
如图7所示,为本发明另一实施例的一种获取资源方法的流程示意图。FIG. 7 is a schematic flowchart diagram of a method for acquiring resources according to another embodiment of the present invention.
所述获取资源的方法由第一基站或基站的分布式单元执行,如果所述获取资源的方法由基站的分布式单元执行,则所述基站包括分布式单元和集中式单元,所述分布式单元和集中式单元通过有线或无线连接。在本发明的另一实施例中,如果所述获取资源的方法由第一基站执行,则所述第一基站通过有线或无线与第二基站连接,因此,本实施例中第一基站和分布式单元具有相同的功能,第二基站与集中式单元具有相同的功能,也即本实施例描述两种通信场景:一种是终端设备与第一基站通过空口通信,然后第一基站与第二基站通信,所述第一基站所述第二基站获取资源并进行管理,所述第二基站管理各个终端设备的上下文(context),该第一基站也可以称为服务基站,该第二基站也可以称为锚基站;另一种是终端设备通过空口与基站的分布式单元通信,然后分布式单元与基站的集中式单元通信,所述分布式单元从所述集中式单元获取资源并进行 管理,所述集中式单元管理各个终端设备的上下文(context)。The method for acquiring a resource is performed by a first base station or a distributed unit of a base station, and if the method for acquiring a resource is performed by a distributed unit of a base station, the base station includes a distributed unit and a centralized unit, and the distributed The unit and the centralized unit are connected by wire or wirelessly. In another embodiment of the present invention, if the method for acquiring resources is performed by the first base station, the first base station is connected to the second base station by wire or wireless, and therefore, the first base station and the distribution in this embodiment The second unit has the same function as the centralized unit, that is, the present embodiment describes two communication scenarios: one is that the terminal device communicates with the first base station through the air interface, and then the first base station and the second base station The base station communicates, the second base station acquires resources and manages the first base station, and the second base station manages a context of each terminal device, where the first base station may also be referred to as a serving base station, and the second base station is also It may be referred to as an anchor base station; the other is that the terminal device communicates with the distributed unit of the base station through the air interface, and then the distributed unit communicates with the centralized unit of the base station, and the distributed unit acquires resources from the centralized unit and manages The centralized unit manages the context of each terminal device.
可选地,所述第一基站或基站既可以为GSM系统或CDMA系统中的基站(BTS),也可以为WCDMA中的基站(NodeB),LTE系统中的演进型基站(eNodeB),或新无线接入网络的基站(gNB)。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 WCDMA, an evolved base station (eNodeB) in an LTE system, or a new A base station (gNB) of a radio access network.
步骤701,第一基站/分布式单元向第二基站/集中式单元上报资源使用信息。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 that the terminal device uses or receives an acknowledgment response from the terminal device, and reports usage 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 one time, for example, the first base station/distributed unit may be through a user plane or a control plane. Report the way.
在本发明的另一实施例中,第一基站/分布式单元将其资源使用情况随时或周期性告知第二基站/集中式单元,其中,周期参数可以为默认值或预配给终端设备。In another embodiment of the 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 periodic parameters may be default values or pre-assigned to the terminal device.
所述第一基站/分布式单元上报如下至少之一的资源使用情况:SR发送资源、CQI上报资源、CSI上报资源、SRS上报资源、PUSCH资源、和单小区用于调度的终端设备标识。例如,所述第一基站/分布式单元上报上述各种资源至少之一资源是否使用完,或者上报上述各种资源至少之一资源的剩余值或使用值等等。The first base station/distributed unit reports the resource usage of at least one of the following: 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 the single cell for scheduling. For example, the first base station/distributed unit reports whether at least one resource of the foregoing various resources is used up, or reports a residual value or a used value of at least one resource of the foregoing various resources, and the like.
在本发明的另一实施例中,如果所述第一基站/分布式单元周期性地向所述第二基站/集中式单元上报资源使用信息,则所述第一基站/分布式单元还向所述第二基站/集中式单元发送周期相关的参数,例如周期时间。所述周期相关的参数可以携带在所述资源使用信息中。其中,这个步骤是可选的。In another embodiment of the present invention, if the first base station/distributed unit periodically reports resource usage information to the second base station/centralized unit, the first base station/distributed unit further The second base station/centralized unit transmits period related parameters, such as cycle time. The period related parameters may be carried in the resource usage information. Among them, this step is optional.
步骤702,所述第二基站/集中式单元向第一基站或分布式单元分配资源。Step 702: The second base station/centralized unit allocates resources to the first base station or the distributed unit.
例如,若所述终端设备切换到其他小区或所述终端设备离开连接态,例如所述终端设备进入到INACTIVE态或IDLE态,所述终端设备将所述切换或离开连接态的信息通知所述第二基站/集中式单元,所述第二基站/集中式单元根据所述终端设备的切换或离开连接态的信息通知所述第一基站/分布式单元如下信息:所述终端设备离开连接态,或者所述终端设备已经释放该资源,或为该终端设备分配的资源变成可用,所述第一基站/分布式单元重新管理被释放的资源或可用的资源以便分配给其它终端设备或下次分配。在本发明的另一实施例中,所述第二基站/集中式单元周期性分配资源给第一基站或分布式单元。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 information about the switching or leaving the connected state. a second base station/centralized unit, the second base station/centralized unit notifying the first base station/distributed unit of the following information according to the information of the handover or leaving the connection state of the terminal device: the terminal device leaves the connection state Or the terminal device has released the resource, or the resource allocated for the terminal device becomes available, and the first base station/distributed unit re-manages the released resource or available resource for allocation to other terminal device or Secondary allocation. In another embodiment of the invention, the second base station/centralized unit periodically allocates resources to the first base station or the distributed unit.
其中,所述第二基站/集中式单元还可根据第一基站/分布式单元上报的资源使用信息向第一基站或分布式单元更新可分配给终端设备的资源。The second base station/centralized unit may further update the resources that can be allocated to the terminal device according to the resource usage information reported by the first base station/distributed unit to the first base station or the distributed unit.
例如,所述第一基站/分布式单元上报上述各种资源至少之一资源已经使用完,则所述第二基站/集中式单元再次分配该使用完的资源给所述第一基站/分布式单元。For example, the first base station/distributed unit reports that at least one resource of the foregoing various resources has been used, and the second base station/centralized unit allocates the used resource to the first base station/distributed again. unit.
例如,所述第一基站/分布式单元上报上述各种资源至少之一资源的剩余值或使用值,如果所述第二基站/集中式单元判断该资源的剩余值是否小于或等于第一阈值,如果剩余值小于或等于第一阈值,则所述第二基站/集中式单元再次分配该资源给所述第一基站/分布式单元,如果剩余值大于第一阈值,所述第二基站/集中式单元就不分配该资源 给所述第一基站/分布式单元;例如,如果所述第二基站/集中式单元判断该资源的使用值是否大于或等于第二阈值,如果使用值大于或等于第二阈值,则所述第二基站/集中式单元再次分配该资源给所述第一基站/分布式单元,如果使用值小于第二阈值,所述第二基站/集中式单元就不分配该资源给所述第一基站/分布式单元。For example, the first base station/distributed unit reports a residual value or a used value of at least one resource of the foregoing various resources, if the second base station/centralized unit determines whether the remaining value of the resource is less than or equal to the first threshold. And 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/distributed unit again, and if the remaining value is greater than the first threshold, the second base station/ The centralized unit does not allocate the resource to the first base station/distributed 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 used value is less than the second threshold, the second base station/centralized unit is not allocated. The resource is given to the first base station/distributed unit.
例如,所述第二基站/集中式单元分配如下至少之一资源:SR发送资源、CQI上报资源、CSI上报资源、SRS上报资源、PUSCH资源、和单小区用于调度的终端设备标识。For example, the second base station/centralized unit allocates at least one of the following resources: 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 the single cell for scheduling.
步骤703,所述第一基站/分布式单元接收所述第二基站/集中式单元分配的资源。Step 703: The first base station/distributed unit receives the resource allocated by the second base station/centralized unit.
例如,所述第一基站/分布式单元接收所述第二基站/集中式单元发送的如下至少之一资源:SR发送资源、CQI上报资源、CSI上报资源、SRS上报资源、PUSCH资源、和单小区用于调度的终端设备标识。For example, the first base station/distributed unit receives at least one of the following resources sent by the second base station/centralized unit: an SR transmission resource, a CQI reporting resource, a CSI reporting resource, an SRS reporting resource, a PUSCH resource, and a single The terminal device identifier used by the cell for scheduling.
通过本实施例,所述第一基站/分布式单元能获取和管理如下至少之一资源:SR发送资源、CQI上报资源、CSI上报资源、SRS上报资源、PUSCH资源、和单小区用于调度的终端设备标识。In this embodiment, the first base station/distributed unit can acquire and manage at least one of the following resources: an SR sending resource, a CQI reporting resource, a CSI reporting resource, an SRS reporting resource, a PUSCH resource, and a single cell for scheduling. Terminal device identification.
如图8所示,为本发明另一实施例的一种资源分配方法流程示意图,本实施例中,以单小区或寻呼区内的INACTIVE态的终端设备,基站为第一基站或gNB为例。FIG. 8 is a schematic flowchart of a resource allocation method according to another embodiment of the present invention. In this embodiment, a terminal device in an INACTIVE state in a single cell or paging area, where the base station is the first base station or gNB is example.
所述资源分配方法由第一基站或gNB的分布式单元执行,如果所述资源分配方法由gNB的分布式单元执行,则所述gNB包括分布式单元和集中式单元,所述分布式单元和集中式单元通过有线或无线连接。在本发明的另一实施例中,如果所述资源分配方法由第一基站执行,则所述第一基站通过有线或无线与第二基站连接,因此,本实施例中第一基站和分布式单元具有相同的功能,第二基站与集中式单元具有相同的功能,也即本实施例描述两种通信场景:一种是终端设备与第一基站通过空口通信,然后第一基站与第二基站通信,所述第一基站所述第二基站获取资源并进行管理,所述第二基站管理各个终端设备的上下文(context),该第一基站也可以称为服务基站,该第二基站也可以称为锚基站;另一种是终端设备通过空口与基站的分布式单元通信,然后分布式单元与基站的集中式单元通信,所述分布式单元从所述集中式单元获取资源并进行管理,所述集中式单元管理各个终端设备的上下文(context)。The resource allocation method is performed by a first base station or a distributed unit of a gNB, and if the resource allocation method is performed by a distributed unit of a gNB, the gNB includes a distributed unit and a centralized unit, and the distributed unit and The centralized unit is connected by wire or wireless. In another embodiment of the present invention, if the resource allocation method is performed by the first base station, the first base station is connected to the second base station by wire or wireless, and therefore, the first base station and the distributed in this embodiment The unit has the same function, and the second base station has the same function as the centralized unit, that is, the present embodiment describes two communication scenarios: one is that the terminal device communicates with the first base station through the air interface, and then the first base station and the second base station The first base station acquires resources and manages the second base station, and the second base station manages a context of each terminal device, where the first base station may also be referred to as a serving base station, and the second base station may also It is called an anchor base station; the other is that the terminal device communicates with the distributed unit of the base station through the air interface, and then the distributed unit communicates with the centralized unit of the base station, and the distributed unit acquires resources from the centralized unit and manages the same. The centralized unit manages the context of each terminal device.
可选地,所述第一基站或第二基站既可以为GSM系统或CDMA系统中的基站(BTS),也可以为WCDMA中的基站(NodeB),LTE系统中的演进型基站(eNodeB),或新无线接入网络的基站(gNB)。Optionally, the first base station or the second base station may be a base station (BTS) in a GSM system or a CDMA system, or a base station (NodeB) in WCDMA, and an evolved base station (eNodeB) in an LTE system. Or a base station (gNB) of a new radio access network.
资源包括如下至少之一:SR发送资源、CQI上报资源、CSI上报资源、SRS上报资源、PUSCH资源、和单小区用于调度的终端设备标识为例进行说明。The resource includes at least one of the following: 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 the single cell for scheduling.
所述寻呼区是指终端设备在一个无线网络区域范围内,该区域可是单小区或多个小区,终端设备会有一个唯一的无线网络标识(Resume ID)或上下文标识(context ID),若终端设备在这个寻呼区域内的小区间移动,无需通知网络,例如基站。The paging area refers to a terminal device in a range of a wireless network area, where 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). The terminal device moves between cells in this paging area without notifying the network, such as a base station.
步骤801,INACTIVE态的终端设备发送上行信息给第一基站/分布式单元。Step 801: The terminal device in the INACTIVE state sends uplink information to the first base station/distributed unit.
例如,终端设备通过非调度或随机接入(Random Access Channel,RACH)过程发送上行信息给第一基站/分布式单元,上行信息可以包括如下至少之一:preamble、终端设备_ID、MAC-I、缓存状态报告(Buffer State Report,BSR)、信令或数据包。For example, the terminal device sends the uplink information to the first base station/distributed unit through a non-scheduled or random access (RACH) process, and the uplink information may include at least one of the following: preamble, terminal device_ID, and MAC-I. , Buffer State Report (BSR), signaling, or data packet.
步骤802,第一基站/分布式单元向所述终端设备发送其管理的如下至少之一资源:SR发送资源、CQI上报资源、CSI上报资源、SRS上报资源、PUSCH资源、和单小区用于调度的终端设备标识。Step 802: The first base station/distributed unit sends at least one of the following resources that are managed by the first base station/distributed unit: an SR sending resource, a CQI reporting resource, a CSI reporting resource, an SRS reporting resource, a PUSCH resource, and a single cell for scheduling Terminal device identification.
例如,通过第一基站/分布式单元将其管理的如下至少之一资源:SR发送资源、CQI上报资源、CSI上报资源、SRS上报资源、PUSCH资源、和单小区用于调度的终端设备标识通过物理下行控制信道(PDCCH,Physical Downlink Control Channel)或MAC控制单元发送给终端设备。For example, at least one of the following resources managed by the first base station/distributed unit: 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 by the single cell for scheduling The physical downlink control channel (PDCCH, Physical Downlink Control Channel) or the MAC control unit is sent to the terminal device.
例如,在RACH过程中,所述上行信息为随机接入请求,第一基站/分布式单元在发送RAR随机接入响应(即MSG2)或MSG4时或MSG2与MSG4之间的任何时间段将所分配的资源发送给所述终端设备。例如,第一基站/分布式单元通过MSG2(例如发送grant)或MSG4(例如发送CR)将所分配的资源发送给所述终端设备。在本发明的另一实施例中,所述第一基站/分布式单元可以在发送MSG2(例如发送grant)与MSG4(例如发送CR)之间的时间段将所分配的资源发送给所述终端设备。For example, in the RACH process, the uplink information is a random access request, and the first base station/distributed unit will send any RAR random access response (ie, MSG2) or MSG4 or any time period between MSG2 and MSG4. The allocated resources are sent to the terminal device. For example, the first base station/distributed unit transmits the allocated resources to the terminal device through MSG2 (eg, sending grant) or MSG4 (eg, transmitting CR). In another embodiment of the present invention, the first base station/distributed unit may transmit the allocated resources to the terminal during a time period between transmitting MSG2 (eg, transmitting grant) and MSG4 (eg, transmitting CR). device.
例如,在非调度发送过程,第一基站/分布式单元收到终端设备发送的上行数据时,在非调度发送冲突解决响应时将所分配的资源发送给所述终端设备。For example, in the non-scheduled transmission process, when the first base station/distributed unit receives the uplink data sent by the terminal device, the first base station/distributed unit sends the allocated resource to the terminal device when the collision resolution response is not scheduled.
例如,所述终端设备可报告支持所述第一基站/分布式单元分配所述资源的该能力,终端设备在上行发送时指示给所述第一基站/分布式单元,比如通过MAC控制单元(control element)或特殊的preamble指示;在本发明的另一实施例中,所述终端设备向所述第二基站/集中式单元报告支持所述第一基站/分布式单元分配所述资源的该能力,所述第二基站/集中式单元再将所述能力指示给所述第一基站/分布式单元。For example, the terminal device may report the capability of supporting the first base station/distributed unit to allocate the resource, and the terminal device indicates to the first base station/distributed unit when transmitting uplink, such as by using a MAC control unit ( a control element) or a special preamble indication; in another embodiment of the present invention, the terminal device reports to the second base station/centralized unit that the first base station/distributed unit allocates the resource The capability, the second base station/centralized unit then indicates the capability to the first base station/distributed unit.
若下行业务触发,所述第二基站/集中式单元确定终端设备所在的小区后,所述第一基站/分布式单元通过物理层控制信令(比如PDCCH)或高层信令(比如MAC CE)或者PDCP控制单元将分配的SR发送资源、CQI上报资源、CSI上报资源、SRS上报资源、PUSCH资源、和单小区用于调度的终端设备标识的至少一个发送给终端设备。在该实施方式时,步骤801可选。After the downlink service triggers, the second base station/centralized unit determines the cell where the terminal device is located, and the first base station/distributed unit passes physical layer control signaling (such as PDCCH) or high layer signaling (such as MAC CE). Or the PDCP control unit sends at least one of the allocated SR transmission resource, the CQI reporting resource, the CSI reporting resource, the SRS reporting resource, the PUSCH resource, and the terminal device identifier used by the single cell for scheduling to the terminal device. In this embodiment, step 801 is optional.
其中,分配的资源可包含该使用资源进行发送所需要的静态参数(比如,周期等)。若没有包含则终端设备使用默认或之前预先配置的静态参数。The allocated resources may include static parameters (eg, periods, etc.) required for the use of the resources for transmission. If not included, the terminal device uses default or pre-configured static parameters.
步骤803,终端设备收到资源后发送确认反馈指示给第一基站/分布式单元。Step 803: After receiving the resource, the terminal device sends an acknowledgement feedback indication to the first base station/distributed unit.
本步骤为可选,既可以执行也可以不执行,终端设备收到某个资源或全部资源后发送确认反馈指示给第一基站/分布式单元,如果终端设备收到多个资源,可以发送资源列表指示给所述第一基站/分布式单元。例如,如果终端设备收到SR发送资源、CQI上报资源、CSI上报资源、SRS上报资源、PUSCH资源、和单小区用于调度的终端设备标识的至少两个,发送对应的资源列表指示给所述第一基站/分布式单元。This step is optional and may or may not be performed. After receiving a resource or all resources, the terminal device sends an acknowledgement feedback indication to the first base station/distributed unit. If the terminal device receives multiple resources, the terminal may send the resource. A list is indicated to the first base station/distributed unit. 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 by the single cell for scheduling, sending the corresponding resource list indication to the First base station/distributed unit.
步骤804,终端设备根据需要通过所述第一基站/分布式单元分配的相应资源进行相应的发送。Step 804: The terminal device performs corresponding transmission by using corresponding resources allocated by the first base station/distributed unit according to requirements.
可选的,如果是INACTIVE态的终端设备收到分配的专用资源后,恢复之前保存的ACTIVE配置参数,例如,承载相关的配置信息,终端设备认为进入ACTIVE态。终端设备计算出新密钥,用于ACTIVE态的安全保护。Optionally, if the terminal device in the INACTIVE state receives the allocated dedicated resource, and restores the previously saved ACTIVE configuration parameter, for example, carrying the relevant configuration information, the terminal device considers that the ACTIVE state is entered. The terminal device calculates a new key for security protection in the ACTIVE state.
例如,如果终端设备需要发送调度请求,则所述终端设备利用所述第一基站/分布式单元分配的SR发送资源发送调度请求。For example, if the terminal device needs to send a scheduling request, the terminal device sends a scheduling request by using the SR transmission resource allocated by the first base station/distributed unit.
例如,如果终端设备需要发送CQI,则所述终端设备利用所述第一基站/分布式单元分配的CQI上报资源发送CQI。For example, if the terminal device needs to send a CQI, the terminal device sends the CQI by using the CQI reporting resource allocated by the first base station/distributed unit.
例如,如果终端设备需要发送CSI,则所述终端设备利用所述第一基站/分布式单元分配的CSI上报资源发送CSI。For example, if the terminal device needs to send CSI, the terminal device sends CSI by using the CSI reporting resource allocated by the first base station/distributed unit.
例如,如果终端设备需要发送SRS,则所述终端设备利用所述第一基站/分布式单元分配的SRS上报资源发送SRS。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 first base station/distributed unit.
例如,如果终端设备需要发送数据(Data),则所述终端设备利用所述第一基站/分布式单元分配的PUSCH资源发送Data。For example, if the terminal device needs to transmit data (Data), the terminal device transmits Data by using the PUSCH resource allocated by the first base station/distributed unit.
例如,如果终端设备需要在共享的资源上发送上行数据或信令,则所述终端设备利用所述第一基站/分布式单元分配的单小区用于调度的终端设备标识和数据/信令一同发送。For example, if the terminal device needs to send uplink data or signaling on the shared resource, the terminal device uses the single cell allocated by the first base station/distributed unit for scheduling terminal device identification and data/signaling together. send.
步骤805,所述第一基站/分布式单元向所述第二基站/集中式单元发送已经为该终端设备分配专用资源的指示。Step 805: The first base station/distributed unit sends an indication that the dedicated resource has been allocated to the terminal device to the second base station/centralized unit.
例如,若所述第一基站/分布式单元检测到终端设备在分配的资源进行发送,或,收到终端设备发送的配置确认的反馈指示,所述第一基站/分布式单元通知所述第二基站/集中式单元已经为该终端设备分配了专用资源的指示,例如,可以发送已分配资源的索引或资源的内容。For example, if the first base station/distributed unit detects that the terminal device transmits the allocated resource, or receives a feedback indication of the configuration acknowledgement sent by the terminal device, the first base station/distributed unit notifies the first The second base station/centralized unit has assigned an indication of the dedicated resource to the terminal device, for example, an index of the allocated resource or the content of the resource may be transmitted.
例如,若所述第一基站/分布式单元检测到终端设备在分配的SR发送资源发送SR,或者在分配的CQI上报资源发送CQI,或者在分配的CSI上报资源发送CSI,或者在分配的SRS上报资源发送SRS,或者在分配的PUSCH资源发送数据data,或者发送单小区用于调度的终端设备标识时,或者所述第一基站/分布式单元收到终端设备发送的配置这些资源的配置确认的反馈指示时,所述第一基站/分布式单元通知所述第二基站/集中式单元已经为该终端设备分配了相应的专用资源的指示,例如包括相应资源的索引。For example, if the first base station/distributed unit detects that the terminal device transmits the SR in the allocated SR transmission resource, or reports the resource transmission CQI on the allocated CQI, or reports the resource transmission CSI in the allocated CSI, or the allocated SRS. The reporting resource sends the SRS, or the data is transmitted in the allocated PUSCH resource, or the single cell is used to send the terminal device identifier, or the first base station/distributed unit receives the configuration confirmation that the terminal device sends the configuration. When the feedback indication is received, the first base station/distributed unit notifies the second base station/centralized unit that an indication of the corresponding dedicated resource has been allocated to the terminal device, for example, including an index of the corresponding resource.
可选的,所述第一基站/分布式单元还可以将终端设备进入active指示通知所述第二基站/集中式单元。本实施例不排除用这个方式替代8.5步骤,隐式表示给终端设备分配了专用资源。以下806~809步骤可选。Optionally, the first base station/distributed unit may further notify the second base station/centralized unit by entering the terminal device into an active indication. This embodiment does not exclude the use of this method instead of the 8.5 step, implicitly indicating that the terminal device is allocated a dedicated resource. The following steps 806 to 809 are optional.
步骤806-807,终端设备将MAC-I通过所述第一基站/分布式单元发送给所述第二基站/集中式单元进行完整性校验。Steps 806-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.
若所述第一基站/分布式单元收到终端设备发送的MAC-I,所述第一基站/分布式单元转发该MAC-I给所述第二基站/集中式单元,所述第二基站/集中式单元进行做完整性校验。If the first base station/distributed unit receives the MAC-I sent by the terminal device, the first base station/distributed unit forwards the MAC-I to the second base station/concentrated unit, the second base station / Centralized unit for integrity checking.
步骤808,所述第二基站/集中式单元将校验失败的专用资源释放指示或校验结果指示发送给所述第一基站/分布式单元。Step 808: The second base station/centralized unit sends a dedicated resource release indication or a check result indication that fails verification to the first base station/distributed unit.
步骤809,所述第一基站/分布式单元将专用资源释放指示或校验结果指示发送给所述终端设备。Step 809: The first base station/distributed unit sends a dedicated resource release indication or a check result indication to the terminal device.
可选地,所述第一基站或所述分布式单元通过物理层控制信令或者MAC CE或者PDCP控制单元将所述专用资源释放指示发送给所述终端设备。Optionally, the first base station or the distributed unit sends the dedicated resource release indication to the terminal device by using physical layer control signaling or a 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 indication according to the check result, and if the check fails, the second base station/centralized unit generates a dedicated resource release indication and sends the indication to the local base station. The first base station/distributed unit is then sent 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, and the second base station/centralized unit may also not generate a verification success. Instructions. If the second base station/centralized unit does not generate a check success indication, if the first base station/distributed unit does not receive the check success indication when the timer expires, the default check succeeds. The timer can be started when the first base station/distributed unit transmits verification information to the second base station/centralized unit.
可选地,在所述第二基站/集中式单元校验成功时,所述第一基站/分布式单元既可以发送校验成功指示给所述终端设备,也可以不发送所述校验成功指示给所述终端设备。Optionally, when the second base station/centralized unit check succeeds, the first base station/distributed unit may send the verification success indication to the terminal device, or may not send the verification success. Indicated to the terminal device.
可选地,如果所述第一基站/分布式单元在预定时间内没有收到所述第二基站/集中式单元发送的校验成功指示生成和发送专用资源释放指示通知所述终端设备。Optionally, if the first base station/distributed unit does not receive the verification success indication generated by the second base station/centralized unit and generates a dedicated resource release indication to notify the terminal device within a predetermined time.
在本发明的另一实施例中,所述第二基站/集中式单元将校验是否成功结果发送给所述第一基站/分布式单元,由所述第一基站/分布式单元根据校验是否成功结果确定是否生成专用资源释放指示,例如,若校验失败,所述第一基站/分布式单元生成专用资源释放指示并发送给所述终端设备,通知所述终端设备释放相应的专用资源;若校验成功,所述第一基站/分布式单元既可以将所述第二基站/集中式单元发送的校验成功指示发送给所述终端设备,所述第一基站/分布式单元也可以不发送所述第二基站/集中式单元的校验成功指示发送给所述终端设备。如果所述第一基站/分布式单元不发送所述第二基站/集中式单元的校验成功指示发送给所述终端设备,所述终端设备在定时器超时时如果没有收到专用资源释放指示,默认校验成功。该定时器可以在所述终端设备发送校验信息给所述第一基站/分布式单元时启动。In another embodiment of the present invention, the second base station/centralized unit sends a verification success result to the first base station/distributed unit, and the first base station/distributed unit performs verification according to the first base station/distributed unit. Whether the success result determines whether a dedicated resource release indication is generated, 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 the corresponding dedicated resource. If the verification is successful, the first base station/distributed unit may send a verification success indication sent by the second base station/central unit to the terminal device, and the first base station/distributed unit also The verification success indication of the second base station/centralized unit may not be sent 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 device, if the terminal device does not receive the dedicated resource release indication when the timer expires The default verification is successful. The timer may be started when the terminal device sends verification information 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 a predetermined time, the default verification fails, and then the dedicated uplink resource is released.
若校验失败,所述第一基站/分布式单元通知终端设备进行RRC连接释放或RRC挂起、重配、更新密钥等操作。If the verification fails, the first base station/distributed unit notifies the terminal device to perform an RRC connection release or an RRC suspension, reconfiguration, update key, and the like.
在本发明的另一实施例中,步骤806-809可以在步骤804之前执行,即在所述终端设备根据分配的相应资源进行相应的发送之前进行完整性校验。In another embodiment of the invention, steps 806-809 may be performed prior to step 804, ie, an integrity check is performed before the terminal device performs a corresponding transmission according to the assigned respective resource.
在本发明的另一实施例中,如果终端设备在一个寻呼区域范围内,第二基站/第二基站/集中式单元分别给第一基站/第一基站/分布式单元网络配置多套公共的组合资源(例如,SR发送资源、CQI上报资源、CSI上报资源、SRS上报资源、PUSCH资源和单小区用于调度的终端设备标识资源中的至少两个)以及对应的周期,这些周期参数通过广播或协议约定。第一基站或第一基站/分布式单元给终端设备分配的是资源组合索引值。所述资源组合索引值指示至少两个资源的信息,所述终端设备使用所述资源组合索引值从协议约定或预配置的资源中获取对应的资源。In another embodiment of the present invention, if the terminal device is within a paging area, the second base station/second base station/central unit respectively configures multiple sets of common to the first base station/first base station/distributed unit network. The combined resources (for example, 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 single cell for scheduling a terminal device identification resource), and corresponding periods, Broadcast or agreement. The first base station or the first base station/distributed unit allocates 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 acquire a corresponding resource from a protocol agreement or a pre-configured resource.
可选的,上述同一个资源可以分配给多个终端设备。Optionally, the same resource can 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 have to wait for the second base station/centralized unit to perform integrity check on the terminal device, and then The second base station/centralized unit acquires the resource and sends the resource to the terminal device, but the first base station/distributed unit does not wait for the integrity check result to autonomously allocate the managed resource to the terminal device in advance, saving the first The time at which a base station/distributed unit waits for an integrity check and the time at which resources are acquired from the second base station/centralized unit.
如图9所示,为本发明另一实施例的一种资源分配方法流程示意图,本实施例中,终端设备与基站通过空口通信,所述基站管理资源和各个终端设备的上下文(context)。FIG. 9 is a schematic flowchart of a resource allocation method according to another embodiment of the present invention. In this embodiment, a terminal device communicates with a base station through an air interface, and the base station manages a resource and a context of each terminal device.
可选地,所述基站既可以为GSM系统或CDMA系统中的基站(BTS),也可以为WCDMA中的基站(NodeB),LTE系统中的演进型基站(eNodeB),或新无线接入网络的基站(gNB)。Optionally, the base station may be a base station (BTS) in a GSM system or a CDMA system, a base station (NodeB) in WCDMA, an evolved base station (eNodeB) in an LTE system, or a new radio access network. Base station (gNB).
资源包括如下至少之一:SR发送资源、CQI上报资源、CSI上报资源、SRS上报资源、PUSCH资源、和单小区用于调度的终端设备标识为例进行说明。The resource includes at least one of the following: 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 the single cell for scheduling.
例如,所述终端设备为单小区或寻呼区内的INACTIVE态的终端设备,所述寻呼区是指终端设备在一个无线网络区域范围内,该区域可是单小区或多个小区,终端设备会有一个唯一的无线网络标识(Resume ID)或上下文标识(context ID),若终端设备在这个寻呼区域内的小区间移动,无需通知网络,例如基站。For example, the terminal device is a terminal device in an INACTIVE state in a single cell or paging area, and the paging area refers to a terminal device in a range of a wireless network region, where the region may be a single cell or multiple cells, and the terminal device There will be a unique wireless network identifier (Resume ID) or context identifier (context ID). If the terminal device moves between cells in this paging area, there is no need to notify the network, such as a base station.
在本发明的另一实施例中,所述终端设备也可以处于连接态或空闲态。In another embodiment of the present invention, the terminal device may also be in a connected state or an idle state.
步骤901,终端设备发送上行信息给基站。In step 901, the terminal device sends uplink information to the base station.
例如,终端设备通过非调度或随机接入(Random Access Channel,RACH)过程发送上行信息给基站的上行信息可以包括如下至少之一:preamble、终端设备_ID、MAC-I、缓存状态报告(Buffer State Report,BSR)、信令或数据包。For example, the uplink information that the terminal device sends the uplink information to the base station by using a non-scheduled or random access (RACH) process may include at least one of the following: preamble, terminal device_ID, MAC-I, and buffer status report (Buffer). State Report, BSR), signaling or data packet.
步骤902,基站给所述终端设备分配并发送其管理的资源。Step 902: The base station allocates and sends the managed resources to the terminal device.
例如,基站给所述终端设备分配并发送其管理的如下至少之一资源:SR发送资源、CQI上报资源、CSI上报资源、SRS上报资源、PUSCH资源、和单小区用于调度的终端设备标识。For example, the base station allocates and transmits to the terminal device at least one of the following resources: 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 by the single cell for scheduling.
所述基站通过物理层控制信令或者MAC CE或者PDCP控制单元将所述SR发送资源、CQI上报资源、CSI上报资源、SRS上报资源、PUSCH资源、和单小区用于调度的终端设备标识至少一种发送给所述终端设备。The base station uses the physical layer control signaling or the MAC CE or the PDCP control unit to at least one 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 by the single cell for scheduling. Transmitted to the terminal device.
例如,在RACH过程中,所述上行信息为随机接入请求,所述上行信息为随机接入请求,所述基站在发送RAR随机接入响应(即MSG2)或MSG4时或MSG2与MSG4之间的任何时间段将所分配的资源发送给所述终端设备。例如,基站通过MSG2(例如发送grant)或MSG4(例如发送CR)将所分配的资源发送给所述终端设备。For example, in the RACH process, the uplink information is a random access request, and the uplink information is a random access request, and the base station sends an RAR random access response (ie, MSG2) or MSG4 or between MSG2 and MSG4. The allocated resources are transmitted to the terminal device at any time period. For example, the base station transmits the allocated resources to the terminal device through MSG2 (eg, sending grant) or MSG4 (eg, transmitting CR).
例如,在非调度发送过程,基站收到终端设备发送的上行数据时,在非调度发送冲突解决响应时将所分配的资源发送给所述终端设备。For example, in the non-scheduled transmission process, when receiving the uplink data sent by the terminal device, the base station sends the allocated resource to the terminal device when the collision resolution response is not scheduled.
可选的,为了能快速支持数据传输,在CU和DU分离的场景,CU将在DU上配置相关承载的参数,例如,所述相关承载的参数包括以下至少一项:逻辑信道、RLC的模式、SN的大小、窗口大小、重排序定时器等。例如,所述终端设备可报告支持所述基站分配所述资源的该能力,终端设备在上行发送时指示给所述基站,比如通过MAC控制单元(control element)或特殊的preamble指示。Optionally, in order to support data transmission in a fast manner, in a scenario where the CU and the DU are separated, the CU configures parameters of the relevant bearer on the DU. For example, the parameters of the related bearer include at least one of the following: a logical channel, a mode of the RLC. , SN size, window size, reordering timer, etc. For example, the terminal device may report the capability of supporting the base station to allocate the resource, and the terminal device indicates to the base station when transmitting uplink, such as by a MAC control unit or a special preamble.
若下行业务触发,所述基站确定终端设备所在的小区后,所述基站通过物理层控制信令(比如PDCCH)或高层信令(比如MAC CE)或者PDCP控制单元将分配的SR发送资源、CQI上报资源、CSI上报资源、SRS上报资源、PUSCH资源、和单小区用于调度的终端设备标识的至少一个发送给终端设备。After the downlink service triggers, the base station determines the cell where the terminal device is located, and the base station sends the allocated SR resource, CQI, through physical layer control signaling (such as PDCCH) or high layer signaling (such as MAC CE) or PDCP control unit. At least one of the reporting resource, the CSI reporting resource, the SRS reporting resource, the PUSCH resource, and the terminal device identifier used by the single cell for scheduling is sent to the terminal device.
其中,分配的资源可包含该使用资源进行发送所需要的静态参数(比如,周期等)。若没有包含则终端设备使用默认或之前预先配置的静态参数。The allocated resources may include static parameters (eg, periods, etc.) required for the use of the resources for transmission. If not included, the terminal device uses default or pre-configured static parameters.
步骤903,终端设备收到资源后发送确认反馈指示给基站。Step 903: After receiving the resource, the terminal device sends an acknowledgement feedback indication to the base station.
本步骤为可选,既可以执行也可以不执行,终端设备收到某个资源或全部资源后发送确认反馈指示给基站,如果终端设备收到多个资源,可以发送资源列表指示给所述基站。例如,如果终端设备收到SR发送资源、CQI上报资源、CSI上报资源、SRS上报资源、PUSCH资源、和单小区用于调度的终端设备标识的至少两个,发送对应的资源列表指示给所述基站。This step is optional and may or may not be performed. After receiving a resource or all resources, the terminal device sends an acknowledgement feedback indication to the base station. If the terminal device receives multiple resources, the terminal may send a resource list indication to the base station. . 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 by the single cell for scheduling, sending the corresponding resource list indication to the Base station.
步骤904,终端设备根据需要通过所述基站分配的相应资源进行相应的发送。Step 904: The terminal device performs corresponding transmission according to the corresponding resource allocated by the base station as needed.
可选的,如果是INACTIVE态的终端设备收到分配的专用资源后,恢复之前保存的ACTIVE配置参数,例如,承载相关的配置信息,终端设备认为进入ACTIVE态,终端设备计算出新密钥,用于ACTIVE态的安全保护。Optionally, if the terminal device in the INACTIVE state receives the allocated dedicated resource, and restores the previously saved ACTIVE configuration parameter, for example, carrying the relevant configuration information, the terminal device considers that the terminal enters the ACTIVE state, and the terminal device calculates the new key. Used for security protection in the ACTIVE state.
例如,如果终端设备需要发送调度请求,则所述终端设备利用所述基站分配的SR发送资源发送调度请求。For example, if the terminal device needs to send a scheduling request, the terminal device sends a scheduling request by using the SR transmission resource allocated by the base station.
例如,如果终端设备需要发送CQI,则所述终端设备利用所述基站分配的CQI上报资源发送CQI。For example, if the terminal device needs to send the CQI, the terminal device sends the CQI by using the CQI reporting resource allocated by the base station.
例如,如果终端设备需要发送CSI,则所述终端设备利用所述基站分配的CSI上 报资源发送CSI。For example, if the terminal device needs to send CSI, the terminal device transmits CSI by using the CSI reporting resource allocated by the base station.
例如,如果终端设备需要发送SRS,则所述终端设备利用所述基站分配的SRS上报资源发送SRS。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.
例如,如果终端设备需要发送数据(Data),则所述终端设备利用所述基站分配的PUSCH资源发送Data。For example, if the terminal device needs to transmit data (Data), the terminal device transmits Data by using the PUSCH resource allocated by the base station.
例如,如果终端设备需要在共享的资源上发送上行数据或信令,则所述终端设备利用所述基站分配的单小区用于调度的终端设备标识和数据/信令一同发送。For example, if the terminal device needs to send uplink data or signaling on the shared resource, the terminal device uses the single cell allocated by the base station to send the terminal device identifier and the data/signaling together.
步骤905,终端设备将MAC-I发送给所述基站进行完整性校验。Step 905: The terminal device sends the MAC-I to the base station for integrity check.
步骤906,所述基站将校验失败的专用资源释放指示或校验成功指示发送给所述终端设备。Step 906: The base station sends, to the terminal device, a dedicated resource release indication or a verification success indication that fails to be verified.
例如,所述基站根据校验结果确定是否生成和发送所述专用资源释放指示,若校验失败,所述基站生成专用资源释放指示并发送给所述终端设备,通知所述终端设备释放相应的专用资源。如果校验成功,所述基站既可以生成和发送校验成功指示给所述终端设备,所述基站也可以不生成校验成功指示。For example, the base station determines whether to generate and send the dedicated resource release indication according to the check result. If the check fails, the base station generates a dedicated resource release indication and sends the dedicated resource release indication to the terminal device, and notifies the terminal device to release the corresponding Dedicated resources. If the verification is successful, the base station may generate and send a verification success indication to the terminal device, and the base station may not generate a verification success indication.
可选地,所述基站通过物理层控制信令或者MAC CE或者PDCP控制单元将所述专用资源释放指示发送给所述终端设备。Optionally, the base station sends the dedicated resource release indication to the terminal device by using physical layer control signaling or a MAC CE or a PDCP control unit.
如果所述基站不生成校验成功指示,所述终端设备在定时器超时时如果没有收到校验成功指示,默认校验成功。该定时器可以用在所述终端设备发送校验信息给所述第二基站/集中式单元时启动。If the base station does not generate a check success indication, if the terminal device does not receive the check success indication when the timer expires, the default check succeeds. The timer can be started when the terminal device sends the verification information 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 a predetermined time, the default verification fails, and then the dedicated uplink resource is released.
若校验失败,所述基站通知终端设备进行RRC连接释放或RRC挂起、重配、更新密钥等操作。If the verification fails, the base station notifies the terminal device to perform an operation such as RRC connection release or RRC suspension, reconfiguration, and update of a key.
在本发明的另一实施例中,步骤905-906可以在步骤904之前执行,即在所述终端设备根据分配的相应资源进行相应的发送之前进行完整性校验。In another embodiment of the invention, steps 905-906 may be performed prior to step 904, ie, an integrity check is performed before the terminal device performs a corresponding transmission according to the assigned respective resource.
在本发明的另一实施例中,如果终端设备在一个寻呼区域范围内,所述基站配置多套公共的组合资源(例如,SR发送资源、CQI上报资源、CSI上报资源、SRS上报资源、PUSCH资源和单小区用于调度的终端设备标识资源中的至少两个)以及对应的周期,这些周期参数通过广播或协议约定。所述基站给终端设备分配的是资源组合索引值。所述资源组合索引值指示至少两个资源的信息,所述终端设备使用所述资源组合索引值从协议约定或预配置的资源中获取对应的资源。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 (for example, an SR sending resource, a CQI reporting resource, a CSI reporting resource, an SRS reporting resource, The PUSCH resource and the single cell are used for at least two of the scheduled terminal device identification resources and corresponding periods, which are agreed by broadcast or protocol. The base station allocates 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 acquire a corresponding resource from a protocol agreement or a pre-configured resource.
可选的,上述同一个资源可以分配给多个终端设备。Optionally, the same resource can be allocated to multiple terminal devices.
如图10所示,为本发明另一实施例的一种资源分配装置的结构示意图,本实施例中,所述资源分配装置为基站或基站的一部分,终端设备与所述基站通过空口通信,所述基站管理资源和各个终端设备的上下文(context)。FIG. 10 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 part of a base station or a base station, and the terminal equipment communicates with the base station through an air interface. The base station manages resources and contexts of respective terminal devices.
可选地,所述基站既可以为GSM系统或CDMA系统中的基站(BTS),也可以为WCDMA中的基站(NodeB),LTE系统中的演进型基站(eNodeB),或新无线接入网络的基站(gNB)。Optionally, the base station may be a base station (BTS) in a GSM system or a CDMA system, a base station (NodeB) in WCDMA, an evolved base station (eNodeB) in an LTE system, or a new radio access network. Base station (gNB).
资源包括如下至少之一:SR发送资源、CQI上报资源、CSI上报资源、SRS上报资源、PUSCH资源、和单小区用于调度的终端设备标识为例进行说明。The resource includes at least one of the following: 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 the single cell for scheduling.
例如,所述终端设备为单小区或寻呼区内的INACTIVE态的终端设备,所述寻呼区是指终端设备在一个无线网络区域范围内,该区域可是单小区或多个小区,终端设备会有一个唯一的无线网络标识(Resume ID)或上下文标识(context ID),若终端设备在这个寻呼区域内的小区间移动,无需通知网络,例如基站。For example, the terminal device is a terminal device in an INACTIVE state in a single cell or paging area, and the paging area refers to a terminal device in a range of a wireless network region, where the region may be a single cell or multiple cells, and the terminal device There will be a unique wireless network identifier (Resume ID) or context identifier (context ID). If the terminal device moves between cells in this paging area, there is no need to notify the network, such as a base station.
在本发明的另一实施例中,所述终端设备也可以处于连接态或空闲态。In another embodiment of the present invention, the terminal device may also be in a connected state or an idle state.
所述资源分配装置包括接收器1001、处理器1002、发送器1003和存储器1004。The resource allocation apparatus includes a receiver 1001, a processor 1002, a transmitter 1003, and a memory 1004.
应理解,在本申请实施例中,所述接收器1001、处理器1002、发送器1003和存储器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.
应理解,在本申请实施例中,该处理器1002可以是EPLD、FPGA、DSP芯片、ASIC、或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。It should be understood that in the embodiment of the present application, the processor 1002 may be an EPLD, an FPGA, a DSP chip, an ASIC, or other programmable logic device, a discrete gate or a transistor logic device, a discrete hardware component, or the like.
该存储器1004用于存储代码或指令信息,该存储器1004可以包括只读存储器(Read-Only Memory,ROM)和随机存取存储器(Random Access Memory,RAM),用于向处理器1002提供指令和数据。存储器1004的一部分还可以包括非易失性随机存取存储器。例如,存储器1004还可以存储设备类型的信息。The memory 1004 is configured to store code or instruction information. 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 a non-volatile random access memory. For example, the memory 1004 can also store information of the device type.
所述接收器1001用于接收终端设备发送的上行信息。The receiver 1001 is configured to receive uplink information sent by the terminal device.
所述处理器1002用于给所述终端设备分配其管理的资源。The processor 1002 is configured to allocate the resources managed by the terminal device.
可选地,在所述接收器1001接收终端设备发送的上行信息之前或之后,所述处理器1002可以从其管理的上行资源中给所述终端设备分配专用上行资源,例如在所述接收器1001接收所述终端设备的上行信息之前,如果所述处理器1002维护的定时器届满,所述接收器1001没有收到所述终端设备使用资源发送的信息,则所述处理器1002判定所述终端设备没有相应资源或释放了相应资源,所述处理器1002主动给终端设备分配专用上行资源。Optionally, before or after the receiver 1001 receives the uplink information sent by the terminal device, the processor 1002 may allocate the dedicated uplink resource to the terminal device from the uplink resource it manages, for example, at the receiver. Before receiving 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 the terminal device using the resource, the processor 1002 determines that the The terminal device does not have a corresponding resource or releases the corresponding resource, and the processor 1002 actively allocates a dedicated uplink resource to the terminal device.
例如,终端设备通过非调度或随机接入(Random Access Channel,RACH)过程发送上行信息给基站的上行信息可以包括如下至少之一:preamble、终端设备_ID、MAC-I、缓存状态报告(Buffer State Report,BSR)、信令或数据包。For example, the uplink information that the terminal device sends the uplink information to the base station by using a non-scheduled or random access (RACH) process may include at least one of the following: preamble, terminal device_ID, MAC-I, and buffer status report (Buffer). State Report, BSR), signaling or data packet.
例如,所述处理器1002用于给所述终端设备分配其管理的如下至少之一资源:SR发送资源、CQI上报资源、CSI上报资源、SRS上报资源、PUSCH资源、和单小区用于调度的终端设备标识。For example, the processor 1002 is configured to allocate, to the terminal device, at least one of the following resources: an SR transmission resource, a CQI reporting resource, a CSI reporting resource, an SRS reporting resource, a PUSCH resource, and a single cell for scheduling. Terminal device identification.
所述发送器1003用于将所述分配的资源发送给所述终端设备。The transmitter 1003 is configured to send the allocated resource to the terminal device.
例如,所述发送器1003用于通过物理层控制信令或者MAC CE或者PDCP控制 单元将所述SR发送资源、CQI上报资源、CSI上报资源、SRS上报资源、PUSCH资源、和单小区用于调度的终端设备标识至少一种发送给所述终端设备。For example, the transmitter 1003 is configured to use the physical layer control signaling or the MAC CE or the PDCP control unit to use the SR sending resource, the CQI reporting resource, the CSI reporting resource, the SRS reporting resource, the PUSCH resource, and the single cell for scheduling. At least one of the terminal device identifiers is sent to the terminal device.
例如,在RACH过程中,所述上行信息为随机接入请求,所述上行信息为随机接入请求,所述发送器1003用于在发送RAR随机接入响应(即MSG2)或MSG4时或MSG2与MSG4之间的任何时间段将所分配的资源发送给所述终端设备。例如,所述发送器1003用于通过MSG2(例如发送grant)或MSG4(例如发送CR)将所分配的资源发送给所述终端设备。For example, in the RACH process, the uplink information is a random access request, the uplink information is a random access request, and the transmitter 1003 is configured to send an RAR random access response (ie, MSG2) or MSG4 or MSG2. The allocated resources are transmitted to the terminal device at any time period with the MSG 4. For example, the transmitter 1003 is configured to send the allocated resources to the terminal device through MSG2 (eg, sending grant) or MSG4 (eg, transmitting CR).
例如,在非调度发送过程,所述接收器1001收到终端设备发送的上行数据时,所述发送器1003用于在非调度发送冲突解决响应时将所分配的资源发送给所述终端设备。For example, in the non-scheduled transmission process, when the receiver 1001 receives the uplink data sent by the terminal device, the transmitter 1003 is configured to send the allocated resource to the terminal device when the conflict resolution response is not scheduled.
例如,所述终端设备可报告支持所述基站分配所述资源的该能力,终端设备在上行发送时指示给所述接收器1001,比如通过MAC控制单元(control element)或特殊的preamble指示。For example, the terminal device may report the capability of supporting the base station to allocate the resource, and the terminal device indicates to the receiver 1001 when transmitting uplink, such as by a MAC control unit or a special preamble indication.
若下行业务触发,所述处理器1002确定终端设备所在的小区后,所述发送器1003用于通过物理层控制信令(比如PDCCH)或高层信令(比如MAC CE)或者PDCP控制单元将分配的SR发送资源、CQI上报资源、CSI上报资源、SRS上报资源、PUSCH资源、和单小区用于调度的终端设备标识的至少一个发送给终端设备。After the downlink service is triggered, the processor 1002 determines, after the terminal device is located, the transmitter 1003 is configured to allocate the physical layer control signaling (such as PDCCH) or higher layer signaling (such as MAC CE) or the PDCP control unit. At least one 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 by the single cell for scheduling is sent to the terminal device.
其中,分配的资源可包含该使用资源进行发送所需要的静态参数(比如,周期等)。若没有包含则终端设备使用默认或之前预先配置的静态参数。The allocated resources may include static parameters (eg, periods, etc.) required for the use of the resources for transmission. If not included, the terminal device uses default or pre-configured static parameters.
所述接收器1001还用于接收所述终端设备收到资源后发送的确认反馈指示。The receiver 1001 is further configured to receive an acknowledgement feedback indication sent by the terminal device after receiving the resource.
例如,所述终端设备收到某个资源或全部资源后发送确认反馈指示给所述接收器1001,如果终端设备收到多个资源,可以发送资源列表指示给所述接收器1001。例如,如果终端设备收到SR发送资源、CQI上报资源、CSI上报资源、SRS上报资源、PUSCH资源、和单小区用于调度的终端设备标识的至少两个,发送对应的资源列表指示给所述接收器1001。For example, the terminal device sends an acknowledgment feedback indication to the receiver 1001 after receiving a certain resource or all resources, and if the terminal device receives multiple resources, the resource list indication may be sent to the receiver 1001. 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 by the single cell for scheduling, sending the corresponding resource list indication to the Receiver 1001.
在本发明的另一实施例中,所述终端设备不发送确认反馈指示。In another embodiment of the invention, the terminal device does not send an acknowledgement feedback indication.
所述接收器1001还用于接收所述终端设备根据需要通过所述分配的相应资源发送的信息。The receiver 1001 is further configured to receive information that is sent by the terminal device by using the allocated corresponding resource as needed.
可选的,如果是INACTIVE态的终端设备收到分配的专用资源后,恢复之前保存的ACTIVE配置参数,例如,承载相关的配置信息,终端设备认为进入ACTIVE态,终端设备计算出新密钥,用于ACTIVE态的安全保护。Optionally, if the terminal device in the INACTIVE state receives the allocated dedicated resource, and restores the previously saved ACTIVE configuration parameter, for example, carrying the relevant configuration information, the terminal device considers that the terminal enters the ACTIVE state, and the terminal device calculates the new key. Used for security protection in the ACTIVE state.
例如,如果终端设备需要发送调度请求,则所述接收器1001还用于接收所述终端设备利用所述基站分配的SR发送资源发送调度请求。For example, if the terminal device needs to send a scheduling request, the receiver 1001 is further configured to receive, by the terminal device, the SR transmission resource allocation scheduling request by using the base station.
例如,如果终端设备需要发送CQI,则所述接收器1001还用于接收所述终端设备利用所述处理器1002分配的CQI上报资源发送的CQI。For example, if the terminal device needs to send a CQI, the receiver 1001 is further configured to receive a CQI sent by the terminal device by using the CQI reporting resource allocated by the processor 1002.
例如,如果终端设备需要发送CSI,则所述接收器1001还用于接收所述终端设备 利用所述处理器1002分配的CSI上报资源发送的CSI。For example, if the terminal device needs to send CSI, the receiver 1001 is further configured to receive CSI sent by the terminal device by using the CSI reporting resource allocated by the processor 1002.
例如,如果终端设备需要发送SRS,则所述接收器1001还用于接收所述终端设备利用所述处理器1002分配的SRS上报资源发送的SRS。For example, if the terminal device needs to send an SRS, the receiver 1001 is further configured to receive an SRS sent by the terminal device by using the SRS reporting resource allocated by the processor 1002.
例如,如果终端设备需要发送数据(Data),则所述接收器1001还用于接收所述终端设备利用所述处理器1002分配的PUSCH资源发送的Data。For example, if the terminal device needs to send data (Data), the receiver 1001 is further configured to receive Data sent by the terminal device by using the PUSCH resource allocated by the processor 1002.
例如,如果终端设备需要在共享的资源上发送上行数据或信令,则所述终端设备利用所述处理器1002分配的单小区用于调度的终端设备标识和数据/信令一同发送。For example, if the terminal device needs to send uplink data or signaling on the shared resource, the terminal device uses the single cell allocated by the processor 1002 for the scheduled terminal device identification and data/signaling to be sent together.
所述接收器1001还用于接收所述终端设备发送的校验信息。The receiver 1001 is further configured to receive verification information sent by the terminal device.
例如,所述接收器1001还用于接收所述终端设备发送的MAC-I,所述处理器1002还用于根据所述MAC-I进行完整性校验。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 an integrity check according to the MAC-I.
所述发送器1003还用于将所述处理器1002校验失败生成的专用资源释放指示或校验成功指示发送给所述终端设备。The transmitter 1003 is further configured to send, to the terminal device, a dedicated resource release indication or a verification success indication generated by the processor 1002 check failure.
例如,所述处理器1002根据校验结果确定是否生成所述专用资源释放指示或校验成功指示,若校验失败,所述处理器1002生成专用资源释放指示并通过所述发送器1003发送给所述终端设备,通知所述终端设备释放相应的专用资源。如果校验成功,所述处理器1002既可以生成校验成功指示并通过所述发送器1003发送所述校验成功指示给所述终端设备,所述处理器1002也可以不生成校验成功指示。For example, the processor 1002 determines whether to generate the dedicated resource release indication or the verification success indication according to the check result. If the check fails, the processor 1002 generates a dedicated resource release indication and sends the identifier to the transmitter 1003. The terminal device notifies the terminal device to release a 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, and the processor 1002 may not generate a verification success indication. .
如果所述处理器1002不生成校验成功指示,所述终端设备在定时器超时时如果没有收到校验成功指示,默认校验成功。该定时器可以用在所述终端设备发送校验信息给所述第二基站/集中式单元时启动。If the processor 1002 does not generate a verification success indication, if the terminal device does not receive the verification success indication when the timer expires, the default verification is successful. The timer can be started when the terminal device sends the verification information to the second base station/centralized unit.
可选地,所述发送器1003还用于通过物理层控制信令或者MAC CE或者PDCP控制单元将所述专用资源释放指示发送给所述终端设备。Optionally, the transmitter 1003 is further configured to send the dedicated resource release indication to the terminal device by using physical layer control signaling or a MAC CE or a PDCP control unit.
在本发明的另一实施例中,所述终端设备如果在预定时间内没有收到校验成功指示,默认校验失败,然后释放所述专用上行资源。In another embodiment of the present invention, if the terminal device does not receive the verification success indication within a predetermined time, the default verification fails, and then the dedicated uplink resource is released.
若校验失败,所述发送器1003还用于通知所述终端设备进行RRC连接释放或RRC挂起、重配、更新密钥等操作。If the verification fails, the transmitter 1003 is further configured to notify the terminal device to perform an RRC connection release, an RRC suspension, a reconfiguration, an update key, and the like.
在本发明的另一实施例中,所述终端设备可以根据分配的相应资源进行相应的发送之前进行完整性校验。In another embodiment of the present invention, the terminal device may perform an integrity check before performing corresponding transmission according to the allocated corresponding resource.
在本发明的另一实施例中,如果终端设备在一个寻呼区域范围内,所述存储器1004配置多套公共的组合资源(例如,SR发送资源、CQI上报资源、CSI上报资源、SRS上报资源、PUSCH资源和单小区用于调度的终端设备标识资源中的至少两个)以及对应的周期,这些周期参数通过广播或协议约定。所述处理器1002给终端设备分配的是资源组合索引值。所述资源组合索引值指示至少两个资源的信息,所述终端设备使用所述资源组合索引值从协议约定或预配置的资源中获取对应的资源。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 (for example, an SR sending resource, a CQI reporting resource, a CSI reporting resource, and an SRS reporting resource). And, the PUSCH resource and at least two of the terminal device identification resources used by the single cell for scheduling, and the corresponding period, the period parameters are agreed by a broadcast or a protocol. The processor 1002 allocates 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 acquire a corresponding resource from a protocol agreement or a pre-configured resource.
可选的,上述同一个资源可以分配给多个终端设备。Optionally, the same resource can be allocated to multiple terminal devices.
如图11所示,为本发明另一实施例的一种资源分配方法流程示意图,本实施例中,终端设备与基站通过空口通信,所述基站管理资源和各个终端设备的上下文(context)。FIG. 11 is a schematic flowchart of a resource allocation method according to another embodiment of the present invention. In this embodiment, a terminal device communicates with a base station through an air interface, and the base station manages resources and a context of each terminal device.
可选地,所述基站既可以为GSM系统或CDMA系统中的基站(BTS),也可以为WCDMA中的基站(NodeB),LTE系统中的演进型基站(eNodeB),或新无线接入网络的基站(gNB)。Optionally, the base station may be a base station (BTS) in a GSM system or a CDMA system, a base station (NodeB) in WCDMA, an evolved base station (eNodeB) in an LTE system, or a new radio access network. Base station (gNB).
所述基站管理的资源包括如下至少之一:SR发送资源、CQI上报资源、CSI上报资源、SRS上报资源。The resources managed by the base station include at least one of the following: an SR sending resource, a CQI reporting resource, a CSI reporting resource, and an SRS reporting resource.
例如,所述终端设备为单小区或寻呼区内的INACTIVE态的终端设备,所述寻呼区是指终端设备在一个无线网络区域范围内,该区域可是单小区或多个小区,终端设备会有一个唯一的无线网络标识(Resume ID)或上下文标识(context ID),若终端设备在这个寻呼区域内的小区间移动,无需通知网络,例如基站。For example, the terminal device is a terminal device in an INACTIVE state in a single cell or paging area, and the paging area refers to a terminal device in a range of a wireless network region, where the region may be a single cell or multiple cells, and the terminal device There will be a unique wireless network identifier (Resume ID) or context identifier (context ID). If the terminal device moves between cells in this paging area, there is no need to notify the network, such as a base station.
在本发明的另一实施例中,所述终端设备也可以处于连接态或空闲态。In another embodiment of the present invention, the terminal device may also be in a connected state or an idle state.
步骤1101,终端设备发送随机接入请求给基站。In step 1101, the terminal device sends a random access request to the base station.
例如,所述终端设备发送preamble给所述基站。For example, the terminal device sends a preamble to the base station.
步骤1102,所述基站在发送RAR消息时或发送RAR消息和CR消息之间的时间段将其管理的SR发送资源、CQI上报资源、CSI上报资源、SRS上报资源分配至少之一发送给所述终端设备。Step 1102: The base station sends at least one of the SR transmission resource, the CQI report resource, the CSI report resource, and the SRS report resource allocation that is managed by the base station to the RSR message or the RAR message and the CR message. Terminal Equipment.
例如,所述基站通过物理层控制信令或者MAC CE或者PDCP控制单元在发送RAR随机接入响应(即MSG2)或MSG2与MSG4之间的任何时间段将所分配的资源发送给所述终端设备。For example, the base station sends the allocated resources to the terminal device by using physical layer control signaling or a MAC CE or PDCP control unit to transmit an RAR random access response (ie, MSG2) or any time period between MSG2 and MSG4. .
步骤1103,终端设备收到资源后发送确认反馈指示给基站。Step 1103: After receiving the resource, the terminal device sends an acknowledgement feedback indication to the base station.
本步骤为可选,既可以执行也可以不执行,终端设备收到某个资源或全部资源后发送确认反馈指示给基站,如果终端设备收到多个资源,可以发送资源列表指示给所述基站。例如,如果终端设备收到SR发送资源、CQI上报资源、CSI上报资源、SRS上报资源的至少两个,发送对应的资源列表指示给所述基站。This step is optional and may or may not be performed. After receiving a resource or all resources, the terminal device sends an acknowledgement feedback indication to the base station. If the terminal device receives multiple resources, the terminal may send a resource list indication to the base station. . 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 corresponding resource list is sent to the base station.
步骤1104,终端设备根据需要通过所述基站分配的相应资源进行相应的发送。Step 1104: The terminal device performs corresponding transmission by using corresponding resources allocated by the base station according to requirements.
可选的,如果是INACTIVE态的终端设备收到分配的专用资源后,恢复之前保存的ACTIVE配置参数,例如,承载相关的配置信息,终端设备认为进入ACTIVE态,终端设备计算出新密钥,用于ACTIVE态的安全保护。Optionally, if the terminal device in the INACTIVE state receives the allocated dedicated resource, and restores the previously saved ACTIVE configuration parameter, for example, carrying the relevant configuration information, the terminal device considers that the terminal enters the ACTIVE state, and the terminal device calculates the new key. Used for security protection in the ACTIVE state.
例如,如果终端设备需要发送调度请求,则所述终端设备利用所述基站分配的SR发送资源发送调度请求。For example, if the terminal device needs to send a scheduling request, the terminal device sends a scheduling request by using the SR transmission resource allocated by the base station.
例如,如果终端设备需要发送CQI,则所述终端设备利用所述基站分配的CQI上报资源发送CQI。For example, if the terminal device needs to send the CQI, the terminal device sends the CQI by using the CQI reporting resource allocated by the base station.
例如,如果终端设备需要发送CSI,则所述终端设备利用所述基站分配的CSI上 报资源发送CSI。For example, if the terminal device needs to send CSI, the terminal device transmits CSI by using the CSI reporting resource allocated by the base station.
例如,如果终端设备需要发送SRS,则所述终端设备利用所述基站分配的SRS上报资源发送SRS。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.
步骤1105,所述终端设备发送校验信息给所述基站。Step 1105: The terminal device sends verification information to the base station.
例如,终端设备将MAC-I发送给所述基站进行完整性校验,所述基站根据所述MAC-I对所述终端设备进行完整性校验。For example, the terminal device sends a 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.
步骤1106,所述基站将校验失败的专用资源释放指示或校验成功指示发送给所述终端设备。Step 1106: The base station sends a dedicated resource release indication or a verification success indication that fails verification to the terminal device.
例如,所述基站根据校验结果确定是否生成和发送所述专用资源释放指示,若校验失败,所述基站生成专用资源释放指示并发送给所述终端设备,通知所述终端设备释放相应的专用资源。如果校验成功,所述基站既可以生成和发送校验成功指示给所述终端设备,所述基站也可以不生成校验成功指示。For example, the base station determines whether to generate and send the dedicated resource release indication according to the check result. If the check fails, the base station generates a dedicated resource release indication and sends the dedicated resource release indication to the terminal device, and notifies the terminal device to release the corresponding Dedicated resources. If the verification is successful, the base station may generate and send a verification success indication to the terminal device, and the base station may not generate a verification success indication.
如果所述基站不生成校验成功指示,所述终端设备在定时器超时时如果没有收到校验成功指示,默认校验成功。该定时器可以用在所述终端设备发送校验信息给所述第二基站/集中式单元时启动。If the base station does not generate a check success indication, if the terminal device does not receive the check success indication when the timer expires, the default check succeeds. The timer can be started when the terminal device sends the verification information 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 a predetermined time, the default verification fails, and then the dedicated uplink resource is released.
在本发明的另一实施例中,步骤1105-1106可以在步骤1104之前执行,即在所述终端设备根据分配的相应资源进行相应的发送之前进行完整性校验。In another embodiment of the invention, steps 1105-1106 may be performed prior to step 1104, ie, an integrity check is performed before the terminal device performs a corresponding transmission according to the assigned respective resource.
步骤1107,所述基站发送竞争解决消息(即MSG4)给所述终端设备。Step 1107: The base station sends a contention resolution message (ie, MSG4) to the terminal device.
例如,所述基站发送CR消息给所述终端设备。For example, the base station sends a CR message to the terminal device.
在本发明的另一实施例中,所述基站可以在发送所述CR消息的同时将所述校验成功指示发送给所述终端设备。In another embodiment of the present invention, the base station may send the verification success indication to the terminal device while transmitting the CR message.
在本发明的另一实施例中,如果终端设备在一个寻呼区域范围内,所述基站配置多套公共的组合资源(例如,SR发送资源、CQI上报资源、CSI上报资源、SRS上报资源至少两个)以及对应的周期,这些周期参数通过广播或协议约定。所述基站给终端设备分配的是资源组合索引值。所述资源组合索引值指示至少两个资源的信息,所述终端设备使用所述资源组合索引值从协议约定或预配置的资源中获取对应的资源。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 (for example, an SR sending resource, a CQI reporting resource, a CSI reporting resource, and an SRS reporting resource). Two) and corresponding periods, these period parameters are agreed by broadcast or protocol. The base station allocates 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 acquire a corresponding resource from a protocol agreement or a pre-configured resource.
本实施例中,对于随机接入过程,在对终端设备进行完整性校验之前,基站提前在MSG2或MSG2与MSG4之间的任何时间段发送资源给所述终端设备,然后在进行完整性校验,相对于现有技术中基站等待对终端设备完整性校验后,再分配资源给终端设备,可以节省时延。In this embodiment, for the random access procedure, before performing integrity check on the terminal device, the base station sends resources to the terminal device in advance at any time between MSG2 or MSG2 and MSG4, and then performs integrity check. Compared with the prior art, the base station waits for the integrity check of the terminal device, and then allocates resources to the terminal device, which can save time delay.
如图12所示,为本发明另一实施例的一种资源分配装置的结构示意图,本实施例中,所述资源分配装置为基站或基站的一部分,终端设备与所述基站通过空口通信,所述基站管理资源和各个终端设备的上下文(context)。FIG. 12 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 part of a base station or a base station, and the terminal equipment communicates with the base station through an air interface. The base station manages resources and contexts of respective terminal devices.
可选地,所述基站既可以为GSM系统或CDMA系统中的基站(BTS),也可以为WCDMA中的基站(NodeB),LTE系统中的演进型基站(eNodeB),或新无线接入网络的基站(gNB)。Optionally, the base station may be a base station (BTS) in a GSM system or a CDMA system, a base station (NodeB) in WCDMA, an evolved base station (eNodeB) in an LTE system, or a new radio access network. Base station (gNB).
所述基站管理的资源包括如下至少之一:SR发送资源、CQI上报资源、CSI上报资源、SRS上报资源。The resources managed by the base station include at least one of the following: an SR sending resource, a CQI reporting resource, a CSI reporting resource, and an SRS reporting resource.
例如,所述终端设备为单小区或寻呼区内的INACTIVE态的终端设备,所述寻呼区是指终端设备在一个无线网络区域范围内,该区域可是单小区或多个小区,终端设备会有一个唯一的无线网络标识(Resume ID)或上下文标识(context ID),若终端设备在这个寻呼区域内的小区间移动,无需通知网络,例如基站。For example, the terminal device is a terminal device in an INACTIVE state in a single cell or paging area, and the paging area refers to a terminal device in a range of a wireless network region, where the region may be a single cell or multiple cells, and the terminal device There will be a unique wireless network identifier (Resume ID) or context identifier (context ID). If the terminal device moves between cells in this paging area, there is no need to notify the network, such as a base station.
在本发明的另一实施例中,所述终端设备也可以处于连接态或空闲态。In another embodiment of the present invention, the terminal device may also be in a connected state or an idle state.
所述资源分配装置包括接收器1201、处理器1202、发送器1203和存储器1204。The resource allocation apparatus includes a receiver 1201, a processor 1202, a transmitter 1203, and a memory 1204.
应理解,在本申请实施例中,所述接收器1201、处理器1202、发送器1203和存储器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.
应理解,在本申请实施例中,该处理器1202可以是EPLD、FPGA、DSP芯片、ASIC、或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。It should be understood that in the embodiment of the present application, the processor 1202 may be an EPLD, an FPGA, a DSP chip, an ASIC, or other programmable logic device, a discrete gate or a transistor logic device, a discrete hardware component, or the like.
该存储器1204用于存储代码或指令信息,该存储器1204可以包括只读存储器(Read-Only Memory,ROM)和随机存取存储器(Random Access Memory,RAM),用于向处理器1202提供指令和数据。存储器1204的一部分还可以包括非易失性随机存取存储器。例如,存储器1204还可以存储设备类型的信息。The memory 1204 is configured to store code or instruction information. 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 a non-volatile random access memory. For example, the memory 1204 can also store information of the device type.
所述接收器1201用于接收终端设备发送的随机接入请求。The receiver 1201 is configured to receive a random access request sent by the terminal device.
例如,所述接收器1201用于接收所述终端设备发送的preamble。For example, the receiver 1201 is configured to receive a preamble sent by the terminal device.
所述处理器1202用于分配其管理的SR发送资源、CQI上报资源、CSI上报资源、SRS上报资源分配至少之一给所述终端设备。The processor 1202 is configured to allocate at least one of an SR transmission resource, a CQI reporting resource, a CSI reporting resource, and an SRS reporting resource allocation managed by the processor 1202 to the terminal device.
所述发送器1203用于在发送RAR消息时或发送RAR消息和CR消息之间的时间段将所述分配的资源发送给所述终端设备。The transmitter 1203 is configured to send the allocated resource to the terminal device during a time period between sending a RAR message or sending a RAR message and a CR message.
例如,所述发送器1203用于通过物理层控制信令或者MAC CE或者PDCP控制单元在发送RAR随机接入响应(即MSG2)或MSG2与MSG4之间的任何时间段将所分配的资源发送给所述终端设备。For example, the transmitter 1203 is configured to send the allocated resources to the RAR random access response (ie, MSG2) or any time period between the MSG2 and the MSG4 by using physical layer control signaling or a MAC CE or a PDCP control unit. The terminal device.
所述接收器1201还用于接收终端设备收到资源后发送的确认反馈指示。The receiver 1201 is further configured to receive an acknowledgement feedback indication sent by the terminal device after receiving the resource.
所述终端设备收到某个资源或全部资源后发送确认反馈指示给基站,如果终端设备收到多个资源,可以发送资源列表指示给所述接收器1201。例如,如果终端设备收到SR发送资源、CQI上报资源、CSI上报资源、SRS上报资源的至少两个,发送对应的资源列表指示给所述接收器1201。After receiving the resource or all resources, the terminal device sends an acknowledgement feedback indication to the base station. If the terminal device receives multiple resources, the terminal device may send a resource list indication to the receiver 1201. 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 corresponding resource list is sent to the receiver 1201.
在本发明的另一实施例中,所述终端设备也可以不发送所述确认反馈指示。In another embodiment of the present invention, the terminal device may also not send the acknowledgement feedback indication.
所述接收器1201还用于接收所述终端设备根据需要通过所述分配的相应资源发送的信息。The receiver 1201 is further configured to receive information that is sent by the terminal device by using the allocated corresponding resource as needed.
可选的,如果是INACTIVE态的终端设备收到分配的专用资源后,恢复之前保存的ACTIVE配置参数,例如,承载相关的配置信息,终端设备认为进入ACTIVE态,终端设备计算出新密钥,用于ACTIVE态的安全保护。Optionally, if the terminal device in the INACTIVE state receives the allocated dedicated resource, and restores the previously saved ACTIVE configuration parameter, for example, carrying the relevant configuration information, the terminal device considers that the terminal enters the ACTIVE state, and the terminal device calculates the new key. Used for security protection in the ACTIVE state.
例如,如果终端设备需要发送调度请求,则所述接收器1201还用于接收所述终端设备利用所述处理器1202分配的SR发送资源发送的调度请求。For example, if the terminal device needs to send a scheduling request, the receiver 1201 is further configured to receive a scheduling request that is sent by the terminal device by using the SR sending resource allocated by the processor 1202.
例如,如果终端设备需要发送CQI,则所述接收器1201还用于接收所述终端设备利用所述处理器1202分配的CQI上报资源发送的CQI。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 by using the CQI reporting resource allocated by the processor 1202.
例如,如果终端设备需要发送CSI,则所述接收器1201还用于接收所述终端设备利用所述处理器1202分配的CSI上报资源发送的CSI。For example, if the terminal device needs to send CSI, the receiver 1201 is further configured to receive CSI sent by the terminal device by using the CSI reporting resource allocated by the processor 1202.
例如,如果终端设备需要发送SRS,则所述接收器1201还用于接收所述终端设备利用所述处理器1202分配的SRS上报资源发送的SRS。For example, if the terminal device needs to send an SRS, the receiver 1201 is further configured to receive an SRS sent by the terminal device by using the SRS reporting resource allocated by the processor 1202.
所述接收器1201还用于接收所述终端设备发送的校验信息。The receiver 1201 is further configured to receive verification information sent by the terminal device.
例如,所述接收器1201还用于接收所述终端设备发送的MAC-I,所述处理器1202还用于根据所述MAC-I进行完整性校验。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 an integrity check according to the MAC-I.
所述发送器1203还用于将校验失败的专用资源释放指示或校验成功指示发送给所述终端设备。The transmitter 1203 is further configured to send, to the terminal device, a dedicated resource release indication or a verification success indication that fails verification.
例如,所述处理器1202根据校验结果确定是否生成和发送所述专用资源释放指示,若校验失败,所述处理器1202生成专用资源释放指示,所述发送器1203发送所述专用资源释放指示给所述终端设备,通知所述终端设备释放相应的专用资源。如果校验成功,所述处理器1202既可以生成和发送校验成功指示给所述终端设备,所述处理器1202也可以不生成校验成功指示。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 a dedicated resource release indication, and the transmitter 1203 sends the dedicated resource release. Instructing 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, and the processor 1202 may not generate a verification success indication.
如果所述处理器1202不生成校验成功指示,所述终端设备在定时器超时时如果没有收到校验成功指示,默认校验成功。该定时器可以用在所述终端设备发送校验信息给所述第二基站/集中式单元时启动。If the processor 1202 does not generate a verification success indication, if the terminal device does not receive the verification success indication when the timer expires, the default verification is successful. The timer can be started when the terminal device sends the verification information 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 a predetermined time, the default verification fails, and then the dedicated uplink resource is released.
在本发明的另一实施例中,在所述终端设备根据分配的相应资源进行相应的发送之前,所述处理器1202根据所述校验信息进行完整性校验。In another embodiment of the present invention, before the terminal device performs corresponding transmission according to the allocated corresponding resources, the processor 1202 performs an integrity check according to the verification information.
在本发明的另一实施例中,如果终端设备在一个寻呼区域范围内,所述存储器1204配置多套公共的组合资源(例如,SR发送资源、CQI上报资源、CSI上报资源、SRS上报资源至少两个)以及对应的周期,这些周期参数通过广播或协议约定。所述发送器1203发送给终端设备分配的是资源组合索引值。所述资源组合索引值指示至少两个资源的信息,所述终端设备使用所述资源组合索引值从协议约定或预配置的资源中获取对应 的资源。In another embodiment of the present invention, if the terminal device is in a paging area, the memory 1204 configures multiple sets of common combined resources (for example, an SR sending resource, a CQI reporting resource, a CSI reporting resource, and an SRS reporting resource). At least two) and corresponding periods, these period parameters are agreed by broadcast or protocol. The transmitter 1203 sends 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 acquire a corresponding resource from a protocol agreement or a pre-configured resource.
本实施例中,对于随机接入过程,在对终端设备进行完整性校验之前,基站提前在MSG2或MSG2与MSG4之间的任何时间段发送资源给所述终端设备,然后在进行完整性校验,相对于现有技术中基站等待对终端设备完整性校验后,再分配资源给终端设备,可以节省时延。In this embodiment, for the random access procedure, before performing integrity check on the terminal device, the base station sends resources to the terminal device in advance at any time between MSG2 or MSG2 and MSG4, and then performs integrity check. Compared with the prior art, the base station waits for the integrity check of the terminal device, and then allocates resources to the terminal device, which can save time delay.
如图13,为本发明另一实施例的一种完整性校验方法的流程示意图,本实施例的完整性校验方法可以用于上述所有实施例的完整性校验。FIG. 13 is a schematic flowchart of an integrity verification method according to another embodiment of the present invention. The integrity verification method in this embodiment may be used for integrity verification of all the foregoing embodiments.
步骤1301,终端设备根据发送上行信息的无线承载对应的计数(COUNT)值的全部或部分和上行安全输入参数生成用于完整性校验的上行MAC-I。Step 1301: The terminal device generates an uplink MAC-I for integrity check according to all or part of the count (COUNT) value corresponding to the radio bearer transmitting the uplink information and the uplink security input parameter.
例如,所述上行信息包括:上行消息(例如RRC消息、preamble,重建立消息,接入层上下文恢复请求)、上行数据、上行控制信令(例如,MAC层控制信令,例如BSR;物理层控制信令,例如ACK;RLC层控制信令,例如RLC状态报告)、或、上行数据和接入层上下文恢复请求消息。For example, the uplink information includes: an uplink message (eg, RRC message, preamble, re-establishment message, access layer context recovery request), uplink data, uplink control signaling (eg, MAC layer control signaling, such as BSR; physical layer Control signaling, such as ACK; RLC layer control signaling, such as RLC status reporting), or uplink data and access layer context recovery request messages.
所述COUNT值包括PDCP序列号(sequence number,SN)和超帧号(Hyper Frame Number,HFN)。例如,所述终端设备根据所述COUNT值的PDCP SN和HFN和所述上行安全输入参数生成所述上行MAC-I。再例如,所述终端设备根据所述COUNT值的PDCP SN和HFN之一和所述上行安全输入参数生成所述上行MAC-I。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 the HFN of the COUNT value and the uplink security input parameter. For another example, the terminal device generates the uplink MAC-I according to one of a PDCP SN and an HFN of the COUNT value and the uplink security input parameter.
例如,所述上行安全输入参数包括如下至少之一:密钥、完整性保护算法、终端设备标识、无线承载标识(BEARER ID)、发送方向(DIRECTION)、上行信息、进入INACTIVE状态的小区、终端设备的当前小区标识、C-RNTI、AS上下文标识。For example, the uplink security input parameter includes at least one of the following: a key, an integrity protection algorithm, a terminal device identifier, a radio bearer identifier (BEARER ID), a DIRECTION, an uplink information, a cell entering an INACTIVE state, and a terminal. Current cell identifier, C-RNTI, and AS context identifier of the device.
可选的,所述密钥是所述终端设备存储的旧密钥或所述终端设备推演的新密钥。优选的,在所述终端设备移动到新小区时采用推演的新密钥。Optionally, the key is an old key stored by the terminal device or a new key derived by the terminal device. Preferably, the deduced new key is used when the terminal device moves to the new cell.
步骤1302,所述终端设备发送所述生成的上行MAC-I给基站进行完整性校验。Step 1302: The terminal device sends the generated uplink MAC-I to perform integrity check on the base station.
可选的,若所述终端设备采用存储的旧密钥,所述基站为所述终端设备存储旧密钥的基站。Optionally, if the terminal device uses the stored old key, the base station is a base station that stores the old key for the terminal device.
可选的,若所述终端设备采用推演的新密钥,所述基站有所述终端设备推演新密钥的基站。Optionally, if the terminal device uses a deduced new key, the base station has a base station that the terminal device derives a new key.
可选的,若所述终端设备跨基站移动,所述接收上行MAC-I的基站将转发所述上行MAC-I到有对应所述终端设备密钥的基站进行处理。Optionally, if the terminal device moves across the base station, the base station that receives the uplink MAC-I forwards the uplink MAC-I to a base station that has the corresponding terminal device key for processing.
步骤1303,所述终端设备接收所述基站发送的下行MAC-I并进行完整性校验。Step 1303: The terminal device receives the downlink MAC-I sent by the base station and performs an integrity check.
例如,所述终端设备接收所述基站发送的下行MAC-I,所述下行MAC-I由所述基站根据所述COUNT值和下行安全输入参数生成;所述终端设备根据所述下行MAC-I校验接收信息的所述基站是否是合法。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; the terminal device is configured according to the downlink MAC-I Verify that the base station receiving the information is legitimate.
可选地,所述下行安全输入参数包括如下至少之一:密钥、完整性保护算法、终端设备标识、无线承载标识(BEARER ID)、发送方向(DIRECTION)、上行信息。Optionally, the downlink security input parameter includes at least one of the following: a key, an integrity protection algorithm, a terminal device identifier, a radio bearer identifier (BEARER ID), a DIRECTION, and an uplink information.
可选地,所述终端设备发送所述上行MAC-I时启动定时器;所述终端设备在所述定时器超时后,如果再发送上行信息时,再次发送所述上行MAC-I。Optionally, the terminal device starts a timer when the uplink MAC-I is sent; after the timer expires, the terminal device sends the uplink MAC-I again if the uplink information is sent again.
可选的,若所述终端设备采用存储的旧密钥,所述下行MAC-I由有所述终端设备旧密钥的基站基于旧密钥产生。Optionally, if the terminal device adopts 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.
可选的,若所述终端设备跨基站移动,所述产生下行MAC-I的基站为处理接收上行MAC-I的基站。Optionally, if the terminal device moves across a base station, the base station that generates the downlink MAC-I is a base station that processes the uplink MAC-I.
可选的,若所述终端设备采用推演的新密钥,所述下行MAC-I由有所述处理器1401推演的新密钥的基站基于新密钥产生。在本发明的另一实施例中,所述上行安全输入参数包括的密钥、完整性保护算法、终端设备标识、无线承载标识(BEARER ID)、发送方向(DIRECTION)、上行信息与所述下行安全输入参数包括的密钥、完整性保护算法、终端设备标识、无线承载标识(BEARER ID)、发送方向(DIRECTION)、上行信息分别既可以相同,也可以不同。Optionally, if the terminal device uses a deduced new key, the downlink MAC-I is generated by the base station of the new key deduced by the processor 1401 based on the new key. In another embodiment of the present invention, the uplink security input parameter includes a key, an integrity protection algorithm, a terminal device identifier, a radio bearer identifier (BEARER ID), a DIRECTION, an uplink information, and the downlink. The key included in the security input parameter, the integrity protection algorithm, the terminal device identifier, the radio bearer identifier (BEARER ID), the sending direction (DIRECTION), and the uplink information may be the same or different.
可选地,所述DIRECTION表示是上行还是下行。Optionally, the DIRECTION indicates whether it is uplink or downlink.
在本发明的另一实施例中,所述基站既可以是管理资源和各个终端设备的上下文(context)的基站,也可以是上述实施例的第一基站或分布式单元。如果所述基站是上述实施例的第一基站或分布式单元,所述第一基站或分布式单元还需要将所述上行MAC-I发送给所述第二基站或集中式单元进行完整性校验,由所述第二基站或集中式单元生成下行MAC-I并通过所述第一基站或分布式单元发送给终端设备。In another embodiment of the present invention, the base station may be a base station that manages resources and a context of each terminal device, or may be a first base station or a distributed unit of the foregoing embodiment. If the base station is the first base station or a distributed unit of the foregoing embodiment, the first base station or the distributed unit further needs to send the uplink MAC-I to the second base station or a centralized unit for integrity calibration. The downlink MAC-I is generated by the second base station or the centralized unit and sent to the terminal device by the first base station or the distributed unit.
如图14,为本发明另一实施例的一种完整性校验装置的结构示意图,所述完整性校验装置可以为终端设备或终端设备的一部分,本实施例的完整性校验装置可以用于上述所有实施例的完整性校验。FIG. 14 is a schematic structural diagram of an integrity verification apparatus according to another embodiment of the present invention. The integrity verification apparatus may be a terminal device or a part of a terminal device, and the integrity verification apparatus of this embodiment may be Used for integrity verification of all of the above embodiments.
所述完整性校验装置包括处理器1401、发送器1402、接收器1403和存储器1404。The integrity verification device includes a processor 1401, a transmitter 1402, a receiver 1403, and a memory 1404.
所述处理器1401,用于根据发送上行信息的无线承载对应的计数(COUNT)值的全部或部分和上行安全输入参数生成用于完整性校验的上行MAC-I。The processor 1401 is 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 transmitting uplink information and an uplink security input parameter.
例如,所述上行信息包括:上行消息(例如RRC消息、preamble,重建立消息,接入层上下文恢复请求)、上行数据、上行控制信令(例如,MAC层控制信令,例如BSR;物理层控制信令,例如ACK;RLC层控制信令,例如RLC状态报告)、或、上行数据和接入层上下文恢复请求消息。For example, the uplink information includes: an uplink message (eg, RRC message, preamble, re-establishment message, access layer context recovery request), uplink data, uplink control signaling (eg, MAC layer control signaling, such as BSR; physical layer Control signaling, such as ACK; RLC layer control signaling, such as RLC status reporting), or uplink data and access layer context recovery request messages.
所述COUNT值包括PDCP序列号(sequence number,SN)和超帧号(Hyper Frame Number,HFN)。例如,所述处理器1401根据所述COUNT值的PDCP SN和HFN和所述上行安全输入参数生成所述上行MAC-I。再例如,所述处理器1401根据所述COUNT值的PDCP SN和HFN之一和所述上行安全输入参数生成所述上行MAC-I。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 one of the PDCP SN and the HFN of the COUNT value and the uplink security input parameter.
例如,所述上行安全输入参数包括如下至少之一:密钥、完整性保护算法、终端设备标识、无线承载标识(BEARER ID)、发送方向(DIRECTION)、上行信息、进入INACTIVE状态的小区、终端设备的当前小区标识、C-RNTI、AS上下文标识。For example, the uplink security input parameter includes at least one of the following: a key, an integrity protection algorithm, a terminal device identifier, a radio bearer identifier (BEARER ID), a DIRECTION, an uplink information, a cell entering an INACTIVE state, and a terminal. Current cell identifier, C-RNTI, and AS context identifier of the device.
可选的,所述密钥是所述存储器1404存储的旧密钥或所述处理器1401推演的新密钥。优选的,所述处理器1401在所述终端设备移动到新小区时采用推演的新密钥。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 uses a deduced new key when the terminal device moves to a new cell.
所述发送器1402,用于发送所述生成的上行MAC-I给基站进行完整性校验。The transmitter 1402 is configured to send the generated uplink MAC-I to perform integrity check on the base station.
可选的,若所述处理器1401采用存储的旧密钥,所述基站为所述终端设备存储旧密钥的基站。Optionally, if the processor 1401 uses the stored old key, the base station is a base station that stores the old key for the terminal device.
可选的,若所述处理器1401采用推演的新密钥,所述基站有所述终端设备推演新密钥的基站。Optionally, if the processor 1401 uses a deduced new key, the base station has a base station that the terminal device derives a new key.
可选的,若所述终端设备跨基站移动,所述接收上行MAC-I的基站将转发所述上行MAC-I到有对应所述终端设备密钥的基站进行处理。Optionally, if the terminal device moves across the base station, the base station that receives the uplink MAC-I forwards the uplink MAC-I to a base station that has the corresponding terminal device key for processing.
所述接收器1403用于接收所述基站发送的下行MAC-I,所述处理器1401还用于根据所述下行MAC-I对接收上行信息的基站进行完整性校验。The receiver 1403 is configured to receive a downlink MAC-I sent by the base station, where the processor 1401 is further configured to perform integrity verification on a base station that receives uplink information according to the downlink MAC-I.
例如,所述接收器1403用于接收所述基站发送的下行MAC-I,所述下行MAC-I由所述基站根据所述COUNT值和下行安全输入参数生成;所述处理器1401根据所述下行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 a downlink security input parameter; the processor 1401 is configured according to the The downlink MAC-I checks whether the base station is a legal base station.
可选地,所述下行安全输入参数包括如下至少之一:密钥、完整性保护算法、终端设备标识、无线承载标识(BEARER ID)、发送方向(DIRECTION)、上行信息。Optionally, the downlink security input parameter includes at least one of the following: a key, an integrity protection algorithm, a terminal device identifier, a radio bearer identifier (BEARER ID), a DIRECTION, and an uplink information.
所述处理器1401,还用于在所述发送器发送所述上行MAC-I时启动定时器。The processor 1401 is further configured to start a timer when the transmitter sends the uplink MAC-I.
所述发送器1402,还用于在所述定时器超时后,如果再发送上行信息时,再次发送所述上行MAC-I。The transmitter 1402 is further configured to: after the timer expires, send the uplink MAC-I again if the uplink information is sent again.
可选的,若所述终端设备采用存储的旧密钥,所述下行MAC-I由有所述终端设备旧密钥的基站基于旧密钥产生。Optionally, if the terminal device adopts 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.
可选的,若所述终端设备跨基站移动,所述产生下行MAC-I的基站为处理接收上行MAC-I的基站。Optionally, if the terminal device moves across a base station, the base station that generates the downlink MAC-I is a base station that processes the uplink MAC-I.
可选的,若所述终端设备采用推演的新密钥,所述下行MAC-I由有所述处理器1401推演的新密钥的基站基于新密钥产生。Optionally, if the terminal device uses a deduced new key, the downlink MAC-I is generated by the base station of the new key deduced by the processor 1401 based on the new key.
在本发明的另一实施例中,所述上行安全输入参数包括的密钥、完整性保护算法、终端设备标识、无线承载标识(BEARER ID)、发送方向(DIRECTION)、上行信息与所述下行安全输入参数包括的密钥、完整性保护算法、终端设备标识、无线承载标识(BEARER ID)、发送方向(DIRECTION)、上行信息分别既可以相同,也可以不同。In another embodiment of the present invention, the uplink security input parameter includes a key, an integrity protection algorithm, a terminal device identifier, a radio bearer identifier (BEARER ID), a DIRECTION, an uplink information, and the downlink. The key included in the security input parameter, the integrity protection algorithm, the terminal device identifier, the radio bearer identifier (BEARER ID), the sending direction (DIRECTION), and the uplink information may be the same or different.
可选地,所述DIRECTION表示是上行还是下行。Optionally, the DIRECTION indicates whether it is uplink or downlink.
在本发明的另一实施例中,所述基站既可以是管理资源和各个终端设备的上下文(context)的基站,也可以是上述实施例的第一基站或分布式单元。如果所述基站是上述实施例的第一基站或分布式单元,所述第一基站或分布式单元还需要将所述上行MAC-I发送给所述第二基站或集中式单元进行完整性校验,由所述第二基站或集中式单 元生成下行MAC-I并通过所述第一基站或分布式单元发送给所述终端设备的所述接收器1403。In another embodiment of the present invention, the base station may be a base station that manages resources and a context of each terminal device, or may be a first base station or a distributed unit of the foregoing embodiment. If the base station is the first base station or a distributed unit of the foregoing embodiment, the first base station or the distributed unit further needs to send the uplink MAC-I to the second base station or a centralized unit for integrity calibration. The downlink MAC-I is generated by the second base station or the centralized unit and sent to the receiver 1403 of the terminal device by the first base station or the distributed unit.
如图15,为本发明另一实施例的一种完整性校验方法的流程示意图,本实施例的完整性校验方法中,终端设备与基站通过空口通信,所述基站管理资源和各个终端设备的上下文(context)。FIG. 15 is a schematic flowchart of an integrity check method according to another embodiment of the present invention. In the integrity check method of the embodiment, a terminal device communicates with a base station through an air interface, and the base station manages resources and each terminal. The context of the device.
步骤1501,终端设备生成上行MAC-I。In step 1501, the terminal device generates an uplink MAC-I.
例如,终端设备根据发送上行信息的无线承载对应的计数(COUNT)值的全部或部分和上行安全输入参数生成用于完整性校验的上行MAC-I。For example, the terminal device generates an uplink MAC-I for integrity check according to all or part of the count (COUNT) value corresponding to the radio bearer transmitting the uplink information and the uplink security input parameter.
例如,所述上行信息包括:上行消息(例如RRC消息、preamble,重建立消息,接入层上下文恢复请求)、上行数据、上行控制信令(例如,MAC层控制信令,例如BSR;物理层控制信令,例如ACK;RLC层控制信令,例如RLC状态报告)、或、上行数据和接入层上下文恢复请求消息。For example, the uplink information includes: an uplink message (eg, RRC message, preamble, re-establishment message, access layer context recovery request), uplink data, uplink control signaling (eg, MAC layer control signaling, such as BSR; physical layer Control signaling, such as ACK; RLC layer control signaling, such as RLC status reporting), or uplink data and access layer context recovery request messages.
所述COUNT值包括PDCP SN和HFN。例如,所述终端设备根据所述COUNT值的PDCP SN和HFN和所述上行安全输入参数生成所述上行MAC-I。再例如,所述终端设备根据所述COUNT值的PDCP SN和HFN之一和所述上行安全输入参数生成所述上行MAC-I。The COUNT value includes a PDCP SN and an HFN. For example, the terminal device generates the uplink MAC-I according to the PDCP SN and the HFN of the COUNT value and the uplink security input parameter. For another example, the terminal device generates the uplink MAC-I according to one of a PDCP SN and an HFN of the COUNT value and the uplink security input parameter.
例如,所述上行安全输入参数包括如下至少之一:密钥、完整性保护算法、终端设备标识、无线承载标识(BEARER ID)、发送方向(DIRECTION)、上行信息、进入INACTIVE状态的小区、终端设备的当前小区标识、C-RNTI、AS上下文标识。For example, the uplink security input parameter includes at least one of the following: a key, an integrity protection algorithm, a terminal device identifier, a radio bearer identifier (BEARER ID), a DIRECTION, an uplink information, a cell entering an INACTIVE state, and a terminal. Current cell identifier, C-RNTI, and AS context identifier of the device.
可选的,所述密钥是所述终端设备存储的旧密钥或所述终端设备推演的新密钥。优选的,在所述终端设备移动到新小区时采用推演的新密钥。Optionally, the key is an old key stored by the terminal device or a new key derived by the terminal device. Preferably, the deduced new key is used when the terminal device moves to the new cell.
所述终端设备标识包括Context ID、C-RNTI、Resume ID其中之一。如果所述终端设备标识是所述终端设备和所述基站约定的,所述终端设备可以不显示发送给所述基站。The terminal device identifier includes one of a Context ID, a C-RNTI, and a Resume ID. If the terminal device identifier is agreed by the terminal device and the base station, the terminal device may not display and send 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 one of the uplink security input parameters.
步骤1502,所述终端设备向所述基站发送所述上行信息和所述上行MAC-I。Step 1502: The terminal device sends the uplink information and the uplink MAC-I to the base station.
例如,所述终端设备向所述基站发送上行信息、Context ID和所述上行MAC-I。For example, the terminal device sends uplink information, a 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 a base station that stores the old key for the terminal device.
可选的,若所述终端设备采用推演的新密钥,所述基站有所述终端设备推演新密钥的基站。Optionally, if the terminal device uses a deduced new key, the base station has a base station that the terminal device derives a new key.
可选的,若所述终端设备跨基站移动,所述接收上行MAC-I的基站将转发所述上 行MAC-I到有对应所述终端设备密钥的基站进行处理。Optionally, if the terminal device moves across the base station, the base station receiving the uplink MAC-I forwards the uplink MAC-I to a base station having a corresponding terminal device key for processing.
步骤1503,所述基站发送确定信息(ACK)给所述终端设备。Step 1503: The base station sends an OK message (ACK) to the terminal device.
步骤1503为可选步骤,可以不执行。Step 1503 is an optional step and may not be performed.
步骤1504,所述基站根据所述上行MAC-I进行完整性校验。Step 1504: The base station performs an integrity check according to the uplink MAC-I.
例如,所述基站将所述收到的上行MAC-I与其存储的上行MAC-I或所述基站生成的上行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 they are the same, confirm that the terminal device is legal, if not, The terminal device is confirmed to be illegal, and the base station instructs the terminal device to release resources.
例如,所述基站收到上行信息后,根据发送上行信息的无线承载对应的计数(COUNT)值的全部或部分和上行安全输入参数生成上行MAC-I。For example, after receiving the uplink information, the base station generates an uplink MAC-I according to all or part of the count (COUNT) value corresponding to the radio bearer transmitting the uplink information and the uplink security input parameter.
步骤1505,所述基站生成下行MAC-I。Step 1505, the base station generates a downlink MAC-I.
可选的,若所述终端设备采用存储的旧密钥,所述下行MAC-I由有所述终端设备旧密钥的基站基于旧密钥产生。Optionally, if the terminal device adopts 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.
可选的,若所述终端设备跨基站移动,所述产生下行MAC-I的基站为处理接收上行MAC-I的基站。Optionally, if the terminal device moves across a base station, the base station that generates the downlink MAC-I is a base station that processes the uplink MAC-I.
可选的,若所述终端设备采用推演的新密钥,所述下行MAC-I由有所述处理器1401推演的新密钥的基站基于新密钥产生。Optionally, if the terminal device uses a deduced new key, the downlink MAC-I is generated by the base station of the new key deduced by the processor 1401 based on the new key.
例如,所述基站根据所述COUNT值和下行安全输入参数生成所述下行MAC-I。For example, the base station generates the downlink MAC-I according to the COUNT value and the downlink security input parameter.
可选地,如果没有下行数据或信令,所述下行安全输入参数包括如下至少之一:密钥、完整性保护算法、终端设备标识、无线承载标识(BEARER ID)、发送方向(DIRECTION)、上行信息。Optionally, if there is no downlink data or signaling, the downlink security input parameter includes at least one of the following: a key, an integrity protection algorithm, a terminal device identifier, a radio bearer identifier (BEARER ID), a sending direction (DIRECTION), Uplink information.
在本发明的另一实施例中,所述上行安全输入参数包括的密钥、完整性保护算法、终端设备标识、无线承载标识(BEARER ID)、发送方向(DIRECTION)、上行信息与所述下行安全输入参数包括的密钥、完整性保护算法、终端设备标识、无线承载标识(BEARER ID)、发送方向(DIRECTION)、上行信息分别既可以相同,也可以不同。In another embodiment of the present invention, the uplink security input parameter includes a key, an integrity protection algorithm, a terminal device identifier, a radio bearer identifier (BEARER ID), a DIRECTION, an uplink information, and the downlink. The key included in the security input parameter, the integrity protection algorithm, the terminal device identifier, the radio bearer identifier (BEARER ID), the sending direction (DIRECTION), and the uplink information may be the same or different.
步骤1506,所述基站向所述终端设备发送下行MAC-I。Step 1506: The base station sends a downlink MAC-I to the terminal device.
例如,所述基站收到所述上行信息后,可选发送下行MAC-I和终端设备标识给所述终端设备,所述终端设备根据所述下行MAC-I校验接收数据的所述基站是否合法。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, where the terminal device checks whether the base station receives data according to the downlink MAC-I. legitimate.
例如,所述终端设备收到所述下行MAC-I后,与其保存的下行MAC-I或生成的下行MAC-I进行比较,如果相同,所述终端设备确定所述基站合法,如果不相同,所述终端设备确定所述基站不合法,所述终端设备释放资源。For example, after receiving the downlink MAC-I, the terminal device compares with the saved downlink MAC-I or the generated downlink MAC-I. If they are the same, the terminal device determines that the base station is legal. If not, The terminal device determines that the base station is invalid, and the terminal device releases resources.
可选的,所述基站生成所述下行MAC-I的所述COUNT值可以和所述下行MAC-I同时发给终端设备。若所述基站和所述终端设备约定使用的COUNT值,所述基站可不发送所述COUNT值。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 to use the COUNT value, the base station may not send the COUNT value.
可选的,所述基站在无RRC消息时才基于上述方式生成所述下行MAC-I。所述基 站的BSR收到无信令的数据时才请求PDCP生成所述下行MAC-I。Optionally, the base station generates the downlink MAC-I according to the foregoing manner when there is no RRC message. The BSR of the base station requests the PDCP to generate the downlink MAC-I when receiving the unsignaled data.
可选地,所述终端设备发送所述上行MAC-I时启动定时器;所述终端设备在所述定时器超时后,如果再发送上行信息时,再次发送所述上行MAC-I。Optionally, the terminal device starts a timer when the uplink MAC-I is sent; after the timer expires, the terminal device sends the uplink MAC-I again if the uplink information is sent again.
在本发明的另一实施例中,步骤1505和1506是可选步骤,可以不执行。In another embodiment of the invention, steps 1505 and 1506 are optional steps and may not be performed.
如图16,为本发明另一实施例的一种完整性校验方法的流程示意图,在本实施例的完整性校验方法中,终端设备与第一基站/分布式单元通过空口通信,所述第一基站/分布式单元通过有线或无线与第二基站/集中式单元通信,所述第一基站/分布式单元从所述第二基站/集中式单元获取资源并进行管理,所述第二基站/集中式单元管理各个终端设备的上下文(context)。FIG. 16 is a schematic flowchart of an integrity verification method according to another embodiment of the present invention. In the integrity verification method of this embodiment, a terminal device communicates with a first base station/distributed unit through an air interface. The first base station/distributed unit communicates with the second base station/centralized unit by wire or wireless, the first base station/distributed unit acquires resources from the second base station/centralized unit and manages the The second base station/central unit manages the context of each terminal device.
步骤1601,终端设备生成上行MAC-I。In step 1601, the terminal device generates an uplink MAC-I.
例如,终端设备根据发送上行信息的无线承载对应的计数(COUNT)值的全部或部分和上行安全输入参数生成用于完整性校验的上行MAC-I。For example, the terminal device generates an uplink MAC-I for integrity check according to all or part of the count (COUNT) value corresponding to the radio bearer transmitting the uplink information and the uplink security input parameter.
例如,所述上行信息包括:上行消息(例如RRC消息、preamble,重建立消息,接入层上下文恢复请求)、上行数据或上行控制信令(例如,MAC层控制信令,例如BSR;物理层控制信令,例如ACK;RLC层控制信令,例如RLC状态报告)、或、上行数据和接入层上下文恢复请求消息。For example, the uplink information includes: an uplink message (eg, RRC message, preamble, re-establishment message, access layer context recovery request), uplink data, or uplink control signaling (eg, MAC layer control signaling, such as BSR; physical layer) Control signaling, such as ACK; RLC layer control signaling, such as RLC status reporting), or uplink data and access layer context recovery request messages.
例如,所述上行安全输入参数包括如下至少之一:密钥、完整性保护算法、终端设备标识、无线承载标识(BEARER ID)、发送方向(DIRECTION)、上行信息、进入INACTIVE状态的小区、终端设备的当前小区标识、C-RNTI、AS上下文标识。For example, the uplink security input parameter includes at least one of the following: a key, an integrity protection algorithm, a terminal device identifier, a radio bearer identifier (BEARER ID), a DIRECTION, an uplink information, a cell entering an INACTIVE state, and a terminal. Current cell identifier, C-RNTI, and AS context identifier of the device.
所述COUNT值包括PDCP SN和HFN。例如,所述终端设备根据所述COUNT值的PDCP SN和HFN和所述上行安全输入参数生成所述上行MAC-I。再例如,所述终端设备根据所述COUNT值的PDCP SN和HFN之一和所述上行安全输入参数生成所述上行MAC-I。The COUNT value includes a PDCP SN and an HFN. For example, the terminal device generates the uplink MAC-I according to the PDCP SN and the HFN of the COUNT value and the uplink security input parameter. For another example, the terminal device generates the uplink MAC-I according to one of a PDCP SN and an HFN of the COUNT value and the uplink security input parameter.
可选的,所述密钥是所述终端设备存储的旧密钥或所述终端设备推演的新密钥。优选的,在所述终端设备移动到新小区时采用推演的新密钥。Optionally, the key is an old key stored by the terminal device or a new key derived by the terminal device. Preferably, the deduced new key is used when the terminal device moves to the new cell.
所述终端设备标识包括Context ID、C-RNTI、Resume ID其中之一。如果所述终端设备标识是所述终端设备和所述基站约定的,所述终端设备可以不显示发送给所述基站。The terminal device identifier includes one of a Context ID, a C-RNTI, and a Resume ID. If the terminal device identifier is agreed by the terminal device and the base station, the terminal device may not display and send 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 one of the uplink security input parameters.
步骤1602,所述终端设备向所述第一基站/分布式单元发送所述上行信息和所述上行MAC-I。Step 1602: The terminal device sends the uplink information and the uplink MAC-I to the first base station/distributed unit.
例如,所述终端设备向所述基站发送上行信息、Context ID和所述上行MAC-I。For example, the terminal device sends uplink information, a 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 a base station that stores the old key for the terminal device.
可选的,若所述终端设备采用推演的新密钥,所述基站有所述终端设备推演新密钥的基站。Optionally, if the terminal device uses a deduced new key, the base station has a base station that the terminal device derives a new key.
可选的,若所述终端设备跨基站移动,所述接收上行MAC-I的基站将转发所述上行MAC-I到有对应所述终端设备密钥的基站进行处理。Optionally, if the terminal device moves across the base station, the base station that receives the uplink MAC-I forwards the uplink MAC-I to a base station that has the corresponding terminal device key for processing.
步骤1603,所述第一基站/分布式单元发送确定信息(ACK)给所述终端设备。Step 1603, the first base station/distributed unit sends the determination information (ACK) to the terminal device.
步骤1603为可选步骤,可以不执行。Step 1603 is an optional step and may not be performed.
步骤1604,所述第一基站/分布式单元将所述上行信息、Context ID和所述上行MAC-I发送给所述第二基站/集中式单元。Step 1604: The first base station/distributed unit sends the uplink information, the Context ID, and the uplink MAC-I to the second base station/centralized unit.
步骤1605,所述第二基站/集中式单元根据所述上行MAC-I进行完整性校验。Step 1605, the second base station/centralized unit performs an integrity check according to the uplink MAC-I.
例如,所述第二基站/集中式单元将所述收到的上行MAC-I与其存储的上行MAC-I或所述第二基站/集中式单元生成的上行MAC-I进行比较,如果相同,确认所述终端设备为合法,如果不相同,确认所述终端设备为非法,所述基站指示所述终端设备释放资源。For example, the second base station/centralized unit compares the received uplink MAC-I with its stored uplink MAC-I or the uplink MAC-I generated by the second base station/centralized unit, if the same, Assuming that the terminal device is legal, if not, confirming that the terminal device is illegal, and the base station instructs the terminal device to release resources.
例如,所述第二基站/集中式单元收到上行信息后,根据发送上行信息的无线承载对应的计数(COUNT)值的全部或部分和上行安全输入参数生成上行MAC-I。For example, after receiving the uplink information, the second base station/concentrated unit generates an uplink MAC-I according to all or part of the count (COUNT) value corresponding to the radio bearer transmitting the uplink information and the uplink security input parameter.
步骤1606,所述第二基站/集中式单元生成下行MAC-I。Step 1606, the second base station/centralized unit generates a downlink MAC-I.
可选的,若所述终端设备采用存储的旧密钥,所述下行MAC-I由有所述终端设备旧密钥的基站基于旧密钥产生。Optionally, if the terminal device adopts 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.
可选的,若所述终端设备跨基站移动,所述产生下行MAC-I的基站为处理接收上行MAC-I的基站。Optionally, if the terminal device moves across a base station, the base station that generates the downlink MAC-I is a base station that processes the uplink MAC-I.
可选的,若所述终端设备采用推演的新密钥,所述下行MAC-I由有所述处理器1401推演的新密钥的基站基于新密钥产生。Optionally, if the terminal device uses a deduced new key, the downlink MAC-I is generated by the base station of the new key deduced by the processor 1401 based on the new key.
例如,所述第二基站/集中式单元根据所述COUNT值和下行安全输入参数生成所述下行MAC-I。For example, the second base station/centralized unit generates the downlink MAC-I according to the COUNT value and the downlink security input parameter.
可选地,如果没有下行数据或信令,所述下行安全输入参数包括如下至少之一:密钥、完整性保护算法、终端设备标识、无线承载标识(BEARER ID)、发送方向(DIRECTION)、上行信息。Optionally, if there is no downlink data or signaling, the downlink security input parameter includes at least one of the following: a key, an integrity protection algorithm, a terminal device identifier, a radio bearer identifier (BEARER ID), a sending direction (DIRECTION), Uplink information.
在本发明的另一实施例中,所述上行安全输入参数包括的密钥、完整性保护算法、终端设备标识、无线承载标识(BEARER ID)、发送方向(DIRECTION)、上行信息与所述下行安全输入参数包括的密钥、完整性保护算法、终端设备标识、无线承载标识(BEARER ID)、发送方向(DIRECTION)、上行信息分别既可以相同,也可以不同。In another embodiment of the present invention, the uplink security input parameter includes a key, an integrity protection algorithm, a terminal device identifier, a radio bearer identifier (BEARER ID), a DIRECTION, an uplink information, and the downlink. The key included in the security input parameter, the integrity protection algorithm, the terminal device identifier, the radio bearer identifier (BEARER ID), the sending direction (DIRECTION), and the uplink information may be the same or different.
步骤1607,所述第二基站/集中式单元向所述第一基站/分布式单元发送所述下行 MAC-I。Step 1607, the second base station/centralized unit sends the downlink MAC-I to the first base station/distributed unit.
例如,所述第二基站/集中式单元收到所述上行信息后,可选发送下行MAC-I和终端设备标识给所述终端设备,所述下行MAC-I用于所述终端设备校验接收数据的所述基站是否合法。For example, after receiving the uplink information, the second base station/concentrated 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 verification. Whether the base station receiving the data is legal.
在本发明的另一实施例中,所述第二基站/集中式单元收到所述上行信息后,发送所述下行MAC-I和终端设备标识给所述第一基站/分布式单元。In another embodiment of the present invention, after receiving the uplink information, the second base station/concentrated unit sends the downlink MAC-I and the terminal device identifier to the first base station/distributed unit.
可选的,所述第二基站/集中式单元生将所述下行MAC-I、终端设备标识和所述COUNT值发给所述第一基站/分布式单元。若所述第二基站/集中式单元和所述终端设备约定使用的COUNT值,所述第二基站/集中式单元可不发送所述COUNT值。Optionally, the second base station/central unit sends the downlink MAC-I, the terminal device identifier, and the COUNT value to the first base station/distributed unit. The second base station/centralized unit may not transmit the COUNT value if the second base station/centralized unit and the terminal device agree to use the COUNT value.
可选的,所述第二基站/集中式单元在无RRC消息时才基于上述方式生成所述下行MAC-I。例如,所述第二基站/集中式单元的BSR收到无信令的数据时才请求PDCP生成所述下行MAC-I。Optionally, the second base station/centralized unit generates the downlink MAC-I according to the foregoing manner when there is no RRC message. For example, the BSR of the second base station/centralized unit requests the PDCP to generate the downlink MAC-I when receiving no signaling data.
步骤1608,所述第一基站/分布式单元向所述终端设备发送所述下行MAC-I。Step 1608, the first base station/distributed unit sends the downlink MAC-I to the terminal device.
所述终端设备根据收到的所述下行MAC-I对所述第一基站/分布式单元和所述第二基站/集中式单元进行合法性校验。The terminal device performs legality verification on the first base station/distributed unit and the second base station/centralized unit according to the received downlink MAC-I.
例如,所述终端设备收到所述下行MAC-I后,与其保存的下行MAC-I或生成的下行MAC-I进行比较,如果相同,所述终端设备确定所述第一基站/分布式单元和所述第二基站/集中式单元合法,如果不相同,所述终端设备确定所述第一基站/分布式单元和所述第二基站/集中式单元不合法,所述终端设备释放资源。For example, after receiving the downlink MAC-I, the terminal device compares with the saved downlink MAC-I or the generated downlink MAC-I, and if the same, the terminal device determines the first base station/distributed unit And the second base station/centralized unit is legal. If not, the terminal device determines that the first base station/distributed unit and the second base station/centralized unit are invalid, and the terminal device releases resources.
在本发明的另一实施例中,所述第一基站/分布式单元发送所述下行MAC-I和终端设备标识给所述终端设备。In another embodiment of the present invention, the first base station/distributed unit transmits the downlink MAC-I and the terminal device identifier to the terminal device.
可选地,所述终端设备发送所述上行MAC-I时启动定时器;所述终端设备在所述定时器超时后,如果再发送上行信息时,再次发送所述上行MAC-I。Optionally, the terminal device starts a timer when the uplink MAC-I is sent; after the timer expires, the terminal device sends the uplink MAC-I again if the uplink information is sent again.
如图17所示,为本发明另一实施例的一种资源分配方法流程示意图,本实施例中,以单小区或寻呼区内的INACTIVE态的终端设备,基站为第一基站或gNB为例。FIG. 17 is a schematic flowchart of a resource allocation method according to another embodiment of the present invention. In this embodiment, a terminal device in an INACTIVE state in a single cell or paging area, where the base station is the first base station or gNB is example.
所述资源分配方法由第一基站或gNB的分布式单元执行,如果所述资源分配方法由gNB的分布式单元执行,则所述gNB包括分布式单元和集中式单元,所述分布式单元和集中式单元通过有线或无线连接。在本发明的另一实施例中,如果所述资源分配方法由第一基站执行,则所述第一基站通过有线或无线与第二基站连接,因此,本实施例中第一基站和分布式单元具有相同的功能,第二基站与集中式单元具有相同的功能,也即本实施例描述两种通信场景:一种是终端设备与第一基站通过空口通信,然后第一基站与第二基站通信,所述第一基站所述第二基站获取资源并进行管理,所述第二基站管理各个终端设备的上下文(context),该第一基站也可以称为服务基站,该第二基站也可以称为锚基站;另一种是终端设备通过空口与基站的分布式单元通信,然后分布式单元与基站的集中式单元通信,所述分布式单元从所述集中式单元获取资源并进行管理,所述集中式单元管理各个终端设备的上下文(context)。The resource allocation method is performed by a first base station or a distributed unit of a gNB, and if the resource allocation method is performed by a distributed unit of a gNB, the gNB includes a distributed unit and a centralized unit, and the distributed unit and The centralized unit is connected by wire or wireless. In another embodiment of the present invention, if the resource allocation method is performed by the first base station, the first base station is connected to the second base station by wire or wireless, and therefore, the first base station and the distributed in this embodiment The unit has the same function, and the second base station has the same function as the centralized unit, that is, the present embodiment describes two communication scenarios: one is that the terminal device communicates with the first base station through the air interface, and then the first base station and the second base station The first base station acquires resources and manages the second base station, and the second base station manages a context of each terminal device, where the first base station may also be referred to as a serving base station, and the second base station may also It is called an anchor base station; the other is that the terminal device communicates with the distributed unit of the base station through the air interface, and then the distributed unit communicates with the centralized unit of the base station, and the distributed unit acquires resources from the centralized unit and manages the same. The centralized unit manages the context of each terminal device.
可选地,所述第一基站或第二基站既可以为GSM系统或CDMA系统中的基站(BTS),也可以为WCDMA中的基站(NodeB),LTE系统中的演进型基站(eNodeB),或新无线接入网络的基站(gNB)。Optionally, the first base station or the second base station may be a base station (BTS) in a GSM system or a CDMA system, or a base station (NodeB) in WCDMA, and an evolved base station (eNodeB) in an LTE system. Or a base station (gNB) of a new radio access network.
所述资源包括如下至少之一:SR发送资源、CQI上报资源、CSI上报资源、SRS上报资源。The resource includes at least one of the following: an SR sending resource, a CQI reporting resource, a CSI reporting resource, and an SRS reporting resource.
所述寻呼区是指终端设备在一个无线网络区域范围内,该区域可是单小区或多个小区,终端设备会有一个唯一的无线网络标识(Resume ID)或上下文标识(context ID),若终端设备在这个寻呼区域内的小区间移动,无需通知网络,例如基站。The paging area refers to a terminal device in a range of a wireless network area, where 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). The terminal device moves between cells in this paging area without notifying the network, such as a base station.
步骤1701,终端设备通过物理层控制信令或MAC CE接收基站发送的如下至少一种资源:SR发送资源、CQI上报资源、CSI上报资源、SRS上报资源。Step 1701: The terminal device receives, by using the physical layer control signaling or the MAC CE, at least one of the following resources: the SR sending resource, the CQI reporting resource, the CSI reporting resource, and the SRS reporting resource.
例如,所述终端设备在接收RAR消息或CR消息时或接收RAR消息和CR消息之间的时间段,通过物理层控制信令或MAC CE接收所述基站发送的资源。For example, the terminal device receives the resource sent by the base station by using physical layer control signaling or a MAC CE during a time period between receiving the RAR message or the CR message or receiving the RAR message and the CR message.
可选地,在所述终端设备接收所述基站发送的资源之前,所述方法还包括:所述终端设备发送上行信息。Optionally, before the receiving, by the terminal device, the resource sent by the base station, the method further includes: the terminal device sending uplink information.
步骤1702,所述终端设备使用接收的资源发送对应的信息。Step 1702: The terminal device sends the corresponding information by using the received resource.
例如,如果所述终端设备需要发送调度请求,则所述终端设备利用收到的SR发送资源向所述基站发送调度请求。For example, if the terminal device needs to send a scheduling request, the terminal device sends a scheduling request to the base station by using the received SR sending resource.
例如,如果所述终端设备需要发送CQI,则所述终端设备利用收到的CQI上报资源向所述基站发送CQI。For example, if the terminal device needs to send a CQI, the terminal device sends a CQI to the base station by using the received CQI reporting resource.
例如,如果所述终端设备需要发送CSI,则所述终端设备利用收到的CSI上报资源向所述基站发送CSI。For example, if the terminal device needs to send CSI, the terminal device sends CSI to the base station by using the received CSI reporting resource.
例如,如果所述终端设备需要发送SRS,则所述终端设备利用收到的SRS上报资源向所述基站发送SRS。For example, if the terminal device needs to send an SRS, the terminal device sends an SRS to the base station by using the received SRS reporting resource.
所述终端设备在发送完相应的信息后,所述终端设备还向所述基站发送所述终端设备发送的校验信息。After the terminal device sends the corresponding information, the terminal device further sends the verification information sent by the terminal device to the base station.
例如,所述终端设备还向所述基站发送上行MAC-I,该上行MAC-I用于所述基站进行完整性校验,所述完整性校验参考前述实施例描述内容,在此不再赘述。For example, the terminal device further sends an uplink MAC-I to the base station, where the uplink MAC-I is used for the integrity check of the base station, and the integrity check refers to the description content of the foregoing embodiment, and is no longer Narration.
所述终端设备还接收所述基站通过物理层控制信令或MAC CE发送的专用资源释放指示或校验成功指示。The terminal device further receives a dedicated resource release indication or a verification success indication sent by the base station by using physical layer control signaling or a MAC CE.
如图18所示,为本发明另一实施例的一种终端设备结构示意图,本实施例中,以单小区或寻呼区内的INACTIVE态的终端设备,基站为第一基站或gNB为例。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 area, and a base station is a first base station or a gNB as an example. .
所述资源分配方法由第一基站或gNB的分布式单元执行,如果所述资源分配方法由gNB的分布式单元执行,则所述gNB包括分布式单元和集中式单元,所述分布式单元和集中式单元通过有线或无线连接。在本发明的另一实施例中,如果所述资源分配方 法由第一基站执行,则所述第一基站通过有线或无线与第二基站连接,因此,本实施例中第一基站和分布式单元具有相同的功能,第二基站与集中式单元具有相同的功能,也即本实施例描述两种通信场景:一种是终端设备与第一基站通过空口通信,然后第一基站与第二基站通信,所述第一基站所述第二基站获取资源并进行管理,所述第二基站管理各个终端设备的上下文(context),该第一基站也可以称为服务基站,该第二基站也可以称为锚基站;另一种是终端设备通过空口与基站的分布式单元通信,然后分布式单元与基站的集中式单元通信,所述分布式单元从所述集中式单元获取资源并进行管理,所述集中式单元管理各个终端设备的上下文(context)。The resource allocation method is performed by a first base station or a distributed unit of a gNB, and if the resource allocation method is performed by a distributed unit of a gNB, the gNB includes a distributed unit and a centralized unit, and the distributed unit and The centralized unit is connected by wire or wireless. In another embodiment of the present invention, if the resource allocation method is performed by the first base station, the first base station is connected to the second base station by wire or wireless, and therefore, the first base station and the distributed in this embodiment The unit has the same function, and the second base station has the same function as the centralized unit, that is, the present embodiment describes two communication scenarios: one is that the terminal device communicates with the first base station through the air interface, and then the first base station and the second base station The first base station acquires resources and manages the second base station, and the second base station manages a context of each terminal device, where the first base station may also be referred to as a serving base station, and the second base station may also It is called an anchor base station; the other is that the terminal device communicates with the distributed unit of the base station through the air interface, and then the distributed unit communicates with the centralized unit of the base station, and the distributed unit acquires resources from the centralized unit and manages the same. The centralized unit manages the context of each terminal device.
可选地,所述第一基站或第二基站既可以为GSM系统或CDMA系统中的基站(BTS),也可以为WCDMA中的基站(NodeB),LTE系统中的演进型基站(eNodeB),或新无线接入网络的基站(gNB)。Optionally, the first base station or the second base station may be a base station (BTS) in a GSM system or a CDMA system, or a base station (NodeB) in WCDMA, and an evolved base station (eNodeB) in an LTE system. Or a base station (gNB) of a new radio access network.
所述资源包括如下至少之一:SR发送资源、CQI上报资源、CSI上报资源、SRS上报资源。The resource includes at least one of the following: an SR sending resource, a CQI reporting resource, a CSI reporting resource, and an SRS reporting resource.
所述寻呼区是指终端设备在一个无线网络区域范围内,该区域可是单小区或多个小区,终端设备会有一个唯一的无线网络标识(Resume ID)或上下文标识(context ID),若终端设备在这个寻呼区域内的小区间移动,无需通知网络,例如基站。The paging area refers to a terminal device in a range of a wireless network area, where 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). The terminal device moves between cells in this paging area without notifying the network, such as a base station.
所述终端设备包括:接收器1801、发送器1802和处理器1803,其中,所述接收器1801、发送器1802和处理器1803通过总线相互连接。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 mutually connected by a bus.
所述接收器1801,用于通过物理层控制信令或MAC CE接收基站发送的如下至少一种资源:SR发送资源、CQI上报资源、CSI上报资源、SRS上报资源;所述发送器1802,用于使用接收的资源发送对应的信息。The receiver 1801 is configured to receive, by using the physical layer control signaling or the MAC CE, at least one of the following resources: the SR sending resource, the CQI reporting resource, the CSI reporting resource, and the SRS reporting resource; the transmitter 1802 The corresponding information is sent using the received resource.
可选地,所述接收器1801用于在接收RAR消息或CR消息时或接收RAR消息和CR消息之间的时间段,通过物理层控制信令或MAC CE接收所述基站发送的资源。Optionally, the receiver 1801 is configured to receive, by using 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 receiving the RAR message and the CR message.
可选地,在所述接收器1801接收所述基站发送的资源之前,所述发送器1802还用于发送上行信息。Optionally, the transmitter 1802 is further configured to send uplink information before the receiver 1801 receives the resource sent by the base station.
例如,如果处理器1803判断需要发送调度请求,则所述发送器1802利用收到的SR发送资源向所述基站发送调度请求。For example, if the processor 1803 determines that a scheduling request needs to be sent, the transmitter 1802 transmits a scheduling request to the base station using the received SR transmission resource.
例如,如果处理器1803判断需要发送CQI,则所述发送器1802利用收到的CQI上报资源向所述基站发送CQI。For example, if the processor 1803 determines that the CQI needs to be transmitted, the transmitter 1802 transmits the CQI to the base station by using the received CQI reporting resource.
例如,如果处理器1803判断需要发送CSI,则所述发送器1802利用收到的CSI上报资源向所述基站发送CSI。For example, if the processor 1803 determines that CSI needs to be transmitted, the transmitter 1802 transmits CSI to the base station by using the received CSI reporting resource.
例如,如果处理器1803判断需要发送SRS,则所述发送器1802利用收到的SRS上报资源向所述基站发送SRS。For example, if the processor 1803 determines that the SRS needs to be transmitted, the transmitter 1802 transmits the SRS to the base station by using the received SRS reporting resource.
所述发送器1802在发送完相应的信息后,所述发送器1802还向所述基站发送所述终端设备发送的校验信息。After the transmitter 1802 sends the corresponding information, the transmitter 1802 also sends the verification information sent by the terminal device to the base station.
例如,所述发送器1802还用于向所述基站发送上行MAC-I,该上行MAC-I用于所述基站进行完整性校验,所述完整性校验参考前述实施例描述内容,在此不再赘述。For example, the transmitter 1802 is further configured to send an uplink MAC-I to the base station, where the uplink MAC-I is used by the base station to perform an integrity check, where the integrity check refers to the foregoing description, in This will not be repeated here.
所述接收器1801还用于接收所述基站通过物理层控制信令或MAC CE发送的专用资源释放指示或校验成功指示。The receiver 1801 is further configured to receive a dedicated resource release indication or a verification success indication sent by the base station by using physical layer control signaling or a MAC CE.
在本发明的另一实施例,所述处理器1803还用于在所述发送器1802发送所述MAC-I时启动一定时器,如果所述定时器截止时,所述处理器1803判断所述接收器1801没有收到校验成功指示,确定所述完整性校验失败,所述处理器1803释放相关的资源或RRC挂起、重配、更新密钥。In another embodiment of the present invention, the processor 1803 is further configured to start a timer when the transmitter 1802 sends the MAC-I, and if the timer is off, the processor 1803 determines The receiver 1801 does not receive the verification success indication, determines that the integrity check fails, and the processor 1803 releases the related resources or the RRC suspension, reconfiguration, and update key.
在实现过程中,上述方法的至少一个步骤可以通过处理器中的硬件的集成逻辑电路完成,或该集成逻辑电路可在软件形式的指令驱动下完成该至少一个步骤。因此,通信装置可以是个芯片或者芯片组。结合本申请实施例所公开的方法的步骤可以直接体现为硬件处理器执行完成,或者用处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器,处理器读取存储器中的信息,结合其硬件完成上述方法的步骤。为避免重复,这里不再详细描述。In an implementation process, at least one step of the above method may be performed by an integrated logic circuit of hardware in the processor, or the integrated logic circuit may perform the at least one step driven by an instruction in a software form. Thus, the communication device can be a chip or chipset. The steps of the method disclosed in the embodiments of the present application may be directly implemented as a hardware processor, or may be performed by a combination of hardware and software modules in the processor. The software module can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like. The storage medium is located in the memory, and the processor reads the information in the memory and combines the hardware to complete the steps of the above method. To avoid repetition, it will not be described in detail here.
应理解,在本申请的各个实施例中,上述各过程的序号大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。It should be understood that, in the various embodiments of the present application, the sequence numbers of the above processes do not mean the order of execution, and the order of execution of each process should be determined by its function and internal logic, and should not be implemented in the embodiments of the present application. The process constitutes any limitation.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the various examples described in connection with the embodiments disclosed herein can be implemented in electronic hardware or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods for implementing the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present invention.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。A person skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the system, the device and the unit described above can refer to the corresponding process in the foregoing method embodiment, and details are not described herein again.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,该单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided by the present application, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. For example, the device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be combined or may be Integrate into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
该作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以 是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
该功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例该方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。This functionality, if implemented as a software functional unit and sold or used as a standalone product, can be stored on a computer readable storage medium. Based on such understanding, the technical solution of the present application, which is essential or contributes to the prior art, or a part of the technical solution, may be embodied in the form of a software product, which is stored in a storage medium, including The instructions are used to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method in accordance with various embodiments of the present invention. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .
以上该,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本申请的保护范围应以该权利要求的保护范围为准。The above is only a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto, and any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention. It is intended to be covered by the scope of the invention. Therefore, the scope of protection of this application is subject to the scope of protection of the claims.
Claims (30)
- 一种资源分配方法,其特征在于,所述方法包括:A resource allocation method, the method comprising:第一基站或分布式单元从其管理的上行资源中给终端设备分配专用上行资源并向所述终端设备发送;The first base station or the distributed unit allocates a dedicated uplink resource to the terminal device from the uplink resource that it manages, and sends the dedicated uplink resource to the terminal device;所述第一基站或分布式单元接收所述终端设备使用所接收的专用上行资源发送的信息。The first base station or the distributed unit receives information that the terminal device transmits using the received dedicated uplink resource.
- 如权利要求1所述的方法,所述方法还包括:The method of claim 1 further comprising:若所述第一基站或所述分布式单元检测到所述终端设备在分配的所述专用上行资源进行发送或接收所述终端设备发送的上行资源配置确认反馈指示,通知第二基站或所述基站的集中式单元已经为所述终端设备分配所述专用上行资源。And if the first base station or the distributed unit detects that the terminal device sends or receives an uplink resource configuration acknowledgement feedback indication sent by the terminal device, the second base station or the The centralized unit of the base station has allocated the dedicated uplink resource to the terminal device.
- 如权利要求1所述的方法,所述方法还包括:The method of claim 1 further comprising:所述第一基站或所述分布式单元接收所述终端设备发送的校验信息;Receiving, by the first base station or the distributed unit, verification information sent by the terminal device;所述第一基站或所述分布式单元将所述终端设备的所述校验信息发送给第二基站或所述基站的集中式单元。The first base station or the distributed unit sends the verification information of the terminal device to a second base station or a centralized unit of the base station.
- 如权利要求3所述的方法,所述方法还包括:The method of claim 3, the method further comprising:若所述第一基站或所述分布式单元接收所述第二基站或所述集中式单元对所述终端设备进行完整性校验失败则发送的专用资源释放指示;And sending, by the first base station or the distributed unit, a dedicated resource release indication sent by the second base station or the centralized unit to perform an integrity check failure on the terminal device;所述第一基站或所述分布式单元将所述专用资源释放指示通知所述终端设备。The first base station or the distributed unit notifies the terminal device of the dedicated resource release indication.
- 如权利要求3所述的方法,所述方法还包括:The method of claim 3, the method further comprising:所述第一基站或所述分布式单元接收所述第二基站或所述集中式单元对所述终端设备进行完整性校验的校验结果;Receiving, by the first base station or the distributed unit, a verification result of performing integrity check on the terminal device by the second base station or the centralized unit;所述第一基站或所述分布式单元根据所述校验结果确定是否生成和发送专用资源释放指示给所述终端设备。Determining, by the first base station or the distributed unit, whether to generate and send a dedicated resource release indication to the terminal device according to the check result.
- 如权利要求1所述的方法,所述方法还包括:The method of claim 1 further comprising:所述第一基站或所述分布式单元从第二基站或所述基站的集中式单元获取至少一部分上行资源作为所述第一基站或所述分布式单元管理的上行资源。The first base station or the distributed unit acquires at least a part of uplink resources from the second base station or the centralized unit of the base station as an uplink resource managed by the first base station or the distributed unit.
- 如权利要求1-6任意一项所述的方法,所述第一基站或所述分布式单元管理的上行资源包括如下至少一个:调度请求(SR)发送资源、信道质量指示(CQI)上报资源、信道状态信息(CSI)上报资源、探测参考信号(SRS)上报资源、发送上行数据的物理上行共享信道(PUSCH)资源、单小区用于调度的终端设备标识。The method according to any one of claims 1-6, wherein the uplink resource managed by the first base station or the distributed unit includes at least one of: a scheduling request (SR) transmission resource, and a channel quality indicator (CQI) reporting resource. Channel state information (CSI) reporting resource, sounding reference signal (SRS) reporting resource, physical uplink shared channel (PUSCH) resource for transmitting uplink data, and terminal device identifier for single cell scheduling.
- 如权利要求1-6任意一项所述的方法,所述方法还包括:The method of any of claims 1-6, further comprising:所述第一基站或所述分布式单元在发送随机接入响应(RAR)或竞争解决消息 (CR)时或发送随机接入响应(RAR)和竞争解决消息(CR)之间的时间段将所述分配的专用上行资源发送给所述终端设备。The time period between the first base station or the distributed unit when transmitting a random access response (RAR) or a contention resolution message (CR) or transmitting a random access response (RAR) and a contention resolution message (CR) The allocated dedicated uplink resource is sent to the terminal device.
- 如权利要求1-6任意一项所述的方法,所述方法还包括:The method of any of claims 1-6, further comprising:所述第一基站或所述分布式单元通过物理层控制信令或者媒体介入控制(MAC)层控制单元或者分组数据汇聚协议(PDCP)控制单元将所述分配的专用上行资源发送给所述终端设备。Transmitting, by the first base station or the distributed unit, the allocated dedicated uplink resource to the terminal by using physical layer control signaling or a media intervention control (MAC) layer control unit or a packet data convergence protocol (PDCP) control unit device.
- 一种资源分配装置,其特征在于,所述资源分配装置为第一基站或基站的分布式单元,包括:A resource allocation apparatus, wherein the resource allocation apparatus is a distributed unit of a first base station or a base station, and includes:处理器,用于从其管理的上行资源中给所述终端设备分配专用上行资源;a processor, configured to allocate a dedicated uplink resource to the terminal device from an uplink resource that is managed by the processor;发送器,用于向所述终端设备发送所述分配的专用上行资源;a transmitter, configured to send the allocated dedicated uplink resource to the terminal device;接收器,用于接收所述终端设备使用所接收的专用上行资源发送的信息。And a receiver, configured to receive information that is sent by the terminal device by using the received dedicated uplink resource.
- 如权利要求10所述的装置,其中,The device of claim 10, wherein所述处理器还用于检测到所述终端设备在分配的所述专用上行资源进行发送或所述接收器接收所述终端设备发送的上行资源配置确认反馈指示时,生成通知信息,所述通知信息用于指示已经为所述终端设备分配所述专用上行资源;The processor is further configured to: when the terminal device detects that the allocated dedicated uplink resource is sent, or the receiver receives the uplink resource configuration confirmation feedback indication sent by the terminal device, generate notification information, where the notification is sent. The information is used to indicate that the dedicated uplink resource has been allocated to the terminal device;所述发送器还用于将所述通知信息发送给第二基站或所述基站的集中式单元。The transmitter is further configured to send the notification information to a second base station or a centralized unit of the base station.
- 如权利要求10所述的装置,其中,The device of claim 10, wherein所述接收器还用于接收所述终端设备发送的校验信息;The receiver is further configured to receive verification information sent by the terminal device;所述发送器还用于将所述终端设备的所述校验信息发送给第二基站或所述基站的集中式单元。The transmitter is further configured to send the verification information of the terminal device to a second base station or a centralized unit of the base station.
- 如权利要求12所述的装置,其中,The device of claim 12, wherein所述接收器还用于接收所述第二基站或所述集中式单元对所述终端设备进行完整性校验失败时发送的专用资源释放指示;The receiver is further configured to receive a dedicated resource release indication that is sent when the second base station or the centralized unit fails to perform integrity check on the terminal device;所述发送器还用于将所述专用资源释放指示通知所述终端设备。The transmitter is further configured to notify the terminal device of the dedicated resource release indication.
- 如权利要求12所述的装置,其中,The device of claim 12, wherein所述接收器还用于接收所述第二基站或所述集中式单元对所述终端设备进行完整性校验的校验结果;The receiver is further configured to receive a verification result that the second base station or the centralized unit performs integrity check on the terminal device;所述处理器还用于根据所述校验结果确定是否生成专用资源释放指示;The processor is further configured to determine, according to the verification result, whether to generate a dedicated resource release indication;所述发送器还用于校验失败时将所述生成的专用资源释放指示发送给所述终端设备。The transmitter is further configured to send the generated dedicated resource release indication to the terminal device when the verification fails.
- 如权利要求10所述的装置,其中,所述接收器还用于从第二基站或所述基站的集中式单元获取至少一部分上行资源作为所述第一基站或所述分布式单元管理的上行资源。The apparatus according to claim 10, wherein the receiver is further configured to acquire at least a part of uplink resources from a second base station or a centralized unit of the base station as an uplink managed by the first base station or the distributed unit Resources.
- 如权利要求10-15任意一项所述的装置,其中,所述第一基站或所述分布式单元管理的上行资源包括如下至少一个:调度请求(SR)发送资源、信道质量指示(CQI)上报资源、信道状态信息(CSI)上报资源、探测参考信号(SRS)上报资源、发送上行数据的物理上行共享信道(PUSCH)资源、单小区用于调度的终端设备标识。The apparatus according to any one of claims 10-15, wherein the uplink resource managed by the first base station or the distributed unit comprises at least one of: a scheduling request (SR) transmission resource, a channel quality indicator (CQI) The reporting resource, the channel state information (CSI) reporting resource, the sounding reference signal (SRS) reporting resource, the physical uplink shared channel (PUSCH) resource for transmitting the uplink data, and the terminal device identifier used by the single cell for scheduling.
- 如权利要求10-15任意一项所述的装置,其中,所述发送器还用于在发送随机接入响应(RAR)或竞争解决消息(CR)时或发送随机接入响应(RAR)和竞争解决消息(CR)之间的时间段将所述分配的专用上行资源发送给所述终端设备。The apparatus according to any one of claims 10-15, wherein the transmitter is further configured to transmit a random access response (RAR) and a random access response (RAR) when transmitting a random access response (RAR) or a contention resolution message (CR) The time period between the contention resolution messages (CR) sends the allocated dedicated uplink resources to the terminal device.
- 如权利要求10-15任意一项所述的装置,其中,所述发送器还用于通过物理层控制信令或者媒体介入控制(MAC)层控制单元或者分组数据汇聚协议(PDCP)控制单元将所述分配的专用上行资源发送给所述终端设备。The apparatus according to any one of claims 10-15, wherein the transmitter is further configured to pass physical layer control signaling or a Media Intervention Control (MAC) layer control unit or a Packet Data Convergence Protocol (PDCP) control unit The allocated dedicated uplink resource is sent to the terminal device.
- 一种资源分配方法,其特征在于,所述方法包括:A resource allocation method, the method comprising:基站接收终端设备发送的随机接入请求;Receiving, by the base station, a random access request sent by the terminal device;所述基站在发送随机接入响应(RAR)时或发送随机接入响应(RAR)和竞争解决消息(CR)之间的时间段将其管理的调度请求(SR)发送资源、信道质量指示(CQI)上报资源、信道状态信息(CSI)上报资源、探测参考信号(SRS)上报资源分配至少之一发送给所述终端设备。The base station transmits a resource, a channel quality indicator to its managed scheduling request (SR) during a time interval between transmitting a random access response (RAR) or transmitting a random access response (RAR) and a contention resolution message (CR) ( The CQI) at least one of the reporting resource, the channel state information (CSI) reporting resource, and the sounding reference signal (SRS) reporting resource allocation is sent to the terminal device.
- 如权利要求19所述的方法,所述方法还包括:The method of claim 19, the method further comprising:所述基站接收所述终端设备发送的校验信息;Receiving, by the base station, verification information sent by the terminal device;所述基站根据所述校验信息对所述终端设备进行完整性校验失败时发送专用资源释放指示给所述终端设备。And sending, by the base station, a dedicated resource release indication to the terminal device when the terminal device fails to perform an integrity check according to the verification information.
- 如权利要求19或20所述的方法,所述方法还包括:The method of claim 19 or 20, the method further comprising:所述基站通过物理层控制信令或者媒体介入控制(MAC)层控制单元或者分组数据汇聚协议(PDCP)控制单元将所述分配的资源发送给所述终端设备。The base station transmits the allocated resource to the terminal device through a physical layer control signaling or a media intervention control (MAC) layer control unit or a packet data convergence protocol (PDCP) control unit.
- 一种资源分配装置,其特征在于,所述装置包括:A resource allocation device, characterized in that the device comprises:接收器,用于接收终端设备发送的随机接入请求;a receiver, configured to receive a random access request sent by the terminal device;处理器,用于分配其管理的调度请求(SR)发送资源、信道质量指示(CQI)上报资源、信道状态信息(CSI)上报资源、探测参考信号(SRS)上报资源至少之一给所述终端设备;a processor, configured to allocate at least one of a scheduling request (SR) transmission resource, a channel quality indication (CQI) reporting resource, a channel state information (CSI) reporting resource, and a sounding reference signal (SRS) reporting resource that is managed by the processor to the terminal device;发送器,用于发送所分配的资源给所述终端设备。And a transmitter, configured to send the allocated resource to the terminal device.
- 如权利要求22所述的装置,其中,The device according to claim 22, wherein所述接收器,还用于接收所述终端设备发送的校验信息;The receiver is further configured to receive verification information sent by the terminal device;所述处理器,还用于根据所述校验信息对所述终端设备进行完整性校验;The processor is further configured to perform integrity verification on the terminal device according to the verification information;所述发送器,还用于如果完整性校验失败,发送专用资源释放指示给所述终端设 备。The transmitter is further configured to send a dedicated resource release indication to the terminal device if the integrity check fails.
- 如权利要求22或23所述的装置,所述发送器还用于通过物理层控制信令或者媒体介入控制(MAC)层控制单元或者分组数据汇聚协议(PDCP)控制单元将所述分配的资源发送给所述终端设备。The apparatus according to claim 22 or 23, wherein said transmitter is further configured to allocate said allocated resource by physical layer control signaling or a Media Intervention Control (MAC) layer control unit or a Packet Data Convergence Protocol (PDCP) control unit Send to the terminal device.
- 一种资源分配方法,其特征在于,所述方法包括:A resource allocation method, the method comprising:终端设备通过物理层控制信令或媒体介入控制(MAC)层控制单元接收基站发送的如下至少一种资源:调度请求(SR)发送资源、信道质量指示(CQI)上报资源、信道状态信息(CSI)上报资源、探测参考信号(SRS)上报资源;The terminal device receives, by using a physical layer control signaling or a media intervention control (MAC) layer control unit, at least one resource sent by the base station: a scheduling request (SR) transmission resource, a channel quality indication (CQI) reporting resource, and channel state information (CSI) ) reporting resources and detecting reference signals (SRS) reporting resources;所述终端设备使用接收的资源发送对应的信息。The terminal device transmits the corresponding information using the received resource.
- 如权利要求25的方法,其中,所述终端设备在接收随机接入响应(RAR)或竞争解决消息(CR)时或接收随机接入响应(RAR)和竞争解决消息(CR)之间的时间段接收所述基站发送的资源。The method of claim 25, wherein the terminal device receives a random access response (RAR) or a contention resolution message (CR) or receives a time between a random access response (RAR) and a contention resolution message (CR) The segment receives the resource sent by the base station.
- 如权利要求25的方法,其中,在所述终端设备接收所述基站发送的资源之前,所述方法还包括:The method of claim 25, wherein before the receiving, by the terminal device, the resource sent by the base station, the method further comprises:所述终端设备发送上行信息。The terminal device sends uplink information.
- 一种终端设备,其特征在于,所述终端设备包括:A terminal device, the terminal device includes:接收器,用于通过物理层控制信令或媒体介入控制(MAC)层控制单元接收基站发送的如下至少一种资源:调度请求(SR)发送资源、信道质量指示(CQI)上报资源、信道状态信息(CSI)上报资源、探测参考信号(SRS)上报资源;And a receiver, configured to receive, by using a physical layer control signaling or a media intervention control (MAC) layer control unit, at least one resource sent by the base station: a scheduling request (SR) sending resource, a channel quality indicator (CQI) reporting resource, and a channel status Information (CSI) reporting resources and sounding reference signals (SRS) reporting resources;发送器,用于使用接收的资源发送对应的信息。A sender, configured to send corresponding information using the received resource.
- 如权利要求28的终端设备,其中,所述接收器用于在接收随机接入响应(RAR)或竞争解决消息(CR)时或接收随机接入响应(RAR)和竞争解决消息(CR)之间的时间段接收所述基站发送的资源。The terminal device of claim 28, wherein said receiver is configured to receive a random access response (RAR) or a contention resolution message (CR) or between a random access response (RAR) and a contention resolution message (CR) The time period receives the resources sent by the base station.
- 如权利要求28的终端设备,其中,在所述接收器接收所述基站发送的资源之前,所述发送器还用于发送上行信息。The terminal device of claim 28, wherein said transmitter is further configured to transmit uplink information before said receiver receives said resource transmitted by said base station.
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 |
CN201710157343.2 | 2017-03-16 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2018166331A1 true WO2018166331A1 (en) | 2018-09-20 |
Family
ID=63521689
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2018/076889 WO2018166331A1 (en) | 2017-03-16 | 2018-02-14 | Resource allocation method and apparatus, and terminal device |
Country Status (2)
Country | Link |
---|---|
CN (2) | CN108633003B (en) |
WO (1) | WO2018166331A1 (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111565459A (en) * | 2019-02-14 | 2020-08-21 | 华为技术有限公司 | Communication method and device |
WO2021023311A1 (en) * | 2019-08-08 | 2021-02-11 | 中兴通讯股份有限公司 | Data transmission method and apparatus, and computer-readable storage medium |
CN112788795A (en) * | 2019-11-08 | 2021-05-11 | 华为技术有限公司 | Connection recovery method and device |
CN113747427A (en) * | 2020-05-29 | 2021-12-03 | 维沃移动通信有限公司 | Downlink data processing method and device and terminal |
CN113994733A (en) * | 2019-08-16 | 2022-01-28 | Oppo广东移动通信有限公司 | Method for controlling measurement, electronic device and storage medium |
CN114128394A (en) * | 2019-08-02 | 2022-03-01 | 华为技术有限公司 | Resource processing method and device |
EP4344321A4 (en) * | 2021-06-21 | 2024-09-25 | Huawei Tech Co Ltd | Information transmission method and device |
Families Citing this family (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111132328A (en) * | 2018-11-01 | 2020-05-08 | 夏普株式会社 | User equipment and method executed by user equipment |
CN111148224B (en) * | 2018-11-01 | 2022-11-18 | 大唐移动通信设备有限公司 | Resource allocation method and communication equipment |
KR102695743B1 (en) * | 2018-11-27 | 2024-08-19 | 삼성전자주식회사 | 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 |
CN111726210B (en) * | 2019-03-21 | 2022-02-08 | 大唐移动通信设备有限公司 | Information acquisition and transmission method, network equipment, terminal and centralized network configuration |
CN112398554B (en) * | 2019-08-16 | 2022-06-07 | 华为技术有限公司 | Method for channel measurement and terminal device |
CN113766516B (en) * | 2020-06-01 | 2024-01-26 | 中国电信股份有限公司 | Uplink configuration method, system, base station and storage medium |
WO2022011659A1 (en) * | 2020-07-17 | 2022-01-20 | Zte Corporation | Data forwarding in centralized unit and distributed unit split architectures |
Citations (5)
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 |
CN101426271A (en) * | 2007-10-29 | 2009-05-06 | 大唐移动通信设备有限公司 | Method and system for channel configuration |
CN101500309A (en) * | 2008-01-30 | 2009-08-05 | 大唐移动通信设备有限公司 | Method, system and apparatus for allocating dedicated scheduling request resource |
CN102474864A (en) * | 2009-08-17 | 2012-05-23 | 株式会社Ntt都科摩 | Mobile communication method, mobile station, and radio base station |
CN103796320A (en) * | 2010-01-08 | 2014-05-14 | 华为技术有限公司 | Schedule requesting method and device |
Family Cites Families (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
FR2843522B1 (en) * | 2002-08-12 | 2004-10-15 | Evolium Sas | METHOD FOR PROTECTING THE INTEGRITY OF MESSAGES TRANSMITTED IN A MOBILE RADIO COMMUNICATION SYSTEM |
KR101392697B1 (en) * | 2007-08-10 | 2014-05-19 | 엘지전자 주식회사 | Method for detecting security error in mobile telecommunications system and device of mobile telecommunications |
EP2028890B1 (en) * | 2007-08-12 | 2019-01-02 | LG Electronics Inc. | 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 |
CN102026165B (en) * | 2009-09-14 | 2014-11-05 | 中兴通讯股份有限公司 | Method and system for identifying terminal |
CN102300335B (en) * | 2010-06-22 | 2016-12-21 | 中兴通讯股份有限公司 | A kind of method and device processing wireless link error |
CN102487507B (en) * | 2010-12-01 | 2016-01-20 | 中兴通讯股份有限公司 | A kind of method and system realizing integrity protection |
CN104469745B (en) * | 2014-11-26 | 2018-05-01 | 大唐移动通信设备有限公司 | The application process and device of a kind of integrity protection parameter |
US10142834B2 (en) * | 2015-01-29 | 2018-11-27 | Motorola Mobility Llc | Method and apparatus for operating a user client wireless communication device on a wireless wide area network |
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 |
-
2017
- 2017-03-16 CN CN201710157343.2A patent/CN108633003B/en active Active
- 2017-03-16 CN CN202111091292.0A patent/CN113873668A/en active Pending
-
2018
- 2018-02-14 WO PCT/CN2018/076889 patent/WO2018166331A1/en active Application Filing
Patent Citations (5)
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 |
CN101426271A (en) * | 2007-10-29 | 2009-05-06 | 大唐移动通信设备有限公司 | Method and system for channel configuration |
CN101500309A (en) * | 2008-01-30 | 2009-08-05 | 大唐移动通信设备有限公司 | Method, system and apparatus for allocating dedicated scheduling request resource |
CN102474864A (en) * | 2009-08-17 | 2012-05-23 | 株式会社Ntt都科摩 | Mobile communication method, mobile station, and radio base station |
CN103796320A (en) * | 2010-01-08 | 2014-05-14 | 华为技术有限公司 | Schedule requesting method and device |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111565459A (en) * | 2019-02-14 | 2020-08-21 | 华为技术有限公司 | Communication method and device |
CN111565459B (en) * | 2019-02-14 | 2023-11-10 | 华为技术有限公司 | Communication method and device |
CN114128394A (en) * | 2019-08-02 | 2022-03-01 | 华为技术有限公司 | Resource processing method and device |
CN114128394B (en) * | 2019-08-02 | 2024-04-09 | 华为技术有限公司 | Resource processing method and device |
WO2021023311A1 (en) * | 2019-08-08 | 2021-02-11 | 中兴通讯股份有限公司 | Data transmission method and apparatus, and computer-readable storage medium |
CN113994733A (en) * | 2019-08-16 | 2022-01-28 | Oppo广东移动通信有限公司 | Method for controlling measurement, electronic device and storage medium |
CN113994733B (en) * | 2019-08-16 | 2024-01-12 | Oppo广东移动通信有限公司 | Method for controlling measurement, electronic equipment and storage medium |
CN112788795A (en) * | 2019-11-08 | 2021-05-11 | 华为技术有限公司 | Connection recovery method and device |
CN112788795B (en) * | 2019-11-08 | 2023-04-07 | 华为技术有限公司 | Connection recovery method and device |
CN113747427A (en) * | 2020-05-29 | 2021-12-03 | 维沃移动通信有限公司 | Downlink data processing method and device and terminal |
CN113747427B (en) * | 2020-05-29 | 2023-12-12 | 维沃移动通信有限公司 | Method, device, terminal and storage medium for processing downlink data |
EP4344321A4 (en) * | 2021-06-21 | 2024-09-25 | Huawei Tech Co Ltd | Information transmission method and device |
Also Published As
Publication number | Publication date |
---|---|
CN108633003A (en) | 2018-10-09 |
CN108633003B (en) | 2021-10-01 |
CN113873668A (en) | 2021-12-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2018166331A1 (en) | Resource allocation method and apparatus, and terminal device | |
US20230345312A1 (en) | User mobility method and device | |
WO2018196520A1 (en) | Beam management method, terminal device, and network device | |
US11109247B2 (en) | Beam failure recovery method, device, and apparatus | |
WO2018201990A1 (en) | Communication method, terminal and base station | |
KR101986274B1 (en) | Systems and methods for control plane for d2d communications | |
CN112771910B (en) | Method and system for measurement reporting for network maintenance | |
JP7128897B2 (en) | RRC connection recovery method, apparatus and computer storage medium | |
CN118215153A (en) | Method and apparatus for performing random access procedure | |
TWI430693B (en) | Method of random access channel optimization and related communication device | |
US20190364539A1 (en) | Data transmission processing method, user equipment, and base station | |
WO2018112871A1 (en) | Data transmitting/receiving apparatus and method, and communication system | |
WO2019140663A1 (en) | Timer-based bandwidth part switching method, terminal device, and network device | |
TW201126932A (en) | Method and apparatus for monitoring for a radio link failure | |
JP7540502B2 (en) | Terminal device and base station | |
CN116250342A (en) | Idle/inactive mobility for small data transmissions | |
WO2022151109A1 (en) | Beam failure detecting method and apparatus | |
US20180014331A1 (en) | Access Management of a Communication Device in a Cellular Network | |
WO2020191679A1 (en) | Random access method, terminal device, and network device | |
US11381343B2 (en) | Uplink data transmission confirmation apparatus, device, and method | |
WO2018149280A1 (en) | Data receiving method and device | |
WO2013020452A1 (en) | High speed dedicated physical control channel uplink feedback method and related device | |
WO2018141087A1 (en) | Positioning method, positioning device, and base station | |
WO2017166023A1 (en) | Random access method and apparatus | |
WO2019136598A1 (en) | Bandwidth part timing method and device, and communication system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 18767770 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 18767770 Country of ref document: EP Kind code of ref document: A1 |