Resource allocation method and device, equipment and storage medium

By receiving NGAP messages in the wireless communication system and detecting uplink transmission parameters, the base station can actively allocate uplink resources to the UE, solving the communication delay problem caused by the UE in the prior art that the UE needs to apply for uplink resources, and achieving more efficient resource allocation.

CN119653503APending Publication Date: 2025-03-18DATANG MOBILE COMM EQUIP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311199626.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-09-15
Publication Date
2025-03-18

AI Technical Summary

Technical Problem

In wireless communication systems, the base station cannot actively allocate uplink resources to the UE, resulting in the UE need to apply to the base station for allocation of uplink resources, thereby affecting the communication delay.

Method used

By receiving the NGAP message sent by AMF, the base station detects whether the uplink transmission parameters are included. If it is included, the uplink resource is allocated to the UE, and the downlink control information DCI is directly sent to the UE to indicate the uplink resource allocation.

Benefits of technology

This method allows the base station to actively allocate uplink resources to the UE when it determines that the UE needs to perform an uplink response, reducing communication delay and improving the performance of the wireless communication system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119653503A_ABST
    Figure CN119653503A_ABST
Patent Text Reader

Abstract

The invention relates to a resource allocation method and device, equipment and a storage medium. The method comprises the following steps: a base station receives an NGAP message sent by an access and mobility management function AMF; and if it is determined based on the NGAP message that user equipment (UE) needs to perform uplink response for a non-access stratum (NAS) message in the NGAP message, the base station allocates uplink resources to the UE. By adopting the method, the communication time delay can be reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of wireless communication technology, and in particular to a resource allocation method, device, equipment and storage medium. Background Art

[0002] In wireless communication systems, resource allocation is a very important part of the base station's work, which is related to whether the base station and UE (English: User Equipment; Chinese: User Equipment) can communicate normally. When allocating downlink resources, the base station knows whether there is downlink data, so it can directly allocate it. When allocating uplink resources, if the base station knows that a certain service process requires the UE to respond uplink, it will generally actively allocate uplink resources to the UE without waiting for the UE to apply to the base station for uplink resource allocation.

[0003] However, the current base station actively allocating uplink resources to the UE has certain limitations, resulting in the UE needing to apply to the base station for allocation of uplink resources in some cases, thereby affecting communication latency. Summary of the invention

[0004] Based on this, it is necessary to provide a resource allocation method, device, equipment and storage medium that can reduce communication delay in response to the above technical problems.

[0005] In a first aspect, the present application provides a resource allocation method, which is applied to a base station, including:

[0006] The base station receives a NGAP message sent by an access and mobility management function AMF; if it is determined based on the NGAP message that a user equipment UE needs to make an uplink response to a non-access stratum NAS message in the NGAP message, the base station allocates uplink resources to the UE.

[0007] In one of the embodiments, if it is determined based on the NGAP message that the user equipment UE needs to perform an uplink response to the non-access stratum NAS message encapsulated in the NGAP message, then the base station allocates uplink resources to the UE, including:

[0008] The base station detects whether the NGAP message includes an uplink transmission parameter, wherein the uplink transmission parameter is used to indicate that the UE needs to make an uplink response; when the NGAP message includes the uplink transmission parameter, the base station allocates uplink resources to the UE.

[0009] In one of the embodiments, the base station detects whether the NGAP message includes uplink transmission parameters, including:

[0010] The base station detects whether there is a NAS message in the NGAP message; when the NAS message exists in the NGAP message, the base station detects whether the NGAP message includes the uplink transmission parameter.

[0011] In one of the embodiments, when the NGAP message includes the uplink transmission parameter, the base station allocates uplink resources to the UE, including:

[0012] In a case where the NGAP message includes the uplink transmission parameter, the base station sends downlink control information DCI to the UE, where the DCI is used to indicate uplink resources allocated to the UE.

[0013] In a second aspect, a resource allocation method is provided, which is applied to AMF, and the method includes:

[0014] The AMF determines that the NAS message to be sent requires the UE to perform an uplink response; the AMF generates an NGAP message based on the NAS message, and the NGAP message indicates that the UE needs to perform an uplink response; the AMF sends the NGAP message to the base station.

[0015] In one of the embodiments, the AMF generates a NGAP message based on the NAS message, including:

[0016] The AMF packages the uplink transmission parameter and the NAS message together into the NGAP message, where the uplink transmission parameter is used to indicate that the UE needs to make an uplink response.

[0017] In one of the embodiments, the AMF packages the uplink transmission parameters and the NAS message into the NGAP message, including:

[0018] Upon receiving the uplink response requirement information transmitted by the NAS protocol layer, the NGAP protocol layer in the AMF packages the uplink transmission parameters and the NAS message together into the NGAP message.

[0019] In one embodiment, the method further comprises:

[0020] When the NAS protocol layer in the AMF determines that the NAS message requires the UE to perform an uplink response, the NAS protocol layer in the AMF transmits the uplink response requirement information to the NGAP protocol layer in the AMF.

[0021] According to a third aspect, a resource allocation device is provided, the device comprising:

[0022] A receiving unit, configured to receive an NGAP message sent by the AMF;

[0023] A resource allocation unit is used to allocate uplink resources to the UE if it is determined based on the NGAP message that the UE needs to make an uplink response to the NAS message in the NGAP message.

[0024] In one of the embodiments, the resource allocation unit is specifically used to detect whether the NGAP message contains uplink transmission parameters, wherein the uplink transmission parameters are used to indicate that the UE needs to make an uplink response; when the NGAP message contains the uplink transmission parameters, uplink resources are allocated to the UE.

[0025] In one of the embodiments, the resource allocation unit is specifically configured to detect whether there is a NAS message in the NGAP message; and if there is the NAS message in the NGAP message, detect whether the NGAP message includes the uplink transmission parameter.

[0026] In one of the embodiments, the resource allocation unit is specifically used to send downlink control information DCI to the UE when the NGAP message includes the uplink transmission parameter, and the DCI is used to indicate the uplink resources allocated to the UE.

[0027] In a fourth aspect, a resource allocation device is provided, the device comprising:

[0028] A determining unit, configured to determine that a NAS message to be sent requires an uplink response from the UE;

[0029] A generating unit, configured to generate an NGAP message based on the NAS message, wherein the NGAP message is used to indicate that the UE needs to perform an uplink response;

[0030] A sending unit is used to send the NGAP message to a base station.

[0031] In one of the embodiments, the generating unit is specifically used to: package the uplink transmission parameter and the NAS message together into the NGAP message, and the uplink transmission parameter is used to indicate that the UE needs to make an uplink response.

[0032] In one of the embodiments, the generating unit is specifically configured to: when the NGAP protocol layer receives the uplink response requirement information transmitted by the NAS protocol layer, package the uplink transmission parameter and the NAS message together into the NGAP message.

[0033] In one of the embodiments, the generating unit is specifically configured to transmit the uplink response requirement information to the NGAP protocol layer when the NAS protocol layer determines that the NAS message requires the UE to perform an uplink response.

[0034] In a fifth aspect, a base station is provided, including a memory, a transceiver, and a processor:

[0035] A memory for storing a computer program; a transceiver for transmitting and receiving data under the control of the processor; and a processor for reading the computer program in the memory and performing the following operations:

[0036] Control the transceiver to receive the NGAP message sent by the AMF;

[0037] If it is determined based on the NGAP message that the UE needs to make an uplink response to the NAS message in the NGAP message, uplink resources are allocated to the UE.

[0038] In one embodiment, the processor is specifically configured to perform the following operations:

[0039] Detect whether the NGAP message includes an uplink transmission parameter, wherein the uplink transmission parameter is used to indicate that the UE needs to make an uplink response; when the NGAP message includes the uplink transmission parameter, allocate uplink resources to the UE.

[0040] In one embodiment, the processor is specifically configured to perform the following operations:

[0041] Detect whether there is a NAS message in the NGAP message; if the NAS message exists in the NGAP message, detect whether the NGAP message includes the uplink transmission parameter.

[0042] In one embodiment, the processor is specifically configured to perform the following operations:

[0043] In a case where the NGAP message includes the uplink transmission parameter, the transceiver is controlled to send downlink control information DCI to the UE, where the DCI is used to indicate uplink resources allocated to the UE.

[0044] In a sixth aspect, a communication device is provided, including a memory, a transceiver, and a processor:

[0045] A memory for storing a computer program; a transceiver for transmitting and receiving data under the control of the processor; and a processor for reading the computer program in the memory and performing the following operations:

[0046] Determine that a NAS message to be sent requires an uplink response from the UE; generate an NGAP message based on the NAS message, wherein the NGAP message indicates that the UE needs to make an uplink response; and control the transceiver to send the NGAP message to a base station.

[0047] In one embodiment, the processor is specifically configured to perform the following operations:

[0048] The uplink transmission parameter and the NAS message are packaged together into the NGAP message, and the uplink transmission parameter is used to indicate that the UE needs to make an uplink response.

[0049] In one embodiment, the processor is specifically configured to perform the following operations:

[0050] When the NGAP protocol layer receives the uplink response requirement information transmitted by the NAS protocol layer, the uplink transmission parameters and the NAS message are packaged together into the NGAP message.

[0051] In one embodiment, the processor is further configured to perform the following operations:

[0052] When the NAS protocol layer determines that the NAS message requires the UE to perform an uplink response, the uplink response requirement information is transmitted to the NGAP protocol layer.

[0053] In a seventh aspect, a processor-readable storage medium is provided, wherein the processor-readable storage medium stores a program, and the program is used to enable a processor to execute any method described in the first aspect.

[0054] In an eighth aspect, a processor-readable storage medium is provided, wherein the processor-readable storage medium stores a program, and the program is used to enable a processor to execute any method described in the second aspect.

[0055] In the above-mentioned resource allocation method, apparatus, device and storage medium, after the base station receives the NGAP message sent by the AMF, if it is determined based on the NGAP message that the UE needs to make an uplink response to the NAS message in the NGAP message, the base station allocates uplink resources to the UE. In this way, for the NAS message, the base station can determine whether the UE needs to make an uplink response to the NAS message based on the NGAP message, and actively allocate uplink resources to the UE when it is determined that the UE needs to make an uplink response to the NAS message, without waiting for the UE to apply to the base station for allocation of uplink resources before allocating uplink resources to the UE, thereby reducing the communication delay of the business process involving the NAS message. BRIEF DESCRIPTION OF THE DRAWINGS

[0056] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related technologies, the drawings required for use in the embodiments or the related technical descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0057] Figure 1 is an implementation environment diagram of a resource allocation method in one embodiment;

[0058] Figure 2 A schematic diagram of a flow chart of a resource allocation method in an embodiment;

[0059] Figure 3 A schematic diagram of a flow chart of another resource allocation method in an embodiment;

[0060] Figure 4 A schematic diagram of a flow chart of another resource allocation method in an embodiment;

[0061] Figure 5 A schematic diagram of a flow chart of another resource allocation method in an embodiment;

[0062] Figure 6 A schematic diagram of a flow chart of another resource allocation method in an embodiment;

[0063] Figure 7 is a structural block diagram of a resource allocation device in an embodiment;

[0064] Figure 8 is a structural block diagram of another resource allocation device in an embodiment;

[0065] Fig. 9 is an internal structure diagram of a base station in one embodiment;

[0066] Fig.10 FIG. 4 is a diagram showing the internal structure of an AMF in an embodiment. DETAILED DESCRIPTION

[0067] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0068] In wireless communication systems, resource allocation is a very important work link of the base station, which is related to whether the base station and UE (English: User Equipment; Chinese: User Equipment) can communicate normally. When allocating downlink resources, the base station knows whether there is downlink data, so it can directly allocate. When allocating uplink resources, the base station generally cannot predict when the UE needs to perform uplink transmission. Therefore, it is usually necessary for the UE to actively apply for uplink resources from the base station when there is an uplink transmission demand. The base station allocates uplink resources to the UE based on the UE's application. However, if the base station knows that a certain service process requires the UE to respond uplink, it will generally actively allocate uplink resources to the UE without waiting for the UE to apply to the base station for allocation of uplink resources.

[0069] However, the base station's active allocation of uplink resources to the UE is limited to service processes that the base station itself can identify. For service processes that the base station cannot identify, the base station cannot determine whether the service process requires the UE to make an uplink response. Therefore, the base station cannot actively allocate uplink resources to the UE.

[0070] In actual applications, the service processes that the base station can recognize may include, for example, many service processes of the RRC (Radio Resource Control) protocol, and the service processes that the base station cannot recognize may include, for example, many service processes involving NAS (Non-Access Stratum) messages.

[0071] Since the base station cannot actively allocate uplink resources to the UE for the service processes that it cannot recognize, the base station needs to apply to the base station for allocation of uplink resources before making an uplink response during these service processes. The base station will allocate uplink resources to the UE only after receiving the UE's application, which will affect the communication delay to a certain extent.

[0072] In view of this, an embodiment of the present application provides a resource allocation method, in which, for a service process involving NAS messages that cannot be recognized by the base station, the base station can actively allocate uplink resources to the UE, thereby reducing the communication delay of the service process involving NAS messages.

[0073] Please refer to Figure 1 , which shows a schematic diagram of the implementation environment involved in the resource allocation method provided in the embodiment of the present application, such as Figure 1As shown, the implementation environment may include UE 101, base station 102 and AMF (English: Access and Mobility management Function; Chinese: Access and Mobility Management Function) 103, wherein UE 101 and base station 102 perform data transmission through the network, and base station 102 and AMF 103 perform data transmission through the network.

[0074] It should be pointed out that the resource allocation method provided in the embodiment of the present application can be applied to a terrestrial wireless communication system or a satellite communication system. In a satellite communication system, in one possible deployment scheme, the base station 102 can be deployed on a satellite. In another possible deployment scheme, the base station 102 can be deployed on the ground, and the satellite serves as a transit device to realize data transmission between the base station 102 and the UE 101.

[0075] It should be noted that the UE involved in the embodiments of the present application may be a wireless terminal, which may be a device that provides voice and / or other business data connectivity to a user, or a handheld device with a wireless connection function, or other processing devices connected to a wireless modem. The wireless terminal may be a USB storage device, other personal computer memory devices, and a dongle, or may communicate with one or more core networks (CN) via a radio access network (RAN). The wireless terminal may be a mobile terminal, such as a mobile phone (or "cellular" phone) and a computer with a mobile terminal device, for example, a portable, pocket-sized, handheld, computer-built-in, or vehicle-mounted mobile device, which exchanges language and / or data with a radio access network. For example, Personal Communication Service (PCS) phones, cordless phones, Session Initiated Protocol (SIP) phones, Wireless Local Loop (WLL) stations, Personal Digital Assistants (PDA), personal computers, tablet computers, Machine-type Communication (MTC) terminal devices, etc. Wireless terminals can also be called systems, subscriber units, subscriber stations, mobile stations, mobile stations, remote stations, access points, remote terminal equipment, access terminal equipment, user terminal equipment, user agents, user devices, and wireless access points and routers / modems that meet the limitations of this definition, which are not limited in the embodiments of the present application.

[0076] The base station involved in the embodiment of the present application may include multiple cells that provide services for wireless terminals. Depending on the specific application scenario, the base station may also be called an access point, or may be a device in the access network that communicates with a wireless terminal device through one or more sectors on the air interface, or other names. The base station involved in the embodiment of the present application may be a 5G base station (gNB) in the 5G network architecture (English: next generation system), or may be a home evolved Node B (English: Home evolved Node B; abbreviated: HeNB), a relay node (English: relay node), a home base station (English: femto), a micro base station (English: pico), a network test device, etc., which is not limited in the embodiment of the present application. In some network structures, the base station may include a centralized unit (English: centralized unit; abbreviated: CU) node and a distributed unit (English: distributed unit; abbreviated: DU) node, and the centralized unit and the distributed unit may also be arranged geographically separately.

[0077] The AMF involved in the embodiment of the present application is deployed in the 5G core network, which is one of the most important network functions in the 5G core network. Its functions include registration management, connection management and mobility management, which is similar to the MME (English: Mobility Management Entity; Chinese: Mobility Management Entity) in the LTE (English: long term evolution; abbreviated as: long term evolution) core network.

[0078] In actual applications, AMF can send NGAP (Next Generation Application Protocol) messages to the base station, where the NGAP messages can include PDU session management messages, paging messages, NAS messages, etc.

[0079] For NAS messages in NGAP messages, the base station will transparently forward them to the UE, that is, the base station will not parse the NAS message, but only forward it to the UE. Since the base station does not parse the NAS message, the base station cannot identify the NAS message, and therefore cannot determine whether the UE needs to respond to the NAS message uplink. In this case, the base station cannot actively allocate uplink resources to the UE, which results in a large communication delay for the service process involving the NAS message.

[0080] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0081] Please refer to Figure 2 In an exemplary embodiment, a resource allocation method is provided, wherein the method is applied to Figure 1 The base station in FIG. 1 is taken as an example to illustrate, and the following steps are included:

[0082] Step 201: The base station receives the NGAP message sent by the AMF.

[0083] As described above, NGAP messages can be transmitted between the base station and the AMF, where the NGAP messages can include multiple contents, such as PDU session management messages, paging messages, NAS messages, configuration information, etc.

[0084] Step 202: If it is determined based on the NGAP message that the UE needs to make an uplink response to the NAS message in the NGAP message, the base station allocates uplink resources to the UE.

[0085] In the traditional method, the base station transparently forwards the NAS message in the NGAP. Therefore, the base station cannot identify the NAS message, and therefore cannot determine whether the UE needs to make an uplink response to the NAS message. In this case, the base station cannot actively allocate uplink resources to the UE, but needs to wait until the UE receives the NAS message and determines that it needs to make an uplink response to the NAS message. The UE applies for uplink resources from the base station, and the base station will allocate uplink resources to the UE based on the UE's application.

[0086] In the embodiment of the present application, the NGAP message can indicate whether the NAS message contained therein requires the UE to perform an uplink response. Therefore, although the base station still transparently forwards the NAS message, that is, the base station still cannot identify the NAS message, the base station can determine whether the UE needs to perform an uplink response to the NAS message in the NGAP message based on the NGAP message. In this way, when the UE needs to perform an uplink response to the NAS message in the NGAP message, the base station can actively allocate uplink resources to the UE without waiting for the UE's application.

[0087] In the resource allocation method provided in this embodiment, after receiving the NGAP message sent by the AMF, if the base station determines based on the NGAP message that the UE needs to make an uplink response to the NAS message in the NGAP message, the base station allocates uplink resources to the UE. In this way, for the NAS message, the base station can determine based on the NGAP message whether the UE needs to make an uplink response to the NAS message, and actively allocate uplink resources to the UE when it is determined that the UE needs to make an uplink response to the NAS message, without waiting for the UE to apply to the base station for allocation of uplink resources before allocating uplink resources to the UE, thereby reducing the communication delay of the business process involving the NAS message.

[0088] In particular, for satellite communication systems, due to their long communication distance and long time, the processing flow should be simplified as much as possible to avoid excessive round-trips between UE and base station to reduce communication delay. The technical solution provided in the embodiment of the present application can enable the base station to actively allocate uplink resources for the uplink response of the NAS message without waiting for the UE to apply. Therefore, the communication delay can be reduced, which has a significant effect on improving the performance of the satellite communication system.

[0089] In one embodiment of the present application, after receiving the NGAP message sent by the AMF, the base station may first detect whether there is a NAS message in the NGAP message. If there is no NAS message, the base station may not perform the above step 202. If there is a NAS message, the base station may perform the above step 202, so as to actively allocate the uplink resources required for the uplink response to the UE when the NAS message in the NGAP message requires the UE to perform an uplink response. In this way, the base station can perform step 202 only when necessary, thereby reducing the processing delay of the base station and then reducing the communication delay as a whole.

[0090] In an optional embodiment of the present application, a new NGAP parameter may be defined in the NGAP message. The NGAP parameter may be called an uplink transmission parameter (English: UL data to be transmitted), for example. The uplink transmission parameter is used to indicate that the UE needs to make an uplink response.

[0091] In an optional embodiment of the present application, if the uplink transmission parameter exists in the NGAP message, it means that the NAS message in the NGAP message requires the UE to perform an uplink response. Conversely, if the uplink transmission parameter does not exist in the NGAP message, it means that the NAS message in the NGAP message does not require the UE to perform an uplink response.

[0092] After receiving the NGAP message sent by the AMF, the base station can detect whether the NGAP message contains the uplink transmission parameters. If so, the base station determines that the UE needs to make an uplink response to the NAS message in the NGAP message. In this case, the base station can actively allocate uplink resources to the UE. If not, the base station determines that the UE does not need to make an uplink response to the NAS message in the NGAP message. In this case, the base station may not actively allocate uplink resources to the UE.

[0093] Of course, in an optional embodiment of the present application, after receiving the NGAP message sent by the AMF, the base station can first detect whether there is a NAS message in the NGAP message. If there is a NAS message, the base station will then execute the step of detecting whether the NGAP message contains the uplink transmission parameters, so as to ensure that the base station will execute the step of detecting whether the NGAP message contains the uplink transmission parameters only when necessary, thereby reducing the processing delay of the base station and then reducing the communication delay as a whole.

[0094] In an optional embodiment of the present application, when determining that the NGAP message contains uplink transmission parameters, the base station can send DCI (Downlink Control Information) to the UE to allocate uplink resources to the UE, wherein the DCI is used to indicate the uplink resources allocated to the UE, and optionally, the DCI can indicate the time-frequency position of the uplink resources allocated to the UE.

[0095] Please refer to Figure 3 In an exemplary embodiment, a resource allocation method is provided, wherein the method is applied to Figure 1 The base station in FIG. 1 is taken as an example to illustrate, and the following steps are included:

[0096] Step 301: The base station receives the NGAP message sent by the AMF.

[0097] Step 302: The base station parses the received NGAP message to determine whether it is necessary to trigger the sending of a downlink RRC message. If not, the process ends; if so, jumps to step 303.

[0098] Step 303: The base station allocates downlink resources and sends a first DCI to the UE to indicate the downlink resources allocated by the base station to the UE through the first DCI. The base station sends a downlink RRC message to the UE through the allocated downlink resources, which may include a NAS message.

[0099] Step 304: When determining that there is a NAS message in the NGAP message, the base station determines whether there is an uplink transmission parameter in the NGAP message. If not, the process ends; if so, step 305 is executed.

[0100] Step 305: The base station allocates uplink resources to the UE and sends a second DCI to the UE, so as to indicate to the UE through the second DCI the uplink resources allocated by the base station to the UE, and the uplink resources are used by the UE to send an uplink response message to the NAS message to the base station.

[0101] Please refer to Figure 4 In an exemplary embodiment, a resource allocation method is provided, wherein the method is applied to Figure 1 The AMF in the example is used to illustrate, including the following steps:

[0102] Step 401: AMF determines that the NAS message to be sent requires an uplink response from the UE.

[0103] Since the sender of the NAS message is the AMF, the AMF can identify the NAS message and determine whether the NAS message requires the UE to perform an uplink response. If it is determined that the NAS message requires the UE to perform an uplink response, step 402 can be executed.

[0104] Step 402: AMF generates a NGAP message based on the NAS message, where the NGAP message is used to indicate that the UE needs to make an uplink response.

[0105] Optionally, when the AMF determines that the NAS message requires the UE to make an uplink response, the AMF may generate an NGAP message based on the NAS message to indicate that the UE needs to make an uplink response. Conversely, when the AMF determines that the NAS message does not require the UE to make an uplink response, the AMF may generate an NGAP message based on the NAS message to indicate that the UE does not need to make an uplink response.

[0106] It should be noted that the embodiment of the present application does not limit the message type of the NGAP message. For example, the NGAP message may be a downlink NAS transport message (English: DOWNLINK NAS TRANSPORT) message, or an initial context setup request (English: Initial Context Setup Request) message.

[0107] Step 403: AMF sends the generated NGAP message to the base station.

[0108] The resource allocation method provided in this embodiment, when it is determined that the NAS message to be sent requires the UE to perform an uplink response, the AMF can generate an NGAP message for indicating that the UE needs to perform an uplink response based on the NAS message, and then send the NGAP message to the base station. In this way, for the NAS message that requires the UE to perform an uplink response, the base station can determine that the UE needs to perform an uplink response to the NAS message based on the received NGAP message, and when it is determined that the UE needs to perform an uplink response to the NAS message, the base station actively allocates uplink resources to the UE without waiting for the UE to apply to the base station for allocation of uplink resources before allocating uplink resources to the UE, thereby reducing the communication delay of the business process involving the NAS message.

[0109] As described above, in an optional embodiment of the present application, a new NGAP parameter may be defined in the NGAP message, and the NGAP parameter may be called an uplink transmission parameter, for example, wherein the uplink transmission parameter is used to indicate that the UE needs to make an uplink response.

[0110] Optionally, when the AMF determines that the NAS message to be sent requires an uplink response from the UE, the AMF may package the uplink transmission parameters and the NAS message together into an NGAP message to indicate to the base station that the NAS message in the NGAP message requires an uplink response from the UE. Conversely, when the AMF determines that the NAS message to be sent does not require an uplink response from the UE, the AMF may package the NAS message into the NGAP message without packaging the uplink transmission parameters, thereby indicating to the base station that the NAS message in the NGAP message does not require an uplink response from the UE.

[0111] In actual applications, NAS messages are generated at the NAS protocol layer of AMF, and NGAP messages are packaged at the NGAP protocol layer of AMF. Therefore, in an embodiment of the present application, it is necessary to transfer information between the NAS protocol layer and the NGAP protocol layer to inform the NGAP protocol layer whether the NAS message requires the UE to perform an uplink response, so that the NGAP protocol layer selects the packaging method of the NGAP message.

[0112] Optionally, an embodiment of the present application newly defines an indication message between the NAS protocol layer and the NGAP protocol layer, and the indication message may be called uplink response requirement information (English: UL data response needed). If the NAS protocol layer in the AMF determines that the NAS message requires the UE to perform an uplink response, it may pass the uplink response requirement information to the NGAP protocol layer in the AMF, thereby notifying the NGAP protocol layer that the NAS message requires the UE to perform an uplink response. Conversely, if the NAS protocol layer determines that the NAS message does not require the UE to perform an uplink response, it may not pass the uplink response requirement information to the NGAP protocol layer. If the NGAP protocol layer does not receive the uplink response requirement information passed by the NAS layer, the NGAP protocol layer may determine that the NAS message does not require the UE to perform an uplink response.

[0113] In an optional embodiment of the present application, the NGAP protocol layer may select an NGAP message packing method based on whether it has received the uplink response requirement information transmitted by the NAS protocol layer. Optionally, the NGAP protocol layer may pack the uplink transmission parameters and the NAS message into the NGAP message together when it has received the uplink response requirement information transmitted by the NAS protocol layer. The NGAP protocol layer may also pack the NAS message into the NGAP message without packing the uplink transmission parameters when it has not received the uplink response requirement information transmitted by the NAS protocol layer.

[0114] Please refer to Figure 5 In an exemplary embodiment, a resource allocation method is provided, wherein the method is applied to Figure 1 The AMF in the example is used to illustrate, including the following steps:

[0115] Step 501: The NAS protocol layer in the AMF determines whether the NAS message to be sent requires an uplink response from the UE. If so, execute steps 502 and 503; if not, execute 504.

[0116] Step 502: The NAS protocol layer transmits the uplink response request information to the NGAP protocol layer.

[0117] Step 503 : Upon receiving the uplink response requirement information, the NGAP protocol layer packages the NAS message and the uplink transmission parameters into the NGAP message, and jumps to step 505 .

[0118] Step 504 : If the NGAP protocol layer does not receive the uplink response request information, the NGAP protocol layer packages the NAS message into the NGAP message and jumps to step 505 .

[0119] Step 505: AMF sends the NGAP message to the base station.

[0120] It should be pointed out that in actual applications, there are many business processes involving NAS messages, such as identity identification process, authentication process, encryption process, security mode control process, etc. Correspondingly, there are many types of NAS messages, such as authentication request message (English: Authentication request), etc. The embodiments of the present application do not make specific limitations on this.

[0121] In order to make it easier for readers to understand the technical solution provided by the embodiment of the present application, the embodiment of the present application will take the identity recognition process as an example to illustrate the technical solution provided by the embodiment of the present application. Please refer to Figure 6 , the identity recognition business process includes the following steps:

[0122] Step 601, UE601 sends a random access message 1: UE monitors the SSB (English: Synchronization Signal Block; Chinese: Synchronization Signal Block) and system information in the signaling beam, selects preamble (Chinese: Random Access Preamble) and PRACH (English: Physical Random Access Channel; Chinese: Physical Random Access Channel) resources, and uses the PRACH resources to send the selected preamble to the base station.

[0123] Step 602, the base station sends a random access message 2: After the UE sends the preamble, it starts a RAR (English: random access response; Chinese: random access response) window (Chinese: window) after a specific offset, and monitors the DCI that schedules the RAR within the RAR window, and receives the RAR sent by the base station based on the monitored DCI.

[0124] Step 603, UE sends random access message 3: UE sends message 3 according to UL grant (Chinese: uplink authorization) in message 2. It should be noted that the message 3 corresponding to the random access triggered by different random access reasons is different. For example, message 3 can be RRC Setup Request (Chinese: RRC establishment request) or RRC Resume Request (Chinese: RRC recovery request). In this example, it is RRC Setup Request.

[0125] Step 604, the base station sends a random access message 4: After monitoring the DCI on the PDCCH (English: Physical Downlink Control Channel; Chinese: Physical Downlink Control Channel), the UE determines the PDSCH (English: Physical Downlink Shared Channel; Chinese: Physical Downlink Shared Channel) resource according to the DCI, and then receives message 4 on the PDSCH resource. The message 4 includes RRC Setup (Chinese: RRC establishment message) and also includes an identifier for contention resolution.

[0126] Step 605, the UE feeds back HARQ (English: Hybrid Automatic Repeat Request; Chinese: Hybrid Automatic Repeat Request) ACK information of message 4 to the base station: After successfully receiving and decoding message 4, the UE submits message 4 to the high-level protocol stack and feeds back HARQ ACK information to the base station.

[0127] Step 606, the UE sends a message 5 to the base station: After the high-level protocol stack of the UE receives the message 4, if the contention is resolved successfully, it monitors the PDCCH to obtain the DCI, thereby determining the transmission resource of the message 5, and then transmits the message 5 through the transmission resource. The message 5 is the RRC Setup Complete (Chinese: RRC setup completion message), and the message 5 will carry the Registration request (Chinese: registration request) of the NAS protocol layer.

[0128] Step 607: The base station sends an Initial UE Message to the AMF. The Initial UE Message includes a Registration request of the NAS protocol layer.

[0129] Step 608, the NAS protocol layer in the AMF transmits information to the NGAP protocol layer: the NAS protocol layer analyzes the status of the current process. If there is no identity information of the UE, it is necessary to initiate an identity identification process. During the identity identification process, the NAS protocol layer transmits the Identity request (Chinese: Identity Identification Request) to the NGAP protocol layer, wherein the Identity request is a NAS message. The NAS protocol layer determines that the Identity request requires an uplink response from the UE. Therefore, the NAS protocol layer transmits the uplink response requirement information to the NGAP protocol layer to notify the NGAP protocol layer that the Identity request requires an uplink response from the UE.

[0130] Step 609, AMF sends DOWNLINK NAS TRANSPORT to the base station: After the NGAP protocol layer in the AMF receives the Identity request and uplink response requirement information transmitted by the NAS protocol layer, it packages the Identity request and the uplink transmission parameters into the DOWNLINK NAS TRANSPORT, where the DOWNLINK NAS TRANSPORT is an NGAP message, and the uplink transmission parameters are used to indicate that the Identity request requires the UE to perform an uplink response.

[0131] Step 610: The base station sends a first DCI and DLInformationTransfer (Chinese: downlink message transmission) to the UE: the first DCI is used to indicate the downlink resources for transmitting the DLInformationTransfer, and the DLInformationTransfer includes an Identity request message.

[0132] Step 611, the base station sends a second DCI to the UE: after parsing the DOWNLINK NAS TRANSPORT, the base station determines that the DOWNLINK NAS TRANSPORT includes uplink transmission parameters, then the base station actively allocates uplink resources to the UE, and sends a second DCI to the UE to indicate the uplink resources actively allocated by the base station to the UE.

[0133] Step 612, the UE sends a ULInformationTransfer (Chinese: uplink message transmission) to the base station: the UE determines the uplink resources actively allocated to the UE by the base station according to the second DCI, and sends a ULInformationTransfer to the base station through the uplink resources. The ULInformationTransfer includes an Identity response (Chinese: identity recognition response) to respond to the Identity request in an uplink manner.

[0134] Step 613: The base station sends an UPLINK NAS TRANSPORT (Chinese: uplink NAS transfer message) to the AMF: After receiving the ULInformationTransfer sent by the UE, the base station sends an UPLINK NAS TRANSPORT to the AMF, and the UPLINK NAS TRANSPORT includes an Identity response.

[0135] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0136] Based on the same inventive concept, the embodiment of the present application also provides a resource allocation device for implementing the resource allocation method involved above. The implementation solution provided by the device to solve the problem is similar to the implementation solution recorded in the above method, so the specific limitations in one or more resource allocation device embodiments provided below can refer to the limitations on the resource allocation method above, and will not be repeated here.

[0137] In an exemplary embodiment, Figure 7 As shown, a resource allocation device 700 is provided, comprising: a receiving unit 701 and a resource allocation unit 702, wherein:

[0138] The receiving unit 701 is used to receive the NGAP message sent by the AMF.

[0139] The resource allocation unit 702 is used to determine, based on the NGAP message, that an uplink response is required for the NAS message in the NGAP message, and then allocate uplink resources to the UE.

[0140] In an optional embodiment of the present application, the resource allocation unit 702 is specifically used to: detect whether the NGAP message contains uplink transmission parameters, wherein the uplink transmission parameters are used to indicate that the UE needs to make an uplink response; and allocate uplink resources to the UE when the NGAP message contains uplink transmission parameters.

[0141] In an optional embodiment of the present application, the resource allocation unit 702 is specifically used to: detect whether there is a NAS message in the NGAP message; when there is a NAS message in the NGAP message, detect whether the NGAP message contains uplink transmission parameters.

[0142] In an optional embodiment of the present application, the resource allocation unit 702 is specifically used to: when the NGAP message includes uplink transmission parameters, send downlink control information DCI to the UE, where the DCI is used to indicate the uplink resources allocated to the UE.

[0143] In an exemplary embodiment, Figure 8 As shown, a resource allocation device 800 is provided, comprising: a determining unit 801, a generating unit 802 and a sending unit 803, wherein:

[0144] The determining unit 801 is configured to determine whether the NAS message to be sent requires an uplink response from the UE.

[0145] The generating unit 802 is used to generate an NGAP message based on the NAS message, wherein the NGAP message is used to indicate that the UE needs to make an uplink response.

[0146] The sending unit 803 is used to send the NGAP message to the base station.

[0147] In an optional embodiment of the present application, the generating unit 802 is specifically configured to package the uplink transmission parameter and the NAS message together into an NGAP message, wherein the uplink transmission parameter is used to indicate that the UE needs to make an uplink response.

[0148] In an optional embodiment of the present application, the generating unit 802 is specifically configured to package the uplink transmission parameters and the NAS message into an NGAP message when the NGAP protocol layer receives the uplink response requirement information transmitted by the NAS protocol layer.

[0149] In an optional embodiment of the present application, the generating unit 802 is specifically configured to transmit uplink response requirement information to the NGAP protocol layer when the NAS protocol layer determines that the NAS message requires the UE to perform an uplink response.

[0150] It should be noted that the division of units in the embodiments of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation. In addition, each functional unit in each embodiment of the present application may be integrated into a processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0151] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a processor-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor (processor) to perform all or part of the steps of the method described in each embodiment of the present application.

[0152] It should be noted here that the above-mentioned device provided in the embodiment of the present application can implement all the method steps implemented in the above-mentioned method embodiment, and can achieve the same technical effect. The parts and beneficial effects of this embodiment that are the same as those in the method embodiment will not be described in detail here.

[0153] Fig. 9 It is a structural diagram of a base station provided in an embodiment of the present application. Fig. 9 The base station 900 shown includes: at least one processor 901, a memory 902, and at least one network interface 904. The various components in the base station 900 are coupled together via a bus system 905. It can be understood that the bus system 905 is used to realize the connection and communication between these components. In addition to the data bus, the bus system 905 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, the bus system 905 is not described in detail. Fig. 9 In the figure, various buses are labeled as bus system 905. In addition, in the embodiment of the present application, a transceiver 906 is also included. The transceiver can be multiple components, that is, including a transmitter and a receiver, providing a unit for communicating with various other devices on a transmission medium.

[0154] It can be understood that the memory 902 in the embodiment of the present application can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (English: Read-Only Memory; abbreviated as: ROM), a programmable read-only memory (English: Programmable ROM; abbreviated as: PROM), an erasable programmable read-only memory (English: Erasable PROM; abbreviated as: EPROM), an electrically erasable programmable read-only memory (English: Electrically EPROM; abbreviated as: EEPROM) or a flash memory. The volatile memory can be a random access memory (English: Random Access Memory; abbreviated as: RAM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct RAM RAM (DRRAM). The memory 902 of the system and method described in the embodiments of the present application is intended to include, but is not limited to, these and any other suitable types of memory.

[0155] In some implementations, the memory 902 stores the following elements, executable modules or data structures, or their subsets, or their extended sets: operating system 9021. The operating system 9021 includes various system programs, such as a framework layer, a core library layer, a driver layer, etc., which are used to implement various basic services and process hardware-based tasks.

[0156] In an embodiment of the present application, by calling the program or instruction stored in the memory 902, the processor performs the following operations: controlling the transceiver to receive the NGAP message sent by the AMF; if it is determined based on the NGAP message that the UE needs to make an uplink response to the NAS message in the NGAP message, uplink resources are allocated to the UE.

[0157] In an optional embodiment of the present application, the processor is specifically used to perform the following operations: detect whether the NGAP message includes an uplink transmission parameter, wherein the uplink transmission parameter is used to indicate that the UE needs to make an uplink response; and when the NGAP message includes the uplink transmission parameter, allocate uplink resources to the UE.

[0158] In an optional embodiment of the present application, the processor is specifically used to perform the following operations: detect whether there is a NAS message in the NGAP message; if the NAS message exists in the NGAP message, detect whether the NGAP message includes the uplink transmission parameter.

[0159] In an optional embodiment of the present application, the processor is specifically used to perform the following operations: when the NGAP message includes the uplink transmission parameter, control the transceiver to send downlink control information DCI to the UE, where the DCI is used to indicate the uplink resources allocated to the UE.

[0160] As described above, some or all of the methods disclosed in the above embodiments of the present application can be applied to the processor 901, or implemented by the processor 901, or implemented by the processor 901 in cooperation with other components (such as a transceiver). The processor 901 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware in the processor 901 or an instruction in the form of software. The above-mentioned processor 901 can be a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiments of the present application can be directly embodied as a hardware decoding processor for execution, or a combination of hardware and software modules in the decoding processor for execution. The software module may be located in a storage medium mature in the art, such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 902, and the processor 901 reads the information in the memory 902 and completes the steps of the above method in combination with its hardware.

[0161] It is understood that the embodiments described in the embodiments of the present application can be implemented by hardware, software, firmware, middleware, microcode or a combination thereof. For hardware implementation, the processing unit can be implemented in one or more application specific integrated circuits (Application Specific Integrated Circuits, ASIC), digital signal processors (Digital Signal Processing, DSP), digital signal processing devices (DSP Device, DSPD), programmable logic devices (Programmable Logic Device, PLD), field programmable gate arrays (Field-Programmable Gate Array, FPGA), general processors, controllers, microcontrollers, microprocessors, other electronic units for performing the functions described in the present application or a combination thereof.

[0162] For software implementation, the technology described in the embodiments of the present application can be implemented by a module (such as a process, function, etc.) that performs the functions described in the embodiments of the present application. The software code can be stored in a memory and executed by the processor 901. The memory can be implemented in the processor 901 or outside the processor 901.

[0163] Fig.10 It is a schematic diagram of the structure of the AMF provided in the embodiment of the present application. Fig.10 The AMF 1000 shown includes: at least one processor 1001, a memory 1002, and at least one network interface 1004. The various components in the AMF 1000 are coupled together via a bus system 1005. It is understood that the bus system 1005 is used to achieve connection and communication between these components. In addition to the data bus, the bus system 1005 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, the bus system 1005 is not described in detail. Fig.10 In the figure, various buses are labeled as bus system 1005. In addition, in the embodiment of the present application, a transceiver 1006 is also included. The transceiver can be multiple components, that is, including a transmitter and a receiver, providing a unit for communicating with various other devices on a transmission medium.

[0164] It can be understood that the memory 1002 in the embodiment of the present application can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (English: Read-Only Memory; abbreviated as: ROM), a programmable read-only memory (English: Programmable ROM; abbreviated as: PROM), an erasable programmable read-only memory (English: Erasable PROM; abbreviated as: EPROM), an electrically erasable programmable read-only memory (English: Electrically EPROM; abbreviated as: EEPROM) or a flash memory. The volatile memory can be a random access memory (English: Random Access Memory; abbreviated as: RAM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct RAM bus random access memory (DRRAM). The memory 1002 of the system and method described in the embodiments of the present application is intended to include, but is not limited to, these and any other suitable types of memory.

[0165] In some implementations, the memory 1002 stores the following elements, executable modules or data structures, or their subsets, or their extensions: operating system 10021. The operating system 10021 includes various system programs, such as a framework layer, a core library layer, a driver layer, etc., which are used to implement various basic services and process hardware-based tasks.

[0166] In an embodiment of the present application, by calling the program or instruction stored in the memory 1002, the processor performs the following operations: determining that the NAS message to be sent requires the UE to perform an uplink response; generating an NGAP message based on the NAS message, the NGAP message indicating that the UE needs to perform an uplink response; and controlling the transceiver to send the NGAP message to the base station.

[0167] In an optional embodiment of the present application, the processor is specifically used to perform the following operations: packing the uplink transmission parameter and the NAS message together into an NGAP message, where the uplink transmission parameter is used to indicate that the UE needs to make an uplink response.

[0168] In an optional embodiment of the present application, the processor is specifically used to perform the following operations: when the NGAP protocol layer receives the uplink response requirement information transmitted by the NAS protocol layer, the uplink transmission parameters and the NAS message are packaged together into the NGAP message.

[0169] In an optional embodiment of the present application, the processor is specifically configured to perform the following operations: when the NAS protocol layer determines that the NAS message requires the UE to perform an uplink response, transmit uplink response requirement information to the NGAP protocol layer.

[0170] As described above, some or all of the methods disclosed in the above embodiments of the present application can be applied to the processor 1001, or implemented by the processor 1001, or implemented by the processor 1001 in cooperation with other components (such as a transceiver). The processor 1001 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware or software instructions in the processor 1001. The above-mentioned processor 1001 can be a general-purpose processor, a digital signal processor (DigitalSignalProcessor, DSP), an application-specific integrated circuit (ApplicationSpecific IntegratedCircuit, ASIC), a field programmable gate array (FieldProgrammableGateArray, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in conjunction with the embodiments of the present application can be directly embodied as a hardware decoding processor for execution, or a combination of hardware and software modules in the decoding processor for execution. The software module may be located in a storage medium mature in the art, such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 1002, and the processor 1001 reads the information in the memory 1002 and completes the steps of the above method in combination with its hardware.

[0171] It is understood that the embodiments described in the embodiments of the present application can be implemented by hardware, software, firmware, middleware, microcode or a combination thereof. For hardware implementation, the processing unit can be implemented in one or more application specific integrated circuits (Application Specific Integrated Circuits, ASIC), digital signal processors (Digital Signal Processing, DSP), digital signal processing devices (DSP Device, DSPD), programmable logic devices (Programmable Logic Device, PLD), field programmable gate arrays (Field-Programmable Gate Array, FPGA), general processors, controllers, microcontrollers, microprocessors, other electronic units for performing the functions described in the present application or a combination thereof.

[0172] For software implementation, the technology described in the embodiments of the present application can be implemented by a module (such as a process, function, etc.) that performs the functions described in the embodiments of the present application. The software code can be stored in a memory and executed by the processor 1001. The memory can be implemented in the processor 1001 or outside the processor 1001.

[0173] An embodiment of the present application further provides a processor-readable storage medium, which stores a program for causing a processor to execute any of the methods described in the above method embodiments.

[0174] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.

[0175] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0176] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A resource allocation method, characterized in that: Applied to a base station, the method comprises: The base station receives a next generation application protocol NGAP message sent by an access and mobility management function AMF; If it is determined based on the NGAP message that the user equipment UE needs to make an uplink response to the non-access stratum NAS message encapsulated in the NGAP message, the base station allocates uplink resources to the UE.

2. The method according to claim 1, characterized in that If it is determined based on the NGAP message that the user equipment UE needs to perform an uplink response to the non-access stratum NAS message encapsulated in the NGAP message, then allocating uplink resources to the UE by the base station includes: The base station detects whether the NGAP message includes an uplink transmission parameter, wherein the uplink transmission parameter is used to indicate that the UE needs to make an uplink response; In a case where the NGAP message includes the uplink transmission parameter, the base station allocates uplink resources to the UE.

3. The method according to claim 2, characterized in that The base station detecting whether the NGAP message includes an uplink transmission parameter includes: The base station detects whether there is a NAS message in the NGAP message; In a case where the NAS message exists in the NGAP message, the base station detects whether the NGAP message includes the uplink transmission parameter.

4. The method according to claim 2, characterized in that: In a case where the NGAP message includes the uplink transmission parameter, the base station allocating uplink resources to the UE includes: In a case where the NGAP message includes the uplink transmission parameter, the base station sends downlink control information DCI to the UE, where the DCI is used to indicate uplink resources allocated to the UE.

5. A resource allocation method, characterized in that: Applied to AMF, the method comprises: The AMF determines that the NAS message to be sent requires an uplink response from the UE; The AMF generates a NGAP message based on the NAS message, where the NGAP message indicates that the UE needs to perform an uplink response; The AMF sends the NGAP message to the base station.

6. The method according to claim 5, characterized in that The AMF generates an NGAP message based on the NAS message, including: The AMF packages the uplink transmission parameter and the NAS message together into the NGAP message, where the uplink transmission parameter is used to indicate that the UE needs to make an uplink response.

7. The method according to claim 6, characterized in that The AMF packages the uplink transmission parameters and the NAS message into the NGAP message, including: Upon receiving the uplink response requirement information transmitted by the NAS protocol layer, the NGAP protocol layer in the AMF packages the uplink transmission parameters and the NAS message together into the NGAP message.

8. The method according to claim 7, characterized in that The method further comprises: When the NAS protocol layer in the AMF determines that the NAS message requires the UE to perform an uplink response, the NAS protocol layer in the AMF transmits the uplink response requirement information to the NGAP protocol layer in the AMF.

9. A resource allocation device, characterized in that: The device comprises: A receiving unit, configured to receive an NGAP message sent by the AMF; A resource allocation unit is used to allocate uplink resources to the UE if it is determined based on the NGAP message that the UE needs to make an uplink response to the NAS message in the NGAP message.

10. A resource allocation device, characterized in that: The device comprises: A determining unit, configured to determine that a NAS message to be sent requires an uplink response from the UE; A generating unit, configured to generate an NGAP message based on the NAS message, wherein the NGAP message is used to indicate that the UE needs to perform an uplink response; A sending unit is used to send the NGAP message to a base station.

11. A base station, characterized in that: Including memory, transceiver, processor: A memory for storing a computer program; a transceiver for transmitting and receiving data under the control of the processor; and a processor for reading the computer program in the memory and performing the following operations: Control the transceiver to receive the NGAP message sent by the AMF; If it is determined based on the NGAP message that the UE needs to make an uplink response to the NAS message in the NGAP message, uplink resources are allocated to the UE.

12. The base station according to claim 11, characterized in that The processor is specifically configured to perform the following operations: Detecting whether the NGAP message includes an uplink transmission parameter, wherein the uplink transmission parameter is used to indicate that the UE needs to make an uplink response; In a case where the NGAP message includes the uplink transmission parameter, uplink resources are allocated to the UE.

13. The base station according to claim 11, characterized in that: The processor is specifically configured to perform the following operations: Detecting whether there is a NAS message in the NGAP message; In a case where the NAS message exists in the NGAP message, it is detected whether the NGAP message includes the uplink transmission parameter.

14. The base station according to claim 11, characterized in that: The processor is specifically configured to perform the following operations: In a case where the NGAP message includes the uplink transmission parameter, the transceiver is controlled to send downlink control information DCI to the UE, where the DCI is used to indicate uplink resources allocated to the UE.

15. A communication device, characterized in that: Including memory, transceiver, processor: A memory for storing a computer program; a transceiver for transmitting and receiving data under the control of the processor; and a processor for reading the computer program in the memory and performing the following operations: Determining that the NAS message to be sent requires an uplink response from the UE; Generate an NGAP message based on the NAS message, where the NGAP message indicates that the UE needs to perform an uplink response; The transceiver is controlled to send the NGAP message to a base station.

16. The communication device according to claim 15, characterized in that The processor is specifically configured to perform the following operations: The uplink transmission parameter and the NAS message are packaged together into the NGAP message, and the uplink transmission parameter is used to indicate that the UE needs to make an uplink response.

17. The communication device according to claim 16, characterized in that The processor is specifically configured to perform the following operations: When the NGAP protocol layer receives the uplink response requirement information transmitted by the NAS protocol layer, the uplink transmission parameters and the NAS message are packaged together into the NGAP message.

18. The communication device according to claim 17, characterized in that The processor is further configured to perform the following operations: When the NAS protocol layer determines that the NAS message requires the UE to perform an uplink response, the uplink response requirement information is transmitted to the NGAP protocol layer.

19. A processor-readable storage medium, characterized in that: The processor-readable storage medium stores a program, and the program is used to enable a processor to execute the method according to any one of claims 1 to 4.

20. A processor-readable storage medium, characterized in that: The processor-readable storage medium stores a program, and the program is used to enable the processor to execute the method according to any one of claims 5 to 8.