Communication methods and apparatuses, user equipments, base station, and storage medium

By using MAC CE between the user equipment and the base station to request the establishment, recovery or re-establishment of the RRC connection, the problem of high delay in the 6th generation communication system is solved, and a faster connection process is achieved.

WO2025124383A1PCT designated stage expired Publication Date: 2025-06-19VIVO MOBILE COMM CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/138176
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-12-14
Filing Date
2024-12-10
Publication Date
2025-06-19

AI Technical Summary

Technical Problem

In the 6th generation communication system, the delay requirements in the RRC connection establishment, RRC re-establishment and RRC connection recovery process are high, and the prior art is difficult to effectively reduce.

Method used

By using the MAC CE of the Media Access Control (MAC) layer between the user equipment (UE) and the base station to request the establishment, recovery or re-establishment of the RRC connection, ASN.1 encoding and multi-layer protocol processing are avoided, and communication is conducted directly at the MAC layer.

Benefits of technology

Reduces the delay in the RRC connection establishment, re-establishment and recovery process, and supports more demanding business needs for delays.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024138176_19062025_PF_FP_ABST
    Figure CN2024138176_19062025_PF_FP_ABST
Patent Text Reader

Abstract

The present application belongs to the technical field of communications. Disclosed are communication methods and apparatuses, user equipments (UEs), a base station, and a storage medium. A method comprises: a radio resource control (RRC) layer of a UE triggering a medium access control (MAC) layer of the UE to execute a first task, and transmitting first information to the MAC layer of the UE, the first information being information related to the first task; the MAC layer of the UE generating a MAC control element (MAC CE) on the basis of the first information; and the UE sending the MAC CE to a base station, wherein the MAC CE is used for requesting the execution of the first task, and the first task is any one of the following: establishing an RRC connection, resuming the RRC connection, and re-establishing the RRC connection.
Need to check novelty before this filing date? Find Prior Art

Description

Communication method, device, user equipment, base station and storage medium

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims priority to Chinese patent application number 202311735894.4 filed in China on December 14, 2023, the entire contents of which are incorporated herein by reference. Technical Field

[0003] The present application belongs to the field of communication technology, and specifically relates to a communication method, device, user equipment, base station and storage medium. Background Art

[0004] In related technologies, the Radio Resource Control (RRC) connection establishment, RRC re-establishment, and RRC connection recovery processes are performed using RRC messages. In 6th Generation (6G) or beyond 5G communication systems, more latency-critical services need to be supported. Therefore, higher latency requirements are placed on the RRC connection establishment, RRC re-establishment, and RRC connection recovery processes.

[0005] How to reduce the delay during RRC connection establishment, RRC re-establishment, and RRC connection recovery is an urgent problem to be solved in this application. Summary of the Invention

[0006] Embodiments of the present application provide a communication method, apparatus, user equipment, base station, and storage medium, which can reduce the delay during RRC connection establishment, RRC re-establishment, and RRC connection recovery.

[0007] In a first aspect, a communication method is provided, comprising: an RRC layer of a user equipment (UE) triggering a medium access control (MAC) layer of the UE to perform a first task, and transmitting first information to the MAC layer of the UE, where the first information is information related to the first task; the MAC layer of the UE generates a medium access control element (MAC Control Element, MAC CE) based on the first information; the UE sends a MAC CE to a base station; wherein the MAC CE is used to request execution of the first task; and the first task is any one of the following: establishing an RRC connection, restoring an RRC connection, or re-establishing an RRC connection.

[0008] In a second aspect, a communication method is provided, which includes: a base station receives a MAC CE sent by a UE; wherein the MAC CE is used to request execution of a first task; the first task is any one of the following: establishing an RRC connection, restoring an RRC connection, and re-establishing an RRC connection.

[0009] In a third aspect, a communication device is provided, comprising: a processing module, a generating module, and a sending module. The processing module is configured to trigger a MAC layer of a UE to perform a first task and transmit first information related to the first task to the MAC layer of the UE. The generating module is configured to generate a MAC CE based on the first information transmitted by the processing module. The sending module is configured to transmit the MAC CE generated by the generating module to a base station; wherein the MAC CE is configured to request the execution of the first task; and the first task is any one of the following: establishing an RRC connection, restoring an RRC connection, or reestablishing an RRC connection.

[0010] In a fourth aspect, a communication device is provided, comprising: a receiving module configured to receive a MAC CE sent by a UE; wherein the MAC CE is configured to request execution of a first task; and wherein the first task is any one of the following: establishing an RRC connection, restoring an RRC connection, or reestablishing an RRC connection.

[0011] In a fifth aspect, a UE is provided, which includes a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the program or instructions are executed by the processor, the steps of the method described in the first aspect are implemented.

[0012] In the sixth aspect, a UE is provided, including a processor and a communication interface, wherein the processor is used to trigger the MAC layer of the UE to perform a first task, and transmit first information to the MAC layer of the UE, the first information being information related to the first task, and generate a MAC CE based on the first information; the communication interface is used to send a MAC CE to a base station; wherein the MAC CE is used to request execution of the first task; the first task is any one of the following: establishing an RRC connection, restoring an RRC connection, and re-establishing an RRC connection.

[0013] In the seventh aspect, a base station is provided, which includes a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the program or instructions are executed by the processor, the steps of the method described in the second aspect are implemented.

[0014] In the eighth aspect, a base station is provided, including a processor and a communication interface, wherein the communication interface is used to receive a MAC CE sent by a UE; wherein the MAC CE is used to request execution of a first task; the first task is any one of the following: establishing an RRC connection, restoring an RRC connection, and re-establishing an RRC connection.

[0015] In the ninth aspect, a readable storage medium is provided, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented, or the steps of the method described in the second aspect are implemented.

[0016] In the tenth aspect, a wireless communication system is provided, including: a UE and a base station, wherein the UE can be used to execute the steps of the method described in the first aspect, and the base station can be used to execute the steps of the method described in the second aspect.

[0017] In the eleventh aspect, a chip is provided, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the method as described in the first aspect, or to implement the method as described in the second aspect.

[0018] In the twelfth aspect, a computer program / program product is provided, which is stored in a storage medium and is executed by at least one processor to implement the steps of the communication method described in the first aspect, or to implement the steps of the communication method described in the second aspect.

[0019] In an embodiment of the present application, the RRC layer of the UE triggers the MAC layer of the UE to perform a first task and transmits first information to the MAC layer of the UE, where the first information is information related to the first task; the MAC layer of the UE generates a MAC CE based on the first information; the UE sends a MAC CE to the base station; wherein the MAC CE is used to request the execution of the first task; the first task is any one of the following: establishing an RRC connection, restoring an RRC connection, or re-establishing an RRC connection. In this solution, since the MAC CE is used to request the base station to establish an RRC connection, restore an RRC connection, or re-establish an RRC connection, and the MAC CE does not need to be ASN.1 encoded like an RRC message and can be processed by fewer protocol layers, it can reduce the delay during the RRC connection establishment, RRC re-establishment, and RRC connection recovery processes, thereby supporting more latency-critical services. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] FIG1 is a schematic diagram of the architecture of a wireless communication system provided in an embodiment of the present application;

[0021] FIG2 is a flow chart of a communication method according to an embodiment of the present application;

[0022] FIG3 is a structural diagram of a MAC CE according to an embodiment of the present application;

[0023] FIG4 is a second structural diagram of a MAC CE provided in an embodiment of the present application;

[0024] FIG5 is a second flow chart of a communication method provided in an embodiment of the present application;

[0025] FIG6 is a third structural diagram of a MAC CE provided in an embodiment of the present application;

[0026] FIG7 is a third flow chart of a communication method provided in an embodiment of the present application;

[0027] FIG8 is a fourth flow chart of a communication method provided in an embodiment of the present application;

[0028] FIG9 is a fifth flow chart of a communication method provided in an embodiment of the present application;

[0029] FIG10 is a sixth flow chart of a communication method according to an embodiment of the present application;

[0030] FIG11 is a seventh flow chart of a communication method according to an embodiment of the present application;

[0031] FIG12 is a flow chart of a communication method according to an embodiment of the present application;

[0032] FIG13 is a ninth flowchart of a communication method according to an embodiment of the present application;

[0033] FIG14 is a flowchart of a communication method according to an embodiment of the present application;

[0034] FIG15 is a flow chart of a communication method according to an embodiment of the present application;

[0035] FIG16 is a flowchart of a communication method according to an embodiment of the present application;

[0036] FIG17 is a flowchart of a communication method according to an embodiment of the present application;

[0037] FIG18 is a fourteenth flow chart of a communication method provided in an embodiment of the present application;

[0038] FIG19 is a schematic diagram of a structure of a communication device according to an embodiment of the present application;

[0039] FIG20 is a second structural diagram of a communication device provided in an embodiment of the present application;

[0040] FIG21 is a schematic diagram of the hardware structure of a communication device provided in an embodiment of the present application;

[0041] FIG22 is a schematic diagram of the hardware structure of a UE provided in an embodiment of the present application;

[0042] Figure 23 is a schematic diagram of the hardware structure of a base station provided in an embodiment of the present application. DETAILED DESCRIPTION

[0043] The following will be combined with the accompanying drawings in the embodiments of this application to clearly describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field are within the scope of protection of this application.

[0044] The terms "first", "second", etc. in this application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the terms used in this way are interchangeable where appropriate, so that the embodiments of the present application can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first" and "second" are generally of the same type, and do not limit the number of objects, for example, the first object can be one or more. In addition, "or" in this application represents at least one of the connected objects. For example, "A or B" covers three options, namely, Option 1: including A but not including B; Option 2: including B but not including A; Option 3: including both A and B. The character " / " generally indicates that the objects associated before and after are in an "or" relationship.

[0045] The term "indication" in this application can be either a direct indication (or explicit indication) or an indirect indication (or implicit indication). A direct indication can be understood as the sender explicitly informing the receiver of specific information, the operation to be performed, or the requested result, etc. in the instruction sent; an indirect indication can be understood as the receiver determining the corresponding information based on the instruction sent by the sender, or making a judgment and determining the operation to be performed or the requested result, etc. based on the judgment result.

[0046] It is worth noting that the technology described in the embodiments of the present application is not limited to the Long Term Evolution (LTE) / LTE-Advanced (LTE-A) system, but can also be used in other wireless communication systems, such as Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Frequency Division Multiple Access (FDMA), Orthogonal Frequency Division Multiple Access (OFDMA), Single-carrier Frequency Division Multiple Access (SC-FDMA) or other systems. The terms "system" and "network" in the embodiments of the present application are often used interchangeably, and the described technology can be used for the systems and radio technologies mentioned above, as well as for other systems and radio technologies. The following description describes a New Radio (NR) system for example purposes, and NR terminology is used in most of the following description, but these technologies can also be applied to systems other than NR systems, such as 6th Generation (6G) communication systems.

[0047] FIG1 shows a block diagram of a wireless communication system applicable to an embodiment of the present application. The wireless communication system includes a terminal 11 and a network-side device 12. The terminal 11 may be a UE, a mobile phone, a tablet computer (Tablet Personal Computer), a laptop computer (Laptop Computer), a notebook computer, a personal digital assistant (PDA), a handheld computer, a netbook, an ultra-mobile personal computer (UMPC), a mobile internet device (MID), an augmented reality (AR), a virtual reality (VR) device, a robot, a wearable device, an aircraft (flight vehicle), a vehicle user equipment (VUE), a ship-borne device, a pedestrian user equipment (PUE), a smart home (home appliances with wireless communication capabilities, such as refrigerators, televisions, washing machines, or furniture), a game console, a personal computer (PC), a teller machine, or a self-service machine, or other terminal-side devices. Wearable devices include: smart watches, smart bracelets, smart headphones, smart glasses, smart jewelry (smart bracelets, smart bracelets, smart rings, smart necklaces, smart anklets, smart anklets, etc.), smart wristbands, smart clothing, etc. Among them, the vehicle-mounted device can also be called a vehicle-mounted terminal, a vehicle-mounted controller, a vehicle-mounted module, a vehicle-mounted component, a vehicle-mounted chip or a vehicle-mounted unit, etc. It should be noted that the specific type of the terminal 11 is not limited in the embodiment of the present application. The network side device 12 may include an access network device or a core network device, wherein the access network device may also be called a radio access network (Radio Access Network, RAN) device, a radio access network function or a radio access network unit. The access network device may include a base station, a wireless local area network (WLAN) access point (AP) or a wireless fidelity (WiFi) node, etc.Among them, the base station can be referred to as Node B (NB), Evolved Node B (eNB), the next generation Node B (gNB), New Radio Node B (NR Node B), access point, Relay Base Station (RBS), Serving Base Station (SBS), Base Transceiver Station (BTS), radio base station, radio transceiver, Basic Service Set (BSS), Extended Service Set (ESS), Home Node B (HNB), Home Evolved Node B (home evolved Node B), Transmission Reception Point (TRP) or other appropriate terms in the field. As long as the same technical effect is achieved, the base station is not limited to specific technical vocabulary. It should be noted that in the embodiment of the present application, only the base station in the NR system is used as an example for introduction, and the specific type of the base station is not limited.

[0048] The following explains some concepts and / or terms involved in the communication method, device, user equipment, base station and storage medium provided in the embodiments of the present application.

[0049] 1. Signaling radio bearer (SRB):

[0050] SRB is a virtual channel used to transmit control and management information in mobile communication networks.

[0051] 2. Reason value:

[0052] In a radio resource control (RRC) establishment request message or an RRC recovery request message, the UE carries a corresponding cause value for the network side to perform access control.

[0053] 3. ASN.1 encoding and decoding:

[0054] The process of encoding and decoding the information in the RRC protocol according to the ASN.1 specification. Through ASN.1 encoding and decoding technology, interoperability between different systems can be achieved and the efficiency and reliability of data transmission can be improved.

[0055] 4. MAC Protocol Data Unit (PDU):

[0056] It is the MAC layer protocol data unit, which consists of a byte string arranged in bytes (8 bits).

[0057] The communication method provided in the embodiments of the present application is described in detail below through some embodiments and their application scenarios in conjunction with the accompanying drawings.

[0058] The present invention provides a communication method, and Figure 2 shows a flow chart of the communication method provided by the present invention. As shown in Figure 2, the communication method provided by the present invention may include the following steps 201 to 203.

[0059] Step 201: The RRC layer of the UE triggers the MAC layer of the UE to perform a first task, and transmits first information to the MAC layer of the UE.

[0060] In an embodiment of the present application, the above-mentioned first task is any one of the following: establishing an RRC connection, restoring an RRC connection, and re-establishing an RRC connection.

[0061] In some embodiments of the present application, the above-mentioned establishment of the RRC connection may also be understood as: establishing an initial dedicated SRB between the UE and the base station, for example: SRB1.

[0062] In some embodiments of the present application, a UE in an RRC idle state enters an RRC connected state when it needs to establish an RRC connection, for example, when the UE needs to initiate a registration process when it is turned on, or receives a paging message, or has uplink data to be sent, the UE's RRC layer can trigger the UE's MAC layer to establish an RRC connection.

[0063] In some embodiments of the present application, a UE in an inactive state needs to restore an RRC connection when uplink data arrives or a paging message is received.

[0064] In some embodiments of the present application, when a radio link failure or an integrity check failure occurs to a UE in a connected state, or an RRC connection cannot be applied, it is necessary to re-establish the RRC connection.

[0065] In some embodiments of the present application, the RRC layer of the UE triggering the MAC layer of the UE to perform the first task can be understood as: the RRC layer of the UE notifying the MAC layer of the UE to perform the first task, the RRC layer of the UE requesting the MAC layer of the UE to perform the first task, the RRC layer of the UE instructing the MAC layer of the UE to perform the first task, etc. The embodiments of the present application are not limited to this.

[0066] It can be understood that the RRC layer of the UE and the MAC layer of the UE perform inter-layer interaction.

[0067] In the embodiments of the present application, when a protocol layer of an entity (e.g., a UE or a base station) performs an action, it can be understood that the entity performs the action at the protocol layer. For example, when the RRC layer of the UE triggers the MAC layer of the UE to perform a first task and transmits first information to the MAC layer of the UE, it can also be understood that the UE triggers the MAC layer of the UE to perform the first task at the RRC layer of the UE and transmits the first information to the MAC layer of the UE.

[0068] In the embodiment of the present application, the first information is information related to the first task.

[0069] In some embodiments of the present application, when the first task is to establish an RRC connection, the first information includes at least one of the following: an establishment cause value, a UE identifier, a UE type, and a service type.

[0070] In some embodiments of the present application, the above-mentioned establishment reason value can be at least one of the following: emergency (dialing an emergency number), highPriorityAccess (high priority access), mt-Access (called party access), mo-Signalling (when sending signaling), mo-Data (when sending data), mo-VoiceCall (voice call), mo-VideoCall (video call), mo-SMS (when sending text messages), mps-PriorityAccess (emergency call), mcs-PriorityAccess (emergency call).

[0071] In some embodiments of the present application, the above-mentioned UE identifier may be part or all of the UE identifier, for example: I-RNTI or PCI+C-RNTI.

[0072] In some embodiments of the present application, the above-mentioned UE type can be any one of the following: non-mobile UE, low-mobility UE, reduced capability (RedCap) UE, Internet of Things (IoT) UE, etc.

[0073] In some embodiments of the present application, the above-mentioned service type is the service type of the service transmitted after the RRC connection is established.

[0074] In some embodiments of the present application, when the first task is to restore the RRC connection or re-establish the RRC connection, the first information includes at least one of the following: UE identifier, restoration reason value, re-establishment reason value, and message integrity authentication code.

[0075] In some embodiments of the present application, the message integrity authentication code MAC-I may be generated based on the source cell identifier, the target cell identifier and the source C-RNTI.

[0076] In some embodiments of the present application, when the first information transmitted by the RRC layer of the UE to the MAC layer of the UE does not include the UE identifier, for example: when the UE is just turned on, the UE does not have a UE identifier assigned by the core network, the MAC layer can generate a random value of a specific length as the UE identifier.

[0077] Step 202: The MAC layer of the UE generates a MAC CE based on the first information.

[0078] In some embodiments of the present application, the above-mentioned MAC CE includes first information.

[0079] In some embodiments of the present application, the MAC layer of the UE generates a MAC CE based on the first information, which can also be understood as: the UE can generate a MAC CE based on the first information at the MAC layer.

[0080] It should be noted that the operations performed by the RRC layer of the UE in this application can be understood as the operations performed by the UE at the RRC layer; the operations performed by the MAC layer of the UE in this application can be understood as the operations performed by the UE at the MAC layer.

[0081] In some embodiments of the present application, the MAC CE corresponds to a logical channel identifier (LCID). That is, an LCID is assigned to the MAC CE so that upon receiving a MAC PDU containing the MAC CE, the base station can identify the MAC CE through the LCID in the MAC subheader of the MAC PDU. This eliminates the need to use at least two bits to indicate the message being sent, thereby saving signaling overhead.

[0082] For example, when the MAC CE is used to request the establishment of an RRC connection, as shown in Figure 3, an example of the MAC CE structure is shown. In this structure, the MAC CE is 48 bits, the same length as the 48-bit Common Control Channel (CCCH) of the existing New Radio (NR). The MAC CE carries a 39-bit UE identifier and a 4-bit cause value. In this structure: R: Reserved bits (or spare bits) for future expansion; UT: Indicates whether the UE identifier stores the UE identifier or a random value; UE identifier: Stores the UE identifier or random value; Cause: Stores the establishment cause value. When carrying the same information, the existing RRCSetupRequest message only has one spare bit. However, this application uses the MAC CE to have four spare bits, saving three bits and leaving more room for future expansion.

[0083] For example, when the MAC CE is used to request the restoration or reestablishment of an RRC connection, as shown in Figure 4, an example of the MAC CE structure is shown. In this structure, the MAC CE is 48 bits, the same length as the existing 48-bit Common Control Channel (CCCH) of the New Radio (NR) network. The MAC CE carries a 16-bit MAC-I, a 24-bit UE ID, and a 4-bit cause value. In this structure, R is a reserved bit (or spare bit) for future expansion; MAC-I is a message integrity authentication code used by the base station to authenticate the UE; UE Identifier stores the UE ID; and Cause stores the restoration / reestablishment cause value. While the existing RRCSetupRequest message only has one spare bit when carrying the same information, this application uses the MAC CE to leave four spare bits, saving three bits and leaving more room for future expansion.

[0084] Step 203: The UE sends a MAC CE to the base station.

[0085] In an embodiment of the present application, the above-mentioned MAC CE is used to request execution of the first task.

[0086] In some embodiments of the present application, when the first task is to establish an RRC connection, the MAC CE is used to request to establish an RRC connection with the base station.

[0087] For example, when the first task is to establish an RRC connection, the MAC CE may be called a Connection Setup Request MAC CE.

[0088] In some embodiments of the present application, the UE sends a MAC CE to the base station, requesting to establish an RRC connection with the base station. For example, in a 4-step random access channel (RACH), the first MAC CE is sent to the base station as message 3, or in a 2-step RACH, the first MAC CE is sent to the base station as message A.

[0089] In some embodiments of the present application, when the first task is to restore the RRC connection, the MAC CE is used to request to restore the RRC connection with the base station.

[0090] For example, when the first task is to restore the RRC connection, the MAC CE may be called: Connection Resume Request MAC CE.

[0091] In some embodiments of the present application, when the first task is to re-establish the RRC connection, the MAC CE is used to request to re-establish the RRC connection with the base station.

[0092] For example, when the first task is to re-establish the RRC connection, the MAC CE may be called a Connection Re-establishment Request MAC CE.

[0093] In some embodiments of the present application, the UE sends a MAC CE to the base station, requesting to restore or re-establish the RRC connection, for example, in a 4-step RACH, the third MAC CE is sent to the base station as message 3, or in a 2-step RACH, the third MAC CE is sent to the base station as message A.

[0094] An embodiment of the present application provides a communication method. Since the UE requests the base station to establish an RRC connection, restore an RRC connection, or re-establish an RRC connection through a MAC CE, and the MAC CE does not need to be ASN.1 encoded like an RRC message, and may be processed through fewer protocol layers, it is possible to reduce the delay in the RRC connection establishment, RRC re-establishment, and RRC connection recovery processes. In addition, in the scenario where the base station includes a centralized unit (CU) and a distributed unit (DU), the MAC layer is located in the DU, and the DU processes the MAC CE, and the RRC layer is located in the CU, and the CU processes the RRC message. In the prior art, the DU first receives the RRC message, and then the DU needs to submit it to the CU for processing. However, through the method of this embodiment, the DU can process the MAC CE after receiving it, and in some cases it does not need to go through the CU, thereby reducing the delay.

[0095] In some embodiments of the present application, when the first task is to establish an RRC connection, after the above step 203, the communication method provided by the embodiment of the present application further includes the following step 301 or step 302.

[0096] Step 301: A UE receives a first message from a base station.

[0097] In an embodiment of the present application, the above-mentioned first message is used to indicate the establishment of an RRC connection, and the first message is a first MAC CE or a first RRC message.

[0098] In some embodiments of the present application, after the base station receives the MAC CE sent by the UE, if the UE is allowed to establish an RRC connection, the base station may send the above-mentioned first message to the UE to instruct the establishment of the RRC connection.

[0099] In some embodiments of the present application, the above-mentioned first message also includes at least one of the following: a demodulation reference signal (DMRS) scrambling code identifier of a physical downlink control channel (PDCCH), a frequency domain position of a sounding reference signal (SRS), a period and offset of scheduling request resources, and an initial period displacement of a physical uplink control channel (PUCCH).

[0100] In some embodiments of the present application, when the above-mentioned first message is the first MAC CE, after the above-mentioned step 301, the communication method provided by the embodiment of the present application further includes the following steps 301a and 301b.

[0101] Step 301a: The MAC layer of the UE notifies the RRC layer of the UE to establish an RRC connection based on the first MAC CE.

[0102] Step 301b: The RRC layer of the UE establishes an RRC connection.

[0103] It can be understood that after the UE receives the first MAC CE for instructing to establish an RRC connection, the MAC layer of the UE can notify the RRC layer of the UE to establish an RRC connection based on the first MAC CE, and the RRC layer of the UE can establish the RRC connection based on the notification.

[0104] In some embodiments of the present application, the RRC layer of the UE may establish an RRC connection based on a default SRB configuration index.

[0105] In some embodiments of the present application, the first MAC CE may be referred to as a Connection Setup Response MAC CE.

[0106] In some embodiments of the present application, the above-mentioned first MAC CE includes a first wireless signaling bearer SRB configuration index, and the configuration parameters corresponding to the first SRB configuration index are protocol agreed upon, or the configuration parameters corresponding to the first SRB configuration index are configuration parameters broadcast by the base station through the system information of the cell.

[0107] In this way, since the base station instructs the UE to establish an RRC connection based on the first MAC CE, the UE does not need to perform ASN.1 decoding like an RRC message after receiving the first MAC CE, thereby further reducing the delay in the RRC connection establishment process.

[0108] In some embodiments of the present application, when the above-mentioned first message is the first MAC CE, after the above-mentioned step 301, the communication method provided by the embodiment of the present application further includes the following steps 301c and 301d.

[0109] Step 301c: The MAC layer of the UE notifies the RRC layer of the UE to establish an RRC connection based on the first MAC CE, and transmits the first SRB configuration index to the RRC layer of the UE.

[0110] Step 301d: The RRC layer of the UE establishes an RRC connection based on the first SRB configuration index.

[0111] It can be understood that after the UE receives the first MAC CE for indicating the establishment of an RRC connection, the MAC layer of the UE can notify the RRC layer of the UE to establish an RRC connection based on the first MAC CE, and pass the first SRB configuration index included in the first MAC CE to the RRC layer of the UE, so that the RRC layer of the UE can establish an RRC connection based on the notification and the first SRB configuration index.

[0112] In this way, since the first MAC CE sent by the base station to the UE includes the first SRB configuration index, the RRC layer of the UE can establish an RRC connection based on the first SRB configuration index included in the first MAC CE transmitted by the MAC layer of the UE, thereby improving the flexibility of establishing the RRC connection.

[0113] In some embodiments of the present application, when the above-mentioned first message is a first RRC message, after the above-mentioned step 301, the communication method provided by the embodiment of the present application also includes the following step 301e.

[0114] Step 301e: The RRC layer of the UE establishes an RRC connection based on the first RRC message.

[0115] It can be understood that after the UE receives the first RRC message for instructing to establish an RRC connection, the RRC layer of the UE can establish the RRC connection based on the first RRC message.

[0116] In this way, since the base station can also send a first RRC message for instructing the establishment of an RRC connection to the UE when instructing the establishment of an RRC connection, the RRC layer of the UE can establish the RRC connection based on the first RRC message, thereby improving the diversity of the RRC connection establishment process.

[0117] In some embodiments of the present application, the communication method provided in the embodiments of the present application may further include the following steps 401 and 402.

[0118] Step 401: The UE generates a fifth RRC message.

[0119] For example: the fifth RRC message is called the initial RRC message (Initial RRC Message).

[0120] Step 402: The UE sends a fifth RRC message to the base station.

[0121] In an embodiment of the present application, the fifth RRC message is used to indicate that the RRC connection is successfully established, or to send an initial RRC message.

[0122] In an embodiment of the present application, the above-mentioned fifth RRC message includes at least one of the following: UE identifier, public land mobile network (PLMN) identifier selected by the UE, core network element identifier registered by the UE, and non-access stratum (NAS) protocol data unit PDU.

[0123] In some embodiments of the present application, after receiving the fifth RRC message, the base station considers that the connection of the wireless interface is successfully established, and then the base station can perform subsequent operations, such as establishing a UE connection with the core network, activating security, configuring wireless bearers, and other operations.

[0124] It should be noted that the UE may execute steps 401 and 402 after the above step 301b; or execute steps 401 and 402 after the above step 301d; or execute steps 401 and 402 after the above step 301e.

[0125] Step 302: The UE receives a second message from the base station.

[0126] In an embodiment of the present application, the above-mentioned second message is used to indicate the rejection of establishing an RRC connection, and the second message is a second MAC CE or a second RRC message.

[0127] In some embodiments of the present application, after the base station receives the MAC CE sent by the UE, if the UE is not allowed to establish an RRC connection, the base station may send the above-mentioned second message to the UE to indicate the refusal to establish the RRC connection.

[0128] In some embodiments of the present application, the second message includes at least one of the following: a rejection reason, a first duration, and indication information indicating that the UE is not allowed to initiate access in the cell within the first duration.

[0129] In this way, when the base station instructs to reject the establishment of the RRC connection, the second MAC CE or the second RRC message for instructing to reject the establishment of the RRC connection can be sent to the UE, thereby improving the flexibility of the base station instructing to reject the establishment of the RRC connection.

[0130] In some embodiments of the present application, when the first task is to restore the RRC connection or re-establish the RRC connection, after the above step 203, the communication method provided by the embodiment of the present application further includes the following step 303 or step 304.

[0131] Step 303: The UE receives a third message from the base station.

[0132] In an embodiment of the present application, the third message is used to indicate the restoration of the RRC connection or the re-establishment of the RRC connection, and the third message is a third MAC CE or a third RRC message.

[0133] In some embodiments of the present application, after the base station receives the MAC CE sent by the UE, if it determines that the RRC connection can be restored or re-established, the base station can send the above-mentioned third message to the UE to instruct the restoration of the RRC connection or the re-establishment of the RRC connection.

[0134] In some embodiments of the present application, when the third message is the third MAC CE, after the above step 303, the communication method provided by the embodiment of the present application further includes the following steps 303a and 303b.

[0135] Step 303a: The MAC layer of the UE notifies the RRC layer of the UE to restore the RRC connection or re-establish the RRC connection based on the third MAC CE.

[0136] Step 303b: The RRC layer of the UE restores the RRC connection or re-establishes the RRC connection.

[0137] It can be understood that after the UE receives the third MAC CE for indicating the restoration of the RRC connection or the re-establishment of the RRC connection, the MAC layer of the UE can notify the RRC layer of the UE to restore the RRC connection or re-establish the RRC connection based on the third MAC CE, and the RRC layer of the UE can restore the RRC connection or re-establish the RRC connection based on the notification.

[0138] In some embodiments of the present application, the MAC layer of the UE may perform an operation of notifying the RRC layer after decrypting all or part of the content of the third MAC CE and successfully performing an integrity protection check.

[0139] In some embodiments of the present application, when the third MAC CE is used to indicate the resumption of the RRC connection, the third MAC CE may be referred to as a Connection Resume Response MAC CE.

[0140] In some embodiments of the present application, when the third MAC CE is used to indicate the re-establishment of the RRC connection, the third MAC CE may be referred to as a Connection Re-establishment Response MAC CE.

[0141] In this way, since the base station instructs the UE to restore the RRC connection or re-establish the RRC connection based on the third MAC CE, the UE does not need to perform ASN.1 decoding like the RRC message after receiving the third MAC CE, thereby further reducing the delay in restoring the RRC connection or re-establishing the RRC connection.

[0142] In some embodiments of the present application, when the third message is a third RRC message, after the above step 303, the communication method provided by the embodiment of the present application further includes the following step 303c.

[0143] Step 303c: The RRC layer of the UE restores the RRC connection or re-establishes the RRC connection based on the third RRC message.

[0144] It can be understood that after the UE receives the third RRC message for instructing to restore the RRC connection or re-establish the RRC connection, the RRC layer of the UE can restore the RRC connection or re-establish the RRC connection based on the third RRC message.

[0145] In this way, since the base station can also send a third RRC message to the UE to instruct the restoration of the RRC connection or the re-establishment of the RRC connection when instructing the restoration of the RRC connection or the re-establishment of the RRC connection, the RRC layer of the UE can restore the RRC connection or re-establish the RRC connection based on the third RRC message, thereby improving the diversity of the process of restoring the RRC connection or re-establishing the RRC connection.

[0146] In some embodiments of the present application, the communication method provided in the embodiments of the present application may further include the following steps 403 and 404.

[0147] Step 403: The UE generates a sixth RRC message.

[0148] Step 404: The UE sends a sixth RRC message to the base station.

[0149] In an embodiment of the present application, the sixth RRC message is used to indicate that the RRC connection is restored or re-established.

[0150] In some embodiments of the present application, when the sixth RRC message is used to indicate that the RRC connection is restored, the sixth RRC message may be referred to as RRC Resume Notify; when the sixth RRC message is used to indicate that the RRC connection is re-established, the sixth RRC message may be referred to as RRC Re-establishment Notify.

[0151] In some embodiments of the present application, the sixth RRC message may be security-protected, such as being encrypted and integrity-protected.

[0152] In some embodiments of the present application, the MAC layer of the UE may generate a MAC CE and send it to the base station to notify the base station that the RRC connection is successfully restored or re-established.

[0153] It should be noted that the UE may perform steps 403 and 404 after the above step 303b; or, perform steps 403 and 404 after the above step 303c.

[0154] Step 304: The UE receives a fourth message from the base station.

[0155] In an embodiment of the present application, the fourth message is used to indicate the establishment of an RRC connection, and the fourth message is a fourth MAC CE or a fourth RRC message.

[0156] In some embodiments of the present application, after the base station receives the MAC CE sent by the UE, if it is determined that the RRC connection cannot be restored or re-established, the base station may send the above-mentioned fourth message to the UE to instruct it to fall back to the RRC connection establishment process.

[0157] In this way, since the base station instructs to fall back to the RRC connection establishment process, a fourth MAC CE or a fourth RRC message for instructing to establish the RRC connection can be sent to the UE, thereby improving the flexibility of the base station instructing to establish the RRC connection.

[0158] In some embodiments of the present application, after the above step 304, the communication method provided by the embodiment of the present application further includes the following steps 304a and 304b.

[0159] Step 304a: The UE establishes an RRC connection based on the fourth message and generates a seventh RRC message.

[0160] Step 304b: The UE sends a seventh RRC message to the base station.

[0161] In an embodiment of the present application, the seventh RRC message is used to indicate that the RRC connection is successfully established, or to send an initial RRC message.

[0162] In an embodiment of the present application, the seventh RRC message includes at least one of the following: a UE identifier, a PLMN identifier selected by the UE, a core network element identifier registered by the UE, and a NAS PDU.

[0163] In some embodiments of the present application, after receiving the seventh RRC message, the base station considers that the connection of the wireless interface is successfully established, and then the base station can perform subsequent operations, such as establishing a UE connection with the core network, activating security, configuring wireless bearers, etc.

[0164] In some embodiments of the present application, "UE establishes an RRC connection based on the fourth message" in the above step 304a can be specifically implemented through the following step 304a1 or step 304a2.

[0165] Step 304a1. When the fourth message is the fourth MAC CE, the MAC layer of the UE notifies the RRC layer of the UE to fall back to the RRC connection establishment process based on the fourth MAC CE, and passes the second SRB configuration index to the RRC layer of the UE. The RRC layer of the UE releases the current RRC configuration of the UE and establishes an RRC connection based on the second SRB configuration index.

[0166] In an embodiment of the present application, the fourth MAC CE includes a second SRB configuration index.

[0167] It can be understood that after the UE receives the fourth MAC CE for indicating the establishment of an RRC connection, the MAC layer of the UE can notify the RRC layer of the UE to fall back to the RRC connection establishment process based on the fourth MAC CE, and pass the second SRB configuration index to the RRC layer of the UE. The RRC layer of the UE can release the current RRC configuration of the UE and establish an RRC connection based on the second SRB configuration index.

[0168] In some embodiments of the present application, when the fourth message is the fourth MAC CE, the MAC layer of the UE notifies the RRC layer of the UE to fall back to the RRC connection establishment process based on the fourth MAC CE. The RRC layer of the UE can release the current RRC configuration of the UE and establish an RRC connection based on the default SRB configuration index.

[0169] Step 304a2: When the fourth message is a fourth RRC message, the RRC layer of the UE releases the current RRC configuration of the UE based on the fourth RRC message, and establishes an RRC connection based on the fourth RRC message.

[0170] It can be understood that after the UE receives the fourth RRC message for instructing to establish an RRC connection, the RRC layer of the UE can release the current RRC configuration of the UE based on the fourth RRC message and establish an RRC connection based on the fourth RRC message.

[0171] In this way, when the UE receives the fourth MAC CE or the fourth RRC message indicating to establish an RRC connection, the RRC connection can be established through different procedures, thereby improving the diversity and flexibility of the RRC connection establishment process.

[0172] It should be noted that the UE may perform step 304a and step 304b after the above step 304a1; or, perform step 304a and step 304b after the above step 304a2.

[0173] The present invention provides a communication method, and Figure 5 shows a flow chart of the communication method provided by the present invention. As shown in Figure 5, the communication method provided by the present invention may include the following step 501.

[0174] Step 501: The base station receives a MAC CE sent by a UE.

[0175] In an embodiment of the present application, the above-mentioned MAC CE is used to request execution of the first task.

[0176] In an embodiment of the present application, the above-mentioned first task is any one of the following: establishing an RRC connection, restoring an RRC connection, and re-establishing an RRC connection.

[0177] In some embodiments of the present application, the above-mentioned MAC CE includes first information, and the first information is information related to the first task.

[0178] In some embodiments of the present application, when the first task is to establish an RRC connection, the first information includes at least one of the following: an establishment cause value, a UE identifier, a UE type, and a service type; or,

[0179] In some embodiments of the present application, when the first task is to restore the RRC connection or re-establish the RRC connection, the first information includes at least one of the following: UE identifier, restoration reason value, re-establishment reason value, and message integrity authentication code.

[0180] An embodiment of the present application provides a communication method. When a UE wants to request a base station to establish an RRC connection, restore an RRC connection, or re-establish an RRC connection, the request is made through a MAC CE. That is, the base station receives the MAC CE sent by the UE, and the MAC CE does not need to be ASN.1 encoded like an RRC message. Therefore, the base station does not need to perform ASN.1 decoding on the MAC CE, and may process it through fewer protocol layers. Therefore, the delay in the RRC connection establishment, RRC re-establishment, and RRC connection recovery processes can be reduced.

[0181] In some embodiments of the present application, when the first task is to establish an RRC connection, after step 501, the communication method provided by the embodiment of the present application further includes steps 601 to 603 as follows.

[0182] Step 601: The MAC layer of the base station parses the MAC CE to obtain first information.

[0183] In some embodiments of the present application, after the MAC layer of the base station parses the MAC CE, it can be learned that the UE requests to establish an RRC connection.

[0184] Step 602: The MAC layer of the base station transmits the first information to the RRC layer of the base station.

[0185] Step 603: The RRC layer of the base station performs access control based on the first information.

[0186] In some embodiments of the present application, the RRC layer of the base station may perform access control based on the establishment cause value in the first information.

[0187] In some embodiments of the present application, after the above step 603, the communication method provided by the embodiment of the present application further includes the following steps 603a and 603b.

[0188] Step 603a: When the RRC layer of the base station determines that access is allowed, the RRC layer of the base station notifies the MAC layer of the base station of the first access control result.

[0189] Step 603b: The MAC layer of the base station generates a first MAC CE based on the first access control result, and sends the first MAC CE to the UE.

[0190] In an embodiment of the present application, the first MAC CE is used to indicate the establishment of an RRC connection.

[0191] In some embodiments of the present application, the first access control result may be: access is allowed.

[0192] It can be understood that when the MAC layer of the base station determines to allow the UE to establish an RRC connection based on the first access control result, the MAC layer of the base station can generate a first MAC CE for indicating the establishment of the RRC connection and send the first MAC CE to the UE.

[0193] In some embodiments of the present application, the first MAC CE may be a response message of a MAC CE sent by the UE to the base station.

[0194] For example, when the above-mentioned first MAC CE is used to indicate the establishment of an RRC connection, as shown in Figure 6, it is an example of the structure of the first MAC CE. In this structure, the first MAC CE carries a 3-bit SRB configuration index (configuration index). In this structure: R: reserved bits (or spare bits), which can be reserved for future expansion.

[0195] In the first possible implementation,

[0196] In some embodiments of the present application, as shown in FIG7 , the communication method provided in the embodiment of the present application may include the following steps A1 to A14.

[0197] A1. The RRC layer of the UE triggers the MAC layer of the UE to establish an RRC connection and transmits first information to the MAC layer of the UE.

[0198] A2. The MAC layer of the UE generates a MAC CE for requesting to establish an RRC connection based on the first information.

[0199] A3. The UE sends a MAC CE to the base station.

[0200] A4. The base station receives the MAC CE sent by the UE.

[0201] A5. The MAC layer of the base station parses the MAC CE to obtain the first information.

[0202] A6. The MAC layer of the base station transmits the first information to the RRC layer of the base station.

[0203] A7. The RRC layer of the base station performs access control based on the first information.

[0204] A8. When the RRC layer of the base station determines that access is allowed, the RRC layer of the base station notifies the MAC layer of the base station of the first access control result.

[0205] A9. The MAC layer of the base station generates a first MAC CE for indicating establishment of an RRC connection based on the first access control result, and sends the first MAC CE to the UE.

[0206] A10. The UE receives a first MAC CE from the base station.

[0207] A11. The MAC layer of the UE notifies the RRC layer of the UE to establish an RRC connection based on the first MAC CE.

[0208] A12. The RRC layer of the UE establishes an RRC connection.

[0209] A13. The UE generates a fifth RRC message.

[0210] A14. The UE sends a fifth RRC message to the base station.

[0211] It should be noted that, for the relevant instructions in the above steps A1 to A14, reference can be made to the description in the above embodiment, which will not be repeated here.

[0212] In some embodiments of the present application, before the above step 603b, the communication method provided by the embodiment of the present application further includes the following step 603b1.

[0213] Step 603b1: The RRC layer of the base station transmits the first SRB configuration index to the MAC layer of the base station.

[0214] In some embodiments of the present application, the RRC layer of the base station may determine initial dedicated SRB configuration parameters, such as SRB1 configuration parameters, and submit a first SRB configuration index to the MAC layer, where the first SRB configuration index corresponds to the SRB configuration parameters.

[0215] In some embodiments of the present application, in order to save signaling overhead, the above-mentioned SRB configuration parameters can be templated, that is, configuration parameters agreed upon by the protocol, or configuration parameters broadcast by the base station through the system information of the cell.

[0216] In some embodiments of the present application, if there are multiple sets of SRB configuration parameters, each set of SRB configuration parameters corresponds to an SRB configuration index, and the RRC layer of the base station may select one set of SRB configuration parameters from the multiple sets of SRB configuration parameters.

[0217] In some embodiments of the present application, in the above step 603b, "the MAC layer of the base station generates a first MAC CE based on the first access control result" can be specifically implemented through the following step 603b2.

[0218] Step 603b2: The MAC layer of the base station generates a first MAC CE based on the first access control result and the first SRB configuration index.

[0219] In some embodiments of the present application, the first MAC CE includes a first SRB configuration index, and the first SRB configuration index corresponds to a set of SRB configuration parameters.

[0220] It can be understood that when the MAC layer of the base station determines that the UE is allowed to establish an RRC connection based on the first access control result, the MAC layer of the base station can generate a first MAC CE for indicating the establishment of an RRC connection based on the first SRB configuration index and send the first MAC CE to the UE.

[0221] In the second possible implementation,

[0222] In some embodiments of the present application, as shown in FIG8 , the communication method provided in the embodiment of the present application may include the following steps B1 to B14.

[0223] Steps B1 to B7 are the same as steps A1 to A7 above.

[0224] B8. When the RRC layer of the base station determines that access is allowed, the RRC layer of the base station notifies the MAC layer of the base station of the first access control result and transmits the first SRB configuration index to the MAC layer of the base station.

[0225] B9. The MAC layer of the base station generates a first MAC CE for indicating establishment of an RRC connection based on the first access control result and the first SRB configuration index, and sends the first MAC CE to the UE.

[0226] B10. The UE receives a first MAC CE from the base station.

[0227] B11. The MAC layer of the UE notifies the RRC layer of the UE to establish an RRC connection based on the first MAC CE, and transmits the first SRB configuration index to the RRC layer of the UE.

[0228] B12. The RRC layer of the UE establishes an RRC connection based on the first SRB configuration index.

[0229] B13. The UE generates a fifth RRC message.

[0230] B14. The UE sends a fifth RRC message to the base station.

[0231] It should be noted that, for the relevant instructions in the above steps B1 to B14, reference can be made to the description in the above embodiment, which will not be repeated here.

[0232] In some embodiments of the present application, after the above step 603, the communication method provided by the embodiment of the present application further includes the following steps 603c and 603d.

[0233] Step 603c: When the RRC layer of the base station determines that access is not allowed, the RRC layer of the base station notifies the MAC layer of the base station of the second access control result.

[0234] Step 603d: The MAC layer of the base station generates a second MAC CE based on the second access control result, and sends the second MAC CE to the UE.

[0235] In an embodiment of the present application, the second MAC CE is used to indicate rejection of establishing an RRC connection.

[0236] In some embodiments of the present application, the second access control result may be: access is not allowed.

[0237] It can be understood that when the MAC layer of the base station determines that the UE is not allowed to establish an RRC connection based on the second access control result, the MAC layer of the base station can generate a second MAC CE for indicating the refusal to establish the RRC connection and send the second MAC CE to the UE.

[0238] In the third possible implementation,

[0239] In some embodiments of the present application, as shown in FIG9 , the communication method provided in the embodiment of the present application may include the following steps C1 to C10.

[0240] Steps C1 to C7 are the same as steps A1 to A7 above.

[0241] C8. When the RRC layer of the base station determines that access is not allowed, the RRC layer of the base station notifies the MAC layer of the base station of the second access control result.

[0242] C9. The MAC layer of the base station generates a second MAC CE for indicating rejection of establishing the RRC connection based on the second access control result, and sends the second MAC CE to the UE.

[0243] C10. The UE receives a second MAC CE from the base station.

[0244] It should be noted that, for the relevant descriptions in the above steps C1 to C10, reference can be made to the descriptions in the above embodiments, which will not be repeated here.

[0245] In some embodiments of the present application, after the above step 603, the communication method provided by the embodiment of the present application further includes the following step 603e.

[0246] Step 603e: When the RRC layer of the base station determines that access is allowed, the RRC layer of the base station generates a first RRC message and sends the first RRC message to the UE.

[0247] In some embodiments of the present application, the first RRC message is used to indicate establishment of an RRC connection.

[0248] It can be understood that when the RRC layer of the base station determines that the UE is allowed to establish an RRC connection, the RRC layer of the base station can generate a first RRC message for indicating the establishment of the RRC connection and send the first RRC message to the UE.

[0249] In the fourth possible implementation,

[0250] In some embodiments of the present application, as shown in FIG10 , the communication method provided in the embodiment of the present application may include the following steps D1 to D12.

[0251] Steps D1 to D7 are the same as steps A1 to A7 above.

[0252] D8. When the RRC layer of the base station determines that access is allowed, the RRC layer of the base station generates a first RRC message for indicating establishment of an RRC connection and sends the first RRC message to the UE.

[0253] D9. The UE receives a first RRC message from the base station.

[0254] D10. The RRC layer of the UE establishes an RRC connection based on the first RRC message.

[0255] D11. The UE generates a fifth RRC message.

[0256] D12. The UE sends a fifth RRC message to the base station.

[0257] It should be noted that, for the relevant explanations in the above steps D1 to D12, reference can be made to the descriptions in the above embodiments, which will not be repeated here.

[0258] In some embodiments of the present application, after the above step 603, the communication method provided by the embodiment of the present application further includes the following step 603f.

[0259] Step 603f: When the RRC layer of the base station determines that access is not allowed, the RRC layer of the base station generates a second RRC message and sends the second RRC message to the UE.

[0260] In some embodiments of the present application, the second RRC message is used to indicate a rejection of establishing an RRC connection.

[0261] It can be understood that when the RRC layer of the base station determines that the UE is not allowed to establish an RRC connection, the RRC layer of the base station can generate a second RRC message for indicating the refusal to establish the RRC connection, and send the second RRC message to the UE.

[0262] In the fifth possible implementation,

[0263] In some embodiments of the present application, as shown in FIG11 , the communication method provided in the embodiment of the present application may include the following steps E1 to E9.

[0264] Steps E1 to E7 are the same as steps A1 to A7 above.

[0265] E8. When the RRC layer of the base station determines that access is not allowed, the RRC layer of the base station generates a second RRC message for indicating rejection of establishing the RRC connection, and sends the second RRC message to the UE.

[0266] E9. The UE receives a second RRC message from the base station.

[0267] It should be noted that, for the relevant explanations in the above steps E1 to E9, reference can be made to the description in the above embodiment, which will not be repeated here.

[0268] In some embodiments of the present application, when the first task is to establish an RRC connection, after the above step 501, the communication method provided by the embodiment of the present application further includes the following steps 701 and 702.

[0269] Step 701: The MAC layer of the base station parses the MAC CE to obtain first information.

[0270] Step 702: The MAC layer of the base station performs access control based on the access control parameter and the first information.

[0271] In the embodiment of the present application, the above-mentioned access control parameters are transmitted from the RRC layer of the base station to the MAC layer of the base station, and the access control parameters are used by the MAC layer of the base station to start access control.

[0272] In some embodiments of the present application, when a base station is congested, the RRC layer of the base station may notify the MAC layer of the base station to start access control and indicate corresponding access control parameters to the MAC layer of the base station, such as which establishment cause values ​​require complete rejection or the rejection ratio.

[0273] In some embodiments of the present application, the access control parameter may be at least one of the following: a value of an establishment cause that requires complete rejection, and a rejection ratio of an establishment cause value.

[0274] In some embodiments of the present application, if the MAC layer of the base station does not receive the access control parameters transmitted by the RRC layer of the base station, the MAC layer of the base station defaults to allowing access.

[0275] In some embodiments of the present application, after the above step 702, the communication method provided by the embodiment of the present application further includes the following step 702a.

[0276] Step 702a: When the MAC layer of the base station determines that access is allowed, the MAC layer of the base station generates a first MAC CE and sends the first MAC CE to the UE.

[0277] In an embodiment of the present application, the first MAC CE is used to indicate the establishment of an RRC connection.

[0278] It can be understood that when the MAC layer of the base station starts access control and determines that the UE is allowed to establish an RRC connection, the MAC layer of the base station can generate a first MAC CE for indicating the establishment of the RRC connection and send the first MAC CE to the UE.

[0279] In the sixth possible implementation,

[0280] In some embodiments of the present application, as shown in FIG12 , the communication method provided in the embodiment of the present application may include the following steps F1 to F12 .

[0281] Steps F1 to F5 are the same as steps A1 to A5 described above.

[0282] F6. The MAC layer of the base station performs access control based on the access control parameter and the first information.

[0283] F7. When the MAC layer of the base station determines that access is allowed, the MAC layer of the base station generates a first MAC CE for indicating establishment of an RRC connection and sends the first MAC CE to the UE.

[0284] Steps F8 to F12 are the same as steps A10 to A14 described above.

[0285] It should be noted that, for the relevant explanations in the above steps F1 to F12, reference can be made to the descriptions in the above embodiments, which will not be repeated here.

[0286] In some embodiments of the present application, the “MAC layer of the base station generates the first MAC CE” in the above step 702a can be specifically implemented through the following step 702a1.

[0287] Step 702a1: The MAC layer of the base station generates a first MAC CE based on the first SRB configuration index.

[0288] In some embodiments of the present application, the MAC layer of the base station may determine initial dedicated SRB configuration parameters, thereby generating a first MAC CE based on a first SRB configuration index, where the first SRB configuration index corresponds to the SRB configuration parameters.

[0289] In some embodiments of the present application, in order to save signaling overhead, the above-mentioned SRB configuration parameters can be templated, that is, configuration parameters agreed upon by the protocol, or configuration parameters broadcast by the base station through the system information of the cell.

[0290] In some embodiments of the present application, if there are multiple sets of SRB configuration parameters, each set of SRB configuration parameters corresponds to an SRB configuration index, and the MAC layer of the base station may select one set of SRB configuration parameters from the multiple sets of SRB configuration parameters.

[0291] In some embodiments of the present application, the first MAC CE includes a first SRB configuration index.

[0292] In some embodiments of the present application, the MAC layer of the base station may notify the RRC layer of the base station of which set of initial dedicated SRB configuration parameters is used.

[0293] In the seventh possible implementation,

[0294] In some embodiments of the present application, as shown in FIG13 , the communication method provided in the embodiment of the present application may include the following steps G1 to G12.

[0295] Steps G1 to G5 are the same as the above-mentioned steps A1 to A5.

[0296] G6. The MAC layer of the base station performs access control based on the access control parameter and the first information.

[0297] G7. When the MAC layer of the base station determines that access is allowed, the MAC layer of the base station generates a first MAC CE for indicating establishment of an RRC connection based on the first SRB configuration index, and sends the first MAC CE to the UE.

[0298] Steps G8 to G12 are the same as the above-mentioned steps A10 to A14.

[0299] It should be noted that, for the relevant instructions in the above steps G1 to G12, please refer to the description in the above embodiment, which will not be repeated here.

[0300] In some embodiments of the present application, after the above step 702, the communication method provided by the embodiment of the present application further includes the following step 702b.

[0301] Step 702b: When the MAC layer of the base station determines that access is not allowed, the MAC layer of the base station generates a second MAC CE and sends the second MAC CE to the UE;

[0302] In an embodiment of the present application, the second MAC CE is used to indicate rejection of establishing an RRC connection.

[0303] It can be understood that when the MAC layer of the base station starts access control and determines that the UE is not allowed to establish an RRC connection, the MAC layer of the base station can generate a second MAC CE for indicating the refusal to establish the RRC connection and send the second MAC CE to the UE.

[0304] In the eighth possible implementation,

[0305] In some embodiments of the present application, as shown in FIG14 , the communication method provided in the embodiment of the present application may include the following steps H1 to H8.

[0306] Steps H1 to H5 are the same as the above-mentioned steps A1 to A5.

[0307] H6. The MAC layer of the base station performs access control based on the access control parameter and the first information.

[0308] H7. When the MAC layer of the base station determines that access is not allowed, the MAC layer of the base station generates a second MAC CE for indicating rejection of establishing the RRC connection, and sends the second MAC CE to the UE.

[0309] H8. The UE receives a second MAC CE from the base station.

[0310] It should be noted that, for the relevant explanations in the above steps H1 to H8, reference can be made to the description in the above embodiment, which will not be repeated here.

[0311] In some embodiments of the present application, when the first task is to restore the RRC connection or re-establish the RRC connection, after the above step 501, the communication method provided by the embodiment of the present application further includes the following steps 801 to 803.

[0312] Step 801: The MAC layer of the base station parses the MAC CE to obtain first information.

[0313] In some embodiments of the present application, after the MAC layer of the base station parses the MAC CE, it can be learned that the UE requests to restore or re-establish the RRC connection.

[0314] Step 802: The MAC layer of the base station transmits the first information to the RRC layer of the base station.

[0315] Step 803: The RRC layer of the base station searches for the context of the UE based on the first information and performs authentication.

[0316] In some embodiments of the present application, the RRC layer of the base station may search for the context of the UE and perform authentication based on the recovery cause value or the re-establishment cause value in the first information.

[0317] In some embodiments of the present application, after the above step 803, the communication method provided by the embodiment of the present application further includes the following steps 803a and 803b.

[0318] Step 803a: When the RRC layer of the base station finds the context of the UE and the authentication is successful, the RRC layer of the base station notifies the MAC layer of the base station of the first result.

[0319] Step 803b: The MAC layer of the base station generates a third MAC CE based on the first result, and sends the third MAC CE to the UE.

[0320] In some embodiments of the present application, the third MAC CE is used to indicate the restoration of the RRC connection or the re-establishment of the RRC connection.

[0321] In some embodiments of the present application, the first result may be: the UE context is found and the authentication is successful.

[0322] It can be understood that when the MAC layer of the base station determines that the context of the UE is found based on the first result and the authentication is successful, the MAC layer of the base station can generate a third MAC CE for indicating the restoration of the RRC connection or the re-establishment of the RRC connection, and send the third MAC CE to the UE.

[0323] In some embodiments of the present application, the third MAC CE may be a response message of the MAC CE sent by the UE to the base station.

[0324] In some embodiments of the present application, the third MAC CE may be integrity protected and / or encrypted.

[0325] In some embodiments of the present application, the third MAC CE corresponds to a dedicated LCID, that is, an LCID is allocated to the third MAC CE.

[0326] In the ninth possible implementation,

[0327] In some embodiments of the present application, as shown in FIG15 , the communication method provided in the embodiment of the present application may include the following steps J1 to J14.

[0328] J1. The RRC layer of the UE triggers the MAC layer of the UE to establish an RRC connection and transmits first information to the MAC layer of the UE.

[0329] J2. The MAC layer of the UE generates a MAC CE for requesting to restore or re-establish the RRC connection with the base station based on the first information.

[0330] J3. The UE sends a MAC CE to the base station.

[0331] J4. The base station receives the MAC CE sent by the UE.

[0332] J5. The MAC layer of the base station parses the MAC CE to obtain the first information.

[0333] J6. The MAC layer of the base station transmits the first information to the RRC layer of the base station.

[0334] J7. The RRC layer of the base station searches for the UE context based on the first information and performs authentication.

[0335] J8. When the RRC layer of the base station finds the context of the UE and the authentication is successful, the RRC layer of the base station notifies the MAC layer of the base station of the first result.

[0336] J9. The MAC layer of the base station generates a third MAC CE based on the first result and sends the third MAC CE to the UE.

[0337] J10. The UE receives the third MAC CE from the base station.

[0338] J11. The MAC layer of the UE notifies the RRC layer of the UE to restore the RRC connection or re-establish the RRC connection based on the third MAC CE.

[0339] J12. The RRC layer of the UE restores the RRC connection or re-establishes the RRC connection.

[0340] J13. The UE generates a sixth RRC message.

[0341] J14. The UE sends a sixth RRC message to the base station.

[0342] It should be noted that, for the relevant instructions in the above steps J1 to J14, please refer to the description in the above embodiment, which will not be repeated here.

[0343] In some embodiments of the present application, after the above step 803, the communication method provided by the embodiment of the present application further includes the following steps 803c and 803d.

[0344] Step 803c: When the RRC layer of the base station fails to find the UE context, or finds the UE context but fails to authenticate, the RRC layer of the base station notifies the MAC layer of the base station of the second result.

[0345] Step 803d: The MAC layer of the base station generates a fourth MAC CE based on the second result, and sends the fourth MAC CE to the UE.

[0346] In an embodiment of the present application, the fourth MAC CE is used to indicate the establishment of an RRC connection.

[0347] In some embodiments of the present application, the second result may be: the UE context is not found, or the UE context is found but authentication is unsuccessful.

[0348] It can be understood that when the MAC layer of the base station determines that the UE context is not found based on the second result, or that the UE context is found but authentication is not successful, the MAC layer of the base station can generate a fourth MAC CE for indicating the establishment of an RRC connection and send the fourth MAC CE to the UE.

[0349] In some embodiments of the present application, when the RRC layer of the base station notifies the MAC layer of the base station of the second result, it can also pass the second SRB configuration index to the MAC layer of the base station. The MAC layer of the base station can generate a fourth MAC CE based on the second result and the second SRB configuration index.

[0350] In some embodiments of the present application, the fourth MAC CE includes a second SRB configuration index.

[0351] In the tenth possible implementation,

[0352] In some embodiments of the present application, as shown in FIG16 , the communication method provided in the embodiment of the present application may include the following steps K1 to K14.

[0353] Steps K1 to K7 are the same as the above-mentioned steps J1 to J7.

[0354] K8. When the RRC layer of the base station fails to find the context of the UE, or finds the context of the UE but fails to authenticate successfully, the RRC layer of the base station notifies the MAC layer of the base station of the second result.

[0355] K9. The MAC layer of the base station generates a fourth MAC CE for indicating establishment of an RRC connection based on the second result, and sends the fourth MAC CE to the UE.

[0356] K10. The UE receives a fourth MAC CE from the base station.

[0357] K11. The MAC layer of the UE notifies the RRC layer of the UE to fall back to the RRC connection establishment process based on the fourth MAC CE, and transmits the second SRB configuration index to the RRC layer of the UE.

[0358] K12. The RRC layer of the UE releases the current RRC configuration of the UE and establishes an RRC connection based on the second SRB configuration index.

[0359] K13. The UE generates a seventh RRC message.

[0360] K14. The UE sends a seventh RRC message to the base station.

[0361] It should be noted that, for the relevant explanations in the above steps K1 to K14, reference can be made to the description in the above embodiment, which will not be repeated here.

[0362] In some embodiments of the present application, after the above step 803, the communication method provided by the embodiment of the present application further includes the following step 803e.

[0363] Step 803e: When the RRC layer of the base station finds the context of the UE and the authentication is successful, the RRC layer of the base station generates a third RRC message and sends the third RRC message to the UE;

[0364] In an embodiment of the present application, the third RRC message is used to instruct restoration of the RRC connection or re-establishment of the RRC connection.

[0365] It can be understood that when the RRC layer of the base station finds the context of the UE and the authentication is successful, the RRC layer of the base station can generate a third RRC message for indicating the restoration of the RRC connection or the re-establishment of the RRC connection, and send the third RRC message to the UE.

[0366] In the eleventh possible implementation,

[0367] In some embodiments of the present application, as shown in FIG17 , the communication method provided in the embodiment of the present application may include the following steps L1 to L12.

[0368] Steps L1 to L7 are the same as steps J1 to J7 above.

[0369] L8. When the RRC layer of the base station finds the context of the UE and the authentication is successful, the RRC layer of the base station generates a third RRC message and sends the third RRC message to the UE.

[0370] L9. The UE receives a third RRC message from the base station.

[0371] L10. The RRC layer of the UE restores the RRC connection or re-establishes the RRC connection based on the third RRC message.

[0372] L11. UE generates a sixth RRC message.

[0373] L12. The UE sends a sixth RRC message to the base station.

[0374] It should be noted that, for the relevant instructions in the above steps L1 to L12, please refer to the description in the above embodiment, which will not be repeated here.

[0375] In some embodiments of the present application, after the above step 803, the communication method provided by the embodiment of the present application further includes the following step 803f.

[0376] Step 803f: When the RRC layer of the base station fails to find the context of the UE, or finds the context of the UE but fails to authenticate, the RRC layer of the base station generates a fourth RRC message and sends the fourth RRC message to the UE.

[0377] In some embodiments of the present application, the fourth RRC message is used to indicate the establishment of an RRC connection.

[0378] It can be understood that when the RRC layer of the base station fails to find the context of the UE and the authentication is successful, the RRC layer of the base station can generate a fourth RRC message for indicating the establishment of an RRC connection and send the fourth RRC message to the UE.

[0379] In the twelfth possible implementation,

[0380] In some embodiments of the present application, as shown in FIG18 , the communication method provided in the embodiment of the present application may include the following steps M1 to M12.

[0381] Steps M1 to M7 are the same as steps J1 to J7 above.

[0382] M8. When the RRC layer of the base station fails to find the context of the UE, or finds the context of the UE but fails to authenticate successfully, the RRC layer of the base station generates a fourth RRC message and sends the fourth RRC message to the UE.

[0383] M9. The UE receives a fourth RRC message from the base station.

[0384] M10. The RRC layer of the UE releases the current RRC configuration of the UE based on the fourth RRC message, and establishes an RRC connection based on the fourth RRC message.

[0385] M11. UE generates a seventh RRC message.

[0386] M12. The UE sends a seventh RRC message to the base station.

[0387] It should be noted that, for the relevant explanations in the above steps M1 to M12, reference can be made to the description in the above embodiment, which will not be repeated here.

[0388] The communication method provided in the embodiment of the present application can be executed by a communication device. In the embodiment of the present application, the communication device provided in the embodiment of the present application is described by taking the communication method executed by the communication device as an example.

[0389] FIG19 shows a possible structural diagram of a communication device involved in an embodiment of the present application, which is applied to a UE. As shown in FIG19 , a communication device 40 may include: a processing module 41 , a generating module 42 , and a sending module 43 .

[0390] The processing module 41 is configured to trigger the MAC layer of the UE to execute a first task and transmit first information to the MAC layer of the UE, where the first information is information related to the first task.

[0391] The generating module 42 is configured to generate a MAC CE based on the first information transmitted by the processing module 41 .

[0392] The sending module 43 is used to send the MAC CE generated by the generating module 42 to the base station; wherein the MAC CE is used to request the execution of the first task; the first task is any one of the following: establishing an RRC connection, restoring an RRC connection, and re-establishing an RRC connection.

[0393] An embodiment of the present application provides a communication device. Since the communication device requests a base station to establish an RRC connection, restore an RRC connection, or re-establish an RRC connection through a MAC CE, and the MAC CE does not need to be ASN.1 encoded like an RRC message and may be processed through fewer protocol layers, it is possible to reduce the delay in the RRC connection establishment, RRC re-establishment, and RRC connection recovery processes.

[0394] In a possible implementation manner, the MAC CE includes the first information.

[0395] In a possible implementation, when the first task is to establish an RRC connection, the first information includes at least one of the following: an establishment cause value, a UE identifier, a UE type, and a service type; or

[0396] In the case where the first task is to restore the RRC connection or re-establish the RRC connection, the first information includes at least one of the following: a UE identifier, a restoration cause value, a re-establishment cause value, and a message integrity authentication code.

[0397] In a possible implementation, when the first task is to establish an RRC connection, after the UE sends a MAC CE to the base station, the communication device provided in the embodiment of the present application further includes: a receiving module.

[0398] Receiver module for:

[0399] receiving a first message from a base station, where the first message is used to instruct establishment of an RRC connection, and the first message is a first MAC CE or a first RRC message; or,

[0400] A second message is received from the base station, where the second message is used to indicate rejection of establishing the RRC connection, and the second message is a second MAC CE or a second RRC message.

[0401] In a possible implementation, the communication device provided in the embodiment of the present application further includes a receiving module. The receiving module is configured to:

[0402] When the first task is to restore the RRC connection or re-establish the RRC connection, the sending module 43 receives a third message from the base station after sending the MAC CE to the base station, where the third message is used to instruct the restoration of the RRC connection or the re-establishment of the RRC connection, and the third message is a third MAC CE or a third RRC message; or

[0403] A fourth message is received from the base station, where the fourth message is used to instruct establishment of an RRC connection, and the fourth message is a fourth MAC CE or a fourth RRC message.

[0404] In one possible implementation, the first MAC CE includes a first radio signaling bearer SRB configuration index, and the configuration parameters corresponding to the first SRB configuration index are protocol-agreed, or the configuration parameters corresponding to the first SRB configuration index are configuration parameters broadcast by the base station through the system information of the cell.

[0405] In one possible implementation, the first message also includes at least one of the following: the demodulation reference signal DMRS scrambling code identifier of the physical downlink control channel PDCCH, the frequency domain position of the sounding reference signal SRS, the period and offset of the scheduling request resource, and the initial period shift of the physical uplink control channel PUCCH.

[0406] In one possible implementation, the communication device provided in an embodiment of the present application further includes: a notification module and an establishment module. The notification module is configured to, after the receiving module receives the first message from the base station, in a case where the first message is a first MAC CE, notify the RRC layer of the UE to establish an RRC connection based on the first MAC CE. The establishment module is configured to establish the RRC connection.

[0407] In one possible implementation, the communication device provided in an embodiment of the present application further includes: a notification module and an establishment module. The notification module is configured to, after the receiving module receives the first message from the base station and the first message is a first MAC CE, notify the RRC layer of the UE to establish an RRC connection based on the first MAC CE, and transmit the first SRB configuration index to the RRC layer of the UE. The establishment module is configured to establish the RRC connection based on the first SRB configuration index.

[0408] In one possible implementation, the communication device provided in the embodiment of the present application further includes: an establishment module. The establishment module is configured to establish an RRC connection based on the first RRC message after the receiving module receives the first message from the base station when the first message is the first RRC message.

[0409] In one possible implementation, the generating module 42 is further configured to generate a fifth RRC message. The sending module 43 is further configured to send the fifth RRC message generated by the generating module 42 to the base station. The fifth RRC message is used to indicate successful RRC connection establishment or to send an initial RRC message. The fifth RRC message includes at least one of the following: a UE identifier, a public land mobile network (PLMN) identifier selected by the UE, a core network element identifier registered by the UE, and a non-access stratum (NAS) protocol data unit (PDU).

[0410] In one possible implementation, the communication device provided in an embodiment of the present application further includes a notification module. The notification module is configured to, after the receiving module receives the third message from the base station and the third message is a third MAC CE, notify the RRC layer of the UE to restore or re-establish the RRC connection based on the third MAC CE. The processing module 41 is further configured to restore or re-establish the RRC connection.

[0411] In a possible implementation, the processing module 41 is further configured to, after the receiving module receives the third message from the base station when the third message is a third RRC message, restore the RRC connection or re-establish the RRC connection based on the third RRC message.

[0412] In a possible implementation, the generating module 42 is further configured to generate a sixth RRC message. The sending module 43 is further configured to send the sixth RRC message generated by the generating module 42 to the base station, where the sixth RRC message is used to indicate that the RRC connection is restored or re-established.

[0413] In one possible implementation, the apparatus further includes an establishment module. The establishment module is configured to establish an RRC connection based on the fourth message after the receiving module receives the fourth message from the base station. The generation module 42 is further configured to generate a seventh RRC message. The sending module 43 is further configured to send the seventh RRC message generated by the generation module 42 to the base station. The seventh RRC message is used to indicate successful RRC connection establishment or to send an initial RRC message. The seventh RRC message includes at least one of the following: a UE identifier, a PLMN identifier selected by the UE, a core network element identifier registered by the UE, and a NAS PDU.

[0414] In one possible implementation, a module is established, specifically for:

[0415] In the case where the fourth message is the fourth MAC CE, the RRC layer of the UE is notified to fall back to the RRC connection establishment process based on the fourth MAC CE, and the second SRB configuration index is passed to the RRC layer of the UE. The RRC layer of the UE releases the current RRC configuration of the UE and establishes an RRC connection based on the second SRB configuration index. The fourth MAC CE includes the second SRB configuration index; or

[0416] In the case that the fourth message is a fourth RRC message, the current RRC configuration of the UE is released based on the fourth RRC message, and an RRC connection is established based on the fourth RRC message.

[0417] The communication device provided in the embodiment of the present application can implement each process implemented by the UE in the above method embodiment and achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0418] Figure 20 shows another possible structural diagram of a communication device involved in an embodiment of the present application, which is applied to a base station. As shown in Figure 20, the communication device 50 may include: a receiving module 51;

[0419] The receiving module 51 is configured to receive a MAC CE sent by the UE; wherein the MAC CE is used to request execution of the first task;

[0420] The first task is any one of the following: establishing an RRC connection, restoring an RRC connection, or re-establishing an RRC connection.

[0421] An embodiment of the present application provides a communication device. When a UE wants to request the communication device to establish an RRC connection, restore an RRC connection, or re-establish an RRC connection, the request is made through a MAC CE. That is, the communication device receives the MAC CE sent by the UE, and the MAC CE does not need to be ASN.1 encoded like an RRC message. Therefore, the communication device does not need to perform ASN.1 decoding on the MAC CE, and may process it through fewer protocol layers. Therefore, the delay in the RRC connection establishment, RRC re-establishment, and RRC connection recovery processes can be reduced.

[0422] In a possible implementation manner, the MAC CE includes first information, where the first information is information related to the first task.

[0423] In a possible implementation, when the first task is to establish an RRC connection, the first information includes at least one of the following: an establishment cause value, a UE identifier, a UE type, and a service type; or

[0424] In the case where the first task is to restore the RRC connection or re-establish the RRC connection, the first information includes at least one of the following: a UE identifier, a restoration cause value, a re-establishment cause value, and a message integrity authentication code.

[0425] In one possible implementation, the communication device provided in an embodiment of the present application further includes: a parsing module, a delivery module, and an execution module. The parsing module is configured to, after receiving a MAC CE sent by a UE when the first task of the receiving module 51 is to establish an RRC connection, parse the MAC CE to obtain first information. The delivery module is configured to deliver the first information parsed by the parsing module to the RRC layer of the base station. The execution module is configured to perform access control based on the first information delivered by the delivery module.

[0426] In one possible implementation, the communication device provided in an embodiment of the present application further includes: a notification module, a generation module, and a sending module. The notification module is configured to, after the execution module performs access control based on the first information, notify the MAC layer of the base station of a first access control result if the RRC layer of the base station determines that access is permitted. The generation module is configured to generate a first MAC CE based on the first access control result notified by the notification module. The sending module is configured to send the first MAC CE generated by the generation module to a UE; the first MAC CE is used to indicate establishment of an RRC connection.

[0427] In one possible implementation, the transmitting module is further configured to transmit the first SRB configuration index to the MAC layer of the base station before the generating module generates the first MAC CE based on the first access control result. The generating module is specifically configured to generate the first MAC CE based on the first access control result and the first SRB configuration index transmitted by the transmitting module.

[0428] In one possible implementation, the communication device provided in an embodiment of the present application further includes: a notification module, a generation module, and a sending module. The notification module is configured to, after the execution module performs access control based on the first information, notify the MAC layer of the base station of a second access control result if the RRC layer of the base station determines that access is not permitted. The generation module is configured to generate a second MAC CE based on the second access control result notified by the notification module. The sending module is configured to send the second MAC CE generated by the generation module to the UE; the second MAC CE is configured to indicate a rejection of establishing an RRC connection.

[0429] In one possible implementation, the communication device provided in an embodiment of the present application further includes: a generating module and a sending module. The generating module is configured to generate a first RRC message after the executing module performs access control based on the first information and when the RRC layer of the base station determines that access is permitted. The sending module is configured to send the first RRC message generated by the generating module to the UE; the first RRC message is configured to indicate establishment of an RRC connection.

[0430] In one possible implementation, the communication device provided in an embodiment of the present application further includes: a generating module and a sending module. The generating module is configured to generate a second RRC message after the executing module performs access control based on the first information, if the RRC layer of the base station determines that access is not permitted. The sending module is configured to send the second RRC message generated by the generating module to the UE; the second RRC message is configured to indicate a rejection of establishing the RRC connection.

[0431] In one possible implementation, the communication device provided in an embodiment of the present application further includes: a parsing module and an execution module. The parsing module is configured to, after receiving a MAC CE sent by a UE when the first task of the receiving module 51 is to establish an RRC connection, parse the MAC CE to obtain first information. The execution module is configured to perform access control based on access control parameters and the first information parsed by the parsing module; the access control parameters are transmitted from the RRC layer of the base station to the MAC layer of the base station, and are used by the MAC layer of the base station to initiate access control.

[0432] In one possible implementation, the communication device provided in an embodiment of the present application further includes: a generation module and a sending module. The generation module is configured to generate a first MAC CE after the execution module performs access control based on the access control parameters and the first information, if the MAC layer of the base station determines that access is permitted. The sending module is configured to send the first MAC CE generated by the generation module to a UE; the first MAC CE is used to indicate establishment of an RRC connection.

[0433] In a possible implementation manner, the generating module is specifically configured to generate a first MAC CE based on the first SRB configuration index.

[0434] In one possible implementation, the communication device provided in an embodiment of the present application further includes: a generating module and a sending module. The generating module is configured to generate a second MAC CE after the executing module performs access control based on the access control parameters and the first information, if the MAC layer of the base station determines that access is not permitted. The sending module is configured to send the second MAC CE generated by the generating module to the UE; the second MAC CE is configured to indicate a rejection of establishing an RRC connection.

[0435] In one possible implementation, the communication device provided in an embodiment of the present application further includes: a parsing module, a transmission module, and a search module. The parsing module is configured to, after receiving a MAC CE sent by a UE when the first task of the receiving module 51 is to restore or reestablish an RRC connection, parse the MAC CE to obtain first information. The transmission module is configured to transmit the first information parsed by the parsing module to the RRC layer of the base station. The search module is configured to search for the UE context and perform authentication based on the first information transmitted by the transmission module.

[0436] In one possible implementation, the communication device provided in an embodiment of the present application further includes: a notification module, a generation module, and a sending module. The notification module is configured to notify the MAC layer of the base station of the first result if, after the search module searches for the UE's context based on the first information and performs authentication, the UE's context is found at the RRC layer of the base station and authentication is successful. The generation module is configured to generate a third MAC CE based on the first result notified by the notification module. The sending module is configured to send the third MAC CE generated by the generation module to the UE; wherein the third MAC CE is used to indicate the restoration or re-establishment of the RRC connection.

[0437] In one possible implementation, the communication device provided in an embodiment of the present application further includes: a notification module, a generation module, and a sending module. The notification module is configured to notify the MAC layer of the base station of a second result if, after the search module searches for the UE's context based on the first information and performs authentication, the UE's context is not found at the RRC layer of the base station, or if the UE's context is found but authentication is unsuccessful. The generation module is configured to generate a fourth MAC CE based on the second result notified by the notification module. The sending module is configured to send the fourth MAC CE generated by the generation module to the UE; wherein the fourth MAC CE is used to indicate establishment of an RRC connection.

[0438] In one possible implementation, the communication device provided in an embodiment of the present application further includes: a generation module and a sending module. The generation module is configured to generate a third RRC message if, after the search module searches for the UE context based on the first information and performs authentication, the UE context is found at the RRC layer of the base station and authentication is successful. The sending module is configured to send the third RRC message generated by the generation module to the UE; the third RRC message is configured to indicate the restoration or re-establishment of the RRC connection.

[0439] In one possible implementation, the communication device provided in an embodiment of the present application further includes: a generation module and a sending module. The generation module is configured to generate a fourth RRC message if, after the search module searches for the UE context based on the first information and performs authentication, the UE context is not found at the RRC layer of the base station, or if the UE context is found but authentication is unsuccessful. The sending module is configured to send the fourth RRC message generated by the generation module to the UE; the fourth RRC message is used to indicate establishment of an RRC connection.

[0440] The communication device in the embodiments of the present application can be a terminal, such as a terminal with an operating system, or a component within the terminal, such as an integrated circuit or chip. For example, the terminal can include, but is not limited to, the types of terminal 11 listed above. Other devices can include servers, network attached storage (NAS), etc., and are not specifically limited in the embodiments of the present application.

[0441] The communication device provided in the embodiment of the present application can implement the various processes implemented by the base station in the above method embodiment and achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0442] Optionally, as shown in Figure 21, an embodiment of the present application further provides a communication device 5000, including a processor 5001 and a memory 5002, wherein the memory 5002 stores a program or instruction that can be run on the processor 5001. For example, when the communication device 5000 is a UE, the program or instruction is executed by the processor 5001 to implement the various steps of the above-mentioned UE-side method embodiment, and can achieve the same technical effect. When the communication device 5000 is a base station, the program or instruction is executed by the processor 5001 to implement the various steps of the above-mentioned base station method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0443] The embodiment of the present application also provides a UE, including a processor and a communication interface, the processor is used to trigger the MAC layer of the UE to perform a first task, and transmit first information to the MAC layer of the UE, the first information being information related to the first task, and generating a MAC CE based on the first information; the communication interface is used to send a MAC CE to the base station; wherein the MAC CE is used to request the execution of the first task; the first task is any one of the following: establishing an RRC connection, restoring an RRC connection, and re-establishing an RRC connection. This UE embodiment corresponds to the above-mentioned UE-side method embodiment, and each implementation process and implementation method of the above-mentioned method embodiment can be applied to this UE embodiment and can achieve the same technical effect. Specifically, Figure 22 is a schematic diagram of the hardware structure of a UE that implements an embodiment of the present application.

[0444] The UE 100 includes but is not limited to at least some of the components including a radio frequency unit 101 , a network module 102 , an audio output unit 103 , an input unit 104 , a sensor 105 , a display unit 106 , a user input unit 107 , an interface unit 108 , a memory 109 and a processor 110 .

[0445] Those skilled in the art will appreciate that UE 100 may further include a power supply (such as a battery) for powering various components. The power supply may be logically connected to processor 110 via a power management system, thereby enabling the power management system to manage charging, discharging, and power consumption. The UE structure shown in FIG22 does not limit the UE. The UE may include more or fewer components than shown, or may combine certain components, or have different component arrangements, which will not be described in detail here.

[0446] It should be understood that in an embodiment of the present application, the input unit 104 may include a graphics processing unit (GPU) 1041 and a microphone 1042, and the graphics processor 1041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 107 includes a touch panel 1071 and at least one of other input devices 1072. The touch panel 1071 is also called a touch screen. The touch panel 1071 may include two parts: a touch detection device and a touch controller. Other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.

[0447] In the embodiment of the present application, after receiving downlink data from a network-side device, the RF unit 101 may transmit the data to the processor 110 for processing. Furthermore, the RF unit 101 may send uplink data to the network-side device. Typically, the RF unit 101 includes, but is not limited to, an antenna, an amplifier, a transceiver, a coupler, a low-noise amplifier, a duplexer, and the like.

[0448] The memory 109 can be used to store software programs or instructions and various data. The memory 109 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, applications or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 109 may include a volatile memory or a non-volatile memory, or the memory 109 may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM), and a direct memory bus random access memory (DRRAM). The memory 109 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.

[0449] Processor 110 may include one or more processing units. Optionally, processor 110 integrates an application processor and a modem processor. The application processor primarily handles operations related to the operating system, user interface, and application programs, while the modem processor primarily processes wireless communication signals, such as a baseband processor. It is understood that the modem processor may not be integrated into processor 110.

[0450] The processor 110 is configured to trigger the MAC layer of the UE to execute a first task, and transmit first information to the MAC layer of the UE, where the first information is information related to the first task; and generate a MAC CE based on the first information.

[0451] The radio frequency unit 101 is used to send a MAC CE to the base station; wherein the MAC CE is used to request to perform a first task; the first task is any one of the following: establishing an RRC connection, restoring an RRC connection, and re-establishing an RRC connection.

[0452] An embodiment of the present application provides a UE. Since the UE requests a base station to establish an RRC connection, restore an RRC connection, or re-establish an RRC connection through a MAC CE, and the MAC CE does not need to be ASN.1 encoded like an RRC message and may be processed through fewer protocol layers, it is possible to reduce the delay in the RRC connection establishment, RRC re-establishment, and RRC connection recovery processes.

[0453] The terminal provided in the embodiment of the present application can implement each process implemented by the terminal in the above method embodiment and achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0454] The present application also provides a base station, including a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is configured to execute a program or instruction to implement the steps of the above-described method embodiment. This base station embodiment corresponds to the above-described base station method embodiment, and each implementation process and implementation method of the above-described method embodiment are applicable to this base station embodiment and can achieve the same technical effects.

[0455] An embodiment of the present application further provides a base station, comprising a processor and a communication interface, the communication interface being configured to receive a MAC CE sent by a UE; wherein the MAC CE is configured to request execution of a first task; the first task being any one of the following: establishing an RRC connection, restoring an RRC connection, or reestablishing an RRC connection. This base station embodiment corresponds to the aforementioned base station method embodiment, and each implementation process and implementation method of the aforementioned method embodiment are applicable to this base station embodiment and can achieve the same technical effects.

[0456] Specifically, an embodiment of the present application also provides a base station. As shown in Figure 23, the base station 600 includes an antenna 61, a radio frequency device 62, a baseband device 63, a processor 64, and a memory 65. The antenna 61 is connected to the radio frequency device 62. In the uplink direction, the radio frequency device 62 receives information via the antenna 61 and sends the received information to the baseband device 63 for processing. In the downlink direction, the baseband device 63 processes the information to be transmitted and sends it to the radio frequency device 62. The radio frequency device 62 processes the received information and then sends it through the antenna 61.

[0457] The method executed by the base station in the above embodiment may be implemented in the baseband device 63 , which includes a baseband processor.

[0458] The radio frequency device 62 is used to receive a MAC CE sent by the UE; the MAC CE is used to request execution of a first task; the first task is any one of the following: establishing an RRC connection, restoring an RRC connection, or re-establishing an RRC connection.

[0459] An embodiment of the present application provides a base station. When a UE wants to request the base station to establish an RRC connection, restore an RRC connection, or re-establish an RRC connection, the request is made through a MAC CE. That is, the base station receives the MAC CE sent by the UE, and the MAC CE does not need to be ASN.1 encoded like an RRC message. Therefore, the base station does not need to perform ASN.1 decoding on the MAC CE, and may process it through fewer protocol layers. Therefore, the delay in the RRC connection establishment, RRC re-establishment, and RRC connection recovery processes can be reduced.

[0460] The base station provided in the embodiment of the present application can implement the various processes implemented by the base station in the above method embodiment and achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0461] The baseband device 63 may include, for example, at least one baseband board, on which multiple chips are arranged, as shown in Figure 23, one of the chips is, for example, a baseband processor, which is connected to the memory 65 through a bus interface to call the program in the memory 65 and execute the network device operations shown in the above method embodiment.

[0462] The base station may further include a network interface 66, such as a common public radio interface (CPRI).

[0463] Specifically, the base station 600 of the embodiment of the present application also includes: instructions or programs stored in the memory 65 and executable on the processor 64. The processor 64 calls the instructions or programs in the memory 65 to execute the methods executed by the modules shown in FIG. 23 and achieve the same technical effect. To avoid repetition, it will not be elaborated here.

[0464] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0465] The processor is the processor in the communication device described in the above embodiment. The readable storage medium includes a computer-readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.

[0466] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned method embodiment and achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0467] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0468] An embodiment of the present application further provides a computer program / program product, which is stored in a storage medium. The computer program / program product is executed by at least one processor to implement the various processes of the above-mentioned method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0469] An embodiment of the present application further provides a communication system, including: a UE and a terminal, wherein the UE can be used to execute the steps of the communication method described above, and the terminal can be used to execute the steps of the communication method described above.

[0470] It should be noted that, in this article, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the statement "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device comprising the element. In addition, it should be noted that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in the opposite order according to the functions involved. For example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0471] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus the necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for enabling a terminal (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in each embodiment of the present application.

[0472] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of this application, ordinary technicians in this field can also make many forms without departing from the purpose of this application and the scope of protection of the claims, all of which are within the protection of this application.

Claims

1. A communication method, the method comprising: The radio resource control RRC layer of the user equipment UE triggers the media access control MAC layer of the UE to perform a first task, and transmits first information to the MAC layer of the UE, where the first information is information related to the first task; The MAC layer of the UE generates a media access control control element MAC CE based on the first information; The UE sends the MAC CE to the base station; The MAC CE is used to request execution of the first task; The first task is any one of the following: establishing an RRC connection, restoring an RRC connection, or reestablishing an RRC connection.

2. The method according to claim 1, wherein: The MAC CE includes the first information.

3. The method according to claim 1, wherein: In the case where the first task is to establish an RRC connection, the first information includes at least one of the following: an establishment cause value, a UE identifier, a UE type, and a service type; or, In the case where the first task is to restore the RRC connection or re-establish the RRC connection, the first information includes at least one of the following: UE identifier, restoration reason value, re-establishment reason value, and message integrity authentication code.

4. The method according to claim 1, wherein: In a case where the first task is to establish an RRC connection, after the UE sends the MAC CE to the base station, the method further includes: The UE receives a first message from the base station, where the first message is used to indicate establishing an RRC connection, and the first message is a first MAC CE or a first RRC message; or, The UE receives a second message from the base station, where the second message is used to indicate rejection of establishing an RRC connection, and the second message is a second MAC CE or a second RRC message.

5. The method according to claim 1, wherein: In a case where the first task is to restore the RRC connection or to re-establish the RRC connection, after the UE sends the MAC CE to the base station, the method further includes: The UE receives a third message from the base station, where the third message is used to instruct to restore the RRC connection or to re-establish the RRC connection, and the third message is a third MAC CE or a third RRC message; or, The UE receives a fourth message from the base station, where the fourth message is used to indicate establishment of an RRC connection, and the fourth message is a fourth MAC CE or a fourth RRC message.

6. The method according to claim 4, wherein: The first MAC CE includes a first radio signaling bearer SRB configuration index, and a configuration parameter corresponding to the first SRB configuration index is a configuration parameter agreed upon by a protocol, or the configuration parameter corresponding to the first SRB configuration index is a configuration parameter broadcast by the base station through system information of a cell.

7. The method according to claim 4, wherein: The first message also includes at least one of the following: a demodulation reference signal DMRS scrambling code identifier of a physical downlink control channel PDCCH, a frequency domain position of a sounding reference signal SRS, a period and offset of scheduling request resources, and an initial period displacement of a physical uplink control channel PUCCH.

8. The method according to claim 4, wherein: In a case where the first message is a first MAC CE, after the UE receives the first message from the base station, the method further includes: The MAC layer of the UE notifies the RRC layer of the UE to establish an RRC connection based on the first MAC CE; The RRC layer of the UE establishes an RRC connection.

9. The method according to claim 6, wherein: In a case where the first message is the first MAC CE, after the UE receives the first message from the base station, the method further includes: The MAC layer of the UE notifies the RRC layer of the UE to establish an RRC connection based on the first MAC CE, and transmits the first SRB configuration index to the RRC layer of the UE; The RRC layer of the UE establishes an RRC connection based on the first SRB configuration index.

10. The method according to claim 4, wherein: In a case where the first message is the first RRC message, after the UE receives the first message from the base station, the method further includes: The RRC layer of the UE establishes an RRC connection based on the first RRC message.

11. The method according to any one of claims 8 to 10, wherein: The method further comprises: The UE generates a fifth RRC message; The UE sends the fifth RRC message to the base station, where the fifth RRC message is used to indicate that the RRC connection is successfully established, or to send an initial RRC message, and the fifth RRC message includes at least one of the following: a UE identifier, a public land mobile communication network PLMN identifier selected by the UE, a core network element identifier registered by the UE, and a non-access layer NAS protocol data unit PDU.

12. The method according to claim 5, wherein: In a case where the third message is the third MAC CE, after the UE receives the third message from the base station, the method further includes: The MAC layer of the UE notifies the RRC layer of the UE to restore the RRC connection or re-establish the RRC connection based on the third MAC CE; The RRC layer of the UE restores the RRC connection or re-establishes the RRC connection.

13. The method according to claim 5, wherein: In a case where the third message is the third RRC message, after the UE receives the third message from the base station, the method further includes: The RRC layer of the UE restores the RRC connection or re-establishes the RRC connection based on the third RRC message.

14. The method according to claim 12 or 13, wherein: The method further comprises: The UE generates a sixth RRC message; The UE sends the sixth RRC message to the base station, where the sixth RRC message is used to indicate that the RRC connection is restored or re-established.

15. The method according to claim 5, wherein: After the UE receives the fourth message from the base station, the method further includes: The UE establishes an RRC connection based on the fourth message, and generates a seventh RRC message; The UE sends the seventh RRC message to the base station, where the seventh RRC message is used to indicate that the RRC connection is successfully established, or to send an initial RRC message, and the seventh RRC message includes at least one of the following: a UE identifier, a PLMN identifier selected by the UE, a core network element identifier registered by the UE, and a NAS PDU.

16. The method according to claim 15, wherein: The UE establishing an RRC connection based on the fourth message, including: In a case where the fourth message is the fourth MAC CE, the MAC layer of the UE notifies the RRC layer of the UE to fall back to the RRC connection establishment process based on the fourth MAC CE, and transmits a second SRB configuration index to the RRC layer of the UE, the RRC layer of the UE releases the current RRC configuration of the UE, and establishes an RRC connection based on the second SRB configuration index, and the fourth MAC CE includes the second SRB configuration index; or, In a case where the fourth message is the fourth RRC message, the RRC layer of the UE releases the current RRC configuration of the UE based on the fourth RRC message, and establishes an RRC connection based on the fourth RRC message.

17. A communication method, the method comprising: The base station receives the MAC CE sent by the UE; The MAC CE is used to request execution of the first task; The first task is any one of the following: establishing an RRC connection, restoring an RRC connection, or reestablishing an RRC connection.

18. The method according to claim 17, wherein: The MAC CE includes first information, where the first information is information related to the first task.

19. The method according to claim 18, wherein: In the case where the first task is to establish an RRC connection, the first information includes at least one of the following: an establishment cause value, a UE identifier, a UE type, and a service type; or, In the case where the first task is to restore the RRC connection or re-establish the RRC connection, the first information includes at least one of the following: UE identifier, restoration reason value, re-establishment reason value, and message integrity authentication code.

20. The method according to claim 18, wherein: In the case where the first task is to establish an RRC connection, after the base station receives a MAC CE sent by the UE, the method further includes: The MAC layer of the base station parses the MAC CE to obtain the first information; The MAC layer of the base station transmits the first information to the RRC layer of the base station; The RRC layer of the base station performs access control based on the first information.

21. The method according to claim 20, wherein: After the RRC layer of the base station performs access control based on the first information, the method further includes: In a case where the RRC layer of the base station determines that access is allowed, the RRC layer of the base station notifies the MAC layer of the base station of a first access control result; The MAC layer of the base station generates a first MAC CE based on the first access control result, and sends the first MAC CE to the UE; The first MAC CE is used to indicate the establishment of an RRC connection.

22. The method according to claim 21, wherein: Before the MAC layer of the base station generates a first MAC CE based on the first access control result, the method further includes: The RRC layer of the base station transmits a first SRB configuration index to the MAC layer of the base station; The MAC layer of the base station generates a first MAC CE based on the first access control result, including: The MAC layer of the base station generates a first MAC CE based on the first access control result and the first SRB configuration index.

23. The method according to claim 20, wherein: After the RRC layer of the base station performs access control based on the first information, the method further includes: When the RRC layer of the base station determines that access is not allowed, the RRC layer of the base station notifies the MAC layer of the base station of a second access control result; The MAC layer of the base station generates a second MAC CE based on the second access control result, and sends the second MAC CE to the UE; The second MAC CE is used to indicate rejection of establishing an RRC connection.

24. The method according to claim 20, wherein: After the RRC layer of the base station performs access control based on the first information, the method further includes: When the RRC layer of the base station determines that access is allowed, the RRC layer of the base station generates a first RRC message and sends the first RRC message to the UE; The first RRC message is used to indicate the establishment of an RRC connection.

25. The method according to claim 20, wherein: After the RRC layer of the base station performs access control based on the first information, the method further includes: When the RRC layer of the base station determines that access is not allowed, the RRC layer of the base station generates a second RRC message and sends the second RRC message to the UE; The second RRC message is used to indicate rejection of establishing an RRC connection.

26. The method of claim 18, wherein: In the case where the first task is to establish an RRC connection, after the base station receives a MAC CE sent by the UE, the method further includes: The MAC layer of the base station parses the MAC CE to obtain the first information; The MAC layer of the base station performs access control based on the access control parameter and the first information; The access control parameter is transmitted from the RRC layer of the base station to the MAC layer of the base station, and the access control parameter is used by the MAC layer of the base station to start access control.

27. The method according to claim 26, wherein: After the MAC layer of the base station performs access control based on the access control parameter and the first information, the method further includes: When the MAC layer of the base station determines that access is allowed, the MAC layer of the base station generates a first MAC CE and sends the first MAC CE to the UE; The first MAC CE is used to indicate the establishment of an RRC connection.

28. The method according to claim 27, wherein: The MAC layer of the base station generates a first MAC CE, including: The MAC layer of the base station generates a first MAC CE based on the first SRB configuration index.

29. The method according to claim 26, wherein: After the MAC layer of the base station performs access control based on the access control parameter and the first information, the method further includes: When the MAC layer of the base station determines that access is not allowed, the MAC layer of the base station generates a second MAC CE and sends the second MAC CE to the UE; The second MAC CE is used to indicate rejection of establishing an RRC connection.

30. The method of claim 18, wherein: In the case where the first task is to restore the RRC connection or re-establish the RRC connection, after the base station receives the MAC CE sent by the UE, the method further includes: The MAC layer of the base station parses the MAC CE to obtain the first information; The MAC layer of the base station transmits the first information to the RRC layer of the base station; The RRC layer of the base station searches for the context of the UE based on the first information and performs authentication.

31. The method according to claim 30, wherein: After the RRC layer of the base station searches for the context of the UE based on the first information and performs authentication, the method further includes: When the RRC layer of the base station finds the context of the UE and the authentication is successful, the RRC layer of the base station notifies the MAC layer of the base station of a first result; The MAC layer of the base station generates a third MAC CE based on the first result, and sends the third MAC CE to the UE; The third MAC CE is used to indicate restoration of the RRC connection or re-establishment of the RRC connection.

32. The method of claim 30, wherein: After the RRC layer of the base station searches for the context of the UE based on the first information and performs authentication, the method further includes: When the RRC layer of the base station fails to find the context of the UE, or finds the context of the UE but fails to authenticate, the RRC layer of the base station notifies the MAC layer of the base station of the second result; The MAC layer of the base station generates a fourth MAC CE based on the second result, and sends the fourth MAC CE to the UE; The fourth MAC CE is used to indicate establishment of an RRC connection.

33. The method of claim 30, wherein: After the RRC layer of the base station searches for the context of the UE based on the first information and performs authentication, the method further includes: When the RRC layer of the base station finds the context of the UE and the authentication is successful, the RRC layer of the base station generates a third RRC message and sends the third RRC message to the UE; The third RRC message is used to indicate restoration of the RRC connection or re-establishment of the RRC connection.

34. The method of claim 30, wherein: After the RRC layer of the base station searches for the context of the UE based on the first information and performs authentication, the method further includes: When the RRC layer of the base station fails to find the context of the UE, or finds the context of the UE but fails to authenticate, the RRC layer of the base station generates a fourth RRC message and sends the fourth RRC message to the UE; The fourth RRC message is used to indicate establishment of an RRC connection.

35. A communication device, the device comprising: Processing module, generating module and sending module; The processing module is used to trigger the media access control MAC layer of the UE to perform a first task, and transmit first information to the MAC layer of the UE, where the first information is information related to the first task; The generating module is configured to generate a media access control element MAC CE based on the first information transmitted by the processing module; The sending module is used to send the MAC CE generated by the generating module to the base station; The MAC CE is used to request execution of the first task; The first task is any one of the following: establishing an RRC connection, restoring an RRC connection, or reestablishing an RRC connection.

36. The device according to claim 35, wherein The MAC CE includes the first information.

37. The device according to claim 35, wherein: In the case where the first task is to establish an RRC connection, the first information includes at least one of the following: an establishment cause value, a UE identifier, a UE type, and a service type; or, In the case where the first task is to restore the RRC connection or re-establish the RRC connection, the first information includes at least one of the following: UE identifier, restoration reason value, re-establishment reason value, and message integrity authentication code.

38. The apparatus of claim 35, wherein: In the case where the first task is to establish an RRC connection, after the UE sends the MAC CE to the base station, the apparatus further includes: a receiving module; The receiving module is used for: receiving a first message from the base station, where the first message is used to indicate establishing an RRC connection, and the first message is a first MAC CE or a first RRC message; or, A second message is received from the base station, where the second message is used to indicate rejection of establishing an RRC connection, and the second message is a second MAC CE or a second RRC message.

39. The device according to claim 35, wherein: The device further comprises: a receiving module; The receiving module is used for: After the sending module sends the MAC CE to the base station when the first task is to restore the RRC connection or re-establish the RRC connection, the sending module receives a third message from the base station, where the third message is used to indicate restoring the RRC connection or re-establishing the RRC connection, and the third message is a third MAC CE or a third RRC message; or, A fourth message is received from the base station, where the fourth message is used to indicate establishment of an RRC connection, and the fourth message is a fourth MAC CE or a fourth RRC message.

40. The apparatus of claim 38, wherein: The first MAC CE includes a first radio signaling bearer SRB configuration index, and a configuration parameter corresponding to the first SRB configuration index is a configuration parameter agreed upon by a protocol, or the configuration parameter corresponding to the first SRB configuration index is a configuration parameter broadcast by the base station through system information of a cell.

41. The apparatus of claim 38, wherein: The first message also includes at least one of the following: a demodulation reference signal DMRS scrambling code identifier of a physical downlink control channel PDCCH, a frequency domain position of a sounding reference signal SRS, a period and offset of scheduling request resources, and an initial period displacement of a physical uplink control channel PUCCH.

42. The apparatus of claim 38, wherein: The device also includes: a notification module and a creation module; The notification module is configured to, after the receiving module receives the first message from the base station when the first message is a first MAC CE, notify the RRC layer of the UE to establish an RRC connection based on the first MAC CE; The establishing module is used to establish an RRC connection.

43. The device according to claim 40, wherein: The device also includes: a notification module and a creation module; The notification module is configured to, after the receiving module receives the first message from the base station when the first message is the first MAC CE, notify the RRC layer of the UE to establish an RRC connection based on the first MAC CE, and transfer the first SRB configuration index to the RRC layer of the UE; The establishing module is used to establish an RRC connection based on the first SRB configuration index.

44. The apparatus of claim 38, wherein: The device also includes: an establishment module; The establishing module is configured to establish an RRC connection based on the first RRC message after the receiving module receives the first message from the base station when the first message is the first RRC message.

45. Apparatus according to any one of claims 42 to 44, wherein: The generating module is further used to generate a fifth RRC message; The sending module is also used to send the fifth RRC message generated by the generating module to the base station, the fifth RRC message is used to indicate that the RRC connection is successfully established, or to send an initial RRC message, and the fifth RRC message includes at least one of the following: a UE identifier, a public land mobile communication network PLMN identifier selected by the UE, a core network element identifier registered by the UE, and a non-access layer NAS protocol data unit PDU.

46. ​​The apparatus of claim 39, wherein: The device further comprises: a notification module; The notification module is configured to notify the RRC layer of the UE to restore the RRC connection or re-establish the RRC connection based on the third MAC CE after the receiving module receives the third message from the base station when the third message is the third MAC CE; The processing module is also used to restore the RRC connection or re-establish the RRC connection.

47. The apparatus of claim 39, wherein: The processing module is further configured to restore the RRC connection or re-establish the RRC connection based on the third RRC message after the receiving module receives the third message from the base station when the third message is the third RRC message.

48. The device according to claim 46 or 47, wherein The generating module is further used to generate a sixth RRC message; The sending module is further used to send the sixth RRC message generated by the generating module to the base station, where the sixth RRC message is used to indicate that the RRC connection is restored or re-established.

49. The apparatus of claim 39, wherein: The device also includes: an establishment module; The establishing module is configured to establish an RRC connection based on the fourth message after the receiving module receives the fourth message from the base station; The generating module is further used to generate a seventh RRC message; The sending module is also used to send the seventh RRC message generated by the generating module to the base station, the seventh RRC message is used to indicate that the RRC connection is successfully established, or to send an initial RRC message, and the seventh RRC message includes at least one of the following: a UE identifier, a PLMN identifier selected by the UE, a core network element identifier registered by the UE, and a NAS PDU.

50. The apparatus of claim 49, wherein: The establishment module is specifically used for: In a case where the fourth message is the fourth MAC CE, the RRC layer of the UE is notified to fall back to the RRC connection establishment process based on the fourth MAC CE, and a second SRB configuration index is delivered to the RRC layer of the UE, the RRC layer of the UE releases the current RRC configuration of the UE, and establishes an RRC connection based on the second SRB configuration index, and the fourth MAC CE includes the second SRB configuration index; or, In a case where the fourth message is the fourth RRC message, the current RRC configuration of the UE is released based on the fourth RRC message, and an RRC connection is established based on the fourth RRC message.

51. A communication device, the device comprising: Receiver module; The receiving module is used to receive the MAC CE sent by the UE; The MAC CE is used to request execution of the first task; The first task is any one of the following: establishing an RRC connection, restoring an RRC connection, or reestablishing an RRC connection.

52. The apparatus of claim 51, wherein: The MAC CE includes first information, where the first information is information related to the first task.

53. The apparatus of claim 52, wherein: In the case where the first task is to establish an RRC connection, the first information includes at least one of the following: an establishment cause value, a UE identifier, a UE type, and a service type; or, In the case where the first task is to restore the RRC connection or re-establish the RRC connection, the first information includes at least one of the following: UE identifier, restoration reason value, re-establishment reason value, and message integrity authentication code.

54. The apparatus of claim 52, wherein: The device also includes: a parsing module, a transmission module and an execution module; The parsing module is configured to parse the MAC CE to obtain the first information after the receiving module receives the MAC CE sent by the UE when the first task is to establish an RRC connection; The transmission module is used to transmit the first information obtained by parsing by the parsing module to the RRC layer of the base station; The execution module is used to perform access control based on the first information transmitted by the transmission module.

55. The apparatus of claim 54, wherein: The device also includes: a notification module, a generation module and a sending module; The notification module is configured to notify the MAC layer of the base station of a first access control result when the RRC layer of the base station determines that access is allowed after the execution module performs access control based on the first information; The generating module is configured to generate a first MAC CE based on the first access control result notified by the notifying module; The sending module is used to send the first MAC CE generated by the generating module to the UE; The first MAC CE is used to indicate the establishment of an RRC connection.

56. The apparatus of claim 55, wherein: The transmitting module is further configured to transmit a first SRB configuration index to a MAC layer of the base station before the generating module generates a first MAC CE based on the first access control result; The generating module is specifically configured to generate a first MAC CE based on the first access control result and the first SRB configuration index transmitted by the transmitting module.

57. The apparatus of claim 54, wherein: The device also includes: a notification module, a generation module and a sending module; The notification module is configured to notify the MAC layer of the base station of a second access control result when the RRC layer of the base station determines that access is not allowed after the execution module performs access control based on the first information; The generating module is configured to generate a second MAC CE based on the second access control result notified by the notifying module; The sending module is used to send the second MAC CE generated by the generating module to the UE; The second MAC CE is used to indicate rejection of establishing an RRC connection.

58. The apparatus of claim 54, wherein: The device also includes: a generating module and a sending module; The generating module is configured to generate a first RRC message after the executing module performs access control based on the first information, if the RRC layer of the base station determines that access is allowed; The sending module is used to send the first RRC message generated by the generating module to the UE; The first RRC message is used to indicate the establishment of an RRC connection.

59. The apparatus of claim 54, wherein: The device also includes: a generating module and a sending module; The generating module is configured to generate a second RRC message when the RRC layer of the base station determines that access is not allowed after the executing module performs access control based on the first information; The sending module is used to send the second RRC message generated by the generating module to the UE; The second RRC message is used to indicate rejection of establishing an RRC connection.

60. The apparatus of claim 52, wherein: The device also includes: a parsing module and an execution module; The parsing module is configured to parse the MAC CE to obtain the first information after the receiving module receives the MAC CE sent by the UE when the first task is to establish an RRC connection; The execution module is used to perform access control based on the access control parameter and the first information parsed by the parsing module; The access control parameter is transmitted from the RRC layer of the base station to the MAC layer of the base station, and the access control parameter is used by the MAC layer of the base station to start access control.

61. The apparatus of claim 60, wherein: The device also includes: a generating module and a sending module; The generating module is configured to generate a first MAC CE after the executing module performs access control based on the access control parameter and the first information, if the MAC layer of the base station determines that access is allowed; The sending module is used to send the first MAC CE generated by the generating module to the UE; The first MAC CE is used to indicate the establishment of an RRC connection.

62. The device according to claim 61, wherein The generating module is specifically configured to generate a first MAC CE based on a first SRB configuration index.

63. The apparatus of claim 60, wherein: The device also includes: a generating module and a sending module; The generating module is configured to generate a second MAC CE after the executing module performs access control based on the access control parameter and the first information, if the MAC layer of the base station determines that access is not allowed; The sending module is used to send the second MAC CE generated by the generating module to the UE; The second MAC CE is used to indicate rejection of establishing an RRC connection.

64. The apparatus of claim 52, wherein: The device also includes: a parsing module, a transfer module and a search module; The parsing module is configured to parse the MAC CE to obtain the first information after the receiving module receives the MAC CE sent by the UE when the first task is to restore the RRC connection or re-establish the RRC connection; The transmission module is used to transmit the first information obtained by parsing by the parsing module to the RRC layer of the base station; The search module is used to search for the context of the UE and perform authentication based on the first information transmitted by the transmission module.

65. The apparatus of claim 64, wherein: The device also includes: a notification module, a generation module and a sending module; The notification module is configured to notify the MAC layer of the base station of a first result when the RRC layer of the base station finds the context of the UE and the authentication is successful after the search module searches for the context of the UE based on the first information and performs authentication; The generating module is configured to generate a third MAC CE based on the first result notified by the notifying module; The sending module is used to send the third MAC CE generated by the generating module to the UE; The third MAC CE is used to indicate restoration of the RRC connection or re-establishment of the RRC connection.

66. The apparatus of claim 64, wherein: The device also includes: a notification module, a generation module and a sending module; The notification module is configured to notify the MAC layer of the base station of a second result when the RRC layer of the base station fails to find the context of the UE or finds the context of the UE but the authentication fails after the search module searches for the context of the UE based on the first information and performs authentication; The generating module is configured to generate a fourth MAC CE based on the second result notified by the notifying module; The sending module is used to send the fourth MAC CE generated by the generating module to the UE; The fourth MAC CE is used to indicate establishment of an RRC connection.

67. The apparatus of claim 64, wherein: The device also includes: a generating module and a sending module; The generating module is configured to generate a third RRC message if the RRC layer of the base station finds the context of the UE and the authentication is successful after the searching module searches for the context of the UE based on the first information and performs authentication; The sending module is used to send the third RRC message generated by the generating module to the UE; The third RRC message is used to indicate restoration of the RRC connection or re-establishment of the RRC connection.

68. The apparatus of claim 64, wherein: The device also includes: a generating module and a sending module; The generating module is configured to generate a fourth RRC message if the RRC layer of the base station fails to find the context of the UE or finds the context of the UE but fails to authenticate after the searching module searches for the context of the UE based on the first information and performs authentication; The sending module is used to send the fourth RRC message generated by the generating module to the UE; The fourth RRC message is used to indicate establishment of an RRC connection.

69. A user equipment, comprising a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the communication method as described in any one of claims 1 to 16 are implemented.

70. A base station, comprising a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the communication method according to any one of claims 17 to 34 are implemented.

71. A readable storage medium storing a program or instruction, wherein the program or instruction, when executed by a processor, implements the communication method as described in any one of claims 1 to 16, or implements the steps of the communication method as described in any one of claims 17 to 34.

Citation Information

Patent Citations

  • Data transmission method, terminal device and network device

    CN112312588A

  • Medium access control (MAC) format for 2-part random access procedure

    WO2020092337A1

  • Method and apparatus for handling of small data transmission

    WO2022236564A1