Random access method, apparatus, electronic device and storage medium
By allocating distinct preamble ranges and priorities to services, and adjusting transmit power control, the method addresses high access delays in wireless networks, enhancing response efficiency and reducing latency for high-priority services.
Patent Information
- Application Number
- JP2023578112
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2021-11-23
- Filing Date
- 2022-11-22
- Publication Date
- 2025-09-08
- Estimated Expiration
- 2042-11-22
AI Technical Summary
Existing random access methods in wireless communication networks suffer from high access delays, particularly in scenarios with high requirements for latency, due to contention-based random access where multiple user terminals may select the same preamble, necessitating a contention resolution mechanism.
A method and apparatus that allocate distinct preamble ranges and priorities to different services, allowing user terminals to select preambles based on their service type, with the base station responding to high-priority services first, and adjusting transmit power control parameters to optimize access efficiency.
This approach reduces access delays by prioritizing high-priority services and optimizing transmission power, improving the overall system's response efficiency and reducing latency for user terminals.
Smart Images

Figure 0007735439000003 
Figure 0007735439000004 
Figure 0007735439000005
Abstract
Description
[Technical Field]
[0001] The present invention relates to the field of communication technology, and in particular to a random access method, apparatus, electronic device and storage medium. [Background technology]
[0002] Random access is the most basic processing mechanism in wireless communication networks. A user terminal uses random access to establish a radio link with a base station, achieve uplink synchronization, and obtain uplink resources, after which a service connection can be established and data can be exchanged between the terminal and the base station.
[0003] Random access is mainly divided into contention-based random access and non-contention-based random access. In contention-based random access, a user terminal randomly selects a preamble to initiate access to a base station, but multiple user terminals may select the same preamble, causing conflicts. Ultimately, a contention resolution mechanism is required to allow the user terminal to gain access.
[0004] In contention-based random access, the base station returns a random access response message to each user terminal in sequence according to the received preamble order. The response speed of the random access response message directly affects the access delay (latency) of the user terminal. In application scenarios with high requirements for access delay, existing random access methods still have the problem of relatively high access delay. Summary of the Invention
[0005] In view of the above, the present invention provides a random access method and apparatus for reducing access delay.
[0006] To achieve the above objectives, the present invention provides the following technical solutions:
[0007] In a first aspect of the present invention, there is provided a random access method applied to a base station, the method comprising: sending a system message to a user terminal, the system message including a preamble range allocated to a service, the priority of the service being preset in the base station; receiving a random access preamble message sent from the user terminal, the random access preamble message including a first preamble selected by the user terminal from a preamble range corresponding to its service; selecting at least one second preamble from each of the acquired first preambles according to a priority of a service corresponding to a preamble range to which each of the acquired first preambles belongs; and transmitting a random access response message to the user terminal, the random access response message including the at least one second preamble.
[0008] Optionally, before sending a random access response message to the user terminal, the method further comprises: For each received random access preamble message, obtaining a received power when the random access preamble message is received; determining a transmit power control (TPC) parameter for adjusting the transmit power of the user terminal based on the received power and a predetermined desired power; establishing a correspondence between the first preamble included in the random access preamble message and the TPC parameters; and for each second preamble, adding TPC parameters corresponding to the second preamble to the random access response message so that a user terminal that has selected the second preamble uses the corresponding TPC parameters to adjust its transmission power for transmitting a subsequent access request message.
[0009] Optionally, determining transmit power control (TPC) parameters for adjusting a transmit power of the user terminal based on the received power and a predetermined desired power includes: obtaining a first power difference between the received power and the desired power; rounding the first power difference in half to obtain a second power difference; and searching for a TPC parameter corresponding to the second power difference as a TPC parameter for adjusting the transmission power of the user terminal, based on a correspondence relationship between a preset power difference and a TPC parameter.
[0010] Optionally, the method includes receiving a re-access request message transmitted by a user terminal that has received the random access response message in a re-access procedure, the re-access request message including an identifier of the user terminal, the identifier of the user terminal being included in a first sub-protocol data unit (PDU) included in the re-access request message; and analyzing the first sub-PDU to obtain an identifier of the user terminal currently performing the re-access procedure.
[0011] Optionally, before sending a random access response message to the user terminal, the method further comprises: Adding each second preamble to the random access response message in ascending order of size of the second preamble sequentially, so that the user terminal stops traversing when it has traversed a second preamble whose size is equal to or larger than its own preamble; or The method further includes a step of adding each second preamble to the random access response message in descending order of size of the second preamble, so that the user terminal stops traversing when it has traversed a second preamble whose size is less than or equal to the size of its own preamble.
[0012] In a second aspect of the present invention, there is provided a random access apparatus adapted for use in a base station, the apparatus comprising: a transmitting unit for transmitting a system message including a preamble range allocated to a service to a user terminal, the priority of the service being preset in the base station; a receiving unit for receiving a random access preamble message sent from the user terminal, the random access preamble message including a first preamble selected by the user terminal from a preamble range corresponding to its own service; a selection unit for selecting at least one second preamble from each of the first preambles according to a priority of a service corresponding to a preamble range to which each of the acquired first preambles belongs; The sending unit is further used for sending a random access response message including the at least one second preamble to the user terminal.
[0013] Optionally, the apparatus further comprises: an acquisition unit for acquiring, for each received random access preamble message, a received power at which the random access preamble message is received; a determination unit for determining transmit power control (TPC) parameters for adjusting the transmit power of the user terminal based on the received power and a predetermined desired power; an establishing unit for establishing a correspondence between the first preamble included in the random access preamble message and the TPC parameters; and an adding unit for adding, for each second preamble, TPC parameters corresponding to the second preamble to the random access response message, so that a user terminal that selects the second preamble uses the corresponding TPC parameters to adjust transmission power for transmitting a subsequent access request message.
[0014] Optionally, determining transmit power control (TPC) parameters for adjusting a transmit power of the user terminal based on the received power and a predetermined desired power includes: obtaining a first power difference between the received power and the desired power; rounding the first power difference in half to obtain a second power difference; and searching for a TPC parameter corresponding to the second power difference as a TPC parameter for adjusting the transmission power of the user terminal, based on a correspondence relationship between a preset power difference and a TPC parameter.
[0015] Optionally, the receiving unit is further used for receiving a re-access request message transmitted by a user terminal that has received the random access response message in a re-access procedure, the re-access request message including an identifier of the user terminal, the identifier of the user terminal being included in a first sub-protocol data unit (PDU) included in the re-access request message; The apparatus further includes a parsing unit for obtaining an identifier of the user terminal currently performing a re-access procedure by parsing the first sub-PDU.
[0016] Optionally, the additional unit further comprises: Adding each second preamble to the random access response message in ascending order of size of the second preamble sequentially, so that the user terminal stops traversing when it has traversed a second preamble whose size is equal to or larger than its own preamble; or This is used to allow the user terminal to stop traversing when it has traversed a second preamble whose size is equal to or smaller than its own preamble by sequentially adding each second preamble to the random access response message in descending order of size of the second preamble.
[0017] In a third aspect of the present invention, there is provided an electronic device, the electronic device including a processor and a machine-readable storage medium; the machine-readable storage medium stores machine-executable instructions executable by the processor; The processor is used to execute machine-executable instructions to perform the steps of the above-described methods.
[0018] In a fourth aspect of the present invention, there is provided a non-transitory machine-readable storage medium having stored thereon machine-executable instructions that, when executed by a processor, perform the steps of the above method. [Effects of the Invention]
[0019] As can be seen from the above description, in the embodiment of the present invention, by setting different preamble ranges and different priorities for different services, a user terminal selects a preamble from the preamble range corresponding to the service it carries and transmits it to the base station. The base station responds to accesses from user terminals according to the priority of the service corresponding to each acquired preamble. This allows accesses from user terminals carrying services with high priorities (higher latency requirements) to be responded to preferentially, improving the response efficiency of the entire system and reducing access delays for user terminals. [Brief explanation of the drawings]
[0020] In order to more clearly describe the technical solutions in the embodiments of the present invention, the accompanying drawings necessary for describing the embodiments will be briefly described below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention, and those skilled in the art can obtain other accompanying drawings based on these drawings without any creative efforts.
[0021] [Figure 1] FIG. 10 is a schematic diagram showing an interaction flow during initial access of a user terminal. [Figure 2]FIG. 10 is a schematic diagram showing an interaction flow when a user terminal accesses again. [Figure 3] 2 is a flowchart of a random access method according to an embodiment of the present invention; [Figure 4] 4 is an implementation flow for adjusting the transmit power of a user terminal according to an embodiment of the present invention; [Figure 5] 10 is an implementation flow of step S402 according to an embodiment of the present invention. [Figure 6] 1 is a configuration diagram of a random access device according to an embodiment of the present invention; [Figure 7] FIG. 2 is a hardware configuration diagram of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION OF THE INVENTION
[0022] This specification will be described in detail with reference to the examples shown in the accompanying drawings. When the following description refers to the accompanying drawings, like numerals in different drawings refer to the same or similar elements unless otherwise specified. The embodiments described in the following examples do not represent all embodiments consistent with the present invention.
[0023] The terms used in the present invention are intended to describe specific examples and are not intended to limit the present invention. As used in the embodiments of the present invention and the appended claims, the singular forms "a," "the," and "the" are also intended to include the plural forms unless the context clearly indicates otherwise. Also, the term "and / or" as used herein should be understood to mean and encompass any possible combination of one or more of the associated listed items.
[0024] It should be understood that terms such as "first," "second," and "third" in the embodiments of the present invention are used to describe various pieces of information, and such information should not be limited to these terms. These terms are used to distinguish between the same types of information. For example, first information can also be referred to as second information, and similarly, second information can also be referred to as first information, without departing from the scope of the embodiments of the present invention. Depending on the context, the term "when" used herein can be interpreted as "when...," "when...," or "determined to be."
[0025] In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be described in detail below in combination with the accompanying drawings and specific embodiments.
[0026] 1 is a schematic diagram showing an interaction flow at the time of initial access by a user terminal. As shown in FIG. 1, the interaction flow may include the following steps S101 to S105.
[0027] In step S101, the base station transmits a system message (for example, a system information block (SIB)) to the user terminal.
[0028] In step S102, the user terminal transmits a random access preamble message (eg, a random access preamble) to the base station.
[0029] In step S103, the base station transmits a random access response message (for example, a random access response) to the user terminal.
[0030] In step S104, the user terminal transmits an initial access request message (for example, a Radio Resource Control Setup Request) to the base station.
[0031] In step S105, the base station sends a Contention Resolution message to the user terminal.
[0032] After the message exchange shown in FIG. 1 is completed, the user terminal can access the wireless network.
[0033] 2 is a schematic diagram showing an interaction flow when a user terminal accesses again. As shown in FIG. 2, the interaction flow may include the following steps S201 to S205.
[0034] In step S201, the base station sends a system message to the user terminal.
[0035] In step S202, the user terminal sends a random access preamble message to the base station.
[0036] In step S203, the base station sends a random access response message to the user terminal.
[0037] In step S204, the user equipment sends an access re-request message to the base station, where the access re-request message is formatted in a Protocol Data Unit (PDU) (abbreviated as MAC PDU) based on the Media Access Control (MAC) layer.
[0038] In step S205, the base station sends a contention resolution message to the user terminal.
[0039] After the message exchange shown in Figure 2 is completed, the user terminal can re-access the wireless network. Typically, the terminal performs a procedure to re-access the network when the number of scheduling requests (SRs) from the terminal exceeds the maximum number, when the terminal needs to transmit uplink data in an uplink asynchronous state, or when the base station has not allocated physical uplink control channel (PUCCH) resources for SR to the terminal.
[0040] In an embodiment of the present invention, a random access method is provided based on the interaction flow shown in Figure 1 and Figure 2. Figure 3 is a flowchart of the random access method according to an embodiment of the present invention, which is applied to a base station.
[0041] As shown in FIG. 3, the flow may include the following steps S301 to S304.
[0042] In step S301, the base station sends a system message to the user terminal, which includes a preamble range allocated to a service by the base station.
[0043] In an embodiment of the present invention, the base station may pre-divide different preamble ranges for different services, and each preamble range is independent and non-overlapping with each other.
[0044] The base station may add the preamble ranges allocated to the services to a system message and transmit the system message to the user terminal, where the preamble ranges added to the system message may include only the preamble ranges corresponding to the services carried by the user terminal, or may include the preamble ranges corresponding to all the services.
[0045] The user terminal may obtain the preamble range added to the system message by receiving the system message transmitted from the base station.
[0046] In step S302, the base station receives a random access preamble message sent by a user terminal, the random access preamble message including a first preamble selected by the user terminal from a preamble range corresponding to its service.
[0047] When a user terminal attempts to access a wireless network, it may first determine its own service, i.e. the service it carries, for example, Ultra Reliable And Low Latency Communication (URLLC) service.
[0048] According to the service carried by the user terminal, the user terminal may search for a preamble range corresponding to the service carried by the user terminal from the preamble range obtained in step S301, and select one preamble from the preamble range.
[0049] Here, the preamble selected by the user terminal is referred to as a first preamble, and it should be understood that the naming of the first preamble is for ease of distinction and is not intended to be limiting.
[0050] The user terminal may send a random access preamble message to the base station, and the random access preamble message may include a first preamble selected by the user terminal.
[0051] The base station may receive the random access preamble message to obtain the first preamble included in the random access preamble message.
[0052] In step S303, the base station selects at least one second preamble from each of the acquired first preambles according to the priority of the service corresponding to the preamble range to which each of the acquired first preambles belongs.
[0053] In an embodiment of the present invention, the base station may set the priority of services in advance, for example, setting the priority of a low-latency service (a service with stricter requirements for delay) higher than the priority of other general services.
[0054] In this step, the base station may sort the acquired first preambles according to the priority of the service corresponding to each first preamble, and may sort first preambles having the same priority in order of reception time.
[0055] The base station may then determine whether there are currently available resources (resources such as memory that can be used to perform transmission operations), determine the number of preambles that can be responded to based on the amount of available resources, and select the number of preambles to respond to (transmit) from the acquired first preambles. Specifically, the base station may select the determined number of second preambles from the first preambles in descending order of priority of the service corresponding to each first preamble. It should be understood that the naming of the second preambles is for ease of distinction and is not intended to be limiting.
[0056] Also, note that if it is determined that there are no currently available resources, it may wait a predetermined time (the predetermined time is not limited herein) and then determine again whether there are available resources (available resources may change over time). If there are available resources, steps S303 and S304 may be performed.
[0057] In step S304, the base station sends a random access response message including at least one second preamble to the user terminal.
[0058] In this step, the base station may add each second preamble selected in step S303 to a random access response message to respond to the access request of the user terminal that selected the second preamble.
[0059] Up to this point, the flow shown in Figure 3 is completed.
[0060] As can be seen from the flow shown in Figure 3, in the embodiment of the present invention, by setting different preamble ranges and different priorities for different services, a user terminal selects a preamble from the preamble range corresponding to the service it carries and transmits it to the base station. The base station responds to access from the user terminal according to the priority of the service corresponding to the acquired preamble. This allows access from user terminals carrying services with high priority (high latency requirements) to be responded to preferentially, improving the response efficiency of the entire system and reducing access delays for user terminals.
[0061] In one embodiment, when adding each second preamble to the random access response message, the base station may add each second preamble to the random access response message sequentially in order of preamble size, where the preamble size is determined by, for example, the size of the preamble index.
[0062] In this way, when the user terminal receives a random access response message, it may sequentially traverse each second preamble. If each second preamble is sequentially added to the random access response message in ascending order of second preamble size, the user terminal may stop traversing when it has traversed a second preamble whose size is equal to or greater than the preamble it has selected. If each second preamble is sequentially added to the random access response message in descending order of second preamble size, the user terminal may stop traversing when it has traversed a second preamble whose size is equal to or less than the preamble it has selected. In the embodiment of the present invention, the user terminal does not need to traverse all second preambles, which can effectively improve the processing efficiency of the user terminal.
[0063] For example, if the base station adds each second preamble to the random access response message in ascending order of size, the user terminal also traverses the second preambles in ascending order of size. If the user terminal does not traverse a second preamble of the same size as its own preamble, but traverses a second preamble whose size exceeds its own preamble, it means that the base station is not responding to the user terminal. Therefore, the user terminal can stop traversing subsequent second preambles, thereby shortening the user terminal's processing time and saving system resources.
[0064] In one embodiment, before sending the random access response message to the user terminal in step S304, the base station may further execute the implementation flow shown in FIG. 4 for adjusting the transmission power of the user terminal.
[0065] As shown in FIG. 4, the flow may include the following steps S401 to S404.
[0066] In step S401, for each received random access preamble message, the reception power when the random access preamble message is received is acquired.
[0067] In step S402, transmit power control (TPC) parameters for adjusting the transmit power of the user terminal are determined based on the received power and a predetermined desired power.
[0068] It should be noted that for each received random access preamble IN message, the base station measures a corresponding signal reception power indicator for that message, and if the reception power is too high or too low, it will be disadvantageous for the base station to analyze the radio signal. Therefore, in an embodiment of the present invention, the user equipment needs to adjust the transmission power for transmitting the next message, so that the base station can obtain a radio signal that meets the desired reception power and improve the analysis effect.
[0069] Therefore, in this step, the base station determines TPC parameters for adjusting the transmission power of the user terminal using the received power acquired in step S401 and a predetermined desired power, where the desired power is a received power that is predetermined so that the base station can obtain a good analysis effect.
[0070] The specific process for determining the TPC parameters will be described later, and will not be described here.
[0071] In step S403, the base station establishes a correspondence relationship between the first preamble included in the random access preamble message and the TPC parameters.
[0072] Each first preamble corresponds to one random access preamble message and one user terminal that transmits the random access preamble message (first preamble). Therefore, establishing the correspondence between the first preamble and the TPC parameters in this step corresponds to establishing the correspondence between the user terminal and the TPC parameters for adjusting the transmission power of the user terminal.
[0073] In step S404, for each second preamble, the TPC parameters corresponding to the second preamble are added to the random access response message, so that a user terminal that selects the second preamble uses the corresponding TPC parameters to adjust the transmission power for transmitting a subsequent access request message.
[0074] Specifically, when responding to a user terminal corresponding to the second preamble, TPC parameters for adjusting the transmission power of the user terminal are transmitted to the user terminals all at once, so that the user terminals adjust the transmission power for transmitting subsequent access request messages based on the TPC parameters.
[0075] Here, the access request message (generally referred to as Msg3) may be an initial access request message or a re-access request message.
[0076] Specifically, when the user terminal is performing initial access, the TPC parameters can be used to adjust the transmission power of the initial access request message, and when the user terminal is performing re-access, the TPC parameters can be used to adjust the transmission power of the re-access request message.
[0077] Up to this point, the flow shown in Figure 4 is completed.
[0078] As can be seen from the flow shown in Figure 4, in an embodiment of the present invention, the user terminal uses the received power and the desired power to adjust the transmission power at which it transmits the access request message (Msg3), thereby effectively improving the base station's analysis success rate, avoiding repeated execution of the access procedure due to analysis failure, and further reducing access delay.
[0079] The specific process of determining the TPC parameters in step S402 will be described below: Figure 5 is an implementation flow of step S402 according to an embodiment of the present invention.
[0080] As shown in FIG. 5, the flow may include the following steps S501 to S503.
[0081] In step S501, a first power difference between the received power and the desired power is obtained.
[0082] In step S502, the first power difference is rounded in half to obtain a second power difference.
[0083] Here, the names of the first power difference and the second power difference are intended to facilitate distinction and are not intended to be limiting.
[0084] In one embodiment, steps S501 and S502 can be expressed by the following equations:
number
[0085] In step S503, a TPC parameter corresponding to the second power difference is searched for as a TPC parameter for adjusting the transmission power of the user terminal, based on a correspondence relationship between a preset power difference and a TPC parameter.
[0086] Table 1 shows an example of a mapping relationship between a preset power difference and a TPC parameter (that is, a correspondence relationship between a power difference and a TPC parameter). TIFF0007735439000002.tif70170Table 1
[0087] After obtaining the second power difference in step S502, the above mapping relationship may be consulted to find the TPC parameter corresponding to the second power difference as the TPC parameter for adjusting the finally determined transmission power of the user terminal.
[0088] It should be noted that if the second power difference calculated by the formula exceeds a preset power difference range (for example, -6db to 8db), the maximum or minimum value closest to the calculated second power difference is set as the second power difference. For example, if the calculated second power difference is less than -6db, -6db is set as the second power difference, and if the calculated second power difference is greater than 8db, 8db is set as the second power difference.
[0089] After sending the TPC parameters to the user terminal in step S304, the user terminal may determine the power difference corresponding to the TPC parameters by consulting the same mapping relationship table (Table 1), and further adjust the transmission power of the user terminal for transmitting the access request message (Msg3) based on the power difference.
[0090] Up to this point, the flow shown in FIG. 5 is completed.
[0091] The flow shown in Figure 5 allows accurate determination of TPC parameters for adjusting transmit power, and the calculation amount of this determination method is small, which effectively saves system resources, improves processing efficiency, and further reduces access delay.
[0092] As an embodiment, when the re-access procedure shown in FIG. 2 is performed between the user terminal and the base station, the embodiment of the present invention can improve the re-access request message in step S204.
[0093] The re-access request message (MAC PDU) is usually composed of multiple sub-PDUs. In the existing processing method, a MAC layer-based service data unit SDU (MAC SDU) for transmitting data is usually placed in the first sub-PDU included in the MAC PDU, and a MAC layer-based control unit CE (MAC CE) for transmitting control information is placed in the sub-PDU after the MAC SDU.
[0094] The identifier of the user terminal (e.g., Cell-Radio Network Temporary Identifier (C-RNTI)) is usually located in the middle or at the end of the MAC PDU as a MAC CE. When the base station receives the MAC PDU, it needs to cyclically search to obtain the identifier of the user terminal added to the MAC PDU, and then it can perform other processing for the user terminal. This will undoubtedly increase the processing time of the base station and affect the efficiency of the user terminal's access.
[0095] To address the above problem, in an embodiment of the present invention, the user terminal can add the user terminal identifier (C-RNTI) to the first sub-PDU included in the re-access request message (MAC PDU).
[0096] After receiving the re-access request message in step S204, the base station can obtain the identifier of the user terminal currently performing the re-access procedure by analyzing the first sub-PDU included in the re-access request message, thereby improving the re-access efficiency of the user terminal and reducing the re-access delay.
[0097] Having described above the method according to an embodiment of the present invention, we now turn to a description of the apparatus according to an embodiment of the present invention.
[0098] 6 is a block diagram of a random access device 600 according to an embodiment of the present invention. The device is applied to a base station, and the device includes: a transmitting unit 601 for transmitting a system message including a preamble range allocated to a service to a user terminal, where the priority of the service is preset in the base station; a receiving unit 602 for receiving a random access preamble message sent from the user terminal, the random access preamble message including a first preamble selected by the user terminal from a preamble range corresponding to its own service; a selecting unit 603 for selecting at least one second preamble from each of the first preambles according to a priority of a service corresponding to a preamble range to which each of the obtained first preambles belongs; The sending unit 601 is further used for sending a random access response message including the at least one second preamble to the user terminal.
[0099] In one embodiment, the device comprises: an acquiring unit for acquiring, for each received random access preamble message, a received power when the random access preamble message is received; a determination unit for determining transmit power control (TPC) parameters for adjusting the transmit power of the user terminal based on the received power and a predetermined desired power; an establishing unit for establishing a correspondence between the first preamble included in the random access preamble message and the TPC parameters; and an adding unit for adding, for each second preamble, TPC parameters corresponding to the second preamble to the random access response message, so that a user terminal that selects the second preamble uses the corresponding TPC parameters to adjust transmission power for transmitting a subsequent access request message.
[0100] In one embodiment, the step of determining a transmit power control (TPC) parameter for adjusting the transmit power of the user terminal based on the received power and a predetermined desired power comprises: obtaining a first power difference between the received power and the desired power; rounding the first power difference in half to obtain a second power difference; and searching for a TPC parameter corresponding to the second power difference as a TPC parameter for adjusting the transmission power of the user terminal, based on a correspondence relationship between a preset power difference and a TPC parameter.
[0101] In one embodiment, the receiving unit 602 is further used to receive a re-access request message transmitted by a user terminal that has received the random access response message in a re-access procedure, the re-access request message including an identifier of the user terminal, the identifier of the user terminal being included in a first sub-protocol data unit (PDU) included in the re-access request message; The apparatus further includes a parsing unit for obtaining an identifier of the user terminal currently performing a re-access procedure by parsing the first sub-PDU.
[0102] In one embodiment, the adding unit is further configured to add each second preamble to the random access response message in ascending order of size of the second preamble, so that the user terminal stops traversing when it traverses a second preamble whose size is equal to or larger than its own preamble; or This is used to allow the user terminal to stop traversing when it has traversed a second preamble whose size is equal to or smaller than its own preamble by sequentially adding each second preamble to the random access response message in descending order of size of the second preamble.
[0103] This completes the description of the device shown in FIG.
[0104] As can be seen from the above description, in the embodiment of the present invention, by setting different preamble ranges and different priorities for different services, a user terminal selects a preamble from the preamble range corresponding to the service it carries and transmits it to the base station. The base station responds to accesses from user terminals according to the priority of the service corresponding to each acquired preamble. This allows accesses from user terminals carrying services with high priorities (higher latency requirements) to be responded to preferentially, improving the response efficiency of the entire system and reducing access delays for user terminals.
[0105] 7 is a hardware configuration diagram of an electronic device according to an embodiment of the present invention. As shown in FIG. 7, the hardware configuration may include a processor 701 and a machine-readable storage medium 702, where the machine-readable storage medium 702 stores machine-executable instructions executable by the processor 701, and the processor is used to execute the machine-executable instructions to implement the methods disclosed in the above embodiments of the present invention.
[0106] Based on the same idea as the above-mentioned method, an embodiment of the present invention further provides a non-transitory machine-readable storage medium having computer instructions stored thereon, which, when executed by a processor, can implement the method disclosed in the above-mentioned embodiment of the present invention.
[0107] Illustratively, the machine-readable storage medium may be any electronic, magnetic, optical, or other physical storage device that can contain or store information such as executable instructions, data, etc. For example, the machine-readable storage medium may be a random access memory (RAM), a volatile memory, a non-volatile memory, a flash memory, a storage drive (such as a hard drive), a solid-state drive, any storage disk (such as an optical disk, a DVD), or a similar storage medium, or a combination thereof.
[0108] The above is merely a preferred embodiment of the present invention and is not intended to limit the present invention. Those skilled in the art can make various modifications and variations to the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of the claims of the present invention.
Claims
1. A random access method applied to a base station, comprising: sending a system message to a user terminal, the system message including a preamble range allocated to a service, the priority of the service being preset in the base station; receiving a plurality of random access preamble messages transmitted from a plurality of the user terminals, the random access preamble messages including first preambles selected by the user terminals from a preamble range corresponding to their own service; selecting at least one second preamble from each of the first preambles included in a plurality of random access preamble messages according to a priority of a service corresponding to a preamble range to which each of the first preambles belongs; transmitting a random access response message including the at least one second preamble to the user terminal; before sending a random access response message to the user terminal; By sequentially adding each second preamble to the random access response message in ascending order of size of the second preamble, when the user terminal receives the random access response message, the user terminal traverses the second preambles, and stops traversing when it has traversed a second preamble that is equal to or larger than the size of its own preamble, or the method further includes a step of sequentially adding each second preamble to the random access response message in descending order of size of the second preamble, so that the user terminal, upon receiving the random access response message, traverses the second preambles and stops traversing when it has traversed a second preamble whose size is equal to or smaller than its own preamble. A random access method characterized by:
2. before sending a random access response message to the user terminal, For each received random access preamble message, obtaining a received power when the random access preamble message is received; determining transmit power control (TPC) parameters for adjusting the transmit power of the user terminal based on the received power and a predetermined desired power; establishing a correspondence between the first preamble included in the random access preamble message and the TPC parameters; for each second preamble, adding TPC parameters corresponding to the second preamble to the random access response message so that a user terminal that has selected the second preamble uses the corresponding TPC parameters to adjust its transmission power for transmitting a subsequent access request message; 2. The method of claim 1 .
3. determining a transmit power control (TPC) parameter for adjusting the transmit power of the user terminal based on the received power and a predetermined desired power, obtaining a first power difference between the received power and the desired power; rounding the first power difference in half to obtain a second power difference; and searching for a TPC parameter corresponding to the second power difference as a TPC parameter for adjusting the transmission power of the user terminal based on a predetermined correspondence relationship between power differences and TPC parameters.
3. The method of claim 2.
4. receiving a re-access request message transmitted by a user terminal that has received the random access response message in a re-access procedure, the re-access request message including an identifier of the user terminal, the identifier of the user terminal being included in a first sub-protocol data unit (PDU) included in the re-access request message; and obtaining an identifier of the user terminal currently performing a re-access procedure by analyzing the first sub-PDU.
2. The method of claim 1 .
5. A random access device applied to a base station, a transmitting unit for transmitting a system message including a preamble range allocated to a service to a user terminal, the priority of the service being preset in the base station; a receiving unit for receiving a plurality of random access preamble messages transmitted from a plurality of the user terminals, the random access preamble messages including a first preamble selected by the user terminal from a preamble range corresponding to its own service; a selection unit for selecting at least one second preamble from each of the first preambles included in a plurality of random access preamble messages according to a priority of a service corresponding to a preamble range to which each of the first preambles belongs; the transmitting unit is further adapted to transmit a random access response message to the user terminal, the random access response message including the at least one second preamble; By sequentially adding each second preamble to the random access response message in ascending order of size of the second preamble, when the user terminal receives the random access response message, the user terminal traverses the second preambles, and stops traversing when it has traversed a second preamble that is equal to or larger than the size of its own preamble, or and further comprising an adding unit to be used for sequentially adding each second preamble to the random access response message in descending order of size of the second preamble, so that the user terminal, upon receiving the random access response message, traverses the second preambles and stops traversing when it has traversed a second preamble whose size is equal to or smaller than its own preamble. A random access device characterized by:
6. an acquiring unit for acquiring, for each received random access preamble message, a received power when the random access preamble message is received; a determination unit for determining transmit power control (TPC) parameters for adjusting the transmit power of the user terminal based on the received power and a predetermined desired power; and an establishing unit for establishing a correspondence between the first preamble included in the random access preamble message and the TPC parameters; the adding unit is further used for adding, for each second preamble, TPC parameters corresponding to the second preamble to the random access response message, so that a user terminal that has selected the second preamble adjusts a transmission power for transmitting a subsequent access request message using the corresponding TPC parameters.
6. The device according to claim 5.
7. determining a transmit power control (TPC) parameter for adjusting the transmit power of the user terminal based on the received power and a predetermined desired power, obtaining a first power difference between the received power and the desired power; rounding the first power difference in half to obtain a second power difference; and searching for a TPC parameter corresponding to the second power difference as a TPC parameter for adjusting the transmission power of the user terminal based on a predetermined correspondence relationship between power differences and TPC parameters.
7. The device according to claim 6.
8. the receiving unit is further used to receive a re-access request message transmitted by a user terminal that has received the random access response message in a re-access procedure, the re-access request message including an identifier of the user terminal, the identifier of the user terminal being included in a first sub-protocol data unit (PDU) included in the re-access request message; the apparatus further includes a parsing unit for parsing the first sub-PDU to obtain an identifier of the user terminal currently performing a re-access procedure.
6. The device according to claim 5.
9. An electronic device including a processor and a machine-readable storage medium; the machine-readable storage medium stores machine-executable instructions executable by the processor; The processor is adapted to execute machine-executable instructions to perform the method of any one of claims 1 to 4. An electronic device characterized by:
10. A non-transitory machine-readable storage medium having stored thereon machine-executable instructions, which, when executed by a processor, perform the method of any one of claims 1 to 4. A non-transitory machine-readable storage medium comprising:
Citation Information
Patent Citations
User equipment, wireless access network device, and method
JP2021180506A
User terminal, base station and processor
WO2014199978A1
Message prioritization in random access procedure
WO2021219690A1