Random access method and terminal equipment
By selecting different random access types according to the timeliness requirements of the network slicing service, the access problem caused by insufficient resources when multiple devices are connected at the same time is solved, and the access efficiency and user experience of the network slicing service are improved. .
Patent Information
- Application Number
- CN202411019663.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2020-04-14
- Publication Date
- 2024-10-18
AI Technical Summary
In the existing technology, when a terminal device initiates a network slicing service, it usually selects a random access type based on the measured reference signal strength emitted by the cell. As a result, when multiple terminal devices are accessed at the same time, the normal operation of the network slicing service is easily affected by insufficient resources. Access, especially services with high timeliness requirements, are affected.
By determining the corresponding random access type based on the network slicing service to be initiated, the 2-step random access type is preferred for services with high timeliness requirements, and the 4-step random access type is selected for services with low timeliness requirements to ensure The limited 2-step random access time-frequency resources are reserved for other terminal devices with fast access requirements.
It effectively avoids access congestion and improves the random access rate and overall network experience of network slicing services.
Smart Images

Figure CN118804393A_ABST
Abstract
Description
[0001] This application is a divisional application. The application number of the original application is 202080099807.9, and the original application date is April 14, 2020. The entire contents of the original application are incorporated into this application by reference. Technical Field
[0002] The present application relates to the field of communication technology, and in particular to a random access method and terminal equipment. Background Art
[0003] With the development of mobile communication technology, various new services and application scenarios are constantly emerging. These services have very different requirements for network functions, connection performance and security. If a single network is used to carry these services, it will be difficult to meet the requirements of high bandwidth, low latency and high reliability at the same time. However, building a new network for each service will bring huge costs.
[0004] The development of network function virtualization (NFV) technology enables operators to build different virtual networks for different business needs. Network slicing is an end-to-end virtual network formed by logically defining and dividing the network based on a common physical infrastructure. Each virtual network has different functional characteristics, thus dynamically meeting a variety of needs and business models.
[0005] In the prior art, when initiating a network slicing service, a terminal device usually selects the type of random access based on the signal strength of the reference signal emitted by the measurement cell. In this way, when multiple terminal devices measure a comparable signal strength, the multiple terminal devices will simultaneously select a certain random access type to initiate random access, which may affect the normal access of the terminal device due to insufficient random access resources, resulting in some network slicing services with high timeliness requirements being affected. Summary of the invention
[0006] A random access method and a terminal device are provided in an embodiment of the present application. The random access type corresponding to the network slice service to be initiated is determined, so that network slice services of different types are randomly accessed through different random access types. For example, network slice services with higher timeliness requirements can be randomly accessed with random access types with less interactive signaling; network slice services with lower timeliness requirements are randomly accessed with random access types with less interactive signaling, leaving limited 2-step random access time and frequency resources for other terminal devices with fast access requirements, thereby improving the network experience.
[0007] The first aspect of the embodiment of the present application provides a random access method, including: when a terminal device is to initiate a first network slice service, the terminal device determines a first random access time-frequency resource corresponding to the first network slice service, wherein the first random access time-frequency resource corresponding to the first network slice service may be predefined; then, the terminal device determines the random access type corresponding to the first network slice service, that is, the terminal device may determine which random access type to initiate random access to the network slice service based on the type of the first network slice service; the terminal device initiates random access based on the first random access time-frequency resource and the random access type corresponding to the first network slice service. The first random access time-frequency resource may include only random access time-frequency resources under one random access type, for example, when the random access type corresponding to the first network slice service is 2-step random access, the first random access time-frequency only includes 2-step random access time-frequency resources. The first random access time-frequency resource may also include random access time-frequency resources under multiple random access types, for example, when the random access type corresponding to the first network slice service is 2-step random access, the first random access time-frequency may include 2-step random access time-frequency resources and 4-step random access time-frequency resources.
[0008] In an embodiment of the present application, a terminal device determines a corresponding random access type according to a network slice service to be initiated. For example, when the network slice service to be initiated is a network slice service with a high timeliness requirement, the terminal device gives priority to a 2-step random access type; when the network slice service to be initiated does not have a high timeliness requirement, the terminal device selects a 4-step random access type, so that network slice services of different types are randomly accessed through different random access types, that is, network slice services with a high timeliness requirement can be randomly accessed with a random access type with less interactive signaling to increase the random access rate of these network slice services; network slice services with low timeliness requirements are randomly accessed with a random access type with less interactive signaling to save random access resources corresponding to the random access type with less interactive signaling, and the limited 2-step random access time and frequency resources are reserved for other terminal devices with fast access requirements, thereby improving the network experience.
[0009] In a possible implementation, the terminal device determines the first random access time-frequency resource corresponding to the first network slice service, specifically including: the terminal device determines the first random access time-frequency resource corresponding to the first network slice service according to the identifier of the first network slice service and a first mapping relationship, and the first mapping relationship is a mapping relationship between the network slice service identifier and the random access time-frequency resource. Among them, the terminal device can obtain the first mapping relationship in a variety of ways. In the first mapping relationship, a network slice service identifier can correspond to one or more random access time-frequency resource identifiers. That is, one or more random access time-frequency resources corresponding to the first network slice service can be determined according to the identifier of the first network slice service.
[0010] In a possible implementation, before the terminal device determines the first random access time-frequency resource corresponding to the first network slice service, the method further includes: the terminal device receives a first message, and the first message includes the aforementioned first mapping relationship. Specifically, the first message received by the terminal device may be a system message broadcast by the access network device, that is, the terminal device obtains the first mapping relationship by receiving the system message broadcast by the access network device.
[0011] In a possible implementation, the first message includes a physical random access channel mask index, and the physical random access channel mask index is used to indicate the first mapping relationship. Specifically, the first message received by the terminal device can be a radio resource control (RRC) message, a physical downlink control channel (PDCCH) message or a system message sent by an access network device.
[0012] In a possible implementation, a terminal device determines a random access type corresponding to the first network slice service, including: the terminal device obtains a signal quality of a reference signal; when the signal quality is greater than or equal to a preset threshold, and the first network slice service corresponds to a 2-step random access in a second mapping relationship, determines that the random access type corresponding to the first network slice service is a 2-step random access; when the signal quality is less than the preset threshold, or the first network slice service corresponds to a 4-step random access in the second mapping relationship, determines that the random access type corresponding to the first network slice service is a 4-step random access; wherein the second mapping relationship is a mapping relationship between the network slice service and the random access type, the second mapping relationship can be carried in a second message, and the terminal device obtains the second mapping relationship by receiving the second message; the second message is one of a system message, an RRC message or a PDCCH message; that is, the terminal device can obtain the second mapping relationship between the network slice service and the random access type by receiving a system message, an RRC message or a PDCCH message sent by the access network device. In other words, only when the signal quality measured by the terminal device is greater than a preset threshold and it is determined based on the second mapping relationship that the first network slice service corresponds to the two-step random access, the terminal device determines to initiate the first network slice service through the two-step random access.
[0013] Among them, the measured signal quality refers to the signal quality obtained by the terminal device by measuring the reference signal sent by the access network device, and the signal quality can be represented by the reference signal receiving power (reference signal receiving power, RSRP) or the reference signal receiving quality (reference signal receiving quality, RSRQ). Exemplarily, the reference signal sent by the access network device may include a demodulation reference signal (demodulation reference signal, DMRS), a phase tracking reference signal (phase-tracking reference signal, PTRS) or a channel state information reference signal (channel state information-reference signal, CSI-RS), and the terminal device determines the signal quality by measuring the RSRP or RSRQ of the reference signal. The preset threshold value can be specifically determined by the access network device and notified to the terminal device, or it can be defined in the standard, or it can be determined by the terminal device itself, and no specific limitation is made here.
[0014] In an embodiment of the present application, the terminal device determines its corresponding random access type based on the measured signal quality and the network slice service to be initiated. When the signal quality is greater than or equal to the preset threshold and the first network slice service corresponds to the 2-step random access in the second mapping relationship, the random access type of the network slice service is determined to be 2-step random access; otherwise, the random access type of the network slice service is determined to be 4-step random access. In this way, the random access type of the network slice service is further determined based on the signal quality of the terminal device and the type of the network slice service, which can effectively avoid the occurrence of access congestion, that is, the terminal device with better signal quality can give priority to initiating the network slice service with higher timeliness requirements with the random access type with less interactive signaling, leaving the limited 2-step random access time and frequency resources for other terminal devices with fast access requirements, thereby improving the network experience.
[0015] In a possible implementation, the method further includes: if the terminal device has multiple network slice services to be initiated, determining to initiate the first network slice service among the multiple network slice services to be initiated according to the priority of the network slice service, wherein the first network slice service is the network slice service with the highest priority among the multiple network slice services to be initiated. For example, the RRC layer of the terminal device can sort multiple network slice services from high to low based on the priority of the network slice service; that is, the higher the priority of the network slice service, the higher the order of initiation of the network slice service, and the network slice service with the highest priority is the network slice service initiated first. Among them, the access network device can carry the priority information of the network slice service in the system message, PDCCH message or RRC message, and the terminal device can obtain the priority of the network slice service by reading the system message, PDCCH message or RRC message.
[0016] In a possible implementation, the method further includes: if the terminal device has multiple network slice services to be initiated, then determining the first network slice service corresponding to the third random access time-frequency resource as the initiated network slice service, wherein the third random access time-frequency resource is a random access time-frequency resource located after the first time point and closest to the first time point, and the first time point is the time point when the media access control (media access control, MAC) entity of the terminal device obtains the instruction to initiate random access. Simply put, after receiving the instruction to initiate random access, the MAC layer of the terminal device determines the random time-frequency resource that can be used to initiate random access first, and then determines the network slice service corresponding to the random time-frequency resource, thereby determining the network slice service initiated first.
[0017] In a possible implementation, the method further includes: if the terminal device has multiple network slicing services to be initiated, then according to the number of random access time-frequency resources corresponding to the network slicing service within a preset time period, determining to initiate the first network slicing service, wherein the first network slicing service is the network slicing service with the largest number of random access time-frequency resources corresponding to the preset time period among the multiple network slicing services to be initiated. Among them, the size of the preset time period can be set according to actual conditions, for example, it can be 10ms, 20ms or 50ms, etc., and is not specifically limited here. For example, assume that the network slicing services to be initiated include network slicing service 1 and network slicing service 2; in a 10ms wireless frame, network slicing service 1 has n random access time-frequency resources, and network slicing service 2 has m random access time-frequency resources. If n>m, network slicing service 1 is selected as the first network slicing service to be initiated.
[0018] In a possible implementation, the method further includes: the terminal device receives a third message, the third message includes first configuration information and second configuration information, the first configuration information is used to indicate the random access configuration corresponding to the network slice service, and the second configuration information is used to indicate the random access configuration corresponding to the default slice service. Among them, the terminal device can obtain the random access configuration corresponding to the network slice service and the random access configuration corresponding to the default slice service by receiving a system message, an RRC message or a PDCCH message sent by the access network device. Specifically, when the terminal device carries an identifier of a network slice when initiating a service, it can be considered that the terminal device initiates a network slice service, and the network slice corresponding to the identifier of the network slice executes the network slice service initiated by the terminal device. When the terminal device does not carry an identifier of a network slice when initiating a service, it can be considered that the terminal device initiates a default slice service, and the default slice service initiated by the terminal device can be executed by the default slice pre-assigned to the terminal device by the core network device.
[0019] In a possible implementation, the method further includes: if there are both a network slice service to be initiated and a default slice service, counting the number of random accesses of the network slice service; if the number of random accesses of the network slice service reaches a preset number, stopping the random access of the network slice service and initiating the random access of the default slice service. In this way, by counting the number of random accesses corresponding to the network slice service, the possibility of the default slice service initiating random access can be guaranteed under the premise of giving priority to initiating random access of the network slice service.
[0020] In a possible implementation, the method further includes: if the first random access time-frequency resource includes random access time-frequency resources under different random access types, the terminal device determines a second random access time-frequency resource in the first random access time-frequency resource according to the random access type, and the second random access time-frequency resource is a random access time-frequency resource corresponding to the random access type; the terminal device initiates random access based on the first random access time-frequency resource and the random access type corresponding to the first network slice service, including: the terminal device initiates random access based on the second random access time-frequency resource and the random access type corresponding to the first network slice service. That is, in the case where the first random access time-frequency resource includes random access time-frequency resources under multiple random access types, the terminal device can determine the second random access time-frequency resource in the first random access time-frequency resource according to the random access type. Specifically, the first random access time-frequency resource determined by the terminal device includes multiple random access time-frequency resources, and the multiple random access time-frequency resources include time-frequency resources corresponding to 2-step random access and time-frequency resources corresponding to 4-step random access. Since the terminal device has determined the random access type, the terminal device can determine the random access time-frequency resource corresponding to the random access type (i.e., the second random access time-frequency resource) in the first random access time-frequency resource as a candidate random access time-frequency resource for initiating random access. For example, the first random access time-frequency resource includes random access time-frequency resource 1, random access time-frequency resource 2, random access time-frequency resource 3, and random access time-frequency resource 4, wherein random access time-frequency resource 1 and random access time-frequency resource 2 are time-frequency resources corresponding to 2-step random access, and random access time-frequency resource 3 and random access time-frequency resource 4 are time-frequency resources corresponding to 4-step random access. In the case where the terminal device determines that the random access type is 2-step random access, the terminal device can further determine random access time-frequency resource 1 and random access time-frequency resource 2 as candidate time-frequency resources available when initiating random access.
[0021] In this embodiment, when the second random access time-frequency resource further determined by the terminal device includes only one random access time-frequency resource, the terminal device can use the second random access time-frequency resource to initiate random access; when the second random access time-frequency resource includes multiple random access time-frequency resources, the terminal device can randomly select a random access time-frequency resource from the second random access time-frequency resources, and then initiate random access based on the selected random access time-frequency resource, thereby establishing a connection with the access network device.
[0022] A second aspect of an embodiment of the present application provides a terminal device, including: a processing unit and a transceiver unit; the processing unit is used to determine a first random access time-frequency resource corresponding to a first network slice service, and the first network slice service is a network slice service to be initiated; the processing unit is also used to determine the random access type corresponding to the first network slice service; the transceiver unit is used to initiate random access based on the first random access time-frequency resource and the random access type.
[0023] In a possible implementation, the processing unit is also used to determine the first random access time-frequency resource corresponding to the first network slice service based on the identifier of the first network slice service and a first mapping relationship, where the first mapping relationship is a mapping relationship between the network slice service and the random access time-frequency resource.
[0024] In a possible implementation manner, the transceiver unit is further configured to receive a first message, where the first message includes the first mapping relationship.
[0025] In a possible implementation manner, the first message includes a physical random access channel mask index, and the physical random access channel mask index is used to indicate the first mapping relationship.
[0026] In a possible implementation manner, the processing unit is further configured to:
[0027] obtaining a signal quality of a reference signal;
[0028] When the signal quality is greater than or equal to a preset threshold and the first network slice service corresponds to a 2-step random access in the second mapping relationship, determining that the random access type corresponding to the first network slice service is a 2-step random access;
[0029] When the signal quality is less than the preset threshold, or the first network slice service corresponds to 4-step random access in the second mapping relationship, determining that the random access type corresponding to the first network slice service is 4-step random access;
[0030] Among them, the second mapping relationship is the mapping relationship between network slicing service and random access type.
[0031] In a possible implementation manner, the transceiver unit is further configured to receive a second message, where the second message includes the second mapping relationship.
[0032] In a possible implementation manner, the processing unit is further configured to:
[0033] If the terminal device has multiple network slice services to be initiated, the initiation of the first network slice service is determined among the multiple network slice services to be initiated according to the priority of the network slice services, wherein the first network slice service is the network slice service with the highest priority among the multiple network slice services to be initiated.
[0034] In a possible implementation manner, the processing unit is further configured to:
[0035] If the terminal device has multiple network slice services to be initiated, the first network slice service corresponding to the third random access time-frequency resource is determined as the initiated network slice service, wherein the third random access time-frequency resource is a random access time-frequency resource located after the first time point and closest to the first time point, and the first time point is the time point when the MAC entity of the terminal device obtains the instruction to initiate random access.
[0036] In a possible implementation manner, the processing unit is further configured to:
[0037] If the terminal device has multiple network slice services to be initiated, the initiation of the first network slice service is determined according to the number of random access time-frequency resources corresponding to the network slice service within the preset time period, wherein the first network slice service is the network slice service with the largest number of random access time-frequency resources corresponding to the preset time period among the multiple network slice services to be initiated.
[0038] In a possible implementation manner, the transceiver unit is further configured to:
[0039] Receive a third message, the third message including first configuration information and second configuration information, the first configuration information is used to indicate the random access configuration corresponding to the network slice service, and the second configuration information is used to indicate the random access configuration corresponding to the default slice service.
[0040] In a possible implementation, the processing unit is further used to count the number of random accesses of the network slice service if there are both a network slice service to be initiated and a default slice service;
[0041] The transceiver unit is also used to stop the random access of the network slicing service and initiate random access of the default slicing service if the number of random accesses of the network slicing service reaches a preset number.
[0042] In a possible implementation, the processing unit is also used to: if the first random access time-frequency resources include random access time-frequency resources under different random access types, then determine the second random access time-frequency resources in the first random access time-frequency resources according to the random access type, and the second random access time-frequency resources are the random access time-frequency resources corresponding to the random access type; the transceiver unit is also used to: initiate random access based on the second random access time-frequency resources and the random access type corresponding to the first network slice service.
[0043] The third aspect of the embodiment of the present application provides a device. The device provided in the embodiment of the present application has the function of implementing the behavior of the terminal device in the above method aspect, and includes a means for executing the steps or functions corresponding to the above method aspects. The steps or functions can be implemented by software, or hardware (such as circuits), or by a combination of hardware and software.
[0044] In one possible design, the apparatus includes one or more processors and a transceiver. The one or more processors are configured to support the apparatus to perform the corresponding functions of the terminal device in the above method. The transceiver is used to support the apparatus to communicate with other devices to implement receiving and / or sending functions.
[0045] Optionally, the device may further include one or more memories, which are coupled to the processor and store program instructions and / or data necessary for the device. The one or more memories may be integrated with the processor or may be separated from the processor. This application is not limited.
[0046] The device may be a smart terminal or a wearable device, etc., and the transceiver may be a transceiver or a transceiver circuit. Optionally, the transceiver may also be an input / output circuit or an interface.
[0047] The device may also be a communication chip. The transceiver may be an input / output circuit or an interface of the communication chip.
[0048] In another possible design, the above-mentioned device includes a transceiver, a processor and a memory. The processor is used to control the transceiver or the input / output circuit to send and receive signals, the memory is used to store a computer program, and the processor is used to run the computer program in the memory, so that the device executes the method performed by the terminal device in the first aspect or any possible implementation of the first aspect.
[0049] In one possible design, the apparatus includes one or more processors and a transceiver. The one or more processors are configured to support the apparatus to perform the corresponding functions of the network device in the above method. The transceiver is used to support the apparatus to communicate with other devices to implement receiving and / or sending functions.
[0050] Optionally, the device may further include one or more memories, which are coupled to the processor and store program instructions and / or data necessary for the network device. The one or more memories may be integrated with the processor or may be separated from the processor. This application is not limited.
[0051] A fourth aspect of an embodiment of the present application provides a computer-readable storage medium for storing a computer program, wherein the computer program includes instructions for executing the method in any possible implementation of the first aspect.
[0052] A fifth aspect of an embodiment of the present application provides a computer program product, which includes: a computer program code, which, when executed on a computer, enables the computer to execute a method in any possible implementation of the first aspect.
[0053] It can be seen from the above technical solutions that this application has the following advantages:
[0054] In an embodiment of the present application, a terminal device determines a corresponding random access type according to a network slice service to be initiated. For example, when the network slice service to be initiated is a network slice service with a high timeliness requirement, the terminal device gives priority to a 2-step random access type; when the network slice service to be initiated does not have a high timeliness requirement, the terminal device selects a 4-step random access type, so that network slice services of different types are randomly accessed through different random access types, that is, network slice services with a high timeliness requirement can be randomly accessed with a random access type with less interactive signaling to increase the random access rate of these network slice services; network slice services with low timeliness requirements are randomly accessed with a random access type with less interactive signaling to save random access resources corresponding to the random access type with less interactive signaling, and the limited 2-step random access time and frequency resources are reserved for other terminal devices with fast access requirements, thereby improving the network experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0055] Figure 1 A schematic diagram of an application scenario provided in an embodiment of the present application;
[0056] Figure 2 A schematic diagram of a random access method 200 provided in an embodiment of the present application;
[0057] Figure 3Another flowchart of a random access method 200 provided in an embodiment of the present application;
[0058] Figure 4 A schematic diagram of a random access method 400 provided in an embodiment of the present application;
[0059] Figure 5 A schematic diagram of a random access method 500 provided in an embodiment of the present application;
[0060] Figure 6 A schematic diagram of a random access method 600 provided in an embodiment of the present application;
[0061] Figure 7 A schematic diagram of a random access method 700 provided in an embodiment of the present application;
[0062] Figure 8 A schematic diagram of a random access method 800 provided in an embodiment of the present application;
[0063] Fig. 9 A schematic diagram of a trigger counter action provided in an embodiment of the present application;
[0064] Fig.10 A schematic diagram of the structure of a terminal device 1000 provided in an embodiment of the present application;
[0065] Fig.11 A schematic diagram of the structure of a terminal device 1100 provided in an embodiment of the present application. DETAILED DESCRIPTION
[0066] In order to make the purpose, technical solutions and advantages of the present application more clear, the embodiments of the present application are described below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. It is known to those skilled in the art that with the emergence of new application scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
[0067] The terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments described here can be implemented in an order other than that illustrated or described here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or modules is not necessarily limited to those steps or modules clearly listed, but may include other steps or modules that are not clearly listed or inherent to these processes, methods, products or devices. The naming or numbering of steps in this application does not mean that the steps in the method flow must be executed in the time / logical sequence indicated by the naming or numbering. The process steps that have been named or numbered can change the execution order according to the technical purpose to be achieved, as long as the same or similar technical effects can be achieved. The division of units in this application is a logical division. There may be other division methods when it is implemented in actual applications. For example, multiple units can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, and the indirect coupling or communication connection between units can be electrical or other similar forms, which are not limited in this application. In addition, the units or sub-units described as separate components may or may not be physically separated, may or may not be physical units, or may be distributed in multiple circuit units, and some or all of the units may be selected according to actual needs to achieve the purpose of the present application.
[0068] When a terminal device initiates a service, the terminal device usually needs to select the type of random access, and then initiate random access based on the selected random access type. Generally, the terminal device selects the type of random access by measuring the signal strength of the reference signal sent by the radio access network (RAN) device. For example, when the signal strength is strong, the terminal device selects a 2-step random access with less interactive signaling; when the signal strength is weak, the terminal device selects a 4-step random access with more interactive signaling. In this way, when multiple terminal devices with strong signal strength initiate random access at the same time, the multiple terminal devices will select the same random access type to initiate random access, for example, multiple terminal devices all select a 2-step random access type to initiate random access at the same time. Since the random access resources under the same random access type are limited, when more terminal devices simultaneously select the same random access type to initiate random access, it is easy to affect the normal access of the terminal device due to insufficient random access resources, thereby affecting the rapid initiation of services with high timeliness requirements.
[0069] In wireless networks, different types of services may have different requirements for the quality of service (QoS) of the network. For example, the QoS requirement of service A is low latency, the QoS requirement of service B is high reliability, and the QoS requirement of service C is high bandwidth. If a single network is used to carry these services, it will be difficult to simultaneously meet the requirements of low latency, high reliability, and high bandwidth. However, building a new network for each service will incur huge costs.
[0070] Thanks to the development of network function virtualization (NFV) technology, operators can build different virtual networks for different types of services to meet the needs of different services. Among them, network slicing uses NFV technology to create multiple virtual networks on a shared physical network resource. Multiple virtual networks are used to carry different types of services, and the virtual networks are isolated from each other to achieve service isolation. By configuring multiple virtual networks differently, multiple virtual networks can meet the needs of different types of services. For example, network slice A can be configured to meet the needs of low-latency services, that is, network slice A can be used to carry service A with low latency requirements to meet the QoS requirements of service A. Among them, service A can also be called network slice service A.
[0071] In view of this, an embodiment of the present application provides a random access method, whereby a terminal device determines a corresponding random access type according to a network slice service to be initiated. For example, when the network slice service to be initiated is a network slice service with a high timeliness requirement, the terminal device gives priority to a 2-step random access type; when the network slice service to be initiated does not have a high timeliness requirement, the terminal device gives priority to a 4-step random access type, so that network slice services of different types are randomly accessed through different random access types, that is, network slice services with a high timeliness requirement can be randomly accessed with a random access type with less interactive signaling.
[0072] To facilitate understanding, the professional terms involved in the embodiments of the present application are explained below.
[0073] Random access may include a process from the terminal device sending a random access preamble to the establishment of a basic signaling connection between the terminal device and the network. Generally, random access may include 4-step random access and 2-step random access.
[0074] Among them, the 4-step random access includes the following 4 processes:
[0075] 1. The terminal device sends a random access preamble, which is also commonly referred to as the process of the terminal device sending MSG1.
[0076] 2. The access network device sends a random access response message, which is also generally referred to as the process in which the access network device sends MSG2.
[0077] 3. The UE sends an RRC connection request message, which is also commonly referred to as the process in which the terminal device sends MSG3.
[0078] 4. The access network device sends an RRC connection establishment message, which is also commonly referred to as the process in which the access network device sends MSG4.
[0079] Among them, the two-step random access includes the following two processes:
[0080] 1. The terminal device sends a random access preamble and an RRC connection request message, which is also commonly referred to as the process in which the terminal device sends an MSGA.
[0081] 2. The access network device sends an RRC connection establishment message, which is also commonly referred to as the process in which the access network device sends an MSGB.
[0082] Random access resources refer to the resources that the terminal device needs to use in the process of initiating random access. Generally, random access resources include time domain resources, frequency domain resources and code resources. In the non-competitive random access scenario, the access network device can allocate a dedicated preamble to the terminal device, and the terminal device initiates non-competitive random access based on the dedicated preamble. Specifically, the access network device can send a PDCCH message or an RRC message to the terminal device, and the PDCCH message or the RRC message can indicate the preamble index (Preamble Index) used for random access; the PDCCH message or the RRC message can also indicate the physical layer random access channel mask index (physical random access channel mask index, PRACH Mask Index), that is, the time-frequency resource. Among them, the preamble index is used to indicate the preamble used by the terminal device to perform random access; the PRACH MaskIndex is used to indicate the terminal device can send the preamble on the PRACH corresponding to the subframe in the system frame. In the competitive random access scenario, the access network device can broadcast the available preamble resource pool information to the terminal device through a cell broadcast message, and the terminal device can select a preamble in the preamble resource pool and send it to the access network device. At this time, multiple terminal devices may simultaneously select the same preamble code on the same time-frequency resources to send to the access network device, that is, multiple terminal devices may have competition conflicts.
[0083] Among them, the technical solution of the embodiment of the present application can be applied to the scenario where the terminal device initiates competitive random access, and can also be applied to the scenario where the terminal device initiates non-competitive random access, and is not specifically limited here.
[0084] Single network slice selection assistance information (S-NSSAI) refers to the identifier of a network slice, which can represent a network slice in the network. Usually, each network slice in the network has a unique S-NSSAI.
[0085] Radio access network slicing area identity (RSA ID) refers to the network slice identifier of a RAN area, which can be used to represent one or more network slices. Generally, an RSA ID can correspond to one or more S-NSSAIs, and the correspondence between RSA ID and S-NSSAI is valid within the scope of a tracking area (TA). Among them, TA is a geographical area composed of a continuous coverage of cells, which is used for paging and location update of terminal devices. Since an RSA ID can correspond to multiple S-NSSAIs, and the number of bits of RSA ID is less than S-NSSAI. Therefore, compared with broadcasting multiple S-NSSAIs, base stations directly broadcasting RSA IDs can save resource overhead.
[0086] The technical solutions of the embodiments of the present application can be applied to various 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) and other systems. The term "system" can be interchangeably used with "network". For example, the 3GPP long term evolution (LTE) system and various versions based on LTE evolution, as well as the fifth generation (5Generation, 5G) communication system, new radio (NR) and other communication systems. In addition, the communication system can also be applied to future-oriented communication technologies, all of which are applicable to the technical solutions provided in the embodiments of the present application. The system architecture and business scenarios described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. A person of ordinary skill in the art can appreciate that with the evolution of network architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
[0087] For ease of understanding, the following will combine Figure 1 , briefly introduce the application scenarios of the embodiments of the present application. Figure 1 As shown, the application scenario includes a terminal device 101 and an access network device 102. The terminal device 101 is wirelessly connected to the access network device 102, and the access network device 102 is used to connect the terminal device 101 to a wireless network.
[0088] The terminal device 101 is also called user equipment (UE), mobile station (MS), mobile terminal (MT), etc., which is a device that provides voice and / or data connectivity to users, or a chip set in the device, for example, a handheld device with wireless connection function, a vehicle-mounted device, etc. At present, some examples of terminal devices are: mobile phones, tablet computers, laptops, PDAs, mobile Internet devices (MID), wearable devices, virtual reality (VR) devices, augmented reality (AR) devices, wireless terminals in industrial control, wireless terminals in self driving, wireless terminals in remote medical surgery, wireless terminals in smart grids, wireless terminals in transportation safety, wireless terminals in smart cities, wireless terminals in smart homes, etc.
[0089] The access network device 102 may be any device with a wireless transceiver function, or a chip set in a device with a specific wireless transceiver function. The access network device 102 includes, but is not limited to, a base station (e.g., a base station BS, a base station NodeB, an evolved base station eNodeB or eNB, a base station gNodeB or gNB in a fifth-generation 5G communication system, a base station in a future communication system, an access node in a WiFi system, a wireless relay node, a wireless backhaul node), etc. The base station may be: a macro base station, a micro base station, a micro-micro base station, a small station, a relay station, etc. Multiple base stations may support a network of one or more of the above-mentioned technologies, or a future evolution network. The base station may include one or more co-sited or non-co-sited transmission reception points (TRP). The access network device 102 may also be a wireless controller, a central unit (CU), or a distributed unit (DU) in a cloud radio access network (CRAN) scenario. The following is an example of the access network device 102 being a base station. The multiple access network devices 102 may be base stations of the same type or different types. The base station can communicate with the terminal device 101, or communicate with the terminal device 101 through a relay station. The terminal device 101 can support communication with multiple base stations of different technologies. For example, the terminal device 101 can support communication with a base station supporting an LTE network, can support communication with a base station supporting a 5G network, and can also support dual connection with a base station of an LTE network and a base station of a 5G network. For example, the terminal device 101 is connected to a RAN node of a wireless network. At present, some examples of RAN nodes are: gNB, TRP, evolved Node B (eNB), next generation evolved Node B (LTE ng-eNB), radio network controller (RNC), Node B (NB), base station controller (BSC), base transceiver station (BTS), home base station (e.g., home evolved NodeB, or home Node B, HNB), base band unit (BBU), or Wifi access point (AP), etc.
[0090] See also Figure 2 , Figure 2A schematic diagram of a random access method 200 provided in an embodiment of the present application. The random access method 200 includes:
[0091] 201. The terminal device determines a first random access time-frequency resource corresponding to a first network slice service, where the first network slice service is a network slice service to be initiated.
[0092] In a possible embodiment, after determining the first network slice service to be initiated, the terminal device can determine the first random access time-frequency resource corresponding to the first network slice service based on the first network slice service and a first mapping relationship, where the first mapping relationship is a mapping relationship between a network slice service and a random access time-frequency resource used to access the network slice service.
[0093] Among them, the terminal device can obtain the first mapping relationship in multiple ways.
[0094] In a possible implementation, the access network device broadcasts a system message, and the system message carries the first mapping relationship. The terminal device can obtain the first mapping relationship by receiving the system message broadcast by the access network device. Exemplarily, the first mapping relationship carried in the system message can be shown in Table 1. Table 1 is a possible structure table of the first mapping relationship.
[0095] Table 1
[0096]
[0097] Among them, a network slice service identifier can correspond to one or more random access time-frequency resource identifiers. That is to say, one or more random access time-frequency resources corresponding to the first network slice service can be determined according to the identifier of the first network slice service. Specifically, the one or more random access time-frequency resources corresponding to the first network slice service can be one or more random access time-frequency resources under the cell accessed by the terminal device. Generally, a random access time-frequency resource can specifically be one or more resource blocks (resource blocks, RBs).
[0098] In another possible implementation, the first mapping relationship can be indicated by PRACH Mask Index. Generally, PRACH Mask Index is used to indicate random access time-frequency resources related to synchronization signals and PBCH blocks (synchronization signal and PBCHblock, SSB); PRACH Mask Index with different values can represent random access time-frequency resources corresponding to SSB in different situations. Among them, the terminal device may involve synchronization signals (synchronization signal, SS) and PBCH during the synchronization and access process, and SSB includes the above-mentioned SS and PBCH. On the basis of PRACH MaskIndex indicating the random access time-frequency resources corresponding to SSB, PRACH Mask Index with other values can be used to indicate the first mapping relationship, that is, PRACH Mask Index with other values is used to indicate the correspondence between network slice services and random access resources. Exemplarily, a possible way for PRACH Mask Index to indicate the first mapping relationship can be shown in Table 2.
[0099] Table 2
[0100]
[0101] Among them, when the value of PRACH Mask Index is 0 to 10, PRACH Mask Index indicates the random access time and frequency resources selected when the terminal device initiates random access; random access time and frequency resource indexes 1 to 8 represent the identifiers of random access time and frequency resources, which are used to indicate specific random access time and frequency resources; when the value of PRACH Mask Index is 11 and 12, PRACH Mask Index indicates the correspondence between network slicing services and one or more random access resources, wherein the random access time and frequency resources Y1 and random access time and frequency resources Y2 in Table 2 can both include one or more random access time and frequency resources; when the value of PRACH Mask Index is 13 to 15, PRACH Mask Index is reserved for indicating random access time and frequency resources in other situations. It should be noted that when the value of PRACH Mask Index is 10 to 15, the value of PRACH Mask Index can be used to indicate the mapping relationship between network slicing services and random access time and frequency resources. In actual applications, it can be determined according to actual needs which PRACH Mask Index values to use to indicate the mapping relationship between network slicing services and random access time and frequency resources. For example, when it is necessary to indicate the random access time-frequency resources corresponding to two network slice services, the PRACH Mask Index value can be set to 11 and 12 to indicate the mapping relationship between the network slice service and the random access time-frequency resources; when it is necessary to indicate the random access time-frequency resources corresponding to five network slice services, the PRACH Mask Index value can be set to 11 to 15 to indicate the mapping relationship between the network slice service and the random access time-frequency resources.
[0102] Optionally, the PRACH Mask Index may be carried in an RRC message, a PDCCH message or a system message. That is, the terminal device may obtain the PRACH Mask Index by receiving an RRC message, a PDCCH message or a system message sent by the access network device, and determine the first mapping relationship according to the indication in the PRACH Mask Index.
[0103] In another possible implementation, the first mapping relationship may be carried in an RRC message or a PDCCH message, that is, the terminal device may obtain the first mapping relationship by receiving an RRC message or a PDCCH message sent by the access network device.
[0104] 202. The terminal device determines the random access type corresponding to the first network slice service.
[0105] In a possible embodiment, the terminal device may determine the random access type corresponding to the first network slice service according to the second mapping relationship between the network slice service and the random access type. The second mapping relationship between the network slice service and the random access type may be carried in a system message, an RRC message or a PDCCH message; the terminal device obtains the second mapping relationship between the network slice service and the random access type by receiving the system message, RRC message or PDCCH message sent by the access network device. For example, the terminal device determines that the random access type corresponding to the network slice service 1 is 2-step random access, and the random access type corresponding to the network slice service 2 is 4-step random access according to the second mapping relationship between the network slice service and the random access type.
[0106] Among them, the access network device can determine the second mapping relationship between the network slice service and the random access type according to the type of the network slice service. Specifically, the access network device can determine that the network slice service with higher timeliness requirement or higher access priority corresponds to 2-step random access with less interactive signaling, so as to improve the random access rate of these network slice services; the access network device can also determine that the network slice service with lower timeliness requirement or lower access priority corresponds to 4-step random access with more interactive signaling, so as to save the overhead of 2-step random access resources.
[0107] In addition, the terminal device can also determine the random access type corresponding to the network slicing service according to the type of network slicing service. For example, when the first network slicing service is a network slicing service with high timeliness requirements, the terminal device can determine that the random access type corresponding to the first network slicing service is a 2-step random access with less interactive signaling. The terminal device can also determine the random access type corresponding to the network slicing service in other ways, which are not specifically limited here.
[0108] 203. The terminal device initiates random access based on the first random access time-frequency resources and the random access type.
[0109] In this embodiment, the first random access time-frequency resource may include only random access time-frequency resources under one random access type. For example, when the random access type corresponding to the first network slice service is 2-step random access, the first random access time-frequency only includes 2-step random access time-frequency resources. The first random access time-frequency resource may also include random access time-frequency resources under multiple random access types. For example, when the random access type corresponding to the first network slice service is 2-step random access, the first random access time-frequency may include 2-step random access time-frequency resources and 4-step random access time-frequency resources.
[0110] In a possible implementation, when the first random access time-frequency resource includes only one random access time-frequency resource of a random access type, the terminal device can directly initiate random access based on the first random access time-frequency resource. For example, when the first random access time-frequency resource includes only one random access time-frequency resource of a certain random access type, the terminal device can directly initiate random access based on the random access time-frequency resource; when the first random access time-frequency resource includes multiple random access time-frequency resources of the same random access type, the terminal device selects one random access time-frequency resource from the multiple random access time-frequency resources to initiate random access.
[0111] In another possible implementation, when the first random access time-frequency resource includes random access time-frequency resources under multiple random access types, the terminal device may determine the second random access time-frequency resource in the first random access time-frequency resource according to the random access type, and the second random access time-frequency resource is the random access time-frequency resource corresponding to the random access type. In this embodiment, the first random access time-frequency resource determined by the terminal device includes multiple random access time-frequency resources, and the multiple random access time-frequency resources include time-frequency resources corresponding to 2-step random access and time-frequency resources corresponding to 4-step random access. Since the terminal device has determined the random access type, the terminal device can determine the random access time-frequency resource corresponding to the random access type (i.e., the second random access time-frequency resource) in the first random access time-frequency resource as a candidate random access time-frequency resource for initiating random access.
[0112] For example, the first random access time-frequency resource includes random access time-frequency resource 1, random access time-frequency resource 2, random access time-frequency resource 3 and random access time-frequency resource 4, wherein random access time-frequency resource 1 and random access time-frequency resource 2 are time-frequency resources corresponding to 2-step random access, and random access time-frequency resource 3 and random access time-frequency resource 4 are time-frequency resources corresponding to 4-step random access. When the terminal device determines that the random access type is 2-step random access, the terminal device can further determine that random access time-frequency resource 1 and random access time-frequency resource 2 are candidate time-frequency resources available when initiating random access.
[0113] In this embodiment, when the second random access time-frequency resource further determined by the terminal device includes only one random access time-frequency resource, the terminal device can use the second random access time-frequency resource to initiate random access; when the second random access time-frequency resource includes multiple random access time-frequency resources, the terminal device can randomly select a random access time-frequency resource from the second random access time-frequency resources, and then initiate random access based on the selected random access time-frequency resource, thereby establishing a connection with the access network device.
[0114] In an embodiment of the present application, a terminal device determines a corresponding random access type according to a network slice service to be initiated. For example, when the network slice service to be initiated has a high timeliness requirement, the terminal device gives priority to a 2-step random access type; when the network slice service to be initiated has a low timeliness requirement, the terminal device gives priority to a 4-step random access type; network slice services of different types can be randomly accessed through different random access types, that is, network slice services with a high timeliness requirement can be randomly accessed with a random access type with less interactive signaling.
[0115] In a possible embodiment, in the step 202, the terminal device can further determine the random access type corresponding to the first network slice service based on the second mapping relationship between the network slice service and the random access type and the measured signal quality. The measured signal quality refers to the signal quality obtained by the terminal device by measuring the reference signal sent by the access network device, and the signal quality can be represented by the reference signal receiving power (reference signal receiving power, RSRP) or the reference signal receiving quality (reference signal receiving quality, RSRQ). Exemplarily, the reference signal sent by the access network device may include a demodulation reference signal (demodulation reference signal, DMRS), a phase tracking reference signal (phase-tracking reference signal, PTRS) or a channel state information reference signal (channel state information-reference signal, CSI-RS), and the terminal device determines the signal quality by measuring the RSRP or RSRQ of the reference signal.
[0116] Specifically, see Figure 3 , Figure 3 Another flowchart of a random access method 200 provided in an embodiment of the present application is shown in FIG. Figure 3 As shown, the step 202 specifically includes:
[0117] 2021. The terminal device determines whether the signal quality of the measured reference signal is greater than or equal to a preset threshold.
[0118] Specifically, the terminal device can obtain the signal quality by measuring the reference signal sent by the access network device, and compare the signal quality with the preset threshold. The preset threshold may be determined by the access network device and notified to the terminal device, or may be defined in the standard, or may be determined by the terminal device itself, which is not specifically limited here.
[0119] If the signal quality measured by the terminal device is greater than or equal to a preset threshold, the terminal device executes step 2022; otherwise, the terminal device executes step 2024.
[0120] 2022. If the measured signal quality is greater than or equal to the preset threshold, the terminal device determines whether the random access type corresponding to the identifier of the first network slice service is a two-step random access.
[0121] Among them, the terminal device can determine whether the random access type corresponding to the first network slice service is 2-step random access according to the second mapping relationship between the network slice service and the random access type. The second mapping relationship can be carried in a system message, an RRC message or a PDCCH message; the terminal device obtains the second mapping relationship between the network slice service and the random access type by receiving the system message, RRC message or PDCCH message sent by the access network device. In addition, when the terminal device determines the random access type corresponding to the network slice service by itself, the terminal device can determine whether the random access type corresponding to the first network slice service is 2-step random access according to the type of the network slice service.
[0122] Since 2-step random access has certain requirements on the signal quality of the terminal device, when the signal quality measured by the terminal device is greater than or equal to the preset threshold, it is easier for the terminal device to initiate 2-step random access successfully. Therefore, when it is determined that the measured signal quality is greater than or equal to the preset threshold, the terminal device can further determine whether the first network slice service corresponds to 2-step random access.
[0123] Among them, if the terminal device determines that the random access type corresponding to the first network slice service is 2-step random access, the terminal device executes step 2023; otherwise, the terminal device executes step 2024.
[0124] 2023. The terminal device determines that 2-step random access is the random access type to be initiated corresponding to the first network slice service.
[0125] Specifically, when the signal quality is greater than or equal to a preset threshold and the random access type corresponding to the first network slice service is 2-step random access, it can be determined that 2-step random access is the random access type used when initiating the first network slice service.
[0126] It can be understood that if the terminal device determines that 2-step random access is the random access type to be initiated corresponding to the first network slice service, then in the above-mentioned step 203, the terminal device specifically initiates 2-step random access based on the first random time-frequency resource.
[0127] 2024. The terminal device determines that 4-step random access is the random access type to be initiated corresponding to the first network slice service.
[0128] Specifically, when the signal quality is less than a preset threshold, or the random access type corresponding to the first network slice service is 4-step random access, it can be determined that 4-step random access is the random access type used when initiating the first network slice service.
[0129] It can be understood that if the terminal device determines that 4-step random access is the random access type to be initiated corresponding to the first network slice service, then in the above-mentioned step 203, the terminal device specifically initiates 4-step random access based on the first random time-frequency resource.
[0130] It is understandable that when the signal quality measured by the terminal device is less than the preset threshold, since the first network slice service does not meet the conditions for initiating 2-step random access, the terminal device initiates 4-step random access regardless of whether the random access type corresponding to the first network slice service is 2-step random access. In addition, when the signal quality measured by the terminal device is greater than or equal to the preset threshold, but the random access type corresponding to the first network slice service is 4-step random access, the terminal device also initiates 4-step random access to save 2-step random access time-frequency resources, leaving limited 2-step random access time-frequency resources for other terminal devices with fast access requirements, thereby improving the network experience.
[0131] In an embodiment of the present application, the terminal device determines its corresponding random access type based on the measured signal quality and the network slicing service to be initiated. When the signal quality is greater than or equal to the preset threshold and the random access type corresponding to the network slicing service is 2-step random access, 2-step random access is initiated first; otherwise, 4-step random access is initiated first. In this way, the random access type used when initiating the network slicing service is further determined based on the signal quality of the terminal device and the random access type corresponding to the network slicing service, which can effectively avoid the occurrence of access congestion, that is, terminal devices with better signal quality can give priority to initiating network slicing services with higher timeliness requirements with random access types with less interactive signaling, leaving limited 2-step random access time and frequency resources for other terminal devices with fast access requirements, thereby improving the network experience.
[0132] The above is an introduction to the random access method from the perspective of the terminal device. The following is a detailed introduction to the random access method from the perspective of each communication protocol layer in the terminal device.
[0133] See also Figure 4 , Figure 4 Another flowchart of a random access method 400 provided in an embodiment of the present application. The random access method 400 includes:
[0134] 401. The non-access stratum (NAS) of the terminal device sends an identifier of the first network slice service to the RRC layer to instruct the RRC layer to initiate the first network slice service.
[0135] When the NAS of the terminal device needs to initiate the first network slice service, the NAS can pass the identifier of the first network slice service to the RRC layer in the terminal device, indicating that the first network slice service will be initiated in the current cell.
[0136] In one possible implementation, NAS may determine the identifier of the first network slice service based on the protocol data unit session (PDU) session to be initiated. Among them, a PDU session may correspond to one or more network slice services, that is, the PDU session may select one of the one or more network slice services corresponding to it to initiate. Generally, a network slice remapping list is used to indicate the correspondence between a PDU session and one or more network slice services. Specifically, the message structure used to represent the network slice remapping list may be as shown in Table 3.
[0137] Table 3
[0138]
[0139]
[0140] Specifically, the network slice remapping list can be carried in the RRC message sent by the access network device to the terminal device, so that the terminal device obtains the network slice remapping list; the network slice remapping can also be carried in the RRC message sent by the terminal device to the access network device, so that the access network device obtains the network slice remapping list.
[0141] 402. The RRC layer sends an identifier of the first network slice service to the MAC layer to instruct the MAC layer to determine the corresponding random access time-frequency resource according to the identifier of the first network slice service. 403. The MAC layer determines the first random access time-frequency resource corresponding to the first network slice service.
[0142] Among them, step 403 is similar to the above-mentioned step 201, and the details can be referred to step 201, which will not be repeated here.
[0143] In a possible embodiment, if the terminal device receives a broadcast message from the current cell and learns that the current cell does not support the first network slice service to be initiated; the terminal device can reselect a network slice service supported by the current cell in the network slice remapping list according to the PDU session to be initiated as the first network slice service to be initiated to ensure the normal initiation of the network slice service.
[0144] It should be noted that the operation of the terminal device selecting a new network slice service in the network slice remapping list can be performed at the NAS layer, or at the RRC layer or the MAC layer, and this embodiment does not make any specific limitation.
[0145] 404. The MAC layer determines the random access type corresponding to the first network slice service.
[0146] Among them, step 404 is similar to the above-mentioned step 202, and the details can be referred to step 202, which will not be repeated here.
[0147] 405. The MAC layer initiates random access.
[0148] Among them, step 405 is similar to the above-mentioned step 203, and the details can be referred to step 203, which will not be repeated here.
[0149] 406. The terminal device sends a PDU session establishment request.
[0150] Specifically, the NAS layer of the terminal device can send a PDU session establishment request to the core network device through the AS layer and the access network device. The PDU session establishment request passes through the AS layer of the terminal device and the access network device and reaches the core network device. After receiving the PDU session request, the access network device sends the PDU session establishment request to the core network device. Among them, the PDU session establishment request may include but is not limited to information such as the PDU session identifier and the identifier of the first network slice service.
[0151] 407. The core network device sends a PDU session establishment request response message to the access network device.
[0152] After processing the PDU session establishment request, the core network device may send a PDU session establishment request response message to the access network device to indicate that the core network device has accepted the PDU session establishment request sent by the terminal device.
[0153] 408. The access network device sends a PDU session establishment request acceptance message to the terminal device.
[0154] Among them, the PDU session establishment request acceptance message can carry a network slicing service identifier to indicate the network slicing service that can be initiated by the terminal device.
[0155] Optionally, the network slice service identifier carried in the PDU session establishment request acceptance message may be the identifier of the first network slice service, indicating that the terminal device can initiate the first network slice service; the network slice service identifier carried in the PDU session establishment request acceptance message may also be the identifier of other network slice services, indicating that the terminal device can initiate other network slice services.
[0156] In one possible implementation, the access network device may also send a PDCCH message to the terminal device, and carry the network slice service identifier in the downlink control information (DCI) of the PDCCH message.
[0157] 409. The terminal device sends network slicing service data to the access network device.
[0158] After the terminal device receives the PDU session establishment request acceptance message, it can be considered that the PDU session has been established, and the terminal device can send network slicing service data to the access network device. The network slicing service data can also carry the identifier of the first network slicing service.
[0159] The above is an introduction to the random access method from the perspective of the sublayer in the terminal device. The following will introduce in detail how the sublayer in the terminal device determines the first random access time and frequency resources corresponding to the first network slice service.
[0160] See also Figure 5 , Figure 5 A schematic diagram of a random access method 500 provided in an embodiment of the present application. The random access method 500 includes:
[0161] 501. The NAS of the terminal device sends the identifier of the network slicing service to be initiated to the RRC layer.
[0162] In a possible implementation, the identifier of the network slice service may be specifically S-NSSAI, and one S-NSSAI may be used to represent one network slice service. That is, when there are one or more network slice services to be initiated, NAS may send one or more S-NSSAIs to the RRC layer.
[0163] In another possible implementation, NAS may also send an RSA ID to the RRC layer. There is a one-to-many mapping relationship between the RSA ID and the S-NSSAI, that is, one RSA ID corresponds to one or more S-NSSAIs at the same time, and one or more S-NSSAIs corresponding to it can be determined according to the RSAID. It should be noted that the mapping relationship between the RSA ID and the S-NSSAI can be sent to the terminal device in advance by the access network device through a system message or an RRC message, so that the terminal device can obtain the mapping relationship between the RSA ID and the S-NSSAI.
[0164] 502. The access stratum (AS) of the terminal device determines the random access resources corresponding to the network slice service, wherein the AS includes the RRC layer, the radio link control (RLC) layer, the MAC layer, the physical (PHY) layer, the packet data convergence protocol (PDCP) layer and the service data adaptation protocol (SDAP) layer.
[0165] Specifically, after AS obtains the identifier of the network slice service to be initiated sent by NAS, AS determines a network slice service to be initiated, and then determines the random access resource corresponding to the network slice service. Among them, when the identifier of the network slice service obtained by AS is S-NSSAI, the way in which AS determines the random access resource corresponding to the network slice service includes but is not limited to the following five ways:
[0166] 1. The RRC layer of the AS determines the corresponding random access time-frequency resources according to the S-NSSAI, and the RRC layer sends the PRACH Mask Index corresponding to the determined random access time-frequency resources to the MAC layer, so that the MAC layer knows the determined random access time-frequency resources. In other words, the process of determining the random access time-frequency resources can be performed by the RRC layer, and the MAC layer only needs to know the final determined random access time-frequency resources, and does not need to know the specific S-NSSAI. Specifically, the RRC layer can determine the corresponding random access time-frequency resources based on the S-NSSAI and the mapping relationship between the S-NSSAI and the random access time-frequency resources. For details, please refer to the above description, which will not be repeated here.
[0167] 2. The RRC layer of the AS sends the S-NSSAI to the MAC layer, and the MAC layer determines the corresponding random access time and frequency resources based on the S-NSSAI. That is, the process of determining the random access time and frequency resources is performed by the MAC layer.
[0168] 3. The RRC layer of the AS determines the corresponding RSA ID according to the S-NSSAI, and then determines the corresponding random access time-frequency resources according to the RSA ID. Finally, the RRC layer sends the PRACH Mask Index corresponding to the random access time-frequency resources to the MAC layer, so that the MAC layer knows the determined random access time-frequency resources. Among them, the mapping relationship between the RSA ID and the random access time-frequency resources can be sent to the terminal device in advance by the access network device through a system message or an RRC message.
[0169] 4. The RRC layer of the AS sends the S-NSSAI to the MAC layer. The MAC layer determines the corresponding RSA ID based on the S-NSSAI, and then determines the corresponding random access time-frequency resources based on the RSA ID.
[0170] 5. The RRC layer of the AS determines the corresponding RSA ID based on the S-NSSAI, and then sends the RSA ID to the MAC layer. The MAC layer determines the corresponding random access time and frequency resources based on the RSA ID.
[0171] In addition, when NAS sends RSA ID to AS, the way in which AS determines the random access resource corresponding to the network slice service includes but is not limited to the following four ways:
[0172] a. The RRC layer of the AS determines the corresponding S-NSSAI according to the RSA ID, and then determines the corresponding random access time-frequency resources according to the S-NSSAI, and finally sends the PRACH Mask Index corresponding to the random access time-frequency resources to the MAC layer.
[0173] b. The RRC layer of the AS determines the corresponding S-NSSAI according to the RSA ID and sends the S-NSSAI to the MAC layer. The MAC layer determines the corresponding random access time-frequency resources according to the S-NSSAI.
[0174] c. The RRC layer of the AS determines the corresponding random access time-frequency resource according to the RSA ID, and sends the PRACH Mask Index corresponding to the random access time-frequency resource to the MAC layer.
[0175] d. The RRC layer of the AS sends the RSA ID to the MAC layer, and the MAC layer determines the corresponding random access time-frequency resources based on the RSA ID.
[0176] 503. The MAC layer of the terminal device initiates random access.
[0177] Specifically, the MAC layer may initiate random access to the access network device based on the determined random access time-frequency resources. The specific initiation process may refer to the above description and will not be described again here.
[0178] 504. If the random access initiated by the terminal device fails, the MAC layer of the terminal device updates the initiated network slicing service.
[0179] It is understandable that when the base station does not have enough uplink resources to allocate to the terminal device, the random access initiated by the terminal device may fail. Among them, the terminal device can determine whether the random access it initiated has failed in a variety of ways. For example, in the case where the terminal device initiates a 4-step random access, if the terminal device receives MSG4 sent by the access network device, and the MSG4 does not contain its own identity, the terminal device can determine that the random access has failed; or, after the terminal device sends MSG3 to the access network device, if it does not receive MSG4 replied by the access device, the terminal device can also determine that the random access has failed.
[0180] After the terminal device determines that the random access has failed, the MAC layer can re-initiate a new network slice service, that is, update the initiated network slice service. The MAC layer updates the initiated network slice service in the following ways, but is not limited to:
[0181] A. The MAC layer removes the identifiers of the network slice services that have been attempted to be initiated but failed from the identifiers of multiple network slice services sent by the NAS layer, and then reselects a new network slice service from the remaining network slice services to initiate. Specifically, the MAC layer reselects the network slice service from the remaining network slice services in the following manner: the MAC layer selects according to the network slice remapping list, or the MAC layer selects according to the indication in the system message sent by the access network device.
[0182] B. The MAC layer sends a request to the RRC layer to reselect the network slice service, so that the RRC layer reselects a new network slice service. After the RRC layer selects the new network slice service, the MAC layer can receive the identifier of the network slice service sent by the RRC layer, and the identifier of the network slice service is the identifier of the reselected network slice service.
[0183] 505. The MAC layer of the terminal device initiates random access according to the identifier of the updated network slice service.
[0184] The above is a description of the process of a terminal device initiating random access based on a determined network slice service. The following will describe in detail how the terminal device determines the network slice service to be initiated first when the terminal device has multiple network slice services to be initiated.
[0185] See also Figure 6 , Figure 6 A schematic diagram of a random access method 600 provided in an embodiment of the present application. The random access method 600 includes:
[0186] 601. The NAS of the terminal device sends identifiers of multiple network slice services to the RRC layer.
[0187] When there are multiple network slice services to be initiated, NAS can send the identifiers of all the network slice services to be initiated to the RRC layer, and the RRC layer will determine the network slice service to be initiated first.
[0188] 602. The RRC layer of the terminal device determines the network slicing service to be initiated first.
[0189] After receiving the identifiers of multiple network slice services, the RRC layer may determine the network slice service to be initiated first among the identifiers of the multiple network slice services. Specifically, the manner in which the RRC layer determines the network slice service to be initiated first may include but is not limited to the following two manners:
[0190] (1) The RRC layer determines the initiation order of the network slicing service according to the priority of the network slicing service, and then determines the network slicing service to be initiated first. For example, the RRC layer can sort multiple network slicing services from high to low based on the priority of the network slicing service; that is, the higher the priority of the network slicing service, the higher the initiation order of the network slicing service, and the network slicing service with the highest priority is the network slicing service initiated first. Among them, the access network device can carry the priority information of the network slicing service in the system message, PDCCH message or RRC message, and the terminal device can obtain the priority of the network slicing service by reading the system message, PDCCH message or RRC message.
[0191] (2) The RRC layer randomly selects a network slice service that is initiated first among multiple network slice services with equal probability.
[0192] 603. The RRC layer of the terminal device sends the identifier of the network slicing service to the MAC layer.
[0193] After the RRC layer determines the network slice service to be initiated first, the RRC layer can send the identifier of the network slice service to the MAC layer, so that the MAC layer determines the random access time and frequency resources of the network slice service and initiates random access.
[0194] Above Figure 6 The corresponding embodiment describes the process of the RRC layer determining the network slicing service to be initiated first. The following will describe the process of the MAC layer determining the network slicing service to be initiated first.
[0195] See also Figure 7 , Figure 7 A schematic diagram of a random access method 700 provided in an embodiment of the present application. The random access method 700 includes:
[0196] 701. The NAS of the terminal device sends identifiers of multiple network slice services to the RRC layer.
[0197] When there are multiple network slice services to be initiated, NAS can send the identifiers of all the network slice services to be initiated to the RRC layer, and the RRC layer will determine the network slice service to be initiated first.
[0198] 702. The RRC layer of the terminal device sends identifiers of multiple network slice services to the MAC layer.
[0199] In this embodiment, since the decision-making body that determines which network slice service to initiate first is the MAC layer, the RRC layer can send the identifiers of multiple received network slice services to the MAC layer, and the MAC layer will determine the network slice service to initiate first.
[0200] 703. The MAC layer of the terminal device determines the network slicing service to be initiated first.
[0201] After the MAC layer receives the identifiers of multiple network slice services sent by the RRC layer, the MAC layer can determine the network slice service to be initiated first among the identifiers of the multiple network slice services. Specifically, the manner in which the MAC layer determines the network slice service to be initiated first may include but is not limited to the following four manners:
[0202] 1) First, determine the random access time-frequency resource that is located after the first time point and closest to the first time point, and then determine that the network slice service corresponding to the random access time-frequency resource is the first initiated network slice service. Among them, the first time point is the time point when the MAC layer receives the instruction to initiate random access, that is, the first time point can specifically be the time point when the MAC layer receives the identifiers of multiple network slice services sent by the RRC layer and instructs the MAC layer to initiate random access. In short, after receiving the instruction to initiate random access, the MAC layer determines the random time-frequency resource that can be used to initiate random access first, and then determines the network slice service corresponding to the random time-frequency resource, thereby determining the first initiated network slice service.
[0203] 2) Determine the network slice service that is initiated first with the network slice service that has the most random access time-frequency resources per unit time. Specifically, the number of random access time-frequency resources corresponding to each network slice service per unit time can be determined, and then the network slice service with the largest number of random access time-frequency resources is selected as the network slice service that is initiated first. For example, assume that the network slice services to be initiated include network slice service 1 and network slice service 2; within a 10ms wireless frame, network slice service 1 has n random access time-frequency resources, and network slice service 2 has m random access time-frequency resources. If n>m, network slice service 1 is selected as the network slice service that is initiated first.
[0204] 3) Determine the network slice service that is initiated first by the network slice service with the most random access time-frequency resources within the preset time period. The size of the preset time period can be set according to actual conditions, for example, it can be 10ms, 20ms or 50ms, etc., and is not specifically limited here.
[0205] 4) The MAC layer randomly selects a network slice service that is initiated first among multiple network slice services with equal probability.
[0206] The above is a description of the process of a terminal device initiating random access based on multiple network slice services. The following will describe in detail how the terminal device initiates a network slice service and a default slice service when the terminal device has a network slice service to be initiated and a default slice service. Among them, a network slice is usually a logical network configured with a specific network function, and a network slice service is a service performed by the network slice. When the terminal device carries the network slice identifier when initiating a service, it can be considered that the terminal device initiates a network slice service, and the network slice corresponding to the network slice identifier executes the network slice service initiated by the terminal device. When the terminal device does not carry the network slice identifier when initiating a service, it can be considered that the terminal device initiates a default slice service, and the default slice service initiated by the terminal device can be executed by the default slice pre-assigned to the terminal device by the core network device.
[0207] See also Figure 8 , Figure 8 A schematic diagram of a random access method 800 provided in an embodiment of the present application. The random access method 800 includes:
[0208] 801. The NAS of the terminal device sends the identifier of the network slice service and the identifier of the default slice service to the RRC layer.
[0209] When the service to be initiated includes both a network slice service and a default slice service, NAS sends the identifier of the network slice service to be initiated and the identifier of the default slice service to the RRC layer.
[0210] 802. The RRC layer of the terminal device sends the identifier of the network slice service and the identifier of the default slice service to the MAC layer.
[0211] In this embodiment, the service to be initiated is determined by the MAC layer, so the RRC layer sends the identifier of the network slice service and the identifier of the default slice service to the MAC layer. It can be understood that the service to be initiated can also be determined by the RRC layer, in which case the RRC layer sends the identifier of the service to be initiated to the MAC layer, and this embodiment does not make specific limitations.
[0212] 803. The MAC layer of the terminal device initiates random access corresponding to the network slicing service.
[0213] After the MAC layer receives the identifier of the network slicing service and the identifier of the default slicing service, the MAC layer can decide to initiate the network slicing service first, that is, the MAC layer selects to initiate one of the network slicing services from one or more network slicing services.
[0214] 804. The MAC layer of the terminal device counts the number of random accesses to the network slice service.
[0215] After the MAC layer initiates random access to the network slicing service, the MAC layer can count the number of times the network slicing service initiates random access. Specifically, a counter can be configured at the MAC layer, and each time the MAC layer initiates random access to the network slicing service, the value of the counter is increased by 1, thereby realizing the statistics of the number of times the network slicing service initiates random access.
[0216] In a possible implementation, there may be multiple situations in which the value of the trigger counter is incremented by 1. Fig. 9 , Fig. 9 Schematic diagram of triggering counter action provided in the embodiment of the present application. Fig. 9 As shown, the situations in which the counter action is triggered specifically include but are not limited to the following four situations:
[0217] like Fig. 9 As shown in (a), when the terminal device initiates a two-step random access, the terminal device sends an MSGA corresponding to a network slice service to the access network device, and the terminal device does not receive a response (i.e., MSGB) from the access network device within the window period (MSGB window) corresponding to the MSGA, then the value of the trigger counter is increased by 1, and the terminal device needs to resend the MSGA of the network slice service.
[0218] like Fig. 9As shown in (b), when the terminal device initiates a two-step random access, the terminal device sends the MSGA corresponding to a network slice service to the access network device, and receives the random access fallback response (fall back random access response, fall back RAR) sent by the access network device. The terminal device continues to send MSG3 to the access network device, and the terminal device does not receive a response (i.e., MSG4) from the access network device within the time set by the random access contention resolution timer (random access contention resolution timer, ra-CR Timer), then the trigger counter value is increased by 1, and the terminal device needs to resend the MSGA of the network slice service. Among them, the fall back RAR is used to instruct the terminal device to resend MSG3 separately.
[0219] like Fig. 9 As shown in (c), when the terminal device initiates 4-step random access, the terminal device sends MSG1 corresponding to a network slice service to the access network device, and the terminal device does not receive a response (i.e., MSG2) from the access network device within the random access response window (random access channel access response window, RAR window), then the trigger counter value is increased by 1, and the terminal device needs to resend the preamble of the network slice service. Among them, the RAR window is a time window for monitoring the resources sent by the access network device, and the terminal device can send MSG3 to the access network device based on the resources sent by the access network device.
[0220] like Fig. 9 As shown in (d), when the terminal device initiates 4-step random access, the terminal device sends MSG1 corresponding to a network slice service to the access network device. After the terminal device receives the RAR, the terminal device continues to send MSG3 to the access network device. If the terminal device does not receive a response from the access network device (i.e., MSG4) within the time set by the ra-CR Timer, the value of the trigger counter is increased by 1, and the terminal device needs to resend the preamble code of the network slice service.
[0221] 805. If the number of random accesses to the network slicing service reaches a preset number, random access to the default slicing service is initiated.
[0222] If the number of times the network slicing service initiates random access reaches a preset number, for example, the number of times the network slicing service initiates random access reaches 5 times, the random access of the network slicing service is stopped, and the random access of the default slicing service is initiated.
[0223] It can be understood that the number of random accesses of the network slicing service includes the number of times the network slicing service fails to initiate random access. For example, assuming that the preset number is 5 times, when the random access corresponding to the network slicing service fails to be initiated for 5 consecutive times, it can be considered that the number of random accesses of the network slicing service has reached the preset number. In this way, by counting the number of random accesses corresponding to the network slicing service, the possibility of initiating random access by the default slice service can be guaranteed under the premise of giving priority to initiating random access of the network slicing service.
[0224] Among them, the preset number of times can be set or adjusted by the access network device according to actual conditions, for example, it can be set to 3 times or 5 times. This embodiment does not limit the specific value of the preset number of times.
[0225] It should be noted that before the terminal device initiates random access to the network slicing service or random access to the default slicing service, the terminal device can obtain the random access configuration corresponding to the network slicing service and the random access configuration corresponding to the default slicing service. Among them, the terminal device can obtain the random access configuration corresponding to the network slicing service and the random access configuration corresponding to the default slicing service by receiving a system message, an RRC message, or a PDCCH message sent by the access network device. Specifically, the random access configuration corresponding to the network slicing service and the random access configuration corresponding to the default slicing service may include but are not limited to:
[0226] Maximum power ramping times (power_ramping max time) and power ramping step length (power_rampingmaxstep). Specifically, after the terminal device does not detect a response from the access network device in the RAR window, it will increase the power of sending the preamble code. Among them, the maximum number of times the terminal device increases power is the maximum power ramping times, and the amplitude of each power increase by the terminal device is the power ramping step length. Optionally, during configuration, a larger maximum power ramping times (i.e., more times) and a larger power ramping step length (i.e., a large step length) can be configured for the network slicing service, and a smaller maximum power ramping times (i.e., fewer times) and a smaller power ramping step length (i.e., a small step length) can be configured for the default slicing service.
[0227] Fallback scaling factor (scaling_factor_BI). The fallback scaling factor refers to the event scaling factor when a fallback occurs, and the value range of the fallback scaling factor is 0 to 1. Optionally, during configuration, a lower fallback scaling factor can be configured for the network slice service, and a higher fallback scaling factor can be configured for the default slice service.
[0228] RAR window size. Optionally, during configuration, the size of the RAR window corresponding to the network slice service may be different from the size of the RAR window corresponding to the default slice service. MSGB window size. Optionally, during configuration, the size of the MSGB window corresponding to the network slice service may be different from the size of the MSGB window corresponding to the default slice service.
[0229] The size of the Ra-CR Timer. Optionally, during configuration, the size of the Ra-CR Timer corresponding to the network slice service may be different from the size of the Ra-CR Timer corresponding to the default slice service.
[0230] See also Fig.10 , Fig.10 This is a schematic diagram of the structure of a terminal device 1000 provided in an embodiment of the present application. Fig.10 As shown, the terminal device 1000 includes: a processing unit 1001 and a transceiver unit 1002; the processing unit 1001 is used to determine a first random access time-frequency resource corresponding to a first network slice service, and the first network slice service is a network slice service to be initiated; the processing unit 1001 is also used to determine a random access type corresponding to the first network slice service; the transceiver unit 1002 is used to initiate random access based on the first random access time-frequency resource and the random access type.
[0231] In a possible implementation, the processing unit 1001 is also used to determine the first random access time-frequency resource corresponding to the first network slice service based on the identifier of the first network slice service and a first mapping relationship, where the first mapping relationship is a mapping relationship between the network slice service identifier and the random access time-frequency resource.
[0232] In a possible implementation, the transceiver unit 1002 is further configured to receive a first message, where the first message includes the first mapping relationship.
[0233] In a possible implementation manner, the first message includes a physical random access channel mask index, and the physical random access channel mask index is used to indicate the first mapping relationship.
[0234] In a possible implementation, the processing unit 1001 is also used to: obtain the signal quality of a reference signal; when the signal quality is greater than or equal to a preset threshold, and the first network slice service corresponds to 2-step random access in the second mapping relationship, determine that the random access type corresponding to the first network slice service is 2-step random access; when the signal quality is greater than or equal to the preset threshold, or the first network slice service corresponds to 4-step random access in the second mapping relationship, determine that the random access type corresponding to the first network slice service is 4-step random access; wherein the second mapping relationship is a mapping relationship between a network slice service and a random access type.
[0235] In a possible implementation, the transceiver unit 1002 is further configured to receive a second message, where the second message includes the second mapping relationship.
[0236] In a possible implementation, the processing unit 1001 is also used to: if the terminal device has multiple network slice services to be initiated, determine to initiate the first network slice service among the multiple network slice services to be initiated according to the priority of the network slice services, wherein the first network slice service is the network slice service with the highest priority among the multiple network slice services to be initiated.
[0237] In a possible implementation, the processing unit 1001 is also used to: if the terminal device has multiple network slice services to be initiated, determine that the first network slice service corresponding to the third random access time-frequency resource is the initiated network slice service, wherein the third random access time-frequency resource is a random access time-frequency resource located after the first time point and closest to the first time point, and the first time point is the time point when the MAC entity of the terminal device obtains the instruction to initiate random access.
[0238] In a possible implementation, the processing unit 1001 is also used to: if the terminal device has multiple network slice services to be initiated, determine to initiate the first network slice service according to the number of random access time-frequency resources corresponding to the network slice service within a preset time period, wherein the first network slice service is the network slice service with the largest number of random access time-frequency resources corresponding to the multiple network slice services to be initiated within the preset time period.
[0239] In a possible implementation, the transceiver unit 1002 is also used to: receive a third message, the third message including first configuration information and second configuration information, the first configuration information is used to indicate the random access configuration corresponding to the network slice service, and the second configuration information is used to indicate the random access configuration corresponding to the default slice service.
[0240] In a possible implementation, the processing unit 1001 is also used to count the number of random accesses to the network slicing service if there are both a network slicing service to be initiated and a default slicing service; the transceiver unit 1002 is also used to stop the random access to the network slicing service and initiate random access to the default slicing service if the number of random accesses to the network slicing service reaches a preset number.
[0241] In a possible implementation, the processing unit 1001 is also used to: if the first random access time-frequency resources include random access time-frequency resources under different random access types, then determine the second random access time-frequency resources in the first random access time-frequency resources according to the random access type, and the second random access time-frequency resources are the random access time-frequency resources corresponding to the random access type; the transceiver unit 1002 is also used to: initiate random access based on the second random access time-frequency resources and the random access type corresponding to the first network slice service.
[0242] Fig.11 The structure diagram of a terminal device 1100 provided in an embodiment of the present application is shown in FIG. The terminal device 1100 can be applied to Figure 1 In the system shown, the functions of the terminal device in the above method embodiment are executed. Fig.11 Only the main components of the terminal device are shown. Fig.11 As shown, the terminal device 1100 includes a processor, a memory, a control circuit, an antenna, and an input-output device. The processor is mainly used to process the communication protocol and the communication data, and to control the entire terminal device, execute the software program, and process the data of the software program, for example, to support the terminal device to perform the actions described in the above method embodiment, such as receiving the usage threshold of the wake-up signal, and determining whether to monitor the wake-up signal according to the usage threshold and the eDRX cycle. The memory is mainly used to store software programs and data, such as storing the usage threshold of the wake-up signal described in the above embodiment. The control circuit is mainly used for conversion between baseband signals and radio frequency signals and processing of radio frequency signals. The control circuit and the antenna can also be called a transceiver, which is mainly used to transmit and receive radio frequency signals in the form of electromagnetic waves. Input-output devices, such as touch screens, display screens, keyboards, etc., are mainly used to receive data input by users and output data to users.
[0243] When the terminal device is turned on, the processor can read the software program in the storage unit, interpret and execute the instructions of the software program, and process the data of the software program. When data needs to be sent wirelessly, the processor performs baseband processing on the data to be sent, and outputs the baseband signal to the RF circuit. The RF circuit performs RF processing on the baseband signal and then sends the RF signal outward in the form of electromagnetic waves through the antenna. When data is sent to the terminal device, the RF circuit receives the RF signal through the antenna, converts the RF signal into a baseband signal, and outputs the baseband signal to the processor. The processor converts the baseband signal into data and processes the data.
[0244] Those skilled in the art will appreciate that for ease of description, Fig.11 Only one memory and one processor are shown. In an actual terminal device, there may be multiple processors and multiple memories. The memory may also be referred to as a storage medium or a storage device, etc., which is not limited in the embodiments of the present application.
[0245] As an optional implementation, the processor may include a baseband processor and / or a central processing unit. The baseband processor is mainly used to process the communication protocol and communication data, and the central processing unit is mainly used to control the entire terminal device, execute software programs, and process software program data. Fig.11 The processor in the can integrate the functions of the baseband processor and the central processing unit. Those skilled in the art can understand that the baseband processor and the central processing unit can also be independent processors, which are interconnected through technologies such as buses. Those skilled in the art can understand that the terminal device can include multiple baseband processors to adapt to different network standards, and the terminal device can include multiple central processing units to enhance its processing capabilities. The various components of the terminal device can be connected through various buses. The baseband processor can also be expressed as a baseband processing circuit or a baseband processing chip. The central processing unit can also be expressed as a central processing circuit or a central processing chip. The function of processing the communication protocol and communication data can be built into the processor, or it can be stored in the storage unit in the form of a software program, and the processor executes the software program to realize the baseband processing function.
[0246] In the embodiment of the present application, the antenna and control circuit with transceiver functions may be regarded as the transceiver 1101 of the terminal device 1100, for example, used to support the terminal device to perform the aforementioned receiving function and sending function. The processor with processing function may be regarded as the processor 1102 of the terminal device 1100. Fig.11As shown, the terminal device 1100 includes a transceiver 1101 and a processor 1102. The transceiver may also be referred to as a transceiver, a transceiver device, etc. Optionally, a device for implementing a receiving function in the transceiver 1101 may be regarded as a receiving unit, and a device for implementing a sending function in the transceiver 1101 may be regarded as a sending unit, that is, the transceiver 1101 includes a receiving unit and a sending unit, the receiving unit may also be referred to as a receiver, an input port, a receiving circuit, etc., and the sending unit may be referred to as a transmitter, a transmitter, or a transmitting circuit, etc.
[0247] The processor 1102 can be used to execute the instructions stored in the memory to control the transceiver 1101 to receive signals and / or send signals to complete the functions of the terminal device in the above method embodiment. As an implementation method, the functions of the transceiver 1101 can be implemented by a transceiver circuit or a dedicated chip for transceiver.
[0248] It should be understood that "one embodiment" or "an embodiment" mentioned throughout the specification means that specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It should be understood that in various embodiments of the present application, the size of the sequence number of the above-mentioned processes does not mean the order of execution, and the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present application.
[0249] In addition, the terms "system" and "network" are often used interchangeably in this article. The term "and / or" in this article is only a description of the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.
[0250] It should be understood that in the embodiment of the present application, "B corresponding to A" means that B is associated with A, and B can be determined according to A. However, it should also be understood that determining B according to A does not mean determining B only according to A, and B can also be determined according to A and / or other information.
[0251] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0252] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0253] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
[0254] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0255] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0256] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory, a random access memory, a magnetic disk or an optical disk.
Claims
1. A random access method, It is characterized in that The method is applied to a terminal device, comprising: Determine a radio access network slice area identifier for a network slice service to be initiated, where the radio access slice area identifier corresponds to one or more network slices; Based on the wireless access network slice area identifier and the first mapping relationship, determine a first random access time-frequency resource corresponding to a first network slice service, where the first network slice service is a network slice service to be initiated, and the first mapping relationship is a mapping relationship between the wireless access network slice area identifier and the random access time-frequency resource; Determine a random access type corresponding to the first network slice service; Initiate random access based on the first random access time-frequency resource and the determined random access type.
2. The method according to claim 1, It is characterized in that The first random access time-frequency resources include random access time-frequency resources of 2-step random access and random access time-frequency resources of 4-step random access; or, The first random access time-frequency resources only include random access time-frequency resources of 2-step random access; or, The first random access time-frequency resources only include random access time-frequency resources of 4-step random access.
3. The method according to claim 2, It is characterized in that The first random access time-frequency resources include random access time-frequency resources of 2-step random access and random access time-frequency resources of 4-step random access, Determining the random access type corresponding to the first network slice service includes: obtaining a signal quality of a reference signal; When the signal quality is greater than or equal to a preset threshold, determining that the random access type corresponding to the first network slice service is two-step random access; When the signal quality is less than the preset threshold, the random access type corresponding to the first network slice service is determined to be 4-step random access.
4. The method according to claim 2, It is characterized in that The first random access time-frequency resources include only random access time-frequency resources for 2-step random access, and determining the random access type corresponding to the first network slice service includes: determining that the random access type corresponding to the first network slice service is 2-step random access; or, The first random access time-frequency resources only include random access time-frequency resources for 4-step random access, and determine the random access type corresponding to the first network slice service, including: determining that the random access type corresponding to the first network slice service is 4-step random access.
5. The method according to claim 2 or 3, It is characterized in that The first random access time-frequency resources include random access time-frequency resources of 2-step random access and random access time-frequency resources of 4-step random access, Initiating random access based on the first random access time-frequency resource and the determined random access type, including: Determining, in the first random access time-frequency resources, a random access time-frequency resource corresponding to the determined random access type as a second random access time-frequency resource; Initiate random access based on the second random access time-frequency resource.
6. The method according to claim 5, It is characterized in that The second random access time-frequency resource includes only one random access time-frequency resource, and the terminal device initiates random access based on the second random access time-frequency resource, including: initiating random access using the second random access time-frequency resource; or, The second random access time-frequency resource includes a plurality of random access time-frequency resources, and initiating random access based on the second random access time-frequency resources includes: randomly selecting a random access time-frequency resource from the second random access time-frequency resources, A random access is initiated based on the selected random access time-frequency resource.
7. The method according to any one of claims 1 to 4, It is characterized in that The method further comprises: A first message is received, where the first message includes the first mapping relationship.
8. The random access method according to claim 7, It is characterized in that The first message includes a physical random access channel mask index, and the physical random access channel mask index is used to indicate the first mapping relationship.
9. The method according to claim 7, It is characterized in that The first message is a radio resource control RRC message, a physical downlink control channel PDCCH message or a system message.
10. The method according to any one of claims 1 to 4, It is characterized in that The method further comprises: If the terminal device has multiple network slice services to be initiated, the initiation of the first network slice service is determined among the multiple network slice services to be initiated according to the priority of the network slice services, wherein the first network slice service is the network slice service with the highest priority among the multiple network slice services to be initiated.
11. The method according to any one of claims 1 to 4, It is characterized in that The method further comprises: If the terminal device has multiple network slice services to be initiated, the first network slice service corresponding to the third random access time-frequency resource is determined as the initiated network slice service, wherein the third random access time-frequency resource is a random access time-frequency resource located after the first time point and closest to the first time point, and the first time point is the time point when the media access control MAC entity of the terminal device obtains the instruction to initiate random access.
12. The method according to any one of claims 1 to 4, It is characterized in that The method further comprises: If the terminal device has multiple network slice services to be initiated, the initiation of the first network slice service is determined according to the number of random access time-frequency resources corresponding to the network slice service within the preset time period, wherein the first network slice service is the network slice service with the largest number of random access time-frequency resources corresponding to the preset time period among the multiple network slice services to be initiated.
13. The method according to any one of claims 1 to 4, It is characterized in that The method further comprises: If there are both network slice services to be initiated and default slice services, the number of random accesses of the network slice services is counted; If the number of random accesses to the network slice service reaches a preset number, the random access to the network slice service is stopped, and random access to the default slice service is initiated.
14. The method according to any one of claims 1 to 4, It is characterized in that The method further comprises: If the first random access time-frequency resource includes random access time-frequency resources under different random access types, determining a second random access time-frequency resource in the first random access time-frequency resource according to the random access type, and the second random access time-frequency resource is a random access time-frequency resource corresponding to the random access type; Initiating random access based on the first random access time-frequency resource and the random access type corresponding to the first network slice service, including: Random access is initiated based on the second random access time-frequency resources and the random access type corresponding to the first network slice service.
15. The method according to any one of claims 1 to 14, It is characterized in that The determining of a radio access network slice area identifier of a network slice service to be initiated includes: The non-access layer of the terminal device sends the wireless access network slice area identifier of the network slice service to be initiated to the access layer of the terminal device.
16. A device, It is characterized in that include: A processing unit and a second transceiver unit; The processing unit is used to determine a radio access network slice area identifier of a network slice service to be initiated by a terminal device, wherein the radio access slice area identifier corresponds to one or more network slices; The processing unit is used to determine a first random access time-frequency resource corresponding to a first network slice service based on the radio access network slice area identifier and the first mapping relationship, where the first network slice service is a network slice service to be initiated, and the first mapping relationship is a mapping relationship between the radio access network slice area identifier and the random access time-frequency resource; The processing unit is further used to determine a random access type corresponding to the first network slice service; The second transceiver unit is used to initiate random access based on the first random access time-frequency resource and the determined random access type.
17. The device according to claim 16, It is characterized in that The first random access time-frequency resources include random access time-frequency resources of 2-step random access and random access time-frequency resources of 4-step random access; or, The first random access time-frequency resources only include random access time-frequency resources of 2-step random access; or, The first random access time-frequency resources only include random access time-frequency resources of 4-step random access.
18. The device according to claim 17, It is characterized in that The first random access time-frequency resources include random access time-frequency resources of 2-step random access and random access time-frequency resources of 4-step random access, The processing unit is further used for: obtaining a signal quality of a reference signal; When the signal quality is greater than or equal to a preset threshold, determining that the random access type corresponding to the first network slice service is two-step random access; When the signal quality is less than the preset threshold, the random access type corresponding to the first network slice service is determined to be 4-step random access.
19. The device according to claim 17, It is characterized in that The first random access time-frequency resources only include random access time-frequency resources for 2-step random access, and the terminal device determines the random access type corresponding to the first network slice service, including: the terminal device determines that the random access type corresponding to the first network slice service is 2-step random access; or, The first random access time-frequency resources only include random access time-frequency resources for 4-step random access, and the terminal device determines the random access type corresponding to the first network slice service, including: the terminal device determines that the random access type corresponding to the first network slice service is 4-step random access.
20. The device according to claim 17 or 18, It is characterized in that The first random access time-frequency resources include random access time-frequency resources of 2-step random access and random access time-frequency resources of 4-step random access, The second transceiver unit is specifically used for: Determining, in the first random access time-frequency resources, a random access time-frequency resource corresponding to the determined random access type as a second random access time-frequency resource; Initiate random access based on the second random access time-frequency resource.
21. The device according to claim 20, It is characterized in that The second random access time-frequency resource includes only one random access time-frequency resource, and the second transceiver unit is used to initiate random access using the second random access time-frequency resource; or, The second random access time-frequency resources include multiple random access time-frequency resources, and the second transceiver unit is used to randomly select a random access time-frequency resource from the second random access time-frequency resources, and initiate random access based on the selected random access time-frequency resource.
22. The device according to any one of claims 16 to 19, It is characterized in that The second transceiver unit is also used for: A first message is received, where the first message includes the first mapping relationship.
23. The device according to claim 22, It is characterized in that The first message includes a physical random access channel mask index, and the physical random access channel mask index is used to indicate the first mapping relationship.
24. The device according to claim 22, It is characterized in that The first message is a radio resource control RRC message, a physical downlink control channel PDCCH message or a system message.
25. The device according to any one of claims 16 to 19, It is characterized in that The processing unit is further used for: If the terminal device has multiple network slice services to be initiated, the initiation of the first network slice service is determined among the multiple network slice services to be initiated according to the priority of the network slice services, wherein the first network slice service is the network slice service with the highest priority among the multiple network slice services to be initiated.
26. The device according to any one of claims 16 to 19, It is characterized in that The processing unit is further used for: If the terminal device has multiple network slice services to be initiated, the first network slice service corresponding to the third random access time-frequency resource is determined as the initiated network slice service, wherein the third random access time-frequency resource is a random access time-frequency resource located after the first time point and closest to the first time point, and the first time point is the time point when the MAC entity of the terminal device obtains the instruction to initiate random access.
27. The device according to any one of claims 16 to 19, It is characterized in that The processing unit is further used for: If the terminal device has multiple network slicing services to be initiated, then according to the number of random access time-frequency resources corresponding to the network slicing services within the preset time period, it is determined that the first network slicing service is the network slicing service to be initiated first, wherein the first network slicing service is the network slicing service with the largest number of random access time-frequency resources corresponding to the preset time period among the multiple network slicing services to be initiated.
28. The device according to any one of claims 16 to 19, It is characterized in that The processing unit is further used to count the number of random accesses of the network slice service if there are both a network slice service to be initiated and a default slice service; The second transceiver unit is also used to stop the random access of the network slicing service and initiate random access of the default slicing service if the number of random accesses of the network slicing service reaches a preset number.
29. The device according to any one of claims 16 to 19, It is characterized in that The processing unit is further configured to: if the first random access time-frequency resource includes random access time-frequency resources under different random access types, determine a second random access time-frequency resource in the first random access time-frequency resource according to the random access type, where the second random access time-frequency resource is a random access time-frequency resource corresponding to the random access type; The second transceiver unit is also used to initiate random access based on the second random access time-frequency resources and the random access type corresponding to the first network slice service.
30. The device according to any one of claims 15 to 29, It is characterized in that The device also includes a first transceiver unit, which is used to send a wireless access network slice area identifier of a network slice service to be initiated from a non-access layer of the terminal device to an access layer of the terminal device.
31. A device comprising a processor, It is characterized in that When the processor executes the program in the memory, the method according to any one of claims 1 to 15 is implemented.
32. A computer-readable storage medium, It is characterized in that When the instructions are executed on a computer device, the computer device is caused to perform the method according to any one of claims 1 to 15.
33. A computer program product, the computer program product include: Computer program code, when the computer program code is run on a computer, causes the computer to perform the method according to any one of claims 1 to 15.
